← Home

@react-hook/size

A React hook for measuring the size of HTML elements including when they change

5
Versions
MIT
License
No
Install Scripts
Missing
Provenance

Supply chain provenance

Status for the latest visible version.

No SLSA provenance npm registry signatures No source commit

Without SLSA provenance there is no cryptographic link between this tarball and the public source, so a manually published version cannot be tied back to a reviewed commit.

Maintainers

jaredlunde

Keywords

reactreact hookreact size hooksize hookuse sizeuse measuremeasure hook

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
source-diff obfuscated-file:dist/umd/use-size.js AI (source-diff): Minified UMD build output, not obfuscation; stable for this package's dist bundle. ai
typosquat typosquat.levenshtein:vite AI (typosquat): Scoped React hook package; Levenshtein match to 'vite' is a false positive with no semantic similarity. ai

Versions (showing 5 of 5)

Version Deps Published
2.1.2 2 / 19
2.1.1 2 / 19
2.1.0 2 / 19
2.0.1 2 / 26
2.0.0 2 / 26

v2.1.1

2 findings
HIGH New obfuscated file: dist/umd/use-size.js source-diff

Newly added source file contains lines over 3000 chars, suggesting minified or obfuscated code. New obfuscated files are a strong attack indicator.

LOW No provenance attestation provenance

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

v2.1.0

2 findings
HIGH New obfuscated file: dist/umd/use-size.js source-diff

Newly added source file contains lines over 3000 chars, suggesting minified or obfuscated code. New obfuscated files are a strong attack indicator.

LOW No provenance attestation provenance

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

v2.0.1

1 finding
LOW No provenance attestation provenance

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

v2.0.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.