npm / globals
globals
What changed in globals 16 to 17, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-17.
globals 1715 changes
Breaking changes 1
audioWorklet is split out from the browser environment, so browser no longer includes those globals.
New APIs and options 8
Adds React Native global identifiers to the globals package.
Adds GM_cookie to the Greasemonkey globals.
Adds the throwUnless Jasmine global to the globals definitions.
Adds the throwUnlessAsync Jasmine global to the globals definitions.
Adds the bunBuiltin environment for Bun built-in globals.
Adds the denoBuiltin environment for Deno built-in globals.
Adds the paintWorklet environment.
Adds the sharedWorker environment.
Behavior and default changes 3
Global variable definitions were updated, which may affect tools that consume this package's globals data.
Updates the set of global identifiers recognized by the package.
Browser globals are now collected from both Chrome and Firefox environments.
Tooling 3
Adds the __webpack_layer__ global to the globals definitions.
Adds rspack as a recognized global for linting and configuration.
Adds webpack as a recognized global for linting and configuration.
globals 163 changes
New APIs and options 3
Adds Astro global definitions for use by developers configuring global variables.
Adds Svelte global definitions for use by developers configuring global variables.
Adds Vue global definitions for use by developers configuring global variables.