{"name":"@pnpm/fetching.binary-fetcher","version":"1005.0.7","keywords":["pnpm","pnpm10"],"license":"MIT","_id":"@pnpm/fetching.binary-fetcher@1005.0.7","maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"homepage":"https://github.com/pnpm/pnpm/tree/main/fetching/binary-fetcher#readme","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"595f2a1bdb2b5c8ac32722b38cc672b10baef8f5","tarball":"http://registry-npm.ywwl.com/@pnpm/fetching.binary-fetcher/download/@pnpm/fetching.binary-fetcher-1005.0.7.tgz","fileCount":5,"integrity":"sha512-2tkNhi0SOsJKedvF9wR1x6l2hHf5h6XsNgcOPy62Dyt3H+OUCOFBiuhAYEk3AMtUyNwViMzTHB12qXORUQoixA==","signatures":[{"sig":"MEQCICH8ldGwIrINzEki2y1yYLBRfWfSbR5JHl6P7UStio6+AiA4YPQBzyqE3eq+JyQMHxsZs2WdZbEL9ROqwWknsbq+eA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIBQm/moniBCZQ5NfZGCTTmj4l9G3mxpzPO2BE1S1VAqiAiEA9jjgdu0S2KXfaSBlZax3oa6aoQZOp0F8eAgv3nMuv/E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pnpm%2ffetching.binary-fetcher@1005.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":10918,"size":4164,"noattachment":false,"key":"/@pnpm/fetching.binary-fetcher/-/@pnpm/fetching.binary-fetcher-1005.0.7.tgz"},"jest":{"preset":"@pnpm/jest-config"},"main":"lib/index.js","type":"commonjs","types":"lib/index.d.ts","engines":{"node":">=18.12"},"exports":{".":"./lib/index.js"},"funding":"https://opencollective.com/pnpm","scripts":{"lint":"eslint \"src/**/*.ts\" \"test/**/*.ts\"","test":"pnpm run compile && pnpm run _test","_test":"jest","compile":"tsc --build && pnpm run lint --fix"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"repository":{"url":"https://github.com/pnpm/pnpm/tree/main/fetching/binary-fetcher","type":"git"},"description":"A fetcher for binary archives","directories":{},"dependencies":{"ssri":"10.0.5","tempy":"^1.0.1","adm-zip":"^0.6.1","is-subdir":"^1.2.0","@pnpm/error":"1000.1.0","rename-overwrite":"^6.0.6","@pnpm/fetcher-base":"1001.2.4","@pnpm/fetching-types":"1000.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tempy":"^1.0.1","@types/ssri":"^7.1.5","@jest/globals":"29.7.0","@types/adm-zip":"^0.5.8","@pnpm/fetching.binary-fetcher":"1005.0.7"},"peerDependencies":{"@pnpm/worker":"^1000.6.11"},"_npmOperationalInternal":{"tmp":"tmp/fetching.binary-fetcher_1005.0.7_1790619692348_0.9417173488839492","host":"s3://npm-registry-packages-npm-production"},"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":1790619692438,"_cnpm_publish_time":1790619692438,"dist-tags":{"latest":"1102.0.23","latest-10":"1005.0.7"}}