{"bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"1eb7015533aa602fcd7a57ff0bd00d46ee6cbe42","tarball":"https://registry.npmjs.org/@pnpm/shrinkwrap-file/-/shrinkwrap-file-2.0.0-2.tgz","fileCount":30,"integrity":"sha512-YvPBmcmhrmTBSJQdGXQ/Jrhk5hSzI3sLcp+7rpIzvUcAu6wYCUC2CemL+2TyjIPBC9Z/KHmJoAldK44OXh8BwA==","signatures":[{"sig":"MEUCIQCT62WQbdBPK/LUJjIvvlOrxvcO1NsfjeXr9VSNZIkRRAIgelpaxq9wLMTwRuDGQfphSJYzkAvkGJVEElJuZc8Asns=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"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"},"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.2","@pnpm/types":"2.0.0","@types/node":"11.9.5","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","@pnpm/constants":"1.0.0-0","write-file-atomic":"2.4.2","@pnpm/shrinkwrap-types":"2.0.0-0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tape":"4.10.1","tempy":"0.2.1","rimraf":"2.6.3","tslint":"5.13.1","ts-node":"6.2.0","yaml-tag":"1.1.0","typescript":"3.3.3333","@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-2_1551694123087_0.39454332525402","host":"s3://npm-registry-packages"},"_id":"@pnpm/shrinkwrap-file@2.0.0-2","version":"2.0.0-2"}