globalthis
npm110 GitHub starsv1.0.4 · Apr 2024 · MIT (top-level declared license)
npm install globalthis- No known CVEs
- 364.4M downloads/mo
- 5 versions
Description
ECMAScript spec-compliant polyfill/shim for `globalThis`.
Licenses
Declared license
MIT (top-level declared license of globalthis)
Transitive dependency licenses
globalthis pulls in 7 transitive dependencies, all under the permissive MIT license.
| License | Category | Dependencies |
|---|---|---|
| MIT | Permissive | 7 of 7 |
This view is derived from declared package metadata, and a full FOSSA scan detects licenses that declared metadata misses. Scan free.
License and vulnerability information on this page is derived from public package metadata and public advisory databases. It is not legal advice, and it reflects the top-level declared license only. Verify the license and terms of any software for your own needs.
Need globalthis approved? Get the full license and vulnerability report for your codebase. Scan free.
Scan freeVulnerabilities
No known CVEs across published versions
Version history
| Version | Published | License |
|---|---|---|
| 1.0.4 | Apr 2024 | MIT |
| 1.0.3 | May 2022 | |
| 1.0.2 | Feb 2021 | |
| 1.0.1 | Dec 2019 | |
| 1.0.0 | Aug 2018 |
npm install globalthis resolves to the 1.x line today. Older major lines may still receive fixes.
Direct dependencies
2 direct dependencies, 7 in total including transitive. Licenses across the full tree are summarized under Licenses.
| Package | Version range | License |
|---|---|---|
| define-properties | ^1.2.1 | MIT |
| gopd | ^1.0.1 | MIT |
Based on what each package declares in its published metadata. The dependencies your build actually installs can differ, and a FOSSA scan of your project resolves the full tree.
Popularity
- Downloads last month
- 364.4M
- Known dependents in this corpus
- 206,904
- GitHub stars
- 110
- OpenSSF score
- 3.8 / 10
FAQ
- What is the latest version of globalthis?
- The latest version of globalthis is 1.0.4, published April 2024.
- What license is globalthis under?
- globalthis declares MIT as its top-level declared license. Its dependency tree spans 1 distinct licenses.
- Does globalthis have known vulnerabilities?
- No known CVEs are recorded against published versions of globalthis.
- How do I install globalthis?
- Install globalthis with npm install globalthis.
- How do I generate an SBOM that includes globalthis?
- FOSSA's SBOM generator produces SPDX or CycloneDX output for a codebase that includes globalthis. Generate an SPDX or CycloneDX SBOM free.