{"_id":"@pnpm/fetching.binary-fetcher@1102.0.21","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"ed5e30d432f1fcde286667916812d6f1b4459a79","tarball":"http://registry-npm.ywwl.com/@pnpm/fetching.binary-fetcher/download/@pnpm/fetching.binary-fetcher-1102.0.21.tgz","fileCount":6,"integrity":"sha512-+t8BjEBjhtJpMRIUCwkrk3hFE5uwck3TLSVR3Iniq/rM0o/zNhPn86jgj/ChQ4DM4JBdDCiJCIXh0yYVJ+cNmg==","signatures":[{"sig":"MEYCIQD6aqcIw3NqndRwzwVmsujlfGFQBvJweagAHNZPhDVrTQIhANOz3fHeW5qj0NTEBadv3kvSGHzfJtOgNLffycd3RjMw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAbnNdCZkHunqDetGhzQIB5HZG3+t89cRh933194CpiJAiEA2sxq+S2+jQ/SDjt2XnYM/6K61jE86mTuncS2+wJp7GQ="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pnpm%2ffetching.binary-fetcher@1102.0.21","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27537,"size":9207,"noattachment":false,"key":"/@pnpm/fetching.binary-fetcher/-/@pnpm/fetching.binary-fetcher-1102.0.21.tgz"},"jest":{"preset":"@pnpm/jest-config"},"main":"lib/index.js","name":"@pnpm/fetching.binary-fetcher","type":"module","types":"lib/index.d.ts","engines":{"node":">=22.13"},"exports":{".":"./lib/index.js"},"funding":"https://opencollective.com/pnpm","license":"MIT","scripts":{"lint":"eslint \"src/**/*.ts\" \"test/**/*.ts\"","test":"pn compile && pn .test",".test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules --disable-warning=ExperimentalWarning --disable-warning=DEP0169\" jest","compile":"tsgo --build && pn lint --fix"},"version":"1102.0.21","_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"homepage":"https://github.com/pnpm/pnpm/tree/main/pnpm11/fetching/binary-fetcher#readme","keywords":["pnpm","pnpm11"],"repository":{"url":"https://github.com/pnpm/pnpm/tree/main/pnpm11/fetching/binary-fetcher","type":"git"},"description":"A fetcher for binary archives","directories":{},"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"dependencies":{"ssri":"13.0.1","tempy":"3.0.0","yauzl":"^3.4.0","is-subdir":"^2.0.1","@pnpm/error":"1100.2.2","@pnpm/store.cafs":"1100.3.8","rename-overwrite":"^7.0.1","@pnpm/store.index":"1101.0.3","@pnpm/fetching.types":"1100.0.3","@pnpm/fetching.fetcher-base":"1100.2.13"},"_hasShrinkwrap":false,"devDependencies":{"tempy":"3.0.0","adm-zip":"^0.6.1","@types/ssri":"^7.1.5","@types/yauzl":"^3.4.0","@jest/globals":"30.4.1","@types/adm-zip":"^0.6.0","@pnpm/fetching.binary-fetcher":"1102.0.21"},"peerDependencies":{"@pnpm/worker":"^1100.4.10"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fetching.binary-fetcher_1102.0.21_1792580829393_0.8952178189337034"},"readme":"# @pnpm/fetching.binary-fetcher\n\n> A fetcher for binary archives\n\n## Installation\n\n```\npnpm add @pnpm/fetching.binary-fetcher\n```\n\n## Testing\n\n### Test Fixtures\n\nThe `test/fixtures/` directory contains malicious ZIP files for testing path traversal protection:\n\n| File | Entry Path | Purpose |\n|------|------------|---------|\n| `path-traversal.zip` | `../../../.npmrc` | Tests `../` escape sequences |\n| `absolute-path.zip` | `/etc/passwd` | Tests absolute path entries |\n| `backslash-traversal.zip` | `..\\..\\..\\evil.txt` | Tests Windows backslash traversal (Windows-only) |\n\nThese fixtures are manually crafted because AdmZip's `addFile()` sanitizes paths automatically.\n\n> **Note:** The backslash test only runs on Windows because `\\` is a valid filename character on Unix.\n\n### Regenerating Fixtures\n\n```bash\nnode --experimental-strip-types scripts/create-fixtures.ts\n```\n\n## License\n\nMIT\n","publish_time":1792580829479,"_cnpm_publish_time":1792580829479,"dist-tags":{"latest":"1102.0.23","latest-10":"1005.0.7"}}