# What changed in globals

> 18 changes in globals 16 to 17 from its official release notes, upgrade guides and advisories: 1 breaking, 11 new APIs and options. Each one cited. Sources checked 2026-10-17. HTML: https://unstale.sh/npm/globals/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## globals 17

### Breaking changes

- audioWorklet is split out from the browser environment, so browser no longer includes those globals. (17.0.0) — [release notes](https://github.com/sindresorhus/globals/releases/tag/v17.0.0)

### New APIs and options

- Adds React Native global identifiers to the globals package. (17.11.0) — [release notes](https://github.com/sindresorhus/globals/releases/tag/v17.11.0)
- Adds GM_cookie to the Greasemonkey globals. (17.10.0) — [release notes](https://github.com/sindresorhus/globals/releases/tag/v17.10.0)
- Adds the throwUnless Jasmine global to the globals definitions. (17.2.0) — [release notes](https://github.com/sindresorhus/globals/releases/tag/v17.2.0)
- Adds the throwUnlessAsync Jasmine global to the globals definitions. (17.2.0) — [release notes](https://github.com/sindresorhus/globals/releases/tag/v17.2.0)
- Adds the bunBuiltin environment for Bun built-in globals. (17.0.0) — [release notes](https://github.com/sindresorhus/globals/releases/tag/v17.0.0)
- Adds the denoBuiltin environment for Deno built-in globals. (17.0.0) — [release notes](https://github.com/sindresorhus/globals/releases/tag/v17.0.0)
- Adds the paintWorklet environment. (17.0.0) — [release notes](https://github.com/sindresorhus/globals/releases/tag/v17.0.0)
- Adds the sharedWorker environment. (17.0.0) — [release notes](https://github.com/sindresorhus/globals/releases/tag/v17.0.0)

### Behavior and default changes

- Global variable definitions were updated, which may affect tools that consume this package's globals data. (17.8.0) — [release notes](https://github.com/sindresorhus/globals/releases/tag/v17.8.0)
- Updates the set of global identifiers recognized by the package. (17.3.0) — [release notes](https://github.com/sindresorhus/globals/releases/tag/v17.3.0)
- Browser globals are now collected from both Chrome and Firefox environments. (17.0.0) — [release notes](https://github.com/sindresorhus/globals/releases/tag/v17.0.0)

### Tooling

- Adds the __webpack_layer__ global to the globals definitions. (17.12.0) — [release notes](https://github.com/sindresorhus/globals/releases/tag/v17.12.0)
- Adds rspack as a recognized global for linting and configuration. (17.1.0) — [release notes](https://github.com/sindresorhus/globals/releases/tag/v17.1.0)
- Adds webpack as a recognized global for linting and configuration. (17.1.0) — [release notes](https://github.com/sindresorhus/globals/releases/tag/v17.1.0)

## globals 16

### New APIs and options

- Adds Astro global definitions for use by developers configuring global variables. (16.5.0) — [release notes](https://github.com/sindresorhus/globals/releases/tag/v16.5.0)
- Adds Svelte global definitions for use by developers configuring global variables. (16.5.0) — [release notes](https://github.com/sindresorhus/globals/releases/tag/v16.5.0)
- Adds Vue global definitions for use by developers configuring global variables. (16.5.0) — [release notes](https://github.com/sindresorhus/globals/releases/tag/v16.5.0)
