Skip to content

fix: process undefined in ESM preload when contextIsolation is disabled - #51726

Merged
ckerr merged 2 commits into
42-x-yfrom
fix/esm-preload-process-globals--42-x-y
May 21, 2026
Merged

ckerr merged 2 commits into
42-x-yfrom
fix/esm-preload-process-globals--42-x-y

Conversation

@ckerr

@ckerr ckerr commented May 20, 2026 •

Copy link
Copy Markdown
Member

Manually backport #51693 to 42-x-y. See that PR for details.

Tested by building and testing with e test -g 'without nodeIntegration and contextIsolation'.

Notes: Fixed an issue where process and other Node globals were undefined in ESM preload scripts when contextIsolation was disabled.

@ckerr ckerr added backport This is a backport PR semver/patch backwards-compatible bug fixes 42-x-y labels May 20, 2026
@ckerr
ckerr merged commit 34102a5 into 42-x-y May 21, 2026
65 checks passed
@release-clerk

release-clerk Bot commented May 21, 2026

Copy link
Copy Markdown

Release Notes Persisted

Fixed an issue where process and other Node globals were undefined in ESM preload scripts when contextIsolation was disabled.

@ckerr
ckerr deleted the fix/esm-preload-process-globals--42-x-y branch May 21, 2026 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

42-x-y backport This is a backport PR no-backport semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants