← Home

array.prototype.flat

An ES2019 spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.

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

Array.prototype.flattenArray.prototype.flatflattenflatarrayESnextshimpolyfillflatMapArray.prototype.flatMapes-shim API

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
dependencies unvetted-dep:define-properties AI (dependencies): define-properties is a well-known es-shims utility authored by the same maintainer (ljharb); its use here is standard and expected across all es-shim polyfill packages. 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.3.3 4 / 15