{"name":"@pnpm/fetching.binary-fetcher","version":"1005.0.2","keywords":["pnpm","pnpm10"],"license":"MIT","_id":"@pnpm/fetching.binary-fetcher@1005.0.2","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":"89d8cde15acb572ae6a9df5ac0b586cd8f196528","tarball":"http://registry-npm.ywwl.com/@pnpm/fetching.binary-fetcher/download/@pnpm/fetching.binary-fetcher-1005.0.2.tgz","fileCount":6,"integrity":"sha512-NigdsFRlTdvNqTa7Yn5AXlT1R2cBDJmhz90h3HZw0MGFMOw1Yf0HHxtN5+h7hUkV7vDvCRcrt3R5PCNtAgHY2g==","signatures":[{"sig":"MEUCIQDSj+fJGHkRlQx/+SoMm3j/jTkeiv/Bh8IFQ/81YWah2gIgHGFe9/tlWMmeMsLrX1w2jpbl9KgGsq+iC6enW+fHGJs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14928,"size":5487,"noattachment":false,"key":"/@pnpm/fetching.binary-fetcher/-/@pnpm/fetching.binary-fetcher-1005.0.2.tgz"},"jest":{"preset":"@pnpm/jest-config"},"main":"lib/index.js","type":"commonjs","_from":"file:pnpm-fetching.binary-fetcher-1005.0.2.tgz","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"},"_resolved":"/tmp/9b5e66748c99f8d204127014737c0d97/pnpm-fetching.binary-fetcher-1005.0.2.tgz","_integrity":"sha512-NigdsFRlTdvNqTa7Yn5AXlT1R2cBDJmhz90h3HZw0MGFMOw1Yf0HHxtN5+h7hUkV7vDvCRcrt3R5PCNtAgHY2g==","repository":{"url":"git+https://github.com/pnpm/pnpm.git#main","type":"git"},"_npmVersion":"11.6.2","description":"A fetcher for binary archives","directories":{},"_nodeVersion":"20.19.6","dependencies":{"ssri":"10.0.5","tempy":"^1.0.1","adm-zip":"^0.5.16","is-subdir":"^1.2.0","@pnpm/error":"1000.0.5","rename-overwrite":"^6.0.2","@pnpm/fetcher-base":"1001.2.2","@pnpm/fetching-types":"1000.2.0"},"_hasShrinkwrap":false,"devDependencies":{"tempy":"^1.0.1","@types/ssri":"^7.1.5","@jest/globals":"29.7.0","@types/adm-zip":"^0.5.7","@pnpm/fetching.binary-fetcher":"1005.0.2"},"peerDependencies":{"@pnpm/worker":"^1000.6.2"},"_npmOperationalInternal":{"tmp":"tmp/fetching.binary-fetcher_1005.0.2_1768822156007_0.6651888126015475","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":1768822156138,"_cnpm_publish_time":1768822156138,"dist-tags":{"latest":"1102.0.23","latest-10":"1005.0.7"}}