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: Yes, the repo shows recurring updates with version bumps and dataset changes, including a recent update on 2026-05-01 (about 6 weeks before today, 2026-06-11).
- Update cadence: Roughly every 4 to 6 weeks in 2026 (e.g., v17.2.0 on 2026-01-27, v17.3.0 on 2026-02-01, v17.4.0 on 2026-03-01, v17.5.0 on 2026-04-12, v17.6.0 on 2026-05-01).
AI summary generated 2026-06-11
Recent updates
v17.6.0
2026-05-01v17.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
2026-04-12v17.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
2026-03-01v17.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
2026-02-01v17.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
2026-01-27v17.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
2026-01-23v17.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
2026-01-01v17.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
2025-11-01v16.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
2025-09-09v16.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
2025-07-01v16.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