{"bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"2609be135446c28a67a7cb8443b91992a6ed4dee","tarball":"https://registry.npmjs.org/@pnpm/shrinkwrap-file/-/shrinkwrap-file-2.0.0-1.tgz","fileCount":33,"integrity":"sha512-7LfHlzFivwZEhSzmIZaxdzSgGiAmaOK9Nm6lTnh3E0SBasE9/DeD4rrKvUvjBf3fdMc3M6uBl3q0QZoQ3Ze/CQ==","signatures":[{"sig":"MEQCIFrWUy+y/QXr/2V0dfi37gLl/NJU27isNtkE7NjDNXWhAiBNHNcbimIEEQ2xY2iraRv14lvlkK1qMvBfGEHwx6Dq+w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"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"},"main":"lib/index.js","name":"@pnpm/shrinkwrap-file","author":{"url":"https://www.kochan.io","name":"Zoltan Kochan","email":"z@kochan.io"},"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","engines":{"node":">=8"},"license":"MIT","scripts":{"tsc":"rimraf lib && tsc","lint":"tslint -c tslint.json src/**/*.ts test/**/*.ts","test":"npm run tsc && npm run lint && ts-node test --type-check","prepublishOnly":"npm run tsc"},"typings":"lib/index.d.ts","_npmUser":{"name":"zkochan","email":"z@kochan.io"},"homepage":"https://github.com/pnpm/pnpm/blob/master/packages/shrinkwrap-file#readme","keywords":["pnpm","shrinkwrap","lockfile"],"repository":{"url":"https://github.com/pnpm/pnpm/blob/master/packages/shrinkwrap-file","type":"git"},"_npmVersion":"6.7.0","description":"Read/write shrinkwrap.yaml files","directories":{},"maintainers":[{"name":"etamponi","email":"emanuele.tamponi@gmail.com"},{"name":"pnpmuser","email":"zoltan.kochan@gmail.com"},{"name":"zkochan","email":"z@kochan.io"}],"_nodeVersion":"10.12.0","dependencies":{"ramda":"0.26.1","js-yaml":"3.12.1","@pnpm/types":"2.0.0","@types/node":"10.12.18","rimraf-then":"1.0.1","@types/ramda":"0.25.39","@types/js-yaml":"3.12.0","mkdirp-promise":"5.0.1","normalize-path":"3.0.0","read-yaml-file":"1.1.0","util.promisify":"1.0.0","write-file-atomic":"2.4.2","@pnpm/shrinkwrap-types":"2.0.0-0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tape":"4.9.2","tempy":"0.2.1","rimraf":"2.6.3","tslint":"5.12.1","ts-node":"6.2.0","yaml-tag":"1.1.0","typescript":"3.2.4","@types/tape":"4.2.33","@pnpm/logger":"2.1.0","@types/tempy":"0.2.0","write-yaml-file":"2.0.0","@pnpm/tslint-config":"0.0.0","@pnpm/shrinkwrap-file":"link:"},"peerDependencies":{"@pnpm/logger":">=2.0.1 <3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/shrinkwrap-file_2.0.0-1_1548875392750_0.13642020661796472","host":"s3://npm-registry-packages"},"_id":"@pnpm/shrinkwrap-file@2.0.0-1","version":"2.0.0-1"}