Provides JSON-based global identifier definitions for different JavaScript environments, with true or false values indicating whether variables are writable or read-only. Useful for static analysis tools like ESLint to correctly flag incorrect global variable usage across environments such as Node.js and browser code, especially for ESLint 8 and earlier.
Project status
- Actively maintained, GitHub source with recent versioned updates (v17.6.0 on 2026-05-01, v17.5.0 on 2026-04-12, v17.4.0 on 2026-03-01).
- Apparent update cadence is steady, roughly 3 to 6 weeks between updates based on the last three tags.
AI summary generated Today
Recent updates
v17.6.0
1 month agov17.6.0 updates the `globals` dataset. The release notes only mention “Update globals” and provide a link, but the actual diff shows concrete new global identifiers added and a small dev dependency bump.
Featuresv17.5.0
1 month agov17.5.0 updates the published identifier datasets in the `globals` package. The diff shows new global entries added for multiple environments (browser, Deno builtins) plus a new generated `es2027` module, alongside a change to the ES builtin generation script and a `puppeteer` dependency bump.
Featuresv17.4.0
3 months agov17.4.0 updates the globals dataset used by the package. The release notes only state that globals were updated, without listing the specific identifier changes. The code diff shows multiple new global identifiers added across browser and worker environments, plus a dependency bump for puppeteer.
Featuresv17.3.0
4 months agov17.3.0 updates the exported set of global identifiers by adding several new Web/DOM/Deno globals to the data files. The release notes only state that globals were updated, without enumerating the specific identifiers added or explaining any potential impact.
v17.2.0
4 months agov17.2.0 adds new Jasmine global identifiers, `throwUnless` and `throwUnlessAsync`, to the `globals` package. The changes update the Jasmine environment definition and the generated `globals.json` accordingly.
Featuresv17.1.0
4 months agov17.1.0 adds new global identifier definitions for webpack and rspack, exposing additional runtime module variables in globals.json. In addition, the package version and some development dependencies were adjusted, and the browser server script changed how it serves the service worker asset.
BreakingFeaturesv17.0.0
5 months agov17.0.0 updates the generated globals database to add new environments for bun, deno, sharedWorker, and paintWorklet, and expands browser global collection. The main breaking change is that audioWorklet globals are no longer included in the `browser` environment and are provided under a dedicated `audioWorklet` environment.
BreakingFeaturesv16.5.0
7 months agov16.5.0 updates the globals dataset and adds new environment support for Vue, Svelte, and Astro. The code diff shows multiple new identifiers added across several existing environments (browser, nodeBuiltin, worker, serviceworker), plus CI and test harness adjustments.
Featuresv16.4.0
9 months agov16.4.0 updates the set of browser global identifiers included by this package. The release notes only state “Update globals (#309)” and do not enumerate which identifiers or dependency changes were made.
v16.3.0
11 months agov16.3.0 updates the generated globals dataset (browser, worker, serviceworker, and builtins) and refactors the internal scripts used to regenerate that data. It also bumps the tooling dependency on Puppeteer and introduces a new ES environment dataset, es2026.
Features