← Home

viewport-dimensions

Simple utility for watching and retrieving browser viewport width, height, vmin and vmax

2
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

alexdunphy

Keywords

viewportbrowserwindowdocumentwidthheightinnerWidthinnerHeightclientWidthclientHeightdimensionsdimension

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
semgrep semgrep:dynamic-require AI (semgrep): Fires on gulpfile.js build tooling only; loading package.json via a path variable is a benign dev-tool pattern, not present in runtime code. ai
semgrep semgrep:child-process-import AI (semgrep): Fires on gulpfile.js where child_process.spawn is used to launch Karma test runner — dev-only tooling, not shipped runtime code. ai
provenance no-provenance AI (provenance): Package is 10+ years old with 154k weekly downloads; lack of Sigstore provenance is expected for packages predating that ecosystem feature. ai

Versions (showing 2 of 2)

Version Deps Published
0.2.0 0 / 23
0.1.0 0 / 23

v0.2.0

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v0.1.0

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.