npm / globals
globals
What changed in globals 12 to 17, from its official release notes, upgrade guides and advisories. Sources checked 2026-12-05.
9 breaking11 new APIs and options3 behavior and defaults4 tooling2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initglobals 1716 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.
Fixes and other changes 1
The globals data was updated.
globals 164 changes
Breaking changes 1
The serviceworker globals are now generated from browsers, and a few globals have been removed.
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.
globals 152 changes
Breaking changes 1
Object.prototype properties are removed from the builtin and es* global sets.
Fixes and other changes 1
Many missing globals are added to the package’s global sets.
globals 142 changes
Breaking changes 2
The package now has zero dependencies.
Node.js 18 is now required.
globals 133 changes
Breaking changes 3
The _ global was removed from the meteor environment.
All globals in the wsh environment are now non-writable.
The XDomainRequest global was removed from the wsh environment.
globals 122 changes
Breaking changes 1
Node.js 8 is now required.
Tooling 1
A TypeScript definition is added for developers using the package with TypeScript.