string.prototype.trim
ES5 spec-compliant shim for String.prototype.trim
1
Versions
MIT
License
No
Install Scripts
Missing
Provenance
Supply chain provenance
Status for the latest visible version.
No SLSA provenance
npm registry signatures
gitHead linked
Without SLSA provenance there is no cryptographic link between this tarball and the public source — the axios compromise (March 2026) relied on exactly this gap.
Maintainers
ljharb
Keywords
String.prototype.trimstringES5shimtrimpolyfilles-shim API
Accepted risks
Findings the reviewer chose to accept rather than block on.
| Source | Rule | Reason | Accepted by | When |
|---|---|---|---|---|
| dependencies | unvetted-dep:define-properties | AI (dependencies): define-properties is a standard es-shims ecosystem dependency by the same maintainer (ljharb); stable and expected for this package. | ai | |
| dependencies | unvetted-dep:define-data-property | AI (dependencies): define-data-property is a standard es-shims ecosystem dependency by the same maintainer (ljharb); stable and expected for this package. | ai | |
| provenance | no-provenance | AI (provenance): Absence of Sigstore provenance is common (~88% of packages); not a risk signal for this well-established polyfill by a trusted publisher. | ai |
Versions (showing 1 of 1)
| Version | Deps | Published |
|---|---|---|
| 1.2.10 | 7 / 13 |