← Home

lazy-js-utils

A collection of lazy-loaded JavaScript utilities for efficient development

51
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 — the axios compromise (March 2026) relied on exactly this gap.

Maintainers

simon_he

Keywords

lazy-js-utilsutilsjavascriptlazy-loadingdevelopment-toolsjs-utilitiesperformance

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
npm-metadata suspicious-initial-version AI (npm-metadata): Package is 1235 days old with 151 versions and a trusted publisher (simon_he, 186 approved packages). The 0.0.0 version is the legitimate initial release of this utility library, not a throwaway malicious package. ai
phantom-deps phantom-dep:@vueuse/core AI (phantom-deps): @vueuse/core is a declared runtime dependency for Vue-related utilities; phantom-dep finding is a false positive for this package. ai
phantom-deps phantom-dep:vue AI (phantom-deps): vue is a declared runtime dependency for Vue-related utilities in this library; phantom-dep finding is a false positive for this package. ai
install-scripts install-script:postinstall AI (install-scripts): simple-git-hooks is a well-known git hook setup tool in devDependencies; it's a no-op for end-users since devDeps aren't installed by consumers. Standard contributor tooling pattern. ai
install-scripts install-script:preinstall AI (install-scripts): npx only-allow pnpm is a standard package-manager enforcement pattern used widely in open-source projects; no arbitrary code execution risk. ai
source-diff obfuscated-file:dist/index-B9wcVoez.d.ts AI (source-diff): Bundled TypeScript declaration file (.d.ts) with long lines is a normal tsdown build artifact; content is clearly type declarations, not obfuscated executable code. ai
source-diff obfuscated-file:dist/index-BHppThRy.d.cts AI (source-diff): Bundled TypeScript declaration file (.d.cts) with long lines is a normal tsdown build artifact; content is clearly type declarations, not obfuscated executable code. ai
source-diff obfuscated-file:dist/index.d-DzlIJePD.d.ts AI (source-diff): This is a bundled TypeScript declaration file (.d.ts) generated by tsdown. Long lines are from concatenated type declarations, not obfuscation. Type declaration files cannot execute code. ai
source-diff obfuscated-file:dist/index.d-CnYtmGhw.d.cts AI (source-diff): This is a bundled TypeScript declaration file (.d.cts) generated by tsdown. Long lines are from concatenated type declarations, not obfuscation. Type declaration files cannot execute code. ai
source-diff obfuscated-file:dist/index-gLr-538e.d.ts AI (source-diff): TypeScript declaration file generated by tsdown bundler; long lines are a normal artifact of bundled .d.ts files, not obfuscation. Content is plaintext type declarations. ai
source-diff obfuscated-file:dist/index-HrxfisxT.d.cts AI (source-diff): TypeScript declaration file generated by tsdown bundler; long lines are a normal artifact of bundled .d.ts/.d.cts files, not obfuscation. Content is plaintext type declarations. ai
source-diff obfuscated-file:dist/index.d.mts AI (source-diff): dist/index.d.mts is a bundled TypeScript declaration file generated by tsup. Long lines are a standard artifact of type bundling, not obfuscation. Content is clearly readable TS type definitions. ai
source-diff obfuscated-file:dist/index-DicMG3C0.d.ts AI (source-diff): Bundled TypeScript declaration file (.d.ts) with long lines produced by tsdown; content is readable type definitions, not obfuscated code. Stable false positive for this package. ai
source-diff obfuscated-file:dist/index-BvHSKjWo.d.cts AI (source-diff): Bundled TypeScript declaration file (.d.cts) with long lines produced by tsdown; content is readable type definitions, not obfuscated code. Stable false positive for this package. ai
source-diff obfuscated-file:dist/index-eRhxEWLj.d.cts AI (source-diff): This is a bundled TypeScript declaration file produced by tsdown. Long lines are type declarations, not obfuscated code. False positive for this package's build output. ai
source-diff obfuscated-file:dist/index-D97W5P9-.d.ts AI (source-diff): This is a bundled TypeScript declaration file produced by tsdown. Long lines are type declarations, not obfuscated code. False positive for this package's build output. ai
source-diff obfuscated-file:dist/index.d-ChBnYO3_.d.cts AI (source-diff): TypeScript declaration file with long lines from bundled type exports; readable type definitions, not obfuscation. ai
source-diff obfuscated-file:dist/index.cjs AI (source-diff): Bundler (tsdown/rollup) output with long lines from concatenated exports; code is readable and well-commented. Not actual obfuscation. ai
source-diff net-exec-file:dist/index.cjs AI (source-diff): Network calls are fetch wrapper utilities and dynamic import helpers — documented features of this JS utility library, not dropper behavior. ai
source-diff obfuscated-file:dist/index.d.cts AI (source-diff): TypeScript declaration barrel file with long export list; standard bundler output, not obfuscation. ai
source-diff obfuscated-file:dist/index.d-CKkEc0dg.d.ts AI (source-diff): TypeScript declaration file with long lines from bundled type exports; readable type definitions, not obfuscation. ai
source-diff obfuscated-file:dist/index-DBlOdh8o.d.cts AI (source-diff): TypeScript declaration file generated by tsdown bundler; long lines are a known artifact of rolled-up .d.ts output, not obfuscation. Content is clearly legitimate type declarations. ai
source-diff obfuscated-file:dist/index-CnsRMQ77.d.ts AI (source-diff): TypeScript declaration file generated by tsdown bundler; long lines are a known artifact of rolled-up .d.ts output, not obfuscation. Content is clearly legitimate type declarations. ai
phantom-deps phantom-dep:lazy-js-utils AI (phantom-deps): Package lists itself as a dependency — unusual but a config artifact, not a security concern. Stable pattern for this package. ai
provenance missing-githead AI (provenance): Removal of prepublishOnly script explains missing gitHead; publisher has 174 approved packages and strong track record. Not a malicious signal. ai
provenance no-provenance AI (provenance): Established package with 151 versions and trusted publisher; lack of Sigstore provenance is a workflow gap, not a security risk for this package. ai
source-diff obfuscated-file:dist/index-Cku5GB6P.d.cts AI (source-diff): Bundled TypeScript declaration file (.d.cts) generated by tsdown; long lines are concatenated type declarations, not obfuscation. Stable false positive for this package. ai
source-diff obfuscated-file:dist/index-Bx_oy_c5.d.ts AI (source-diff): Bundled TypeScript declaration file (.d.ts) generated by tsdown; long lines are concatenated type declarations, not obfuscation. Stable false positive for this package. ai

Versions (showing 51 of 151)

View all versions
Version Deps Published
0.1.51 3 / 15
0.1.50 3 / 15
0.1.49 3 / 15
0.1.48 3 / 15
0.1.47 3 / 15
0.1.46 3 / 15
0.1.45 3 / 15
0.1.44 3 / 15
0.1.43 3 / 15
0.1.42 3 / 15
0.1.41 4 / 15
0.1.40 4 / 15
0.1.39 4 / 15
0.1.38 4 / 15
0.1.37 4 / 15
0.1.36 4 / 15
0.1.35 4 / 15
0.1.34 4 / 15
0.1.33 4 / 15
0.1.32 4 / 15
0.1.31 4 / 15
0.1.30 4 / 15
0.1.29 4 / 15
0.1.28 4 / 15
0.1.27 4 / 15
0.1.26 4 / 15
0.1.25 4 / 15
0.1.24 4 / 15
0.1.23 4 / 15
0.1.22 4 / 15
0.1.21 4 / 15
0.1.20 4 / 15
0.1.19 4 / 15
0.1.18 4 / 15
0.1.17 4 / 15
0.1.16 4 / 15
0.1.14 4 / 15
0.1.13 4 / 15
0.1.12 4 / 15
0.1.11 4 / 15
0.1.10 4 / 15
0.1.8 4 / 15
0.1.7 4 / 15
0.1.6 4 / 15
0.1.5 4 / 15
0.1.4 4 / 15
0.1.3 4 / 15
0.1.2 4 / 15
0.1.1 4 / 15
0.1.0 4 / 15
0.0.100 4 / 15

v0.1.51

1 finding
LOW No provenance attestation provenance

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

v0.1.50

3 findings
HIGH New obfuscated file: dist/index-Cku5GB6P.d.cts source-diff

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

HIGH New obfuscated file: dist/index-Bx_oy_c5.d.ts 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.

v0.1.49

3 findings
HIGH New obfuscated file: dist/index-DBlOdh8o.d.cts source-diff

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

HIGH New obfuscated file: dist/index-CnsRMQ77.d.ts 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.

v0.1.48

3 findings
HIGH New obfuscated file: dist/index-BHppThRy.d.cts source-diff

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

HIGH New obfuscated file: dist/index-B9wcVoez.d.ts 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.

v0.1.47

3 findings
HIGH New obfuscated file: dist/index-BvHSKjWo.d.cts source-diff

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

HIGH New obfuscated file: dist/index-DicMG3C0.d.ts 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.

v0.1.46

3 findings
HIGH New obfuscated file: dist/index-eRhxEWLj.d.cts source-diff

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

HIGH New obfuscated file: dist/index-D97W5P9-.d.ts 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.

v0.1.45

3 findings
HIGH New obfuscated file: dist/index-HrxfisxT.d.cts source-diff

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

HIGH New obfuscated file: dist/index-gLr-538e.d.ts 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.

v0.1.44

3 findings
HIGH New obfuscated file: dist/index.d-CnYtmGhw.d.cts source-diff

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

HIGH New obfuscated file: dist/index.d-DzlIJePD.d.ts 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.

v0.1.43

6 findings
HIGH New obfuscated file: dist/index.cjs source-diff

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

HIGH New file with network + code execution: dist/index.cjs source-diff

Newly added file contains both network calls and dynamic code execution. This is a hallmark of dropper/loader malware.

HIGH New obfuscated file: dist/index.d-ChBnYO3_.d.cts source-diff

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

HIGH New obfuscated file: dist/index.d.cts source-diff

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

HIGH New obfuscated file: dist/index.d-CKkEc0dg.d.ts 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.

v0.1.42

6 findings
HIGH New obfuscated file: dist/index.cjs source-diff

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

HIGH New file with network + code execution: dist/index.cjs source-diff

Newly added file contains both network calls and dynamic code execution. This is a hallmark of dropper/loader malware.

HIGH New obfuscated file: dist/index.d-ChBnYO3_.d.cts source-diff

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

HIGH New obfuscated file: dist/index.d.cts source-diff

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

HIGH New obfuscated file: dist/index.d-CKkEc0dg.d.ts 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.

v0.1.41

1 finding
INFO No provenance attestation provenance

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

v0.1.40

2 findings
HIGH Missing gitHead — previous versions had it provenance

This version has no gitHead field linking it to a source commit, but previous versions did. This suggests the publish environment changed. Published by: simon_he.

LOW No provenance attestation provenance

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

v0.1.39

2 findings
HIGH Missing gitHead — previous versions had it provenance

This version has no gitHead field linking it to a source commit, but previous versions did. This suggests the publish environment changed. Published by: simon_he.

LOW No provenance attestation provenance

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

v0.1.38

2 findings
HIGH Missing gitHead — previous versions had it provenance

This version has no gitHead field linking it to a source commit, but previous versions did. This suggests the publish environment changed. Published by: simon_he.

LOW No provenance attestation provenance

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

v0.1.37

2 findings
HIGH Missing gitHead — previous versions had it provenance

This version has no gitHead field linking it to a source commit, but previous versions did. This suggests the publish environment changed. Published by: simon_he.

LOW No provenance attestation provenance

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

v0.1.36

2 findings
HIGH Missing gitHead — previous versions had it provenance

This version has no gitHead field linking it to a source commit, but previous versions did. This suggests the publish environment changed. Published by: simon_he.

LOW No provenance attestation provenance

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

v0.1.35

1 finding
LOW No provenance attestation provenance

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

v0.1.34

1 finding
INFO No provenance attestation provenance

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

v0.1.33

1 finding
LOW No provenance attestation provenance

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

v0.1.32

2 findings
HIGH New obfuscated file: dist/index.d.mts source-diff

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

INFO No provenance attestation provenance

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

v0.1.31

2 findings
HIGH New obfuscated file: dist/index.d.mts 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.

v0.1.30

1 finding
LOW No provenance attestation provenance

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

v0.1.29

1 finding
LOW No provenance attestation provenance

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

v0.1.28

1 finding
LOW No provenance attestation provenance

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

v0.1.27

1 finding
LOW No provenance attestation provenance

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

v0.1.26

2 findings
INFO No provenance attestation provenance

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

INFO Missing gitHead — previous versions had it provenance

[Accepted risk] This version has no gitHead field linking it to a source commit, but previous versions did. This suggests the publish environment changed. Published by: simon_he.

v0.1.25

2 findings
INFO No provenance attestation provenance

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

INFO Missing gitHead — previous versions had it provenance

[Accepted risk] This version has no gitHead field linking it to a source commit, but previous versions did. This suggests the publish environment changed. Published by: simon_he.

v0.1.24

2 findings
HIGH Missing gitHead — previous versions had it provenance

This version has no gitHead field linking it to a source commit, but previous versions did. This suggests the publish environment changed. Published by: simon_he.

LOW No provenance attestation provenance

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

v0.1.23

2 findings
HIGH Missing gitHead — previous versions had it provenance

This version has no gitHead field linking it to a source commit, but previous versions did. This suggests the publish environment changed. Published by: simon_he.

LOW No provenance attestation provenance

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

v0.1.22

2 findings
HIGH Missing gitHead — previous versions had it provenance

This version has no gitHead field linking it to a source commit, but previous versions did. This suggests the publish environment changed. Published by: simon_he.

LOW No provenance attestation provenance

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

v0.1.21

1 finding
LOW No provenance attestation provenance

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

v0.1.20

1 finding
LOW No provenance attestation provenance

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

v0.1.19

2 findings
HIGH Missing gitHead — previous versions had it provenance

This version has no gitHead field linking it to a source commit, but previous versions did. This suggests the publish environment changed. Published by: simon_he.

LOW No provenance attestation provenance

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

v0.1.18

2 findings
HIGH Missing gitHead — previous versions had it provenance

This version has no gitHead field linking it to a source commit, but previous versions did. This suggests the publish environment changed. Published by: simon_he.

LOW No provenance attestation provenance

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

v0.1.17

2 findings
HIGH Missing gitHead — previous versions had it provenance

This version has no gitHead field linking it to a source commit, but previous versions did. This suggests the publish environment changed. Published by: simon_he.

LOW No provenance attestation provenance

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

v0.1.16

2 findings
HIGH Missing gitHead — previous versions had it provenance

This version has no gitHead field linking it to a source commit, but previous versions did. This suggests the publish environment changed. Published by: simon_he.

LOW No provenance attestation provenance

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

v0.1.14

2 findings
HIGH Missing gitHead — previous versions had it provenance

This version has no gitHead field linking it to a source commit, but previous versions did. This suggests the publish environment changed. Published by: simon_he.

LOW No provenance attestation provenance

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

v0.1.13

2 findings
HIGH Missing gitHead — previous versions had it provenance

This version has no gitHead field linking it to a source commit, but previous versions did. This suggests the publish environment changed. Published by: simon_he.

LOW No provenance attestation provenance

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

v0.1.12

1 finding
INFO No provenance attestation provenance

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

v0.1.11

2 findings
HIGH Missing gitHead — previous versions had it provenance

This version has no gitHead field linking it to a source commit, but previous versions did. This suggests the publish environment changed. Published by: simon_he.

LOW No provenance attestation provenance

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

v0.1.10

1 finding
LOW No provenance attestation provenance

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

v0.1.8

2 findings
HIGH Missing gitHead — previous versions had it provenance

This version has no gitHead field linking it to a source commit, but previous versions did. This suggests the publish environment changed. Published by: simon_he.

LOW No provenance attestation provenance

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

v0.1.7

2 findings
HIGH Missing gitHead — previous versions had it provenance

This version has no gitHead field linking it to a source commit, but previous versions did. This suggests the publish environment changed. Published by: simon_he.

LOW No provenance attestation provenance

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

v0.1.6

2 findings
HIGH Missing gitHead — previous versions had it provenance

This version has no gitHead field linking it to a source commit, but previous versions did. This suggests the publish environment changed. Published by: simon_he.

LOW No provenance attestation provenance

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

v0.1.5

1 finding
LOW No provenance attestation provenance

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

v0.1.4

1 finding
LOW No provenance attestation provenance

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

v0.1.3

1 finding
LOW No provenance attestation provenance

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

v0.1.2

1 finding
INFO No provenance attestation provenance

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

v0.1.1

1 finding
INFO No provenance attestation provenance

[Accepted risk] 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. Consider requesting the maintainer enable provenance via CI/CD.

v0.0.100

1 finding
LOW No provenance attestation provenance

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