{
  "_args": [
    [
      {
        "raw": "pnpm-shrinkwrap@^7.0.0",
        "scope": null,
        "escapedName": "pnpm-shrinkwrap",
        "name": "pnpm-shrinkwrap",
        "rawSpec": "^7.0.0",
        "spec": ">=7.0.0 <8.0.0",
        "type": "range"
      },
      "/home/zkochan/src/pnpm/packages/pnpm/node_modules/@pnpm/outdated"
    ]
  ],
  "_from": "pnpm-shrinkwrap@>=7.0.0 <8.0.0",
  "_id": "pnpm-shrinkwrap@7.0.2",
  "_inCache": true,
  "_location": "/pnpm-shrinkwrap",
  "_nodeVersion": "9.10.1",
  "_npmOperationalInternal": {
    "host": "s3://npm-registry-packages",
    "tmp": "tmp/pnpm-shrinkwrap_7.0.2_1534941544993_0.6866380610661504"
  },
  "_npmUser": {
    "name": "zkochan",
    "email": "z@kochan.io"
  },
  "_npmVersion": "6.4.0",
  "_phantomChildren": {},
  "_requested": {
    "raw": "pnpm-shrinkwrap@^7.0.0",
    "scope": null,
    "escapedName": "pnpm-shrinkwrap",
    "name": "pnpm-shrinkwrap",
    "rawSpec": "^7.0.0",
    "spec": ">=7.0.0 <8.0.0",
    "type": "range"
  },
  "_requiredBy": [
    "/@pnpm/headless",
    "/@pnpm/outdated",
    "/@pnpm/utils",
    "/dependencies-hierarchy",
    "/supi"
  ],
  "_resolved": "https://registry.npmjs.org/pnpm-shrinkwrap/-/pnpm-shrinkwrap-7.0.2.tgz",
  "_shasum": "fa1a69e751e9bea8e0704737518ba37e4e9ca23a",
  "_shrinkwrap": null,
  "_spec": "pnpm-shrinkwrap@^7.0.0",
  "_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/@pnpm/outdated",
  "author": {
    "name": "Zoltan Kochan",
    "email": "z@kochan.io",
    "url": "https://www.kochan.io"
  },
  "bugs": {
    "url": "https://github.com/pnpm/pnpm-shrinkwrap/issues"
  },
  "dependencies": {
    "@pnpm/resolver-base": "^1.0.0",
    "@pnpm/types": "^1.7.0",
    "@types/js-yaml": "^3.10.1",
    "@types/node": "^10.0.6",
    "@types/ramda": "^0.25.12",
    "dependency-path": "^2.0.0",
    "get-npm-tarball-url": "^2.0.1",
    "js-yaml": "^3.8.4",
    "load-yaml-file": "^0.1.0",
    "mkdirp-promise": "^5.0.1",
    "ramda": "^0.25.0",
    "rimraf-then": "^1.0.1",
    "util.promisify": "^1.0.0",
    "write-file-atomic": "^2.1.0"
  },
  "description": "Read/write/prune and other utils for dealing with shrinkwrap.yaml files",
  "devDependencies": {
    "@pnpm/logger": "^2.0.1",
    "@types/tape": "^4.2.30",
    "@types/tempy": "^0.1.0",
    "package-preview": "^1.0.0",
    "rimraf": "^2.6.1",
    "tape": "^4.6.3",
    "tempy": "^0.2.1",
    "ts-node": "^7.0.0",
    "tslint": "^5.8.0",
    "typescript": "^3.0.0",
    "yaml-tag": "github:zkochan/yaml-tag"
  },
  "directories": {},
  "dist": {
    "integrity": "sha512-3ERaQHBTUVAlhoinTWd+iZlPs7n+O3gKKv5H3BJ86WhLM/HYVO6JG5B8DqpiDzTqrR245YYK3GoKDn9lcvdJyQ==",
    "shasum": "fa1a69e751e9bea8e0704737518ba37e4e9ca23a",
    "tarball": "https://registry.npmjs.org/pnpm-shrinkwrap/-/pnpm-shrinkwrap-7.0.2.tgz",
    "fileCount": 45,
    "unpackedSize": 46266,
    "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbfVlpCRA9TVsSAnZWagAAkocP/j08E9Ecw3LPKl+yBJe9\nENiWVoPOcQCZ/clBL/j3r+FU3YorwO4OUWOJfCvnpPxoRhtBbYghLOFeb74t\nuMqKV9kt+aexxOKgKNBV2CM5Y88Vum8dyn+OtAuBc6D1Bzz+mT8ZEgCrTHfE\nmyztWpzjuxqJNY5lNTGb9c7aEpqQ3ToUP3xRJOTVkPpzery3VQRqk/th+yKn\n/dEOIPPtMsAbW/XcuM9Eallt8ZmN6/l7OtCAJ4mm7uofYQOdAITgTAK2q9v0\nflz6JYqG2eVo3Hpfqtq7kNweBZ9NhNb8HDS5p+opi18IaLN3nNoNrhm2z1Eu\ny9MAcf4/CFBDEmDXQTa9KhwB1qoEvDgMwzZ9CrF5RGxOx/2eH/1Vu21xW/om\nUglMMx5lyoATGp5qQYjNvk6UJ8FHYvV72jMIPQIb448Fe3XMPT7aZIfOBQg/\nyDDofG5LkJ8hWFMea7AahwVRidH1aqSghbQxC1FXhh1OvfHJTKZflv82vUKU\nlAhWaOsNFWSuQPVwkAfHLwD6MnXzdC4QwhFRRZZayFNnyVfeGkP6wKkkoBXn\n6WhfIPLRl2VPjilkFaHW+XyP3frv9Cu6ixrN3b1klfDEexm0nuF2S2kfiBLj\nEJwtIKZRrxS2/FixxmzQZA1Twjz6kiCdzpvP0YyyY/h+T34zsz0m3qB/I9fL\n0ZHx\r\n=rZoM\r\n-----END PGP SIGNATURE-----\r\n"
  },
  "engines": {
    "node": ">=6"
  },
  "files": [
    "lib/"
  ],
  "gitHead": "1c9fb23a8f87f752eddcd22f33750a13a7462902",
  "homepage": "https://github.com/pnpm/pnpm-shrinkwrap#readme",
  "keywords": [
    "pnpm",
    "shrinkwrap",
    "lockfile"
  ],
  "license": "MIT",
  "main": "lib/index.js",
  "maintainers": [
    {
      "name": "zkochan",
      "email": "zoltan.kochan@gmail.com"
    }
  ],
  "name": "pnpm-shrinkwrap",
  "optionalDependencies": {},
  "peerDependencies": {
    "@pnpm/logger": ">=2.0.1 <3.0.0"
  },
  "readme": "# pnpm-shrinkwrap\n\n> Read/write/prune and other utils for dealing with shrinkwrap.yaml files\n\n[![Build Status](https://travis-ci.org/pnpm/pnpm-shrinkwrap.svg?branch=master)](https://travis-ci.org/pnpm/pnpm-shrinkwrap)\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### `prune(shrinkwrap, package, warn: (msg: string) => void) => Promise<Shrinkwrap>`\n\nPrunes a shrinkwrap file. Prunning means removing packages that are not referenced.\n\n### `pruneWithoutPackageJson(shrinkwrap, warn: (msg: string) => void) => Promise<Shrinkwrap>`\n\nPrunes a shrinkwrap file using only the shrinkwrap object.\n\n### `nameVerFromPkgSnapshot(relDepPath, pkgSnapshot): {name: string, version: string}`\n\n### `pkgSnapshotToResolution(relDepPath, pkgSnapshot, registry): Resolution`\n\n### `satisfiesPackageJson(shrinkwrap, packageJson): Boolean`\n\nReturns `true` if the shrinkwrap file resolves the dependencies in the `package.json`.\n\n## License\n\n[MIT](LICENSE)\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/pnpm/pnpm-shrinkwrap.git"
  },
  "scripts": {
    "prepublishOnly": "npm run tsc",
    "test": "tslint -c tslint.json -p . && preview && ts-node test --type-check",
    "tsc": "rimraf lib && tsc"
  },
  "typings": "lib/index.d.ts",
  "version": "7.0.2"
}
