An ECMAScript spec-compliant polyfill/shim for `globalThis`, useful when an environment does not provide `globalThis`. It exposes a “shim” method to install `globalThis` and is designed to work in ES3-supported environments.
Project status
- Maintenance status: Evidence suggests continued development (upstream push on 2025-12-30), but the most recent published updates shown are older (v1.0.4 on 2024-04-30), so it looks intermittently maintained rather than fast-moving.
- Apparent update cadence: Updates appear sporadic, with major spacing between versions (notably 2022 to 2024 for the newest listed packages, and then no additional listed updates through 2026-06-09).
AI summary generated
Recent updates
v1.0.4
v1.0.4 updates the globalThis shim internals and adjusts build and CI configuration. The primary code change is in shim.js, where descriptor retrieval for globalThis is refactored to use the new gopd dependency instead of calling Object.getOwnPropertyDescriptor directly.
v1.0.3
v1.0.3 updates the repository configuration and test/packaging scripts, and includes a behavioral change to the polyfilled globalThis shim. Release notes were not provided by the publisher, so the notable user-visible change must be inferred from the code diff (not documentation).
Breakingv1.0.2
Release v1.0.2 was published on 2021-02-22, but the publisher did not provide any release notes. As a result, this release has no documented changes, and potential developer impact cannot be determined from the provided information.
v1.0.1
v1.0.1 makes a small runtime refactor to how the package determines the global object. The release notes section provided is empty, so consumers have to rely on the code diff and changelog to understand the behavioral impact, especially around browser versus Node resolution.
BreakingSecurityFeaturesv1.0.0
This release (v1.0.0) appears to republish the library under a new package name and API focus, moving from a `global` shim to a `globalThis` shim. The code changes include renaming the package, altering the shimmed property name, and updating usage examples and tests accordingly.
system.global-v2.0.0
Version 2.0.0 is a major update of the `system.global` package, shifting focus from the `System.global` namespace to the standard `global` object. The diff shows the core shim logic was rewritten to detect and attach `global` rather than `System.global`, with accompanying changes to docs/tests and some tooling updates.
Breakingsystem.global-v1.0.0
No release notes were provided for system.global v1.0.0, so the changes in this version cannot be determined from the release text alone. Developers should review the corresponding tag/commit diff or changelog in the repository to identify any API, behavior, or compatibility changes.