regexp.prototype.flags
ES6 spec-compliant RegExp.prototype.flags shim.
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
RegExp.prototype.flagsregexregular expressionES6shimflagflagsregexpRegExp#flagspolyfilles-shim API
Accepted risks
Findings the reviewer chose to accept rather than block on.
| Source | Rule | Reason | Accepted by | When |
|---|---|---|---|---|
| dependencies | unvetted-dep:gopd | AI (dependencies): gopd is a well-known ljharb/es-shims utility package; its use here is expected and benign for this polyfill package. | ai | |
| dependencies | unvetted-dep:define-properties | AI (dependencies): define-properties is a standard es-shims utility by ljharb, widely used across polyfill packages; no risk. | ai | |
| dependencies | unvetted-dep:set-function-name | AI (dependencies): set-function-name is a standard es-shims utility by ljharb, widely used across polyfill packages; no risk. | ai | |
| provenance | no-provenance | AI (provenance): ljharb's packages consistently lack Sigstore provenance; this is a known pattern for this publisher and not a risk indicator. | ai |
Versions (showing 1 of 1)
| Version | Deps | Published |
|---|---|---|
| 1.5.4 | 6 / 19 |