Drop node:process polyfill when v2 is available#12377
Conversation
🦋 Changeset detectedLatest commit: ef3bde7 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Claude finished @vicb's task —— View job Changeset Review✅ All changesets look good The changeset
The changeset provides:
The description is well-structured and will be helpful in the changelog. |
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
node:process polyfill when v2 is available (#10805)node:process polyfill when v2 is available (#10805)
node:process polyfill when v2 is available (#10805)node:process polyfill when v2 is available
petebacondarwin
left a comment
There was a problem hiding this comment.
Minor documentation nits. Thanks for seeing this one through. Very exciting to finally ditch the process global polyfill!
Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>
Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>
Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>
Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>
|
Thanks Pete and Guy for the reviews! I have integrated the feedback and will merge on the Ci is happy ! |
Closes #12379
When we first enabled process v2 (#10805) it broke Astro.
The workerd runtime was consequently fixed with 2 different compatibility.
This PR drop the
unenvpolyfill when the nativenode:processv2 is enabled AND both fixes are also enabled.The linked issue has more details.
/cc @petebacondarwin @guybedford @jasnell @danlapid
A picture of a cute animal (not mandatory, but encouraged)