137 lines
12 KiB
JSON
137 lines
12 KiB
JSON
|
{
|
||
|
"_args": [
|
||
|
[
|
||
|
{
|
||
|
"raw": "diff@^3.2.0",
|
||
|
"scope": null,
|
||
|
"escapedName": "diff",
|
||
|
"name": "diff",
|
||
|
"rawSpec": "^3.2.0",
|
||
|
"spec": ">=3.2.0 <4.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/jest-diff"
|
||
|
]
|
||
|
],
|
||
|
"_from": "diff@>=3.2.0 <4.0.0",
|
||
|
"_id": "diff@3.4.0",
|
||
|
"_inCache": true,
|
||
|
"_location": "/diff",
|
||
|
"_nodeVersion": "8.5.0",
|
||
|
"_npmOperationalInternal": {
|
||
|
"host": "s3://npm-registry-packages",
|
||
|
"tmp": "tmp/diff-3.4.0.tgz_1507394355190_0.5823318185284734"
|
||
|
},
|
||
|
"_npmUser": {
|
||
|
"name": "kpdecker",
|
||
|
"email": "kpdecker@gmail.com"
|
||
|
},
|
||
|
"_npmVersion": "5.3.0",
|
||
|
"_phantomChildren": {},
|
||
|
"_requested": {
|
||
|
"raw": "diff@^3.2.0",
|
||
|
"scope": null,
|
||
|
"escapedName": "diff",
|
||
|
"name": "diff",
|
||
|
"rawSpec": "^3.2.0",
|
||
|
"spec": ">=3.2.0 <4.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"_requiredBy": [
|
||
|
"/jest-diff"
|
||
|
],
|
||
|
"_resolved": "https://registry.npmjs.org/diff/-/diff-3.4.0.tgz",
|
||
|
"_shasum": "b1d85507daf3964828de54b37d0d73ba67dda56c",
|
||
|
"_shrinkwrap": null,
|
||
|
"_spec": "diff@^3.2.0",
|
||
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/jest-diff",
|
||
|
"babel": {
|
||
|
"sourceMaps": "inline",
|
||
|
"presets": [
|
||
|
"es3",
|
||
|
"es2015-mod"
|
||
|
],
|
||
|
"auxiliaryCommentBefore": "istanbul ignore start",
|
||
|
"auxiliaryCommentAfter": "istanbul ignore end"
|
||
|
},
|
||
|
"browser": "./dist/diff.js",
|
||
|
"bugs": {
|
||
|
"url": "http://github.com/kpdecker/jsdiff/issues",
|
||
|
"email": "kpdecker@gmail.com"
|
||
|
},
|
||
|
"dependencies": {},
|
||
|
"description": "A javascript text diff implementation.",
|
||
|
"devDependencies": {
|
||
|
"async": "^1.4.2",
|
||
|
"babel-core": "^6.0.0",
|
||
|
"babel-loader": "^6.0.0",
|
||
|
"babel-preset-es2015-mod": "^6.3.13",
|
||
|
"babel-preset-es3": "^1.0.1",
|
||
|
"chai": "^3.3.0",
|
||
|
"colors": "^1.1.2",
|
||
|
"eslint": "^1.6.0",
|
||
|
"grunt": "^0.4.5",
|
||
|
"grunt-babel": "^6.0.0",
|
||
|
"grunt-clean": "^0.4.0",
|
||
|
"grunt-cli": "^0.1.13",
|
||
|
"grunt-contrib-clean": "^1.0.0",
|
||
|
"grunt-contrib-copy": "^1.0.0",
|
||
|
"grunt-contrib-uglify": "^1.0.0",
|
||
|
"grunt-contrib-watch": "^1.0.0",
|
||
|
"grunt-eslint": "^17.3.1",
|
||
|
"grunt-karma": "^0.12.1",
|
||
|
"grunt-mocha-istanbul": "^3.0.1",
|
||
|
"grunt-mocha-test": "^0.12.7",
|
||
|
"grunt-webpack": "^1.0.11",
|
||
|
"istanbul": "github:kpdecker/istanbul",
|
||
|
"karma": "^0.13.11",
|
||
|
"karma-mocha": "^0.2.0",
|
||
|
"karma-mocha-reporter": "^2.0.0",
|
||
|
"karma-phantomjs-launcher": "^1.0.0",
|
||
|
"karma-sauce-launcher": "^0.3.0",
|
||
|
"karma-sourcemap-loader": "^0.3.6",
|
||
|
"karma-webpack": "^1.7.0",
|
||
|
"mocha": "^2.3.3",
|
||
|
"phantomjs-prebuilt": "^2.1.5",
|
||
|
"semver": "^5.0.3",
|
||
|
"webpack": "^1.12.2",
|
||
|
"webpack-dev-server": "^1.12.0"
|
||
|
},
|
||
|
"directories": {},
|
||
|
"dist": {
|
||
|
"integrity": "sha512-QpVuMTEoJMF7cKzi6bvWhRulU1fZqZnvyVQgNhPaxxuTYwyjn/j1v9falseQ/uXWwPnO56RBfwtg4h/EQXmucA==",
|
||
|
"shasum": "b1d85507daf3964828de54b37d0d73ba67dda56c",
|
||
|
"tarball": "https://registry.npmjs.org/diff/-/diff-3.4.0.tgz"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">=0.3.1"
|
||
|
},
|
||
|
"gitHead": "e03e1fc6d2d8c37ff5adf616f198228dc8ab1b74",
|
||
|
"homepage": "https://github.com/kpdecker/jsdiff#readme",
|
||
|
"keywords": [
|
||
|
"diff",
|
||
|
"javascript"
|
||
|
],
|
||
|
"license": "BSD-3-Clause",
|
||
|
"main": "./lib",
|
||
|
"maintainers": [
|
||
|
{
|
||
|
"name": "Kevin Decker",
|
||
|
"email": "kpdecker@gmail.com",
|
||
|
"url": "http://incaseofstairs.com"
|
||
|
}
|
||
|
],
|
||
|
"name": "diff",
|
||
|
"optionalDependencies": {},
|
||
|
"readme": "# jsdiff\n\n[![Build Status](https://secure.travis-ci.org/kpdecker/jsdiff.svg)](http://travis-ci.org/kpdecker/jsdiff)\n[![Sauce Test Status](https://saucelabs.com/buildstatus/jsdiff)](https://saucelabs.com/u/jsdiff)\n\nA javascript text differencing implementation.\n\nBased on the algorithm proposed in\n[\"An O(ND) Difference Algorithm and its Variations\" (Myers, 1986)](http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.4.6927).\n\n## Installation\n```bash\nnpm install diff --save\n```\nor\n```bash\nbower install jsdiff --save\n```\n\n## API\n\n* `JsDiff.diffChars(oldStr, newStr[, options])` - diffs two blocks of text, comparing character by character.\n\n Returns a list of change objects (See below).\n\n Options\n * `ignoreCase`: `true` to ignore casing difference. Defaults to `false`.\n\n* `JsDiff.diffWords(oldStr, newStr[, options])` - diffs two blocks of text, comparing word by word, ignoring whitespace.\n\n Returns a list of change objects (See below).\n\n Options\n * `ignoreCase`: Same as in `diffChars`.\n\n* `JsDiff.diffWordsWithSpace(oldStr, newStr[, options])` - diffs two blocks of text, comparing word by word, treating whitespace as significant.\n\n Returns a list of change objects (See below).\n\n* `JsDiff.diffLines(oldStr, newStr[, options])` - diffs two blocks of text, comparing line by line.\n\n Options\n * `ignoreWhitespace`: `true` to ignore leading and trailing whitespace. This is the same as `diffTrimmedLines`\n * `newlineIsToken`: `true` to treat newline characters as separate tokens. This allows for changes to the newline structure to occur independently of the line content and to be treated as such. In general this is the more human friendly form of `diffLines` and `diffLines` is better suited for patches and other computer friendly output.\n\n Returns a list of change objects (See below).\n\n* `JsDiff.diffTrimmedLines(oldStr, newStr[, options])` - diffs two blocks of text, comparing line by line, ignoring leading and trailing whitespace.\n\n Returns a list of change objects (See below).\n\n* `JsDiff.diffSentences(oldStr, newStr[, options])` - diffs two blocks of text, comparing sentence by sentence.\n\n Returns a list of change objects (See below).\n\n* `JsDiff.diffCss(oldStr, newStr[, options])` - diffs two blocks of text, comparing CSS tokens.\n\n Returns a list of change objects (See below).\n\n* `JsDiff.diffJson(oldObj, newObj[, options])` - diffs two JSON objects, comparing the fields defined on each. The order of fields, etc does not matter in this comparison.\n\n Returns a list of change objects (See below).\n\n* `JsDiff.diffArrays(oldArr, newArr[, options])` - diffs two arrays, comparing each item for strict equality (===).\n\n Options\n * `comparator`: `function(left, right)` for custom equality checks\n\n Returns a list of change objects (See below).\n\n* `JsDiff.createTwoFilesPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader)` - creates a unified diff patch.\n\n Parameters:\n * `oldFileName` : String to be output in the filename section of the patch for the removals\n * `newFileName` : String to be output in the filename section of the patch for the additions\n * `oldStr` : Original string value\n * `newStr` : New string value\n * `oldHeader` : Additional information to include in the old file header\n * `newHeader` : Additional information to include in the new file header\n * `options` : An object with options. Currently, only `context` is supported and describes how many lines of context should be included.\n\n* `JsDiff.createPatch(fileName, oldStr, newStr, oldHeader, newHeader)` - creates a unified diff patch.\n\n Just like JsDiff.createTwoFilesPatch, but with oldFileName being equal to newFileName.\n\n\n* `JsDiff.structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options)` - returns an object with an array of hunk objects.\n\n This method is similar to createTwoFilesPatch, but returns a data structure\n suitable for further proces
|
||
|
"readmeFilename": "README.md",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git://github.com/kpdecker/jsdiff.git"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"test": "grunt"
|
||
|
},
|
||
|
"version": "3.4.0"
|
||
|
}
|