aboutsummaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/lodash.union
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/lodash.union')
-rw-r--r--deps/npm/node_modules/lodash.union/README.md4
-rw-r--r--deps/npm/node_modules/lodash.union/index.js4
-rw-r--r--deps/npm/node_modules/lodash.union/node_modules/lodash._baseflatten/README.md4
-rw-r--r--deps/npm/node_modules/lodash.union/node_modules/lodash._baseflatten/index.js6
-rw-r--r--deps/npm/node_modules/lodash.union/node_modules/lodash._baseflatten/package.json16
-rw-r--r--deps/npm/node_modules/lodash.union/node_modules/lodash.rest/README.md4
-rw-r--r--deps/npm/node_modules/lodash.union/node_modules/lodash.rest/index.js73
-rw-r--r--deps/npm/node_modules/lodash.union/node_modules/lodash.rest/package.json20
-rw-r--r--deps/npm/node_modules/lodash.union/package.json32
9 files changed, 97 insertions, 66 deletions
diff --git a/deps/npm/node_modules/lodash.union/README.md b/deps/npm/node_modules/lodash.union/README.md
index 4c1f4c7366..5a4fb54a9e 100644
--- a/deps/npm/node_modules/lodash.union/README.md
+++ b/deps/npm/node_modules/lodash.union/README.md
@@ -1,4 +1,4 @@
-# lodash.union v4.3.0
+# lodash.union v4.4.0
The [lodash](https://lodash.com/) method `_.union` exported as a [Node.js](https://nodejs.org/) module.
@@ -15,4 +15,4 @@ In Node.js:
var union = require('lodash.union');
```
-See the [documentation](https://lodash.com/docs#union) or [package source](https://github.com/lodash/lodash/blob/4.3.0-npm-packages/lodash.union) for more details.
+See the [documentation](https://lodash.com/docs#union) or [package source](https://github.com/lodash/lodash/blob/4.4.0-npm-packages/lodash.union) for more details.
diff --git a/deps/npm/node_modules/lodash.union/index.js b/deps/npm/node_modules/lodash.union/index.js
index 9bc9475d2c..5aa425b775 100644
--- a/deps/npm/node_modules/lodash.union/index.js
+++ b/deps/npm/node_modules/lodash.union/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 4.3.0 (Custom Build) <https://lodash.com/>
+ * lodash (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="npm" -o ./`
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
* Released under MIT license <https://lodash.com/license>
@@ -32,7 +32,7 @@ var objectToString = objectProto.toString;
*
* @private
* @param {string} key The key of the property to get.
- * @returns {Function} Returns the new function.
+ * @returns {Function} Returns the new accessor function.
*/
function baseProperty(key) {
return function(object) {
diff --git a/deps/npm/node_modules/lodash.union/node_modules/lodash._baseflatten/README.md b/deps/npm/node_modules/lodash.union/node_modules/lodash._baseflatten/README.md
index bfa8eb7f4a..2c839ab728 100644
--- a/deps/npm/node_modules/lodash.union/node_modules/lodash._baseflatten/README.md
+++ b/deps/npm/node_modules/lodash.union/node_modules/lodash._baseflatten/README.md
@@ -1,4 +1,4 @@
-# lodash._baseflatten v4.2.0
+# lodash._baseflatten v4.2.1
The internal [lodash](https://lodash.com/) function `baseFlatten` exported as a [Node.js](https://nodejs.org/) module.
@@ -15,4 +15,4 @@ In Node.js:
var baseFlatten = require('lodash._baseflatten');
```
-See the [package source](https://github.com/lodash/lodash/blob/4.2.0-npm-packages/lodash._baseflatten) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/4.2.1-npm-packages/lodash._baseflatten) for more details.
diff --git a/deps/npm/node_modules/lodash.union/node_modules/lodash._baseflatten/index.js b/deps/npm/node_modules/lodash.union/node_modules/lodash._baseflatten/index.js
index 0daaa01622..de0df103f4 100644
--- a/deps/npm/node_modules/lodash.union/node_modules/lodash._baseflatten/index.js
+++ b/deps/npm/node_modules/lodash.union/node_modules/lodash._baseflatten/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 4.2.0 (Custom Build) <https://lodash.com/>
+ * lodash (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="npm" -o ./`
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
* Released under MIT license <https://lodash.com/license>
@@ -89,7 +89,7 @@ function baseFlatten(array, depth, predicate, isStrict, result) {
*
* @private
* @param {string} key The key of the property to get.
- * @returns {Function} Returns the new function.
+ * @returns {Function} Returns the new accessor function.
*/
function baseProperty(key) {
return function(object) {
@@ -118,7 +118,7 @@ var getLength = baseProperty('length');
* @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
*/
function isFlattenable(value) {
- return isArrayLikeObject(value) && (isArray(value) || isArguments(value));
+ return isArray(value) || isArguments(value);
}
/**
diff --git a/deps/npm/node_modules/lodash.union/node_modules/lodash._baseflatten/package.json b/deps/npm/node_modules/lodash.union/node_modules/lodash._baseflatten/package.json
index cf8df940c5..cd710c8b3a 100644
--- a/deps/npm/node_modules/lodash.union/node_modules/lodash._baseflatten/package.json
+++ b/deps/npm/node_modules/lodash.union/node_modules/lodash._baseflatten/package.json
@@ -6,20 +6,20 @@
]
],
"_from": "lodash._baseflatten@>=4.2.0 <4.3.0",
- "_id": "lodash._baseflatten@4.2.0",
+ "_id": "lodash._baseflatten@4.2.1",
"_inCache": true,
"_installable": true,
"_location": "/lodash.union/lodash._baseflatten",
"_nodeVersion": "5.5.0",
"_npmOperationalInternal": {
"host": "packages-12-west.internal.npmjs.com",
- "tmp": "tmp/lodash._baseflatten-4.2.0.tgz_1460126652696_0.20245859795249999"
+ "tmp": "tmp/lodash._baseflatten-4.2.1.tgz_1463062009548_0.7446099303197116"
},
"_npmUser": {
"email": "john.david.dalton@gmail.com",
"name": "jdalton"
},
- "_npmVersion": "2.15.3",
+ "_npmVersion": "2.15.5",
"_phantomChildren": {},
"_requested": {
"name": "lodash._baseflatten",
@@ -32,8 +32,8 @@
"_requiredBy": [
"/lodash.union"
],
- "_resolved": "https://registry.npmjs.org/lodash._baseflatten/-/lodash._baseflatten-4.2.0.tgz",
- "_shasum": "66b4fa38645051392d4c0393ff41a3c7e2295f64",
+ "_resolved": "https://registry.npmjs.org/lodash._baseflatten/-/lodash._baseflatten-4.2.1.tgz",
+ "_shasum": "54acad5e6ef53532a5b8269c0ad725470cfd9208",
"_shrinkwrap": null,
"_spec": "lodash._baseflatten@~4.2.0",
"_where": "/Users/rebecca/code/npm/node_modules/lodash.union",
@@ -67,8 +67,8 @@
"devDependencies": {},
"directories": {},
"dist": {
- "shasum": "66b4fa38645051392d4c0393ff41a3c7e2295f64",
- "tarball": "https://registry.npmjs.org/lodash._baseflatten/-/lodash._baseflatten-4.2.0.tgz"
+ "shasum": "54acad5e6ef53532a5b8269c0ad725470cfd9208",
+ "tarball": "https://registry.npmjs.org/lodash._baseflatten/-/lodash._baseflatten-4.2.1.tgz"
},
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
@@ -97,5 +97,5 @@
"scripts": {
"test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\""
},
- "version": "4.2.0"
+ "version": "4.2.1"
}
diff --git a/deps/npm/node_modules/lodash.union/node_modules/lodash.rest/README.md b/deps/npm/node_modules/lodash.union/node_modules/lodash.rest/README.md
index 5f1febeff5..5342ca4452 100644
--- a/deps/npm/node_modules/lodash.union/node_modules/lodash.rest/README.md
+++ b/deps/npm/node_modules/lodash.union/node_modules/lodash.rest/README.md
@@ -1,4 +1,4 @@
-# lodash.rest v4.0.2
+# lodash.rest v4.0.3
The [lodash](https://lodash.com/) method `_.rest` exported as a [Node.js](https://nodejs.org/) module.
@@ -15,4 +15,4 @@ In Node.js:
var rest = require('lodash.rest');
```
-See the [documentation](https://lodash.com/docs#rest) or [package source](https://github.com/lodash/lodash/blob/4.0.2-npm-packages/lodash.rest) for more details.
+See the [documentation](https://lodash.com/docs#rest) or [package source](https://github.com/lodash/lodash/blob/4.0.3-npm-packages/lodash.rest) for more details.
diff --git a/deps/npm/node_modules/lodash.union/node_modules/lodash.rest/index.js b/deps/npm/node_modules/lodash.union/node_modules/lodash.rest/index.js
index 4e1cdb99ba..2315786410 100644
--- a/deps/npm/node_modules/lodash.union/node_modules/lodash.rest/index.js
+++ b/deps/npm/node_modules/lodash.union/node_modules/lodash.rest/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 4.0.2 (Custom Build) <https://lodash.com/>
+ * lodash (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="npm" -o ./`
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
* Released under MIT license <https://lodash.com/license>
@@ -42,7 +42,7 @@ var freeParseInt = parseInt;
* @private
* @param {Function} func The function to invoke.
* @param {*} thisArg The `this` binding of `func`.
- * @param {...*} args The arguments to invoke `func` with.
+ * @param {Array} args The arguments to invoke `func` with.
* @returns {*} Returns the result of `func`.
*/
function apply(func, thisArg, args) {
@@ -60,7 +60,8 @@ function apply(func, thisArg, args) {
var objectProto = Object.prototype;
/**
- * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
+ * Used to resolve the
+ * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
* of values.
*/
var objectToString = objectProto.toString;
@@ -149,8 +150,9 @@ function isFunction(value) {
}
/**
- * Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.
- * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
+ * Checks if `value` is the
+ * [language type](http://www.ecma-international.org/ecma-262/6.0/#sec-ecmascript-language-types)
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
*
* @static
* @memberOf _
@@ -229,6 +231,41 @@ function isSymbol(value) {
}
/**
+ * Converts `value` to a finite number.
+ *
+ * @static
+ * @memberOf _
+ * @since 4.12.0
+ * @category Lang
+ * @param {*} value The value to convert.
+ * @returns {number} Returns the converted number.
+ * @example
+ *
+ * _.toFinite(3.2);
+ * // => 3.2
+ *
+ * _.toFinite(Number.MIN_VALUE);
+ * // => 5e-324
+ *
+ * _.toFinite(Infinity);
+ * // => 1.7976931348623157e+308
+ *
+ * _.toFinite('3.2');
+ * // => 3.2
+ */
+function toFinite(value) {
+ if (!value) {
+ return value === 0 ? value : 0;
+ }
+ value = toNumber(value);
+ if (value === INFINITY || value === -INFINITY) {
+ var sign = (value < 0 ? -1 : 1);
+ return sign * MAX_INTEGER;
+ }
+ return value === value ? value : 0;
+}
+
+/**
* Converts `value` to an integer.
*
* **Note:** This function is loosely based on
@@ -242,7 +279,7 @@ function isSymbol(value) {
* @returns {number} Returns the converted integer.
* @example
*
- * _.toInteger(3);
+ * _.toInteger(3.2);
* // => 3
*
* _.toInteger(Number.MIN_VALUE);
@@ -251,20 +288,14 @@ function isSymbol(value) {
* _.toInteger(Infinity);
* // => 1.7976931348623157e+308
*
- * _.toInteger('3');
+ * _.toInteger('3.2');
* // => 3
*/
function toInteger(value) {
- if (!value) {
- return value === 0 ? value : 0;
- }
- value = toNumber(value);
- if (value === INFINITY || value === -INFINITY) {
- var sign = (value < 0 ? -1 : 1);
- return sign * MAX_INTEGER;
- }
- var remainder = value % 1;
- return value === value ? (remainder ? value - remainder : value) : 0;
+ var result = toFinite(value),
+ remainder = result % 1;
+
+ return result === result ? (remainder ? result - remainder : result) : 0;
}
/**
@@ -278,8 +309,8 @@ function toInteger(value) {
* @returns {number} Returns the number.
* @example
*
- * _.toNumber(3);
- * // => 3
+ * _.toNumber(3.2);
+ * // => 3.2
*
* _.toNumber(Number.MIN_VALUE);
* // => 5e-324
@@ -287,8 +318,8 @@ function toInteger(value) {
* _.toNumber(Infinity);
* // => Infinity
*
- * _.toNumber('3');
- * // => 3
+ * _.toNumber('3.2');
+ * // => 3.2
*/
function toNumber(value) {
if (typeof value == 'number') {
diff --git a/deps/npm/node_modules/lodash.union/node_modules/lodash.rest/package.json b/deps/npm/node_modules/lodash.union/node_modules/lodash.rest/package.json
index 7c79f9509d..416db6c858 100644
--- a/deps/npm/node_modules/lodash.union/node_modules/lodash.rest/package.json
+++ b/deps/npm/node_modules/lodash.union/node_modules/lodash.rest/package.json
@@ -6,20 +6,20 @@
]
],
"_from": "lodash.rest@>=4.0.0 <5.0.0",
- "_id": "lodash.rest@4.0.2",
+ "_id": "lodash.rest@4.0.3",
"_inCache": true,
"_installable": true,
"_location": "/lodash.union/lodash.rest",
- "_nodeVersion": "5.9.1",
+ "_nodeVersion": "5.5.0",
"_npmOperationalInternal": {
- "host": "packages-12-west.internal.npmjs.com",
- "tmp": "tmp/lodash.rest-4.0.2.tgz_1459655529260_0.05724348593503237"
+ "host": "packages-16-east.internal.npmjs.com",
+ "tmp": "tmp/lodash.rest-4.0.3.tgz_1463062507321_0.6458017621189356"
},
"_npmUser": {
"email": "john.david.dalton@gmail.com",
"name": "jdalton"
},
- "_npmVersion": "2.15.2",
+ "_npmVersion": "2.15.5",
"_phantomChildren": {},
"_requested": {
"name": "lodash.rest",
@@ -32,8 +32,8 @@
"_requiredBy": [
"/lodash.union"
],
- "_resolved": "https://registry.npmjs.org/lodash.rest/-/lodash.rest-4.0.2.tgz",
- "_shasum": "a15a7daa9cbd45e223ef5ba5d38e87dd02eac6bd",
+ "_resolved": "https://registry.npmjs.org/lodash.rest/-/lodash.rest-4.0.3.tgz",
+ "_shasum": "4c1c32c40028087250fabf70d42e0151548f48c5",
"_shrinkwrap": null,
"_spec": "lodash.rest@^4.0.0",
"_where": "/Users/rebecca/code/npm/node_modules/lodash.union",
@@ -67,8 +67,8 @@
"devDependencies": {},
"directories": {},
"dist": {
- "shasum": "a15a7daa9cbd45e223ef5ba5d38e87dd02eac6bd",
- "tarball": "https://registry.npmjs.org/lodash.rest/-/lodash.rest-4.0.2.tgz"
+ "shasum": "4c1c32c40028087250fabf70d42e0151548f48c5",
+ "tarball": "https://registry.npmjs.org/lodash.rest/-/lodash.rest-4.0.3.tgz"
},
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
@@ -101,5 +101,5 @@
"scripts": {
"test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\""
},
- "version": "4.0.2"
+ "version": "4.0.3"
}
diff --git a/deps/npm/node_modules/lodash.union/package.json b/deps/npm/node_modules/lodash.union/package.json
index 41472cc99d..4e89c1da97 100644
--- a/deps/npm/node_modules/lodash.union/package.json
+++ b/deps/npm/node_modules/lodash.union/package.json
@@ -1,41 +1,41 @@
{
"_args": [
[
- "lodash.union@~4.3.0",
+ "lodash.union@latest",
"/Users/rebecca/code/npm"
]
],
- "_from": "lodash.union@>=4.3.0 <4.4.0",
- "_id": "lodash.union@4.3.0",
+ "_from": "lodash.union@latest",
+ "_id": "lodash.union@4.4.0",
"_inCache": true,
"_installable": true,
"_location": "/lodash.union",
"_nodeVersion": "5.5.0",
"_npmOperationalInternal": {
"host": "packages-12-west.internal.npmjs.com",
- "tmp": "tmp/lodash.union-4.3.0.tgz_1460126989680_0.062147664139047265"
+ "tmp": "tmp/lodash.union-4.4.0.tgz_1463062655004_0.2674572637770325"
},
"_npmUser": {
"email": "john.david.dalton@gmail.com",
"name": "jdalton"
},
- "_npmVersion": "2.15.3",
+ "_npmVersion": "2.15.5",
"_phantomChildren": {},
"_requested": {
"name": "lodash.union",
- "raw": "lodash.union@~4.3.0",
- "rawSpec": "~4.3.0",
+ "raw": "lodash.union@latest",
+ "rawSpec": "latest",
"scope": null,
- "spec": ">=4.3.0 <4.4.0",
- "type": "range"
+ "spec": "latest",
+ "type": "tag"
},
"_requiredBy": [
"/"
],
- "_resolved": "https://registry.npmjs.org/lodash.union/-/lodash.union-4.3.0.tgz",
- "_shasum": "9da994773c563838fc4785c459d5a0dbe18305b8",
+ "_resolved": "https://registry.npmjs.org/lodash.union/-/lodash.union-4.4.0.tgz",
+ "_shasum": "22be23b4c84b49d0436e573949ad1d4a48c7fa38",
"_shrinkwrap": null,
- "_spec": "lodash.union@~4.3.0",
+ "_spec": "lodash.union@latest",
"_where": "/Users/rebecca/code/npm",
"author": {
"email": "john.david.dalton@gmail.com",
@@ -64,15 +64,15 @@
],
"dependencies": {
"lodash._baseflatten": "~4.2.0",
- "lodash._baseuniq": "~4.5.0",
+ "lodash._baseuniq": "~4.6.0",
"lodash.rest": "^4.0.0"
},
"description": "The lodash method `_.union` exported as a module.",
"devDependencies": {},
"directories": {},
"dist": {
- "shasum": "9da994773c563838fc4785c459d5a0dbe18305b8",
- "tarball": "https://registry.npmjs.org/lodash.union/-/lodash.union-4.3.0.tgz"
+ "shasum": "22be23b4c84b49d0436e573949ad1d4a48c7fa38",
+ "tarball": "https://registry.npmjs.org/lodash.union/-/lodash.union-4.4.0.tgz"
},
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
@@ -105,5 +105,5 @@
"scripts": {
"test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\""
},
- "version": "4.3.0"
+ "version": "4.4.0"
}