summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/node_modules/array-union
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node_modules/eslint/node_modules/array-union')
-rw-r--r--tools/node_modules/eslint/node_modules/array-union/index.js6
-rw-r--r--tools/node_modules/eslint/node_modules/array-union/license21
-rw-r--r--tools/node_modules/eslint/node_modules/array-union/package.json72
-rw-r--r--tools/node_modules/eslint/node_modules/array-union/readme.md28
4 files changed, 127 insertions, 0 deletions
diff --git a/tools/node_modules/eslint/node_modules/array-union/index.js b/tools/node_modules/eslint/node_modules/array-union/index.js
new file mode 100644
index 0000000000..e33f38a1eb
--- /dev/null
+++ b/tools/node_modules/eslint/node_modules/array-union/index.js
@@ -0,0 +1,6 @@
+'use strict';
+var arrayUniq = require('array-uniq');
+
+module.exports = function () {
+ return arrayUniq([].concat.apply([], arguments));
+};
diff --git a/tools/node_modules/eslint/node_modules/array-union/license b/tools/node_modules/eslint/node_modules/array-union/license
new file mode 100644
index 0000000000..654d0bfe94
--- /dev/null
+++ b/tools/node_modules/eslint/node_modules/array-union/license
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
+
+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/tools/node_modules/eslint/node_modules/array-union/package.json b/tools/node_modules/eslint/node_modules/array-union/package.json
new file mode 100644
index 0000000000..90cf954ff0
--- /dev/null
+++ b/tools/node_modules/eslint/node_modules/array-union/package.json
@@ -0,0 +1,72 @@
+{
+ "_from": "array-union@^1.0.1",
+ "_id": "array-union@1.0.2",
+ "_inBundle": false,
+ "_integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=",
+ "_location": "/eslint/array-union",
+ "_phantomChildren": {},
+ "_requested": {
+ "type": "range",
+ "registry": true,
+ "raw": "array-union@^1.0.1",
+ "name": "array-union",
+ "escapedName": "array-union",
+ "rawSpec": "^1.0.1",
+ "saveSpec": null,
+ "fetchSpec": "^1.0.1"
+ },
+ "_requiredBy": [
+ "/eslint/globby"
+ ],
+ "_resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz",
+ "_shasum": "9a34410e4f4e3da23dea375be5be70f24778ec39",
+ "_spec": "array-union@^1.0.1",
+ "_where": "/Users/cjihrig/iojs/node/tools/eslint-tmp/node_modules/eslint/node_modules/globby",
+ "author": {
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com",
+ "url": "sindresorhus.com"
+ },
+ "bugs": {
+ "url": "https://github.com/sindresorhus/array-union/issues"
+ },
+ "bundleDependencies": false,
+ "dependencies": {
+ "array-uniq": "^1.0.1"
+ },
+ "deprecated": false,
+ "description": "Create an array of unique values, in order, from the input arrays",
+ "devDependencies": {
+ "ava": "*",
+ "xo": "*"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "files": [
+ "index.js"
+ ],
+ "homepage": "https://github.com/sindresorhus/array-union#readme",
+ "keywords": [
+ "array",
+ "arr",
+ "set",
+ "uniq",
+ "unique",
+ "duplicate",
+ "remove",
+ "union",
+ "combine",
+ "merge"
+ ],
+ "license": "MIT",
+ "name": "array-union",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/sindresorhus/array-union.git"
+ },
+ "scripts": {
+ "test": "xo && ava"
+ },
+ "version": "1.0.2"
+}
diff --git a/tools/node_modules/eslint/node_modules/array-union/readme.md b/tools/node_modules/eslint/node_modules/array-union/readme.md
new file mode 100644
index 0000000000..ea472dd079
--- /dev/null
+++ b/tools/node_modules/eslint/node_modules/array-union/readme.md
@@ -0,0 +1,28 @@
+# array-union [![Build Status](https://travis-ci.org/sindresorhus/array-union.svg?branch=master)](https://travis-ci.org/sindresorhus/array-union)
+
+> Create an array of unique values, in order, from the input arrays
+
+
+## Install
+
+```
+$ npm install --save array-union
+```
+
+
+## Usage
+
+```js
+const arrayUnion = require('array-union');
+
+arrayUnion([1, 1, 2, 3], [2, 3]);
+//=> [1, 2, 3]
+
+arrayUnion(['foo', 'foo', 'bar'], ['foo']);
+//=> ['foo', 'bar']
+```
+
+
+## License
+
+MIT © [Sindre Sorhus](https://sindresorhus.com)