Skip to content

@stackline/proxyquire 1.0.0

Choose a tag to compare

@alexandroit alexandroit released this 27 Aug 19:18
· 13 commits to main since this release
Immutable release. Only release title and notes can be modified.

@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

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.