Repository navigation
@stackline/proxyquire 1.0.0
@stackline/proxyquire 1.0.0
Compatibility-first continuation of proxyquire@2.1.3 for CommonJS dependency
stubbing. This release preserves the established callable API, resolution and
stub semantics, call-through/cache/global controls, primitive and missing-module
stubs, and runtime deep imports. It adds first-party TypeScript declarations and
createProxyquire(import.meta.url) for ESM or native-TypeScript hosts loading
CommonJS subjects.
The implementation bounds transient module.parent.children retention,
restores loader/cache state compositionally, isolates global-mode state per
load, and uses prototype-safe stub bookkeeping. Native ESM imports remain
outside the interception boundary.
Provenance
- source: https://github.com/alexandroit/stackline-proxyquire
- source commit:
36552232c7fd0d133d56a8a8f502f15283f94914 - release tag:
stackline-v1.0.0 - upstream baseline:
proxyquire@2.1.3, MIT - CI: https://github.com/alexandroit/stackline-proxyquire/actions/runs/33079422946
- CodeQL: https://github.com/alexandroit/stackline-proxyquire/actions/runs/33079422873
Artifact
- file:
stackline-proxyquire-1.0.0.tgz - packed size: 14,244 bytes
- unpacked size: 45,400 bytes
- files: 24
- SHA-1:
34d6a0ce2fc5b46ddf52e6a07ae6a9d6957a89fa - SHA-256:
0abc781ae295e7a9fa0a9d95c25b739e0f320cf5630cd864b46eba5f0baa521a - SHA-512:
0b8ca747480401bab8b3a21a87471746d5dd412c647c7a4d892616a45abfb629a25a0e47e17a8c8c904e0a6a07243bab4e0365cb87043caee81f9f26fc116b84 - npm integrity:
sha512-C4ynR0gEAbq4s6Iah0cXRtXdQSxkfHpNiSYWpFq/timiWg5H4XqMjJBOCmoHJDurTgNly4cEPK7oH58m/BFrhA==
FILE_INVENTORY.json records every packed file. sbom.cdx.json records the
exact CycloneDX production graph. SHA1SUMS, SHA256SUMS, and SHA512SUMS
cover the immutable tarball.
Dependency decision
resolve@1.22.12 is retained and exact-pinned because Node's native resolver
collapses distinct symlink and package-export-alias request identities. The
seven-node external production graph is fully MIT-licensed and passed the
production audit; all 238 installed release-gate packages passed npm signature
verification.