{"_id":"@pnpm/shrinkwrap-file","_rev":"6-fe6313f1786209d048391009b74a78f3","name":"@pnpm/shrinkwrap-file","dist-tags":{"latest":"1.0.1","next":"2.0.0-1","next-major":"2.0.0-2"},"versions":{"1.0.0":{"name":"@pnpm/shrinkwrap-file","version":"1.0.0","description":"Read/write shrinkwrap.yaml files","main":"lib/index.js","typings":"lib/index.d.ts","engines":{"node":">=6"},"scripts":{"lint":"tslint -c tslint.json src/**/*.ts test/**/*.ts","test":"npm run tsc && npm run lint && ts-node test --type-check","tsc":"rimraf lib && tsc","prepublishOnly":"npm run tsc"},"repository":{"type":"git","url":"https://github.com/pnpm/pnpm/blob/master/packages/shrinkwrap-file"},"keywords":["pnpm","shrinkwrap","lockfile"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io"},"license":"MIT","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"homepage":"https://github.com/pnpm/pnpm/blob/master/packages/shrinkwrap-file#readme","peerDependencies":{"@pnpm/logger":">=2.0.1 <3.0.0"},"devDependencies":{"@pnpm/logger":"2.1.0","@pnpm/shrinkwrap-file":"link:","@pnpm/tslint-config":"0.0.0","@types/tape":"4.2.32","@types/tempy":"0.2.0","rimraf":"2.6.2","tape":"4.9.1","tempy":"0.2.1","ts-node":"6.2.0","tslint":"5.11.0","typescript":"3.2.2","write-yaml-file":"2.0.0","yaml-tag":"1.1.0"},"dependencies":{"@pnpm/shrinkwrap-types":"1.0.0","@pnpm/types":"2.0.0","@types/js-yaml":"3.11.2","@types/node":"10.12.12","@types/ramda":"0.25.39","js-yaml":"3.12.0","mkdirp-promise":"5.0.1","normalize-path":"3.0.0","ramda":"0.26.1","read-yaml-file":"1.1.0","rimraf-then":"1.0.1","util.promisify":"1.0.0","write-file-atomic":"2.3.0"},"_id":"@pnpm/shrinkwrap-file@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"zkochan","email":"z@kochan.io"},"dist":{"integrity":"sha512-m2bfoFIexymVbb5/jBf6UYnuovv9cE1BClaDy/oW+g868zsVjyPiaYaUub5FMAYKSflAdhxPspQklpXs+EFw8w==","shasum":"93a93bfe888cf2b3a34532018c74513638ff72ac","tarball":"https://registry.npmjs.org/@pnpm/shrinkwrap-file/-/shrinkwrap-file-1.0.0.tgz","fileCount":33,"unpackedSize":29952,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcDGlTCRA9TVsSAnZWagAA5VIP/A7P7BphAbloJL7W9IX/\nYLsFQSmmF31jKhefRYs+5uCtZiUMAUfg+LrH7f5r3nM+qIDhy3qZizZFxQbC\nT/Qo5sgKLenkzqhjGQ34yU95SyRndJNMqhv/A1/nUfXwE1isOICOz5GrQ6WO\nD6nGx2EG+lc34DcBTK5bXltGKO4CYGVEM4PlQ13VVO+vvLbWkKvG7cn+eN0c\nh5KpGxNL+s7uUHnxvSX2z+W/gVS9zPw1UlwdcE0bHRaukRqRVLTXE4GCYQwx\nbSWZOE0VyLZs/LI1pKJlmj86t8MyzmBAh2StjB+B1xLMh9lET767+T6opyCv\nZZSG4+JBSV4LVxk7Q/3WzKyvypV/iN6sdnHt4MSrKi2eiG2UryvLLsur7+Eh\n8W86eTrnKShjsyAGaI5EO055rEHe2ydkPJm+OrwtJc9wDbGtCpEA1Alqbktk\nupVIouyXgjDK6CsoZEntDAOKNYpTxAJfo0yC9o+xzOVz0s3nEjf8qBMf3huz\n8Yb4Ez9yO3Zgh/Od9flm4veiBKqffaCFM8IJ0EsBUVNHpyHXXxMeNHtW3UtO\nL6rUOrAD6f1VLbRmZsxt3CjucniJ7c0P2jO4oSnDyEPKHD1KMs5fefWNWmLg\n3wpBSiccGpTCu4yJ7Yhm38GkouiVEZuOE975ZFHs4cH5nN+6yK0omi8KBHdW\nVNxR\r\n=JQ9e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtbt039Xaewas1i0wfLVBNRyLs4aHNQPlZYCELB71b8QIhAOpkLr4hLzvOdDWUsNoX0SHJQx1Vb6F6NA+idahx4cWv"}]},"maintainers":[{"name":"etamponi","email":"emanuele.tamponi@gmail.com"},{"name":"pnpmuser","email":"zoltan.kochan@gmail.com"},{"name":"zkochan","email":"z@kochan.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shrinkwrap-file_1.0.0_1544317267026_0.5740240936678203"},"_hasShrinkwrap":false},"1.0.1":{"name":"@pnpm/shrinkwrap-file","version":"1.0.1","description":"Read/write shrinkwrap.yaml files","main":"lib/index.js","typings":"lib/index.d.ts","engines":{"node":">=6"},"scripts":{"lint":"tslint -c tslint.json src/**/*.ts test/**/*.ts","test":"npm run tsc && npm run lint && ts-node test --type-check","tsc":"rimraf lib && tsc","prepublishOnly":"npm run tsc"},"repository":{"type":"git","url":"https://github.com/pnpm/pnpm/blob/master/packages/shrinkwrap-file"},"keywords":["pnpm","shrinkwrap","lockfile"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io"},"license":"MIT","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"homepage":"https://github.com/pnpm/pnpm/blob/master/packages/shrinkwrap-file#readme","peerDependencies":{"@pnpm/logger":">=2.0.1 <3.0.0"},"devDependencies":{"@pnpm/logger":"2.1.0","@pnpm/shrinkwrap-file":"link:","@pnpm/tslint-config":"0.0.0","@types/tape":"4.2.33","@types/tempy":"0.2.0","rimraf":"2.6.3","tape":"4.9.2","tempy":"0.2.1","ts-node":"6.2.0","tslint":"5.12.0","typescript":"3.2.2","write-yaml-file":"2.0.0","yaml-tag":"1.1.0"},"dependencies":{"@pnpm/shrinkwrap-types":"1.0.0","@pnpm/types":"2.0.0","@types/js-yaml":"3.11.4","@types/node":"10.12.18","@types/ramda":"0.25.39","js-yaml":"3.12.1","mkdirp-promise":"5.0.1","normalize-path":"3.0.0","ramda":"0.26.1","read-yaml-file":"1.1.0","rimraf-then":"1.0.1","util.promisify":"1.0.0","write-file-atomic":"2.3.0"},"_id":"@pnpm/shrinkwrap-file@1.0.1","_npmVersion":"6.5.0","_nodeVersion":"10.12.0","_npmUser":{"name":"zkochan","email":"z@kochan.io"},"dist":{"integrity":"sha512-29dpaEo3GH9oczULHdw7Mzqaz1z3mwDDcwHuzSAuN5SIsTvaDhtRi39elclFfOppsTeshc+ywcgjzvNI8E6AeQ==","shasum":"76713f1f6da975e2ebcdea9d4e3be1a06263de82","tarball":"https://registry.npmjs.org/@pnpm/shrinkwrap-file/-/shrinkwrap-file-1.0.1.tgz","fileCount":33,"unpackedSize":29952,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcMO2eCRA9TVsSAnZWagAA/RUP/3StRg82rjfXlcqLTuyd\n0Q3UFAoxylePmRzDeZA87TjMtY68T2iP9Xb0OoiSVp8kzMn+CmOlsDAmCcmI\n+FAFJHFkWewx8YVFpaqZKYT2tDle07puGJu759JM4ZPzRwuAQ0IRnIw7Ebge\nLDREqZAf+l6AkfwU0PTtCLjkSuGdlk6RwBN5CfKHPPZArUaUsfdDBuosARWx\nQcG+y9z5NQaInj1tzF5fZ6yOBG+mW3qWqDG3VQU1n4Ozz3GsHjAVX6PQEepx\nTizT6zrpa72cZVu3CxVxCy+bpisAsRfg54FRPX1bcDwllKqwh7nt9b8+ggUT\naXFFkLE/+Jz3hUEcZaX17+5iu6sfLp8K+MiOuEUCG5Hz7wiSCGaBZfa4Hr9R\n0uDpyB8sXGvYyMoAPtGRIehTAC1ZnSAI5Xs8C1G5JrqiJBsD7Wo9rIFqlwTM\nFumNwC2O4ZToMoTtl21dS0ztVnj7fjcqsnfCyd/Pj9AJL2sjirk46X9/OO59\nJTOq+eFm/HJQ5bDpvAObJzKSd0h2qlmgadw75vaZEET1Lr0lvhaprba1BveB\nPdq+iSWOuyUNMNSOjY67xW9mwcyJ2QQSxGVOvaNPyp+/8l104q8gGHqWDPdI\nqAtcLUGOnduYCTNr82ZbYxHOJ6ywahcf5yeks/Tnwp4B6zduckySURoPyrjW\njzMm\r\n=TPHt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFp3JP6csUvmVQ8xQb1vm5mvUfHEpbqjsEoWCgZf96WAIgCSQgwiV0Y6PkbsHTCZkbDgtLnpv8UyNqAhasaUqoOL4="}]},"maintainers":[{"name":"etamponi","email":"emanuele.tamponi@gmail.com"},{"name":"pnpmuser","email":"zoltan.kochan@gmail.com"},{"name":"zkochan","email":"z@kochan.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shrinkwrap-file_1.0.1_1546710429569_0.5597041080100129"},"_hasShrinkwrap":false},"2.0.0-0":{"name":"@pnpm/shrinkwrap-file","version":"2.0.0-0","description":"Read/write shrinkwrap.yaml files","main":"lib/index.js","typings":"lib/index.d.ts","engines":{"node":">=6"},"scripts":{"lint":"tslint -c tslint.json src/**/*.ts test/**/*.ts","test":"npm run tsc && npm run lint && ts-node test --type-check","tsc":"rimraf lib && tsc","prepublishOnly":"npm run tsc"},"repository":{"type":"git","url":"https://github.com/pnpm/pnpm/blob/master/packages/shrinkwrap-file"},"keywords":["pnpm","shrinkwrap","lockfile"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io"},"license":"MIT","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"homepage":"https://github.com/pnpm/pnpm/blob/master/packages/shrinkwrap-file#readme","peerDependencies":{"@pnpm/logger":">=2.0.1 <3.0.0"},"devDependencies":{"@pnpm/logger":"2.1.0","@pnpm/shrinkwrap-file":"link:","@pnpm/tslint-config":"0.0.0","@types/tape":"4.2.33","@types/tempy":"0.2.0","rimraf":"2.6.3","tape":"4.9.2","tempy":"0.2.1","ts-node":"6.2.0","tslint":"5.12.1","typescript":"3.2.4","write-yaml-file":"2.0.0","yaml-tag":"1.1.0"},"dependencies":{"@pnpm/shrinkwrap-types":"2.0.0-0","@pnpm/types":"2.0.0","@types/js-yaml":"3.11.4","@types/node":"10.12.18","@types/ramda":"0.25.39","js-yaml":"3.12.1","mkdirp-promise":"5.0.1","normalize-path":"3.0.0","ramda":"0.26.1","read-yaml-file":"1.1.0","rimraf-then":"1.0.1","util.promisify":"1.0.0","write-file-atomic":"2.3.0"},"readme":"# @pnpm/shrinkwrap-file\n\n> Read/write shrinkwrap.yaml files\n\nReads and writes the wanted (`shrinkwrap.yaml`) and current (`node_modules/.shrinkwrap.yaml`) shrinkwrap files of pnpm.\nShrinkwrap files are the state files of the `node_modules` installed via pnpm. They are like\nthe `package-lock.json` of npm or the `yarn.lock` of Yarn.\n\n## Install\n\n```\nnpm i @pnpm/shrinkwrap\n```\n\n## API\n\n### `readWanted(pkgPath, opts) => Promise<Shrinkwrap>`\n\nAlias: `read`\n\nReads the `shrinkwrap.yaml` file from the root of the package.\n\n#### Arguments\n\n* `pkgPath` - *Path* - the path to the project\n* `opts.ignoreIncompatible` - *Boolean* - `false` by default. If `true`, throws an error\nif the shrinkwrap file format is not compatible with the current library.\n\n### `readCurrent(pkgPath, opts) => Promise<Shrinkwrap>`\n\nAlias: `readPrivate`\n\nReads the shrinkwrap file from `node_modules/.shrinkwrap.yaml`.\n\n### `existsWanted(pkgPath) => Promise<Boolean>`\n\nReturns `true` if a `shrinkwrap.yaml` exists in the root of the package.\n\n### `write(pkgPath, wantedShrinkwrap, currentShrinkwrap) => Promise<void>`\n\nWrites the wanted/current shrinkwrap files. When they are empty, removes them.\n\n### `writeWantedOnly(pkgPath, wantedShrinkwrap) => Promise<void>`\n\nWrites the wanted shrinkwrap file only. Sometimes it is needed just to update the wanted shrinkwrap\nwithout touching `node_modules`.\n\n### `writeCurrentOnly(pkgPath, currentShrinkwrap) => Promise<void>`\n\nWrites the current shrinkwrap file only. Fails if there is no `node_modules` directory in the `pkgPath`.\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md","_id":"@pnpm/shrinkwrap-file@2.0.0-0","_nodeVersion":"10.12.0","_npmVersion":"6.6.0","dist":{"integrity":"sha512-yROW8kNJMX5IXfCGq04y45jmjSV9OTEwa56l+2LeI2keGMex2SuxZEOo23kMQzpdFw4wYtro6NMAdD8JWYTOUA==","shasum":"b29edf40a994384ece3fce0aa7e0f26b6c33080b","tarball":"https://registry.npmjs.org/@pnpm/shrinkwrap-file/-/shrinkwrap-file-2.0.0-0.tgz","fileCount":33,"unpackedSize":28026,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSisICRA9TVsSAnZWagAA5kMP/RR5BUVgOIH3vki9CW/I\n67jFkC32oAFWoiXXtFApRyAPkxt+z94wd+ot5inDlYpudEmYizzhQziJWnQ2\ne9yGij4hW2NrNxu3d4yRxlt4LysXUelJcPPz2vfMFMruMi/ReiIkjPLbka/P\nsCD29EenwBwlZ5J+EY36KWg+LQNR6IlaGtPABD+OI5SzUgln6fj/P9oyzNfs\n/NSsxPpEVo0aT4tGsDry2QFoBanQuhx+DkJvvZX78M2l+H339/iyzaWbKIRz\neOJ2qtMtZYQfA8oXXFHldqROf2jkeudV6TiBn3TcxEaJwKJsrxNk6ZvOD5Wj\n22althkWjN6xe3wBB4nDaRfLQWLTOv+QnQwbOzR7n2rXszOvstdXxYf/19sC\nEYFzR/s94OXsYMhQ9tMOMRf+1RQXUVlsw9nq/XCDOEXZIlAHFMQwh6yDXBGz\npS/XoHGCm5fYsM4L1yabPgEUgtb/g67uzta6196CwHsAwa/hV1uaEUNGPDkm\nBv0/ZlltCAjxRwqGFl8r6RcHl3Aaa/9kjUL/7Y9QHB+WbOkKZ5jZr9i9Frsj\ntK3gYWTF9HDNTMMsQ/kOv2PLOBMgZPAfHOHKCl8ipFGpTBZo8V9P3il8UB2i\nuJwsELOSUpJU0c3bgAeM6IJ2QStYVC+jKBzgMcfZ2lTWj+vkmBfU0cmoHWOh\nWIAY\r\n=dNWY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDureZbLMReBZg1bkdll/zhiV0+CSlGSPYZT4XUyBanqAiBb2lf4IvftLy3igTQUdx2OCJnknXYrd8ampn8mWqgEtA=="}]},"maintainers":[{"name":"etamponi","email":"emanuele.tamponi@gmail.com"},{"name":"pnpmuser","email":"zoltan.kochan@gmail.com"},{"name":"zkochan","email":"z@kochan.io"}],"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shrinkwrap-file_2.0.0-0_1548364551398_0.15016371513260385"},"_hasShrinkwrap":false},"2.0.0-1":{"name":"@pnpm/shrinkwrap-file","version":"2.0.0-1","description":"Read/write shrinkwrap.yaml files","main":"lib/index.js","typings":"lib/index.d.ts","engines":{"node":">=8"},"scripts":{"lint":"tslint -c tslint.json src/**/*.ts test/**/*.ts","test":"npm run tsc && npm run lint && ts-node test --type-check","tsc":"rimraf lib && tsc","prepublishOnly":"npm run tsc"},"repository":{"type":"git","url":"https://github.com/pnpm/pnpm/blob/master/packages/shrinkwrap-file"},"keywords":["pnpm","shrinkwrap","lockfile"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io"},"license":"MIT","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"homepage":"https://github.com/pnpm/pnpm/blob/master/packages/shrinkwrap-file#readme","peerDependencies":{"@pnpm/logger":">=2.0.1 <3.0.0"},"devDependencies":{"@pnpm/logger":"2.1.0","@pnpm/shrinkwrap-file":"link:","@pnpm/tslint-config":"0.0.0","@types/tape":"4.2.33","@types/tempy":"0.2.0","rimraf":"2.6.3","tape":"4.9.2","tempy":"0.2.1","ts-node":"6.2.0","tslint":"5.12.1","typescript":"3.2.4","write-yaml-file":"2.0.0","yaml-tag":"1.1.0"},"dependencies":{"@pnpm/shrinkwrap-types":"2.0.0-0","@pnpm/types":"2.0.0","@types/js-yaml":"3.12.0","@types/node":"10.12.18","@types/ramda":"0.25.39","js-yaml":"3.12.1","mkdirp-promise":"5.0.1","normalize-path":"3.0.0","ramda":"0.26.1","read-yaml-file":"1.1.0","rimraf-then":"1.0.1","util.promisify":"1.0.0","write-file-atomic":"2.4.2"},"readme":"# @pnpm/shrinkwrap-file\n\n> Read/write shrinkwrap.yaml files\n\nReads and writes the wanted (`shrinkwrap.yaml`) and current (`node_modules/.shrinkwrap.yaml`) shrinkwrap files of pnpm.\nShrinkwrap files are the state files of the `node_modules` installed via pnpm. They are like\nthe `package-lock.json` of npm or the `yarn.lock` of Yarn.\n\n## Install\n\n```\nnpm i @pnpm/shrinkwrap\n```\n\n## API\n\n### `readWanted(pkgPath, opts) => Promise<Shrinkwrap>`\n\nAlias: `read`\n\nReads the `shrinkwrap.yaml` file from the root of the package.\n\n#### Arguments\n\n* `pkgPath` - *Path* - the path to the project\n* `opts.ignoreIncompatible` - *Boolean* - `false` by default. If `true`, throws an error\nif the shrinkwrap file format is not compatible with the current library.\n\n### `readCurrent(pkgPath, opts) => Promise<Shrinkwrap>`\n\nAlias: `readPrivate`\n\nReads the shrinkwrap file from `node_modules/.shrinkwrap.yaml`.\n\n### `existsWanted(pkgPath) => Promise<Boolean>`\n\nReturns `true` if a `shrinkwrap.yaml` exists in the root of the package.\n\n### `write(pkgPath, wantedShrinkwrap, currentShrinkwrap) => Promise<void>`\n\nWrites the wanted/current shrinkwrap files. When they are empty, removes them.\n\n### `writeWantedOnly(pkgPath, wantedShrinkwrap) => Promise<void>`\n\nWrites the wanted shrinkwrap file only. Sometimes it is needed just to update the wanted shrinkwrap\nwithout touching `node_modules`.\n\n### `writeCurrentOnly(pkgPath, currentShrinkwrap) => Promise<void>`\n\nWrites the current shrinkwrap file only. Fails if there is no `node_modules` directory in the `pkgPath`.\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md","_id":"@pnpm/shrinkwrap-file@2.0.0-1","_nodeVersion":"10.12.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-7LfHlzFivwZEhSzmIZaxdzSgGiAmaOK9Nm6lTnh3E0SBasE9/DeD4rrKvUvjBf3fdMc3M6uBl3q0QZoQ3Ze/CQ==","shasum":"2609be135446c28a67a7cb8443b91992a6ed4dee","tarball":"https://registry.npmjs.org/@pnpm/shrinkwrap-file/-/shrinkwrap-file-2.0.0-1.tgz","fileCount":33,"unpackedSize":26263,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUfaBCRA9TVsSAnZWagAA2p8P/jRHoGCxT2wCms/p9tWH\n+sUkfvmTgO9A4YPYt9wwx0zQQ0OuYWQgpoY1c39PKoP3IMrC4S4AdxlnKPKT\nAh865LkJ9lXkFf7V7jLlzAUd1n/LjAs3d73n8x1ms3rCbkYufjHT554NBjX3\nAx+shfpBJv8/laaDMuHLHUW0dAE8/eayizWSVHyRuR6NDm9i8lLqt0je3/Sk\nG0BsxVEXp1lKXTRdjMgoX3+1OmAd5P7cWklSSbP9rgTcP0qRaAe1XsAfbV+r\nSwV8YZ6qo0qqmAGCDow7SCRctNw2SNNjIh9tPyIO8L1L0KtskJCRzmFn3BiP\nUTlWk1r//g+U1ibFhq4UtN/eR6PfR+R8QtorksOEZYkpB4HpDIHvinP+H0gO\nlar2ynvtk00t47CJGmEqMsBfb8JjrnvziRxJceofpD2iSBDz6ROQjBO7Ne4q\n3gqaP2je63juRW5EtQcFniO5r2TeOXiVpu735aggja/E+1eB0kxzfXTSrBuF\nISetBS6Gh2mp4bN8HeRBbqU+F9HDsUKjLsP8wj8KTjJzOiMbzIFgfrKvVNqZ\noZRhdNCtsT1HuLZShCIMr4ZkpOzn6Li3HSbbZw3oJq9YjrNlQqzV+zmRgPAO\ndi6AdjfV3lU4FJ+wVpY9CIA2GUc1a/JauiKBAdUhZ9mviWdaPQy0RV/E9u+0\nB028\r\n=Mkmw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFrWUy+y/QXr/2V0dfi37gLl/NJU27isNtkE7NjDNXWhAiBNHNcbimIEEQ2xY2iraRv14lvlkK1qMvBfGEHwx6Dq+w=="}]},"maintainers":[{"name":"etamponi","email":"emanuele.tamponi@gmail.com"},{"name":"pnpmuser","email":"zoltan.kochan@gmail.com"},{"name":"zkochan","email":"z@kochan.io"}],"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shrinkwrap-file_2.0.0-1_1548875392750_0.13642020661796472"},"_hasShrinkwrap":false},"2.0.0-2":{"name":"@pnpm/shrinkwrap-file","version":"2.0.0-2","description":"Read/write shrinkwrap.yaml files","main":"lib/index.js","typings":"lib/index.d.ts","engines":{"node":">=8"},"scripts":{"lint":"tslint -c tslint.json src/**/*.ts test/**/*.ts","test":"npm run tsc && npm run lint && ts-node test --type-check","tsc":"rimraf lib && tsc","prepublishOnly":"npm run tsc"},"repository":{"type":"git","url":"https://github.com/pnpm/pnpm/blob/master/packages/shrinkwrap-file"},"keywords":["pnpm","shrinkwrap","lockfile"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io"},"license":"MIT","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"homepage":"https://github.com/pnpm/pnpm/blob/master/packages/shrinkwrap-file#readme","peerDependencies":{"@pnpm/logger":">=2.0.1 <3.0.0"},"devDependencies":{"@pnpm/logger":"2.1.0","@pnpm/shrinkwrap-file":"link:","@pnpm/tslint-config":"0.0.0","@types/tape":"4.2.33","@types/tempy":"0.2.0","rimraf":"2.6.3","tape":"4.10.1","tempy":"0.2.1","ts-node":"6.2.0","tslint":"5.13.1","typescript":"3.3.3333","write-yaml-file":"2.0.0","yaml-tag":"1.1.0"},"dependencies":{"@pnpm/constants":"1.0.0-0","@pnpm/shrinkwrap-types":"2.0.0-0","@pnpm/types":"2.0.0","@types/js-yaml":"3.12.0","@types/node":"11.9.5","@types/ramda":"0.25.39","js-yaml":"3.12.2","mkdirp-promise":"5.0.1","normalize-path":"3.0.0","ramda":"0.26.1","read-yaml-file":"1.1.0","rimraf-then":"1.0.1","util.promisify":"1.0.0","write-file-atomic":"2.4.2"},"readme":"# @pnpm/shrinkwrap-file\n\n> Read/write shrinkwrap.yaml files\n\nReads and writes the wanted (`shrinkwrap.yaml`) and current (`node_modules/.shrinkwrap.yaml`) shrinkwrap files of pnpm.\nShrinkwrap files are the state files of the `node_modules` installed via pnpm. They are like\nthe `package-lock.json` of npm or the `yarn.lock` of Yarn.\n\n## Install\n\n```\nnpm i @pnpm/shrinkwrap\n```\n\n## API\n\n### `readWanted(pkgPath, opts) => Promise<Shrinkwrap>`\n\nAlias: `read`\n\nReads the `shrinkwrap.yaml` file from the root of the package.\n\n#### Arguments\n\n* `pkgPath` - *Path* - the path to the project\n* `opts.ignoreIncompatible` - *Boolean* - `false` by default. If `true`, throws an error\nif the shrinkwrap file format is not compatible with the current library.\n\n### `readCurrent(pkgPath, opts) => Promise<Shrinkwrap>`\n\nAlias: `readPrivate`\n\nReads the shrinkwrap file from `node_modules/.shrinkwrap.yaml`.\n\n### `existsWanted(pkgPath) => Promise<Boolean>`\n\nReturns `true` if a `shrinkwrap.yaml` exists in the root of the package.\n\n### `write(pkgPath, wantedShrinkwrap, currentShrinkwrap) => Promise<void>`\n\nWrites the wanted/current shrinkwrap files. When they are empty, removes them.\n\n### `writeWantedOnly(pkgPath, wantedShrinkwrap) => Promise<void>`\n\nWrites the wanted shrinkwrap file only. Sometimes it is needed just to update the wanted shrinkwrap\nwithout touching `node_modules`.\n\n### `writeCurrentOnly(pkgPath, currentShrinkwrap) => Promise<void>`\n\nWrites the current shrinkwrap file only. Fails if there is no `node_modules` directory in the `pkgPath`.\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md","_id":"@pnpm/shrinkwrap-file@2.0.0-2","_nodeVersion":"10.12.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-YvPBmcmhrmTBSJQdGXQ/Jrhk5hSzI3sLcp+7rpIzvUcAu6wYCUC2CemL+2TyjIPBC9Z/KHmJoAldK44OXh8BwA==","shasum":"1eb7015533aa602fcd7a57ff0bd00d46ee6cbe42","tarball":"https://registry.npmjs.org/@pnpm/shrinkwrap-file/-/shrinkwrap-file-2.0.0-2.tgz","fileCount":30,"unpackedSize":25646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfPkrCRA9TVsSAnZWagAA3zAP/3yzl1APCFWAjPG5MJ9S\nfLB1BBcFnCxobs1W0UegcXBl6c3PYKEQPJcAM0Qp7V274XzA9FZolOc6T2kW\nmhWZe0eXzKuTnT2VSJNIY3lJ0b250g4Xf+39pW8K3J/UA8pDeYrrrzrtZIeH\nwNUowPDuUp+1Z4cXSyY89n0DMaqXB6h2dU136nfuZzW9V8ZJlf5fmtvM9B6r\nMbGya3Mh71pXPNSJCCZ5Y0OeM9AagD+Cd52FYA1GsExeuo+1gJuXpVdmBzR/\ne0y2Zj7y3iJC5vWgMTX+Du9ZB63rADpwNRSXWTx7Pi6fqdTbLLtYOYTwCs3e\nPrA81FGtyfWuBWVgXSlZpCATtk+pk8GtBwZdacMmQLes+E30Ijjbbu2mhi0Y\n1FCRhOYeeBaHvedPJfNjAbT0CIUVOll9i+WaY579D7zL0JO/pK4BaEeu30Fs\nYPC9i9GeRxoeq0vZcQFfsjZ5a9IEOPpSFuyyMF/FPD6lJAnUpEWBn1LMCACu\nSsELoBNgQvGEe3unqygpBylVLDhlmmtWMZ3/6OnARhSG44TK2vdId0jqWIeO\na1C/hgmVh+juvOoJhXCR+jytMTZJv7t60h9bVJ4229nzb8F2u0tblpg9Q/yH\nWeXBXoWAC8Vd2MV46MSyAM6i0WGK14BaRXKqVHUhQiqelL6EB/vWRQp/PmZ0\nmy/7\r\n=8GZR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCT62WQbdBPK/LUJjIvvlOrxvcO1NsfjeXr9VSNZIkRRAIgelpaxq9wLMTwRuDGQfphSJYzkAvkGJVEElJuZc8Asns="}]},"maintainers":[{"name":"etamponi","email":"emanuele.tamponi@gmail.com"},{"name":"pnpmuser","email":"zoltan.kochan@gmail.com"},{"name":"zkochan","email":"z@kochan.io"}],"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shrinkwrap-file_2.0.0-2_1551694123087_0.39454332525402"},"_hasShrinkwrap":false}},"time":{"created":"2018-12-09T01:01:06.889Z","1.0.0":"2018-12-09T01:01:07.164Z","modified":"2022-04-06T15:34:58.802Z","1.0.1":"2019-01-05T17:47:09.691Z","2.0.0-0":"2019-01-24T21:15:51.517Z","2.0.0-1":"2019-01-30T19:09:52.894Z","2.0.0-2":"2019-03-04T10:08:43.281Z"},"maintainers":[{"email":"zoltan.kochan@gmail.com","name":"pnpmuser"},{"email":"z@kochan.io","name":"zkochan"}],"description":"Read/write shrinkwrap.yaml files","homepage":"https://github.com/pnpm/pnpm/blob/master/packages/shrinkwrap-file#readme","keywords":["pnpm","shrinkwrap","lockfile"],"repository":{"type":"git","url":"https://github.com/pnpm/pnpm/blob/master/packages/shrinkwrap-file"},"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io"},"bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"license":"MIT","readme":"","readmeFilename":""}