{
  "_args": [
    [
      {
        "raw": "semver-diff@^2.0.0",
        "scope": null,
        "escapedName": "semver-diff",
        "name": "semver-diff",
        "rawSpec": "^2.0.0",
        "spec": ">=2.0.0 <3.0.0",
        "type": "range"
      },
      "/build/npm-check-updates/pkg/npm-check-updates/usr/lib/node_modules/npm-check-updates/node_modules/clite/node_modules/update-notifier"
    ]
  ],
  "_from": "semver-diff@>=2.0.0 <3.0.0",
  "_id": "semver-diff@2.1.0",
  "_inCache": true,
  "_location": "/npm-check-updates/semver-diff",
  "_nodeVersion": "4.2.1",
  "_npmUser": {
    "name": "sindresorhus",
    "email": "sindresorhus@gmail.com"
  },
  "_npmVersion": "2.14.7",
  "_phantomChildren": {},
  "_requested": {
    "raw": "semver-diff@^2.0.0",
    "scope": null,
    "escapedName": "semver-diff",
    "name": "semver-diff",
    "rawSpec": "^2.0.0",
    "spec": ">=2.0.0 <3.0.0",
    "type": "range"
  },
  "_requiredBy": [
    "/npm-check-updates/clite/update-notifier",
    "/npm-check-updates/snyk/update-notifier",
    "/npm-check-updates/update-notifier"
  ],
  "_resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-2.1.0.tgz",
  "_shasum": "4bbb8437c8d37e4b0cf1a68fd726ec6d645d6d36",
  "_shrinkwrap": null,
  "_spec": "semver-diff@^2.0.0",
  "_where": "/build/npm-check-updates/pkg/npm-check-updates/usr/lib/node_modules/npm-check-updates/node_modules/clite/node_modules/update-notifier",
  "author": {
    "name": "Sindre Sorhus",
    "email": "sindresorhus@gmail.com",
    "url": "http://sindresorhus.com"
  },
  "bugs": {
    "url": "https://github.com/sindresorhus/semver-diff/issues"
  },
  "dependencies": {
    "semver": "^5.0.3"
  },
  "description": "Get the diff type of two semver versions: 0.0.1 0.0.2 → patch",
  "devDependencies": {
    "mocha": "*"
  },
  "directories": {},
  "dist": {
    "shasum": "4bbb8437c8d37e4b0cf1a68fd726ec6d645d6d36",
    "tarball": "https://registry.npmjs.org/semver-diff/-/semver-diff-2.1.0.tgz"
  },
  "engines": {
    "node": ">=0.10.0"
  },
  "files": [
    "index.js"
  ],
  "gitHead": "58205f4b171e86b07942a30fb4502bc0ca60a071",
  "homepage": "https://github.com/sindresorhus/semver-diff#readme",
  "keywords": [
    "semver",
    "version",
    "semantic",
    "diff",
    "difference"
  ],
  "license": "MIT",
  "maintainers": [
    {
      "name": "sindresorhus",
      "email": "sindresorhus@gmail.com"
    }
  ],
  "name": "semver-diff",
  "optionalDependencies": {},
  "readme": "# semver-diff [![Build Status](https://travis-ci.org/sindresorhus/semver-diff.svg?branch=master)](https://travis-ci.org/sindresorhus/semver-diff)\n\n> Get the diff type of two [semver](https://github.com/isaacs/node-semver) versions: `0.0.1 0.0.2` → `patch`\n\n\n## Install\n\n```sh\n$ npm install --save semver-diff\n```\n\n\n## Usage\n\n```js\nvar semverDiff = require('semver-diff');\n\nsemverDiff('1.1.1', '1.1.2');\n//=> 'patch'\n\nsemverDiff('0.0.1', '1.0.0');\n//=> 'major'\n\nsemverDiff('0.0.1', '0.1.0');\n//=> 'minor'\n\nsemverDiff('0.0.1-foo', '0.0.1-foo.bar');\n//=> 'prerelease'\n\nsemverDiff('0.1.0', '0.1.0+foo');\n//=> 'build'\n\nsemverDiff('0.0.1', '0.0.1');\n//=> null\n\nsemverDiff('0.0.2', '0.0.1');\n//=> null\n```\n\n\n## API\n\n### semverDiff(versionA, versionB)\n\nReturns the difference type between two semver versions, or `null` if they're identical or the second one is lower than the first.\n\nPossible values: `'major'`, `'minor'`, `'patch'`, `'prerelease'`, `'build'`, `null`.\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
  "readmeFilename": "readme.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sindresorhus/semver-diff.git"
  },
  "scripts": {
    "test": "mocha"
  },
  "version": "2.1.0"
}
