Back to Explore

ljharb/System.global

GitHub
1 watchersOpen source

Last release: 4/30/2024

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

  • ljharb/System.global is an ECMAScript spec-compliant polyfill/shim for globalThis, and the repository shows evidence of ongoing activity (last upstream push 2025-12-30), though the most recent tagged updates in the provided history are older (latest tag v1.0.4 on 2024-04-30).
  • Update cadence appears irregular or low, with tags in 2021 (v1.0.2), 2022 (v1.0.3), and 2024 (v1.0.4). This suggests a largely stable project that still evolves, but does not push frequent updates.

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v1.0.4

    4/30/2024

    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

    5/7/2022

    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).

    Breaking
  • v1.0.2

    2/22/2021

    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.