1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 17:49:08 -05:00
denoland-deno/tests/registry/npm/@npmcli/fs/registry.json
Nathan Whitaker ce7dc2be92
feat(node): Support executing npm package lifecycle scripts (preinstall/install/postinstall) (#24487)
Adds support for running npm package lifecycle scripts, opted into via a
new `--allow-scripts` flag.

With this PR, when running `deno cache` (or `DENO_FUTURE=1 deno
install`) you can specify the `--allow-scripts=pkg1,pkg2` flag to run
lifecycle scripts attached to the given packages.

Note at the moment this only works when `nodeModulesDir` is true (using
the local resolver).

When a package with un-run lifecycle scripts is encountered, we emit a
warning suggesting things may not work and to try running lifecycle
scripts. Additionally, if a package script implicitly requires
`node-gyp` and it's not found on the system, we emit a warning.

Extra things in this PR:
- Extracted out bits of `task.rs` into a separate module for reuse
- Added a couple fields to `process.config` in order to support
`node-gyp` (it relies on a few variables being there)
- Drive by fix to downloading new npm packages to test registry

---

TODO:
- [x] validation for allow-scripts args (make sure it looks like an npm
package)
- [x] make allow-scripts matching smarter
- [ ] figure out what issues this closes

---
Review notes:
- This adds a bunch of deps to our test registry due to using
`node-gyp`, so it's pretty noisy
2024-07-10 03:06:08 +00:00

1 line
No EOL
35 KiB
JSON

{"_id":"@npmcli/fs","_rev":"21-05ecd4c39e38c62099c3c1361128aa80","name":"@npmcli/fs","description":"filesystem utilities for the npm cli","dist-tags":{"latest":"3.1.1"},"versions":{"1.0.0":{"name":"@npmcli/fs","version":"1.0.0","keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","_id":"@npmcli/fs@1.0.0","maintainers":[{"name":"fritzy","email":"fritzy@github.com"},{"name":"isaacs","email":"i@izs.me"},{"name":"darcyclarke","email":"darcy@darcyclarke.me"},{"name":"ruyadorno","email":"ruyadorno@hotmail.com"},{"name":"nlf","email":"quitlahok@gmail.com"},{"name":"gar","email":"gar+npm@danger.computer"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"dist":{"shasum":"589612cfad3a6ea0feafcb901d29c63fd52db09f","tarball":"http://localhost:4260/@npmcli/fs/fs-1.0.0.tgz","fileCount":18,"integrity":"sha512-8ltnOpRR/oJbOp8vaGUnipOi3bqkcW+sLHFlyXIr08OGHmVJLB1Hn7QtGXbYcpVtH1gAYZTlmDXtE4YV0+AMMQ==","signatures":[{"sig":"MEUCIQDlKXRpnOQrkAbqe+i7JG6hHTzQxMj+qEPWPPEyG5J21AIgKvUjJ4j67XwlvFAJqH+Zfl/ENmDEkgSeuELrqs/h0TA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24237,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJpnrCRA9TVsSAnZWagAA+x0QAJmXGDFRD1RiSiMCTvfh\nJ3VGs2Yf0X/pHw433/MAfYloa7eFKp6I49tEItN3GF7MDF3taTptJZ9G/Jk3\nB7mx7A0s5GPlIXs8mEoDAkk6UOT1nBJmtZFa6VeoIdzVD3BUfz4X2/kZrPmZ\nB4h37aiUTvn9FJW0h3GpLhWd+8eNe9TrUMmHsbWyjok3KD9csRoIAzUuOc7B\nFh8dE1MZjfB3tKq29KaAddyO5FGUTaW0V89cntib9LloLji7m8FC+9/5S9W/\n/8oD4YuvS7P6mAM9vrjG4PPcr6c65Vlj5SXE5eivPtqEP6LoWMdBD/3+AqG3\nSolOhNUkZ2B9DC1EYdT3Xwps995hGXucj6Hi14i9O8/9i/FBCL5/0sZffaCp\noFW3flqWXJueuToTMI7pBICsTctk1bg6h9ocLz9rMG5R79xLy7YBDAIrZv6j\nYyBHLbR0oBWV5Dyk37RIqm9iKkLNy92ZyZ2aOosmSPYtCjaC4dlEJldfATA4\nloyulMsYJ2TC0YmNTz/Pts6HdSONTnVYQXQrdE5mviP/PCZIebzaGJ89MgEJ\nAWueSY0Ij7SwzwyOzrzExlJbZy60EFW2+HjXvV6t5HVWvz0UNqQp4pPIZJhT\neGnPLn9ORX2TqWCioQFi/iIAbcNathMMUcPRfvKxyfFhUX4TfSToFTaolM9L\n5+wF\r\n=nnQh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"5badc84bf1c5bb307a497cbb811e56383cb08242","scripts":{"lint":"npm run npmclilint -- \"lib/**/*.*js\" \"test/**/*.*js\"","snap":"tap","test":"tap","lintfix":"npm run lint -- --fix","postsnap":"npm run lintfix --","posttest":"npm run lint --","npmclilint":"npmcli-lint","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags"},"_npmUser":{"name":"nlf","email":"quitlahok@gmail.com"},"_npmVersion":"7.20.6","description":"filesystem utilities for the npm cli","directories":{},"_nodeVersion":"16.5.0","dependencies":{"semver":"^7.3.5","@gar/promisify":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^15.0.9","@npmcli/lint":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/fs_1.0.0_1629919723626_0.9834209494189732","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@npmcli/fs","version":"1.1.0","keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","_id":"@npmcli/fs@1.1.0","maintainers":[{"name":"fritzy","email":"fritzy@github.com"},{"name":"darcyclarke","email":"darcy@darcyclarke.me"},{"name":"ruyadorno","email":"ruyadorno@hotmail.com"},{"name":"nlf","email":"quitlahok@gmail.com"},{"name":"gar","email":"gar+npm@danger.computer"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"dist":{"shasum":"bec1d1b89c170d40e1b73ad6c943b0b75e7d2951","tarball":"http://localhost:4260/@npmcli/fs/fs-1.1.0.tgz","fileCount":22,"integrity":"sha512-VhP1qZLXcrXRIaPoqb4YA55JQxLNF3jNR4T55IdOJa3+IFJKNYHtPvtXx8slmeMavj37vCzCfrqQM1vWLsYKLA==","signatures":[{"sig":"MEYCIQDim+3ZeZd5rD8Ah4ffqjjVaFycv7BxMrUwL97ziaaUgwIhAPLj2yivKs9CWu9wtbeuAh9R+Dlqv1Bv2VDg8Mem86ty","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41916,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsnogCRA9TVsSAnZWagAAnnEQAIIfs1QIcIjiGR/OMYUD\nfol5J9TAT1EtkSTaWvtyqSrJMEz/ZvBeAnpWyO1nRIHztghFSTaETT4tZ9rl\nhExc5ylPkN2bHOala8DrNeX7LzoRcAstUTHrv0G+fUtThkPXI25GQOy5P5wF\nLxoFTTEGmMT8IWKTLZ8nt3yKuatJdOUxGmihv3at/T1vFTlf8uuowyPsAUrZ\nAwLkklhZgu+3K+TsAHGZbdjbiqW7I76rVqIp144yrqhmzNJhv9wg4mAfjw4R\n9CTp1i3sf/rv7S7Q4ixvz1AvG2eq7Ar6KhySUQe6j2cprRXX7z2yJZ3zj1Ns\ntsvwnVotfqG/HmMmpF+g4PY3oTQDSh9DrHg/DyIi5TGxmrcs7Zzlfcb+bQ2s\nhIbAvPefcD3r+yy/fcgNKIWhEbhwTArx5HNNEuXhv6OxyNi/+aZ39XVxTBKn\nfnsb+wYmfgh3KV3dY33Ah/CzHTg0jr8ZYU9AYh2f2DXaoQB8vJfG6A0MLWcx\ne6wSgEQHkNwrjx5rHmnudZYmhkIYjtShgeq/woGo5gvAsMpNRaW2MyecOUrz\nPDP1HjRIv1Ian+sdiE2HFee0SPE5UzWLyHD5bUVuOWSV4zmyaSTnOs8fcWEn\nWBcLaU2uHgfpf9/+wsHqir6Hb91AbUxMIU1tKL3tO/dTEI/NLCbxeC4nhsu+\niOtj\r\n=NOe0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","engines":{"node":"^12.13.0 || ^14.15.0 || >=16"},"gitHead":"b11009016f5b1d3ad9dd4ec9a17215c49dee3da9","scripts":{"lint":"eslint '**/*.js'","snap":"tap","test":"tap","lintfix":"npm run lint -- --fix","postlint":"npm-template-check","postsnap":"npm run lintfix --","posttest":"npm run lint","npmclilint":"npmcli-lint","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags"},"_npmUser":{"name":"nlf","email":"quitlahok@gmail.com"},"deprecated":"this version had an improper engines field added, update to 1.1.1","_npmVersion":"8.3.0","description":"filesystem utilities for the npm cli","directories":{},"_nodeVersion":"16.13.0","dependencies":{"semver":"^7.3.5","@gar/promisify":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^15.0.9","@npmcli/template-oss":"^2.3.1"},"templateVersion":"2.3.1","_npmOperationalInternal":{"tmp":"tmp/fs_1.1.0_1639086624246_0.05716132949633068","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@npmcli/fs","version":"1.1.1","keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","_id":"@npmcli/fs@1.1.1","maintainers":[{"name":"fritzy","email":"fritzy@github.com"},{"name":"darcyclarke","email":"darcy@darcyclarke.me"},{"name":"ruyadorno","email":"ruyadorno@hotmail.com"},{"name":"nlf","email":"quitlahok@gmail.com"},{"name":"gar","email":"gar+npm@danger.computer"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"dist":{"shasum":"72f719fe935e687c56a4faecf3c03d06ba593257","tarball":"http://localhost:4260/@npmcli/fs/fs-1.1.1.tgz","fileCount":22,"integrity":"sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==","signatures":[{"sig":"MEUCIQC3PWIwXpRE3CKXdAoQP/jXgjhet/u1wSmDT/t6a5ZWIQIgN6reO2Sv0OCATTTqDrMfgo96fnJ9gv0zCr9nATbwFvY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41853,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBY3ZCRA9TVsSAnZWagAANQsP/3jgJl46JW6Ull+7bJ2P\nYdtpA+/Z9eNDmmR55XaS7RyMKL+VPmAR6N5br5soo/mEvZ6+5lNZx3aU14of\n9PS4Izw90uO9d1e/n3lDeqlvQG7Y+V8jzkM3x8pBCciQazi2xpu+/fr0VicS\nf0Pwz9h63xpWrlQ5ooAevje5BzTPHxxFLhu9m3lmG40XO6YWS+Bbk645X/kz\nVaaf/C9bMLQl8WwvR8B+Khmvwejt9gXkYUtIGm9HqDETCgIixFjOWjBDrisc\ni87hngOJsVISikmH+NFEHGW2vMGdaSjEUDYXR1JC0gql9ahm+g/wcECwtrm4\nIGr2jnolGOc6P5EObp4gNnKQr7la2A/kQdyVdcCYbPTkB+LZzt1LBphQ4FEH\nYspqHQeL5gyB0I1oHKG8zDJ82doczJG3M/JzFjRglscQQ2W584nnEyOX4Xrh\nPq273clx/8rRgv/D1exAY7GBVEMsAKp3xWU8xF9sBwTHukiN4eAlY/rWuFag\nNzVyIGNmW+9S8sA9oAU+NTxSAV9Uk5KGp+39Q9gfmRrezTC9R0oeFFzQa2qv\nXsJqWzGX0T3tAroqwpDirdAxMEhfy6uQHeZpAYrLWUU9ZX5f0YBknPUudi2m\ntpoKSoj5iF2MYxZ5FZ9oBiMn/CuBsacUvYRHmqaUB9LhmfMvqr995UenQZVf\nuBs3\r\n=6fZ/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"d5f6cda4d7b5da6f944471105df7deef5c67c1a5","scripts":{"lint":"eslint '**/*.js'","snap":"tap","test":"tap","lintfix":"npm run lint -- --fix","postlint":"npm-template-check","postsnap":"npm run lintfix --","posttest":"npm run lint","npmclilint":"npmcli-lint","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags"},"_npmUser":{"name":"nlf","email":"quitlahok@gmail.com"},"_npmVersion":"8.5.0","description":"filesystem utilities for the npm cli","directories":{},"_nodeVersion":"16.13.2","dependencies":{"semver":"^7.3.5","@gar/promisify":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^15.0.9","@npmcli/template-oss":"^2.3.1"},"templateVersion":"2.3.1","_npmOperationalInternal":{"tmp":"tmp/fs_1.1.1_1644531161306_0.875982806076564","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@npmcli/fs","version":"2.0.0","keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","_id":"@npmcli/fs@2.0.0","maintainers":[{"name":"fritzy","email":"fritzy@github.com"},{"name":"darcyclarke","email":"darcy@darcyclarke.me"},{"name":"ruyadorno","email":"ruyadorno@hotmail.com"},{"name":"nlf","email":"quitlahok@gmail.com"},{"name":"gar","email":"gar+npm@danger.computer"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"dist":{"shasum":"542e700b152e2909f0123689664a04a10720aafe","tarball":"http://localhost:4260/@npmcli/fs/fs-2.0.0.tgz","fileCount":22,"integrity":"sha512-fjYoQqdRPY3fe5s2aianR/P78UKtyF5kpiXiRkZ1s/X+zHQAkQ4X8nboA3ZXWPvSNSMVlpJX/rzZFwBM7FPxCw==","signatures":[{"sig":"MEUCIGjCFBwcZ083LIS0gIZz2u3i81G933JM7SBIP7c+jhHqAiEA7oSu4WvZaGzDMhBxAUrobajvJZpU79z/dHacVz/w0Xk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFnSPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmriJg/8DKqWtsicw7YiPi6zWu4eNZSMe5HkW9EIkVJqM16d1Y7Oim+o\r\nzY7cc5M2CfIO0jraE4s/7QMCmYMW1pF8BiJXV4NZ7/ETGa5S/Uu8K3BwW29O\r\nCTeiPCM2MsLqggg7h0dfUWdplFQhdIEWhViK6LHrXjmN2GASV2+bRmj+9zdT\r\n+f7qvvrhYBRoX0k0JcupY9wmhuGQmCNFjuJJtR7Kt5a3qkk//Ws/NPPq1cNc\r\nNfTzJldRI6zn4yKgJXwK2skJAUFzqbXZK4FYQ4d5n3OyBkklOlfR0EXx4lXN\r\nnbq5ikNa/dvoi0Hxlt+GNnPlMAK6uDf6cjyZyiG+4bekV5nAAqwZHMoUwq98\r\njA6JznWps7wXT4crgDaOjNtG1wRpbaLBXDTuRumfKsf864EN+B9m9fapqPHi\r\nHSnTiyR/742Goa4C0SDph/mWMocFxxJMDiSsGdfhoHByvcrLkiP4nKNTimP6\r\nBpau1NaQZcd3QuqANzL+rMVt6zJQj801PPMgGckvFjR38AdNNfardPvuAh+9\r\ndkl857iHhWnMN6sAA+/tPrHECcQ6futoPWxJilC++1QjEknrSYcugO488MWj\r\n8RjiXREADRrus3Gt9TOjHk7OUkfGYPmM7ddL5l/XF3yj1SDjp/LayXr3VkbC\r\n0DgZuugRBMTRBCGqg43cZZfdcQhDn7u6wp4=\r\n=geKE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","engines":{"node":"^12.13.0 || ^14.15.0 || >=16"},"gitHead":"123389240ecb25d0b8ea403df7f1d84efd047d6f","scripts":{"lint":"eslint '**/*.js'","snap":"tap","test":"tap","lintfix":"npm run lint -- --fix","postlint":"npm-template-check","postsnap":"npm run lintfix --","posttest":"npm run lint","npmclilint":"npmcli-lint","preversion":"npm test","postversion":"npm publish","template-copy":"npm-template-copy --force","prepublishOnly":"git push origin --follow-tags"},"_npmUser":{"name":"lukekarrys","email":"luke@lukekarrys.com"},"_npmVersion":"8.5.1","description":"filesystem utilities for the npm cli","directories":{},"templateOSS":{"version":"2.7.1"},"_nodeVersion":"16.14.0","dependencies":{"semver":"^7.3.5","@gar/promisify":"^1.1.3"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^15.1.6","@npmcli/template-oss":"^2.7.1"},"_npmOperationalInternal":{"tmp":"tmp/fs_2.0.0_1645638799683_0.7235770158533537","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@npmcli/fs","version":"2.0.1","keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","_id":"@npmcli/fs@2.0.1","maintainers":[{"name":"fritzy","email":"fritzy@github.com"},{"name":"darcyclarke","email":"darcy@darcyclarke.me"},{"name":"ruyadorno","email":"ruyadorno@hotmail.com"},{"name":"nlf","email":"quitlahok@gmail.com"},{"name":"gar","email":"gar+npm@danger.computer"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"homepage":"https://github.com/npm/fs#readme","bugs":{"url":"https://github.com/npm/fs/issues"},"dist":{"shasum":"ccd1414f9f8f987384718a16d09d2d850a424bfd","tarball":"http://localhost:4260/@npmcli/fs/fs-2.0.1.tgz","fileCount":22,"integrity":"sha512-vlaJ+kcURCo0SK1afdX5BQ9hgbXDKhpOxdIOg3jvn7wnKp8NcSDjvYc490VuJn2ciOgAFXV9qZzZPgHlcpXkxA==","signatures":[{"sig":"MEYCIQCuZQ6OxrbBqGsEed6FhQvkoHZNUnNelRoU291ucXxXgQIhAIxR+374f0e/VZC9g2KOcoXtt5BV16bv+XgqNxKOFCnL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42068,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFoanACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrWgw/+Nc4kxM4hrs93yEKdieKI6IHO6brFpbokAiPrScsuoQkey/Hq\r\nEiZ9TfRxszOYmkvglMH0/GOuL1sOrmkj8hm2aZhxw/mgqchpn2SbvD3JFOMI\r\nGeitEGp4lYRHCXAZzoPmr4SZ8L11phqHUNRylyNr3i/id+ZqQ0m7SmlIPj1F\r\nf162FVk0471JfEPvsazgB4pWPhBHxbx02fYtXMjQYBTLWDJw6I/QMt6KpNxn\r\nFOk810w+UjbPOy3jRdSnsFXmhhIluZLjUNrjKKm7EwhvUk8RGgKY8ZH2uNS1\r\ni+fo+JqJk+98MasUC1JTgsynjPw+F74zgVu9lbZ1kYIO2l8x+KJzP35JLTBD\r\nwj1RSdgp/hQ3MbYwGOiucQCy5O13sImzB5PRZYE03J1fzIZXvSAkd+1ivccM\r\n3ngN9/ISKGY/fuhpTF8ao4Igpz33hjIz0iqNK74LgSa8DjJM92kxI6PFN+Ax\r\n+WtS+02tDjgZJrwG1QU6ykk7l/T5D8k/GIbvgoAiUoM13HuwCaVKoUhqEKWX\r\nDLYJHv1NxMuMLjK4H7VZJER5WWa9sLfZNdk4/I/yyp3R8nXeGP48j2VNM1c0\r\na2snaq6XOaMwajoo8Bxb/9JAA9tcDMQvRobiYziHwXFvnkfx8j7kJgUqbVrd\r\n5RIBmOmjiWq341IYaVGT2fJIcmukuRv1Uyc=\r\n=DrTi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","engines":{"node":"^12.13.0 || ^14.15.0 || >=16"},"gitHead":"8716d97636563a2fabaafda8e65af502ea6b862a","scripts":{"lint":"eslint '**/*.js'","snap":"tap","test":"tap","lintfix":"npm run lint -- --fix","postlint":"npm-template-check","postsnap":"npm run lintfix --","posttest":"npm run lint","npmclilint":"npmcli-lint","preversion":"npm test","postversion":"npm publish","template-copy":"npm-template-copy --force","prepublishOnly":"git push origin --follow-tags"},"_npmUser":{"name":"lukekarrys","email":"luke@lukekarrys.com"},"repository":{"url":"git+https://github.com/npm/fs.git","type":"git"},"_npmVersion":"8.5.1","description":"filesystem utilities for the npm cli","directories":{},"templateOSS":{"version":"2.7.1"},"_nodeVersion":"16.14.0","dependencies":{"semver":"^7.3.5","@gar/promisify":"^1.1.3"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^15.1.6","@npmcli/template-oss":"^2.7.1"},"_npmOperationalInternal":{"tmp":"tmp/fs_2.0.1_1645643431057_0.2442349536695647","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@npmcli/fs","version":"2.1.0","keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","_id":"@npmcli/fs@2.1.0","maintainers":[{"name":"fritzy","email":"fritzy@github.com"},{"name":"darcyclarke","email":"darcy@darcyclarke.me"},{"name":"ruyadorno","email":"ruyadorno@hotmail.com"},{"name":"nlf","email":"quitlahok@gmail.com"},{"name":"gar","email":"gar+npm@danger.computer"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"homepage":"https://github.com/npm/fs#readme","bugs":{"url":"https://github.com/npm/fs/issues"},"dist":{"shasum":"f2a21c28386e299d1a9fae8051d35ad180e33109","tarball":"http://localhost:4260/@npmcli/fs/fs-2.1.0.tgz","fileCount":25,"integrity":"sha512-DmfBvNXGaetMxj9LTp8NAN9vEidXURrf5ZTslQzEAi/6GbW+4yjaLFQc6Tue5cpZ9Frlk4OBo/Snf1Bh/S7qTQ==","signatures":[{"sig":"MEYCIQDuNcGZGiAkG+3+bKy5T3u6ryYU81fwOTlmcvSDDlnsSgIhAKvH2blyHgPEsC0QHhfM2UG3N379dOI4EKufJLiG8BuJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45320,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiOQ9KACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqUhQ/+IZOwpypqlKbjSLdXcuM8cB22v/JfYvvqEOyui5yidGUdYld2\r\nqExi8cQe65CSAcykYK1FOs1kvafwrvXnxxWQ0h3dTgJQ99IlWLEsT2DWBtxo\r\najb4IJ3G9i2xLiBoTUe5BdlLwFk9kJg/R36l/4PPIB7rNx0vJM8SMdYNPkf7\r\nxQjST+zblxg7LAumOHkQUZeneTvt92voW7hs6sIABO0aPBLBi7wyekfMKrL4\r\nSIBDPml3jaFYLGTLf+5W+ZYx8/C1HbgGgUEVDuu+sm8jG6RAEssZAS47ZOoq\r\nhCo+NdAtnnfPp8DpAXfBS3Yhyltdb1473fiE+Txrb8ktxv2EIHMUKshvNVhS\r\nXXWzRPVklpOM43pCzGfqxGsn1BunC1kbXnVHP3F7Ywt33zeomcG9bpV57chs\r\nvYp1yDMt/Sllfc3W3vWCDKkWJdGM8eyglckg40/2golfO0A3NVHt9ZHMRDck\r\nP65rblRYUOgJ+K/wYDtnvEW1mCURruMEQY7IZ9KiI8oh1iZf/n2dlwDEzXjv\r\nj7FZY3jqWrdccfRtLGXZtbdm9bpuszevIT81oFbYarUmu0WBK9z9Rw2D6/NN\r\nHz87C0LkS4v//7+dcpx2hxMt65utTx9Vn1byKqQgQeu616bM5suKoujFfZpO\r\nOW0so0lF1ZAmw5DP2Wa2mYbNUoPvi4qCAJ4=\r\n=bf+7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","engines":{"node":"^12.13.0 || ^14.15.0 || >=16.0.0"},"gitHead":"d6bde67636025ed44141797082b951131d04ff3d","scripts":{"lint":"eslint \"**/*.js\"","snap":"tap","test":"tap","lintfix":"npm run lint -- --fix","postlint":"template-oss-check","postsnap":"npm run lintfix --","posttest":"npm run lint","npmclilint":"npmcli-lint","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","template-oss-apply":"template-oss-apply --force"},"_npmUser":{"name":"lukekarrys","email":"luke@lukekarrys.com"},"repository":{"url":"git+https://github.com/npm/fs.git","type":"git"},"_npmVersion":"8.5.2","description":"filesystem utilities for the npm cli","directories":{},"templateOSS":{"version":"3.1.2","//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten."},"_nodeVersion":"16.14.0","dependencies":{"semver":"^7.3.5","@gar/promisify":"^1.1.3"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^15.1.6","@npmcli/template-oss":"3.1.2","@npmcli/eslint-config":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/fs_2.1.0_1647906634293_0.8065911971919175","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"@npmcli/fs","version":"2.1.1","keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","_id":"@npmcli/fs@2.1.1","maintainers":[{"name":"fritzy","email":"fritzy@github.com"},{"name":"darcyclarke","email":"darcy@darcyclarke.me"},{"name":"nlf","email":"quitlahok@gmail.com"},{"name":"gar","email":"gar+npm@danger.computer"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"homepage":"https://github.com/npm/fs#readme","bugs":{"url":"https://github.com/npm/fs/issues"},"dist":{"shasum":"c0c480b03450d8b9fc086816a50cb682668a48bf","tarball":"http://localhost:4260/@npmcli/fs/fs-2.1.1.tgz","fileCount":22,"integrity":"sha512-1Q0uzx6c/NVNGszePbr5Gc2riSU1zLpNlo/1YWntH+eaPmMgBssAW0qXofCVkpdj3ce4swZtlDYQu+NKiYcptg==","signatures":[{"sig":"MEYCIQCEQkcWaSSLkKM4RV6luaUdUDXtLint+iUzKbZh3iOtRgIhAI9Gg64wyqPZ24q2R+2yc3Q4sL8eO/wLzx9B1sPRjV21","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38788,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2ITjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqUCw//etyFKha+oeQmIljWbLA5HG0G9DV1O5bag4j6VIZAPlwYGRhm\r\ngDR0LRfaF4nIanVHmHrx+78sYhvDZVGGTRivIw3ntbIfQCDVaUnfO32o2qHN\r\nyomkCQyLzOquNblpTDEdmF0T/xdAaHBI+06/n9cPwYaUvZMKovkemeYGw4uL\r\nazSHmwubeNnyt859HYggD+zmNGMpBdkWyWfJX+Dd4fsgrPmrB5Ww/aZewTLV\r\nQ4cckWBLkjepTYv+DIePSXG/LbyIDTqbSjx/DhYlfVvtMz5m5+RhhJvsL1w2\r\nPZoLGUxZ+zLo4KA5+PItf6sgbuuGR6mzaDsAMY2Wg/YHGWNzlAXB25+d2I0G\r\n7CDanfz80Pi+O9/lv6jrkEiWEGONCcxuZlP2al5+/phdm3grSnNstyWeT0TX\r\njoIbYIunqOSC5RxRBGw3Iv90o/sxawoMsG6E+z3HoPcUgbvmTQgwaOpFZqX+\r\nr9Z8yA8DsYy/3It1Pe+U3tW63AkDam7zP2TEKceJ7bGViUYtZID02fcqgFNx\r\n9wz8orQMYIliNa21nhd+d4EjuFzsPFAsD30VsYdqxDB911ofxFEe/YRYT5gW\r\nrvyDfLNhIesd+1AbzI2D3rOKJpP28YtgTKwZgjfys0SgstDmDaJ7JFTf1koD\r\n3fa5BVD2MgHUNhgjfWjr8RW9gpPYG1NvVZ4=\r\n=QhL6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","engines":{"node":"^12.13.0 || ^14.15.0 || >=16.0.0"},"gitHead":"7c0c1f322004253b5a64ad3679eeaa80b1876275","scripts":{"lint":"eslint \"**/*.js\"","snap":"tap","test":"tap","lintfix":"npm run lint -- --fix","postlint":"template-oss-check","postsnap":"npm run lintfix --","posttest":"npm run lint","npmclilint":"npmcli-lint","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","template-oss-apply":"template-oss-apply --force"},"_npmUser":{"name":"lukekarrys","email":"luke@lukekarrys.com"},"repository":{"url":"git+https://github.com/npm/fs.git","type":"git"},"_npmVersion":"8.13.2","description":"filesystem utilities for the npm cli","directories":{},"templateOSS":{"version":"3.5.0","//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten."},"_nodeVersion":"18.0.0","dependencies":{"semver":"^7.3.5","@gar/promisify":"^1.1.3"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.1","@npmcli/template-oss":"3.5.0","@npmcli/eslint-config":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/fs_2.1.1_1658356963770_0.4711236480012506","host":"s3://npm-registry-packages"}},"2.1.2":{"name":"@npmcli/fs","version":"2.1.2","keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","_id":"@npmcli/fs@2.1.2","maintainers":[{"name":"fritzy","email":"fritzy@github.com"},{"name":"darcyclarke","email":"darcy@darcyclarke.me"},{"name":"nlf","email":"quitlahok@gmail.com"},{"name":"gar","email":"gar+npm@danger.computer"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"homepage":"https://github.com/npm/fs#readme","bugs":{"url":"https://github.com/npm/fs/issues"},"dist":{"shasum":"a9e2541a4a2fec2e69c29b35e6060973da79b865","tarball":"http://localhost:4260/@npmcli/fs/fs-2.1.2.tgz","fileCount":22,"integrity":"sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ==","signatures":[{"sig":"MEUCIFleG61wCL0jUMQVVRSlc7s5XIOwkN5geNsMbEdQpMoXAiEAmvQBeebSLuevlW9bMFaGg2CNq0UguO7VkDoo993x9FU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38884,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi+qSDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmocLw/9GMFsTUZC7kjThJEWP85O04OlZaOI6514UTfjyDAmwCoF6Egv\r\nWROYhJ7BsSJHRh5MTHrEqCjDPRTtgda6eXVI4xwMNl+U8Tt72Qz7sNDoVAuW\r\nSxbdmzFJh5pSM367XUKaXYFB4FWNSGHfQEfuGoRgs0RblPSQv3dBzi/TTJji\r\nmqQ+Ctu97abdF4Y1j4+zR3OzYOF52TQCFlvC8Ty8go1MGjkEwG1u0OL6WNaJ\r\nRyd602jr7Z1nq+TJqiKLWE04jbkxZdksXQsmr9x5lNyOky55+gMjqnDNbYOS\r\nPXGWOhmUAYlt7yeaMmLdEBRZmchMtUdZqUi3pNa+POi05a7A9Di1uqNjFc/0\r\nZwU0HZnWoIaO6Yzt6lB99r7UfZFf2DTCQLY0QMjnG7W+8P/gH+yyh68MHQji\r\nJ00Tqv/WE59rmiQKUXaw1tnZ/t+5J/B8Ybiz4NZeHm4kzTdGGj32kgaSVAS0\r\n7cOL3xMkgHK7hHAsTYgHujr5vBya3ynCV4638k+Sed3Ym24g6wcVtqAMRNAc\r\n/mEZxhfzbvvCNU9lF0Ie28+kjEPAgvg9I1F9Sz2gcbIrWOIRZbdSJ293TLGc\r\nsq8MuF/R82zU85OCmiafP0VsaiyyftcuFLy8j9wjf1PSGhWF99OIJxsWpYfC\r\njgz5/+gJ0gKXIyjhtJnsviFPDN56QiP16u0=\r\n=BkRj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","engines":{"node":"^12.13.0 || ^14.15.0 || >=16.0.0"},"gitHead":"e539938a6d3865233cc141cbda2478ae303dad2a","scripts":{"lint":"eslint \"**/*.js\"","snap":"tap","test":"tap","lintfix":"npm run lint -- --fix","postlint":"template-oss-check","postsnap":"npm run lintfix --","posttest":"npm run lint","npmclilint":"npmcli-lint","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","template-oss-apply":"template-oss-apply --force"},"_npmUser":{"name":"gar","email":"gar+npm@danger.computer"},"repository":{"url":"git+https://github.com/npm/fs.git","type":"git"},"_npmVersion":"8.17.0","description":"filesystem utilities for the npm cli","directories":{},"templateOSS":{"version":"3.5.0","//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten."},"_nodeVersion":"18.6.0","dependencies":{"semver":"^7.3.5","@gar/promisify":"^1.1.3"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.1","@npmcli/template-oss":"3.5.0","@npmcli/eslint-config":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/fs_2.1.2_1660593282794_0.033811755824476375","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@npmcli/fs","version":"3.0.0","keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","_id":"@npmcli/fs@3.0.0","maintainers":[{"name":"fritzy","email":"fritzy@github.com"},{"name":"darcyclarke","email":"darcy@darcyclarke.me"},{"name":"nlf","email":"quitlahok@gmail.com"},{"name":"gar","email":"gar+npm@danger.computer"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"homepage":"https://github.com/npm/fs#readme","bugs":{"url":"https://github.com/npm/fs/issues"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"dist":{"shasum":"00d13fd40d9144fb0ca40faf04f755625856ccd2","tarball":"http://localhost:4260/@npmcli/fs/fs-3.0.0.tgz","fileCount":11,"integrity":"sha512-GdeVD+dnBxzMslTFvnctLX5yIqV4ZNZBWNbo1OejQ++bZpnFNQ1AjOn9Sboi+LzheQbCBU1ts1mhEVduHrcZOQ==","signatures":[{"sig":"MEQCIEjemp2njbGs5wuQfTaAK8xVXJUk20ARF3vN1LmUQmXRAiA6Tll03v/WTsq7eytEZz/cQI/LVvMPsLJ+pezb0lGL1A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22168,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRv+ZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpmTg//cZaXTLpdqs+zQ18wFY77myOa/jimbQnETgfIDEvURN5DPia/\r\nRULwXkOiTUOzcQFBNLag7VdOajvQgt2gtUtF8QQgrjrjSWaQ7rfPT9E/gYl/\r\nMPL4shl2yx0oj7QyAyYbuty1r7M+IbzDkhGbLHl2pzRZ0X8iUAa9Cr+kqhX9\r\nIMr1vLaqhSBNN8Sq7y7XQLFkg06ixW/AqJ7gEHcFNdXrC0CAQYQN/beN7YbZ\r\nvA4lLGX0U56+WVzNV4UiU3QIUuKQUDVdrPiD+EIEX6IMvuqDEe7mB2zddjqE\r\ncGoPGEK0Nz9rYkaGI9ZU6VcsNtKik0h+K1VqVZaD2rpE2DqzjtGk+/Ju0xRF\r\nYavcyyvbxg/OrFbbJB3VYMHQSJVprrTe51cGoB/vq9WOX7ajFrl9Vubw0Asr\r\nMUgc8KzTZvPFfnAVCeIuBGYPrSWUFHUwaaveuTIKYN7hZ34zDjV+ltFueiJx\r\neNZ+brgKODMW+YIUWOvogtXKpqKUOsOCdlZikGqkK/2sv+pk/FruVikfDnwG\r\nBJOuLklZCrwPJpRegx/KSThPzO4Bp3d2Q4O6TZm/bS/zgZTGr2o7ItLo/y5p\r\nrZxaiNQq0sH2iZcf73P+ugxxop5NJ0vefgt7GEuwK4g/C6MmDtZaq1SjO5ip\r\nRZmPEY4zoutJhonrtcrEXnoQpX9Zv0WyBwA=\r\n=RJpj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","engines":{"node":"^14.17.0 || ^16.13.0 || >=18.0.0"},"gitHead":"3207a9dcfc38d1cf9833938f8c04abf3de88d577","scripts":{"lint":"eslint \"**/*.js\"","snap":"tap","test":"tap","lintfix":"npm run lint -- --fix","postlint":"template-oss-check","postsnap":"npm run lintfix --","posttest":"npm run lint","npmclilint":"npmcli-lint","template-oss-apply":"template-oss-apply --force"},"_npmUser":{"name":"nlf","email":"quitlahok@gmail.com"},"repository":{"url":"git+https://github.com/npm/fs.git","type":"git"},"_npmVersion":"9.0.0-pre.4","description":"filesystem utilities for the npm cli","directories":{},"templateOSS":{"version":"4.5.1","//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten."},"_nodeVersion":"16.16.0","dependencies":{"semver":"^7.3.5"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.1","@npmcli/template-oss":"4.5.1","@npmcli/eslint-config":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/fs_3.0.0_1665597336936_0.17965986025167213","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"@npmcli/fs","version":"3.1.0","keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","_id":"@npmcli/fs@3.1.0","maintainers":[{"name":"fritzy","email":"fritzy@github.com"},{"name":"darcyclarke","email":"darcy@darcyclarke.me"},{"name":"nlf","email":"quitlahok@gmail.com"},{"name":"gar","email":"gar+npm@danger.computer"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"homepage":"https://github.com/npm/fs#readme","bugs":{"url":"https://github.com/npm/fs/issues"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"dist":{"shasum":"233d43a25a91d68c3a863ba0da6a3f00924a173e","tarball":"http://localhost:4260/@npmcli/fs/fs-3.1.0.tgz","fileCount":13,"integrity":"sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w==","signatures":[{"sig":"MEUCIGO3fHPtnABKt4GNBTRtSub3rFeDa2jZHLEVxmb6BqcgAiEAhNc2wzhFmA8JT82Hx8Ok8SebZMF0GI2bdZF+OZUKl88=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26516,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZCnIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrsTw//TOYUzDOy4RtYS6DZtcWObHQO3oKeSoxPVuaCfCnSX19CpWoa\r\nCMMYAyMYnMToAf8gI+Cw8nUR5w+b9BHFWGGjbTg15XWeIPK6GP8zuECezMKQ\r\ngCAmVbEd9YWayHA4MBsr+3EPR3Vg7if4YeMeMIRUERBRy0fCHhD+jJKhC6Bu\r\nryf5ihTqJbvzR/Yso7kUq8nB11aenIMKLgik3eeqz3AGVBP+b74AKne0dJda\r\nyZ4Rht85e6onEW1AmJILJcNRErpESwXS+TIw/Ni7+XFpU8KB13uDuXiYPGjB\r\nBt/tNSTvnqKBlGatqBkqaGbEG7t3+hEYtZEZxDdJs5uQmJoE00pDPavdjem1\r\n39zlOdfysfmEWiWGjXcuspDxcjn0Bi/rABFmAzpnt9F+D4qyQmXK225UYV17\r\nZQBLF2u3lRm0hq6r/xY/N3Dk1fhZYaK4pMTkg9b9TJcC0/VI1yN1/QLgdB+h\r\nNiT1jGTRsvPn/QoiZhN6a2MEpLFWE89NRt2J6Rraqr7nxGdm7bX4LTM9NUT1\r\nPxtjTvHHeBgUa/w6DC0PqzMGl3wsQdz5PJUjRzq6ZkQBTL8FIFzTyvFwaC6S\r\nPQhZUHBcjcbjI5tSH1ftF1bREDRA/T/Cyx/UksVc+fMSkisCNh8G9AthXlt/\r\ndIQntEumz1mjunzYQmwFZPyhrSw83fRp+qs=\r\n=I/QH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","engines":{"node":"^14.17.0 || ^16.13.0 || >=18.0.0"},"gitHead":"cf77fd08615fbc63499bb418f98ca0c0a1e5d9b8","scripts":{"lint":"eslint \"**/*.js\"","snap":"tap","test":"tap","lintfix":"npm run lint -- --fix","postlint":"template-oss-check","postsnap":"npm run lintfix --","posttest":"npm run lint","npmclilint":"npmcli-lint","template-oss-apply":"template-oss-apply --force"},"_npmUser":{"name":"lukekarrys","email":"luke@lukekarrys.com"},"repository":{"url":"git+https://github.com/npm/fs.git","type":"git"},"_npmVersion":"9.0.1","description":"filesystem utilities for the npm cli","directories":{},"templateOSS":{"version":"4.8.0","//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten."},"_nodeVersion":"18.12.0","dependencies":{"semver":"^7.3.5"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.1","@npmcli/template-oss":"4.8.0","@npmcli/eslint-config":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fs_3.1.0_1667508680249_0.4298445371566251","host":"s3://npm-registry-packages"}},"3.1.1":{"name":"@npmcli/fs","version":"3.1.1","keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","_id":"@npmcli/fs@3.1.1","maintainers":[{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},{"name":"saquibkhan","email":"saquibkhan@github.com"},{"name":"fritzy","email":"fritzy@github.com"},{"name":"gar","email":"gar+npm@danger.computer"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"homepage":"https://github.com/npm/fs#readme","bugs":{"url":"https://github.com/npm/fs/issues"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"dist":{"shasum":"59cdaa5adca95d135fc00f2bb53f5771575ce726","tarball":"http://localhost:4260/@npmcli/fs/fs-3.1.1.tgz","fileCount":13,"integrity":"sha512-q9CRWjpHCMIh5sVyefoD1cA7PkvILqCZsnSOEUUivORLjxCO/Irmue2DprETiNgEqktDBZaM1Bi+jrarx1XdCg==","signatures":[{"sig":"MEQCIGgGtUq4+uzs0XScvlFRq+OwngJ/rv7arf79l9nlbNG8AiBdjGr9Hq1zFtsBVRBKL45mZOkBR8qHofq5eZRE9wke5Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26547},"main":"lib/index.js","engines":{"node":"^14.17.0 || ^16.13.0 || >=18.0.0"},"gitHead":"6f51359dd52cd06bd4cb2c36202163f330c528c4","scripts":{"lint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"","snap":"tap","test":"tap","lintfix":"npm run lint -- --fix","postlint":"template-oss-check","postsnap":"npm run lintfix --","posttest":"npm run lint","npmclilint":"npmcli-lint","template-oss-apply":"template-oss-apply --force"},"_npmUser":{"name":"lukekarrys","email":"luke@lukekarrys.com"},"repository":{"url":"git+https://github.com/npm/fs.git","type":"git"},"_npmVersion":"10.7.0","description":"filesystem utilities for the npm cli","directories":{},"templateOSS":{"version":"4.22.0","//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten."},"_nodeVersion":"20.7.0","dependencies":{"semver":"^7.3.5"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.1","@npmcli/template-oss":"4.22.0","@npmcli/eslint-config":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fs_3.1.1_1715096181914_0.5971357305605953","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-08-25T19:28:43.580Z","modified":"2024-05-30T15:07:56.973Z","1.0.0":"2021-08-25T19:28:43.898Z","1.1.0":"2021-12-09T21:50:24.400Z","1.1.1":"2022-02-10T22:12:41.497Z","2.0.0":"2022-02-23T17:53:19.873Z","2.0.1":"2022-02-23T19:10:31.203Z","2.1.0":"2022-03-21T23:50:34.489Z","2.1.1":"2022-07-20T22:42:43.944Z","2.1.2":"2022-08-15T19:54:43.041Z","3.0.0":"2022-10-12T17:55:37.105Z","3.1.0":"2022-11-03T20:51:20.420Z","3.1.1":"2024-05-07T15:36:22.078Z"},"maintainers":[{"email":"reggi@github.com","name":"reggi"},{"email":"npm-cli+bot@github.com","name":"npm-cli-ops"},{"email":"saquibkhan@github.com","name":"saquibkhan"},{"email":"fritzy@github.com","name":"fritzy"},{"email":"gar+npm@danger.computer","name":"gar"}],"author":{"name":"GitHub Inc."},"repository":{"url":"git+https://github.com/npm/fs.git","type":"git"},"keywords":["npm","oss"],"license":"ISC","homepage":"https://github.com/npm/fs#readme","bugs":{"url":"https://github.com/npm/fs/issues"},"readme":"# @npmcli/fs\n\npolyfills, and extensions, of the core `fs` module.\n\n## Features\n\n- `fs.cp` polyfill for node < 16.7.0\n- `fs.withTempDir` added\n- `fs.readdirScoped` added\n- `fs.moveFile` added\n\n## `fs.withTempDir(root, fn, options) -> Promise`\n\n### Parameters\n\n- `root`: the directory in which to create the temporary directory\n- `fn`: a function that will be called with the path to the temporary directory\n- `options`\n - `tmpPrefix`: a prefix to be used in the generated directory name\n\n### Usage\n\nThe `withTempDir` function creates a temporary directory, runs the provided\nfunction (`fn`), then removes the temporary directory and resolves or rejects\nbased on the result of `fn`.\n\n```js\nconst fs = require('@npmcli/fs')\nconst os = require('os')\n\n// this function will be called with the full path to the temporary directory\n// it is called with `await` behind the scenes, so can be async if desired.\nconst myFunction = async (tempPath) => {\n return 'done!'\n}\n\nconst main = async () => {\n const result = await fs.withTempDir(os.tmpdir(), myFunction)\n // result === 'done!'\n}\n\nmain()\n```\n\n## `fs.readdirScoped(root) -> Promise`\n\n### Parameters\n\n- `root`: the directory to read\n\n### Usage\n\nLike `fs.readdir` but handling `@org/module` dirs as if they were\na single entry.\n\n```javascript\nconst { readdirScoped } = require('@npmcli/fs')\nconst entries = await readdirScoped('node_modules')\n// entries will be something like: ['a', '@org/foo', '@org/bar']\n```\n\n## `fs.moveFile(source, dest, options) -> Promise`\n\nA fork of [move-file](https://github.com/sindresorhus/move-file) with\nsupport for Common JS.\n\n### Highlights\n\n- Promise API.\n- Supports moving a file across partitions and devices.\n- Optionally prevent overwriting an existing file.\n- Creates non-existent destination directories for you.\n- Automatically recurses when source is a directory.\n\n### Parameters\n\n- `source`: File, or directory, you want to move.\n- `dest`: Where you want the file or directory moved.\n- `options`\n - `overwrite` (`boolean`, default: `true`): Overwrite existing destination file(s).\n\n### Usage\n\nThe built-in\n[`fs.rename()`](https://nodejs.org/api/fs.html#fs_fs_rename_oldpath_newpath_callback)\nis just a JavaScript wrapper for the C `rename(2)` function, which doesn't\nsupport moving files across partitions or devices. This module is what you\nwould have expected `fs.rename()` to be.\n\n```js\nconst { moveFile } = require('@npmcli/fs');\n\n(async () => {\n\tawait moveFile('source/unicorn.png', 'destination/unicorn.png');\n\tconsole.log('The file has been moved');\n})();\n```\n","readmeFilename":"README.md","users":{"flumpus-dev":true}}