diff options
| author | Florian Dold <florian.dold@gmail.com> | 2019-03-27 21:01:33 +0100 | 
|---|---|---|
| committer | Florian Dold <florian.dold@gmail.com> | 2019-03-27 21:01:33 +0100 | 
| commit | cc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 (patch) | |
| tree | 92c5d88706a6ffc654d1b133618d357890e7096b /node_modules/arr-diff | |
| parent | 3771b4d6b67b34c130f3a9a1a15f42deefdb2eda (diff) | |
remove node_modules
Diffstat (limited to 'node_modules/arr-diff')
| -rwxr-xr-x | node_modules/arr-diff/LICENSE | 21 | ||||
| -rw-r--r-- | node_modules/arr-diff/README.md | 130 | ||||
| -rw-r--r-- | node_modules/arr-diff/index.js | 47 | ||||
| -rw-r--r-- | node_modules/arr-diff/package.json | 69 | 
4 files changed, 0 insertions, 267 deletions
diff --git a/node_modules/arr-diff/LICENSE b/node_modules/arr-diff/LICENSE deleted file mode 100755 index d734237bd..000000000 --- a/node_modules/arr-diff/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014-2017, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/arr-diff/README.md b/node_modules/arr-diff/README.md deleted file mode 100644 index 961f5c3f1..000000000 --- a/node_modules/arr-diff/README.md +++ /dev/null @@ -1,130 +0,0 @@ -# arr-diff [](https://www.npmjs.com/package/arr-diff) [](https://npmjs.org/package/arr-diff) [](https://travis-ci.org/jonschlinkert/arr-diff) - -> Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons. - -## Install - -Install with [npm](https://www.npmjs.com/): - -```sh -$ npm install --save arr-diff -``` - -Install with [yarn](https://yarnpkg.com): - -```sh -$ yarn add arr-diff -``` - -Install with [bower](https://bower.io/) - -```sh -$ bower install arr-diff --save -``` - -## Usage - -Returns the difference between the first array and additional arrays. - -```js -var diff = require('arr-diff'); - -var a = ['a', 'b', 'c', 'd']; -var b = ['b', 'c']; - -console.log(diff(a, b)) -//=> ['a', 'd'] -``` - -## Benchmarks - -This library versus [array-differ](https://github.com/sindresorhus/array-differ), on April 14, 2017: - -``` -Benchmarking: (4 of 4) - · long-dupes - · long - · med - · short - -# benchmark/fixtures/long-dupes.js (100804 bytes) -  arr-diff-3.0.0 x 822 ops/sec ±0.67% (86 runs sampled) -  arr-diff-4.0.0 x 2,141 ops/sec ±0.42% (89 runs sampled) -  array-differ x 708 ops/sec ±0.70% (89 runs sampled) - -  fastest is arr-diff-4.0.0 - -# benchmark/fixtures/long.js (94529 bytes) -  arr-diff-3.0.0 x 882 ops/sec ±0.60% (87 runs sampled) -  arr-diff-4.0.0 x 2,329 ops/sec ±0.97% (83 runs sampled) -  array-differ x 769 ops/sec ±0.61% (90 runs sampled) - -  fastest is arr-diff-4.0.0 - -# benchmark/fixtures/med.js (708 bytes) -  arr-diff-3.0.0 x 856,150 ops/sec ±0.42% (89 runs sampled) -  arr-diff-4.0.0 x 4,665,249 ops/sec ±1.06% (89 runs sampled) -  array-differ x 653,888 ops/sec ±1.02% (86 runs sampled) - -  fastest is arr-diff-4.0.0 - -# benchmark/fixtures/short.js (60 bytes) -  arr-diff-3.0.0 x 3,078,467 ops/sec ±0.77% (93 runs sampled) -  arr-diff-4.0.0 x 9,213,296 ops/sec ±0.65% (89 runs sampled) -  array-differ x 1,337,051 ops/sec ±0.91% (92 runs sampled) - -  fastest is arr-diff-4.0.0 -``` - -## About - -### Related projects - -* [arr-flatten](https://www.npmjs.com/package/arr-flatten): Recursively flatten an array or arrays. This is the fastest implementation of array flatten. | [homepage](https://github.com/jonschlinkert/arr-flatten "Recursively flatten an array or arrays. This is the fastest implementation of array flatten.") -* [array-filter](https://www.npmjs.com/package/array-filter): Array#filter for older browsers. | [homepage](https://github.com/juliangruber/array-filter "Array#filter for older browsers.") -* [array-intersection](https://www.npmjs.com/package/array-intersection): Return an array with the unique values present in _all_ given arrays using strict equality… [more](https://github.com/jonschlinkert/array-intersection) | [homepage](https://github.com/jonschlinkert/array-intersection "Return an array with the unique values present in _all_ given arrays using strict equality for comparisons.") - -### Contributing - -Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new). - -### Contributors - -| **Commits** | **Contributor** |  -| --- | --- | -| 33 | [jonschlinkert](https://github.com/jonschlinkert) | -| 2 | [paulmillr](https://github.com/paulmillr) | - -### Building docs - -_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_ - -To generate the readme, run the following command: - -```sh -$ npm install -g verbose/verb#dev verb-generate-readme && verb -``` - -### Running tests - -Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command: - -```sh -$ npm install && npm test -``` - -### Author - -**Jon Schlinkert** - -* [github/jonschlinkert](https://github.com/jonschlinkert) -* [twitter/jonschlinkert](https://twitter.com/jonschlinkert) - -### License - -Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert). -Released under the [MIT License](LICENSE). - -*** - -_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.5.0, on April 14, 2017._
\ No newline at end of file diff --git a/node_modules/arr-diff/index.js b/node_modules/arr-diff/index.js deleted file mode 100644 index 90f280772..000000000 --- a/node_modules/arr-diff/index.js +++ /dev/null @@ -1,47 +0,0 @@ -/*! - * arr-diff <https://github.com/jonschlinkert/arr-diff> - * - * Copyright (c) 2014-2017, Jon Schlinkert. - * Released under the MIT License. - */ - -'use strict'; - -module.exports = function diff(arr/*, arrays*/) { -  var len = arguments.length; -  var idx = 0; -  while (++idx < len) { -    arr = diffArray(arr, arguments[idx]); -  } -  return arr; -}; - -function diffArray(one, two) { -  if (!Array.isArray(two)) { -    return one.slice(); -  } - -  var tlen = two.length -  var olen = one.length; -  var idx = -1; -  var arr = []; - -  while (++idx < olen) { -    var ele = one[idx]; - -    var hasEle = false; -    for (var i = 0; i < tlen; i++) { -      var val = two[i]; - -      if (ele === val) { -        hasEle = true; -        break; -      } -    } - -    if (hasEle === false) { -      arr.push(ele); -    } -  } -  return arr; -} diff --git a/node_modules/arr-diff/package.json b/node_modules/arr-diff/package.json deleted file mode 100644 index c106813be..000000000 --- a/node_modules/arr-diff/package.json +++ /dev/null @@ -1,69 +0,0 @@ -{ -  "name": "arr-diff", -  "description": "Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.", -  "version": "4.0.0", -  "homepage": "https://github.com/jonschlinkert/arr-diff", -  "author": "Jon Schlinkert (https://github.com/jonschlinkert)", -  "contributors": [ -    "Jon Schlinkert <jon.schlinkert@sellside.com> (http://twitter.com/jonschlinkert)", -    "Paul Miller <paul+gh@paulmillr.com> (paulmillr.com)" -  ], -  "repository": "jonschlinkert/arr-diff", -  "bugs": { -    "url": "https://github.com/jonschlinkert/arr-diff/issues" -  }, -  "license": "MIT", -  "files": [ -    "index.js" -  ], -  "main": "index.js", -  "engines": { -    "node": ">=0.10.0" -  }, -  "scripts": { -    "test": "mocha" -  }, -  "dependencies": {}, -  "devDependencies": { -    "ansi-bold": "^0.1.1", -    "arr-flatten": "^1.0.1", -    "array-differ": "^1.0.0", -    "benchmarked": "^0.2.4", -    "gulp-format-md": "^0.1.9", -    "minimist": "^1.2.0", -    "mocha": "^2.4.5" -  }, -  "keywords": [ -    "arr", -    "array", -    "array differ", -    "array-differ", -    "diff", -    "differ", -    "difference" -  ], -  "verb": { -    "toc": false, -    "layout": "default", -    "tasks": [ -      "readme" -    ], -    "plugins": [ -      "gulp-format-md" -    ], -    "related": { -      "list": [ -        "arr-flatten", -        "array-filter", -        "array-intersection" -      ] -    }, -    "reflinks": [ -      "array-differ", -      "verb" -    ], -    "lint": { -      "reflinks": true -    } -  } -}  | 
