Skip to content

Conversation

bartlomieju
Copy link
Member

@bartlomieju bartlomieju commented Jun 24, 2025

Follow up to #29323 and #29416.

This effort is to reduce a number of different globals available to user
code and npm dependencies. Also improves performance when these globals are used.
This brings the number of "managed globals" down to 6.

Towards #29703

@bartlomieju bartlomieju changed the title feat: make 'setImmediate and clearImmediate` as globals feat: make setImmediate and clearImmediate as globals Jun 24, 2025
@bartlomieju bartlomieju mentioned this pull request Jun 16, 2025
12 tasks
Copy link
Member

@nathanwhit nathanwhit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bartlomieju bartlomieju merged commit d4b0245 into denoland:main Jun 25, 2025
18 checks passed
@bartlomieju bartlomieju deleted the immediate_globals branch June 25, 2025 13:21
bartlomieju added a commit that referenced this pull request Jun 26, 2025
`--unstable-node-globals` flag is no longer needed after following
PRs had landed:
- #29877
- #29734
- #29416

This commit hides this flag from the `--help=unstable` output,
but still keep the flag to not break previously working invocations.
zloirock added a commit to zloirock/core-js that referenced this pull request Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants