From cc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 27 Mar 2019 21:01:33 +0100 Subject: remove node_modules --- node_modules/array-differ/index.js | 7 ------ node_modules/array-differ/package.json | 32 -------------------------- node_modules/array-differ/readme.md | 41 ---------------------------------- 3 files changed, 80 deletions(-) delete mode 100644 node_modules/array-differ/index.js delete mode 100644 node_modules/array-differ/package.json delete mode 100644 node_modules/array-differ/readme.md (limited to 'node_modules/array-differ') diff --git a/node_modules/array-differ/index.js b/node_modules/array-differ/index.js deleted file mode 100644 index fbe2ed2c8..000000000 --- a/node_modules/array-differ/index.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; -module.exports = function (arr) { - var rest = [].concat.apply([], [].slice.call(arguments, 1)); - return arr.filter(function (el) { - return rest.indexOf(el) === -1; - }); -}; diff --git a/node_modules/array-differ/package.json b/node_modules/array-differ/package.json deleted file mode 100644 index a8c46831f..000000000 --- a/node_modules/array-differ/package.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "array-differ", - "version": "1.0.0", - "description": "Create an array with values that are present in the first input array but not additional ones", - "license": "MIT", - "repository": "sindresorhus/array-differ", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "http://sindresorhus.com" - }, - "engines": { - "node": ">=0.10.0" - }, - "scripts": { - "test": "mocha" - }, - "files": [ - "index.js" - ], - "keywords": [ - "array", - "difference", - "diff", - "differ", - "filter", - "exclude" - ], - "devDependencies": { - "mocha": "*" - } -} diff --git a/node_modules/array-differ/readme.md b/node_modules/array-differ/readme.md deleted file mode 100644 index 68f5d3607..000000000 --- a/node_modules/array-differ/readme.md +++ /dev/null @@ -1,41 +0,0 @@ -# array-differ [![Build Status](https://travis-ci.org/sindresorhus/array-differ.svg?branch=master)](https://travis-ci.org/sindresorhus/array-differ) - -> Create an array with values that are present in the first input array but not additional ones - - -## Install - -```sh -$ npm install --save array-differ -``` - - -## Usage - -```js -var arrayDiffer = require('array-differ'); - -arrayDiffer([2, 3, 4], [3, 50]); -//=> [2, 4] -``` - -## API - -### arrayDiffer(input, values, [values, ...]) - -Returns the new array. - -#### input - -Type: `array` - -#### values - -Type: `array` - -Arrays of values to exclude. - - -## License - -MIT © [Sindre Sorhus](http://sindresorhus.com) -- cgit v1.2.3