Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKat Marchán <kzm@sykosomatic.org>2016-09-08 03:55:35 +0300
committerKat Marchán <kzm@sykosomatic.org>2016-09-09 00:53:11 +0300
commit530bd4d2ae6f704f624e4f7bf64f911f37e2b7f8 (patch)
treedc803d5efd99227b3131ca5f13645adde97ed04b
parentc3476780ef4483425e4ae1d095a5884b46b8db86 (diff)
lodash.uniq@4.5.0
Credit: @jdalton
-rw-r--r--node_modules/lodash.uniq/README.md4
-rw-r--r--node_modules/lodash.uniq/index.js26
-rw-r--r--node_modules/lodash.uniq/package.json39
-rw-r--r--package.json2
4 files changed, 35 insertions, 36 deletions
diff --git a/node_modules/lodash.uniq/README.md b/node_modules/lodash.uniq/README.md
index 6572c2fa5..a662a5e38 100644
--- a/node_modules/lodash.uniq/README.md
+++ b/node_modules/lodash.uniq/README.md
@@ -1,4 +1,4 @@
-# lodash.uniq v4.4.0
+# lodash.uniq v4.5.0
The [lodash](https://lodash.com/) method `_.uniq` exported as a [Node.js](https://nodejs.org/) module.
@@ -15,4 +15,4 @@ In Node.js:
var uniq = require('lodash.uniq');
```
-See the [documentation](https://lodash.com/docs#uniq) or [package source](https://github.com/lodash/lodash/blob/4.4.0-npm-packages/lodash.uniq) for more details.
+See the [documentation](https://lodash.com/docs#uniq) or [package source](https://github.com/lodash/lodash/blob/4.5.0-npm-packages/lodash.uniq) for more details.
diff --git a/node_modules/lodash.uniq/index.js b/node_modules/lodash.uniq/index.js
index f0fd57ba2..83fce2bc4 100644
--- a/node_modules/lodash.uniq/index.js
+++ b/node_modules/lodash.uniq/index.js
@@ -22,7 +22,7 @@ var funcTag = '[object Function]',
/**
* Used to match `RegExp`
- * [syntax characters](http://ecma-international.org/ecma-262/6.0/#sec-patterns).
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
*/
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
@@ -43,7 +43,7 @@ var root = freeGlobal || freeSelf || Function('return this')();
* specifying an index to search from.
*
* @private
- * @param {Array} [array] The array to search.
+ * @param {Array} [array] The array to inspect.
* @param {*} target The value to search for.
* @returns {boolean} Returns `true` if `target` is found, else `false`.
*/
@@ -56,7 +56,7 @@ function arrayIncludes(array, value) {
* This function is like `arrayIncludes` except that it accepts a comparator.
*
* @private
- * @param {Array} [array] The array to search.
+ * @param {Array} [array] The array to inspect.
* @param {*} target The value to search for.
* @param {Function} comparator The comparator invoked per element.
* @returns {boolean} Returns `true` if `target` is found, else `false`.
@@ -78,7 +78,7 @@ function arrayIncludesWith(array, value, comparator) {
* support for iteratee shorthands.
*
* @private
- * @param {Array} array The array to search.
+ * @param {Array} array The array to inspect.
* @param {Function} predicate The function invoked per iteration.
* @param {number} fromIndex The index to search from.
* @param {boolean} [fromRight] Specify iterating from right to left.
@@ -100,7 +100,7 @@ function baseFindIndex(array, predicate, fromIndex, fromRight) {
* The base implementation of `_.indexOf` without `fromIndex` bounds checks.
*
* @private
- * @param {Array} array The array to search.
+ * @param {Array} array The array to inspect.
* @param {*} value The value to search for.
* @param {number} fromIndex The index to search from.
* @returns {number} Returns the index of the matched value, else `-1`.
@@ -193,6 +193,7 @@ function setToArray(set) {
/** Used for built-in method references. */
var arrayProto = Array.prototype,
+ funcProto = Function.prototype,
objectProto = Object.prototype;
/** Used to detect overreaching core-js shims. */
@@ -205,14 +206,14 @@ var maskSrcKey = (function() {
}());
/** Used to resolve the decompiled source of functions. */
-var funcToString = Function.prototype.toString;
+var funcToString = funcProto.toString;
/** Used to check objects for own properties. */
var hasOwnProperty = objectProto.hasOwnProperty;
/**
* Used to resolve the
- * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
* of values.
*/
var objectToString = objectProto.toString;
@@ -589,7 +590,7 @@ SetCache.prototype.has = setCacheHas;
* Gets the index at which the `key` is found in `array` of key-value pairs.
*
* @private
- * @param {Array} array The array to search.
+ * @param {Array} array The array to inspect.
* @param {*} key The key to search for.
* @returns {number} Returns the index of the matched value, else `-1`.
*/
@@ -765,7 +766,7 @@ function toSource(func) {
/**
* Creates a duplicate-free version of an array, using
- * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
* for equality comparisons, in which only the first occurrence of each
* element is kept.
*
@@ -788,7 +789,7 @@ function uniq(array) {
/**
* Performs a
- * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
* comparison between two values to determine if they are equivalent.
*
* @static
@@ -841,15 +842,14 @@ function eq(value, other) {
*/
function isFunction(value) {
// The use of `Object#toString` avoids issues with the `typeof` operator
- // in Safari 8 which returns 'object' for typed array and weak map constructors,
- // and PhantomJS 1.9 which returns 'function' for `NodeList` instances.
+ // in Safari 8-9 which returns 'object' for typed array and other constructors.
var tag = isObject(value) ? objectToString.call(value) : '';
return tag == funcTag || tag == genTag;
}
/**
* Checks if `value` is the
- * [language type](http://www.ecma-international.org/ecma-262/6.0/#sec-ecmascript-language-types)
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
*
* @static
diff --git a/node_modules/lodash.uniq/package.json b/node_modules/lodash.uniq/package.json
index bc25a608a..44593d7df 100644
--- a/node_modules/lodash.uniq/package.json
+++ b/node_modules/lodash.uniq/package.json
@@ -2,51 +2,50 @@
"_args": [
[
{
- "raw": "lodash.uniq@4.4.0",
+ "raw": "lodash.uniq@4.5.0",
"scope": null,
"escapedName": "lodash.uniq",
"name": "lodash.uniq",
- "rawSpec": "4.4.0",
- "spec": "4.4.0",
+ "rawSpec": "4.5.0",
+ "spec": "4.5.0",
"type": "version"
},
- "/Users/rebecca/code/npm"
+ "/Users/zkat/Documents/code/npm"
]
],
- "_from": "lodash.uniq@4.4.0",
- "_id": "lodash.uniq@4.4.0",
+ "_from": "lodash.uniq@4.5.0",
+ "_id": "lodash.uniq@4.5.0",
"_inCache": true,
- "_installable": true,
"_location": "/lodash.uniq",
- "_nodeVersion": "4.2.4",
+ "_nodeVersion": "4.4.7",
"_npmOperationalInternal": {
"host": "packages-16-east.internal.npmjs.com",
- "tmp": "tmp/lodash.uniq-4.4.0.tgz_1469458380993_0.09374292613938451"
+ "tmp": "tmp/lodash.uniq-4.5.0.tgz_1471110399118_0.6918453241232783"
},
"_npmUser": {
"name": "jdalton",
"email": "john.david.dalton@gmail.com"
},
- "_npmVersion": "2.15.9",
+ "_npmVersion": "2.15.10",
"_phantomChildren": {},
"_requested": {
- "raw": "lodash.uniq@4.4.0",
+ "raw": "lodash.uniq@4.5.0",
"scope": null,
"escapedName": "lodash.uniq",
"name": "lodash.uniq",
- "rawSpec": "4.4.0",
- "spec": "4.4.0",
+ "rawSpec": "4.5.0",
+ "spec": "4.5.0",
"type": "version"
},
"_requiredBy": [
"#USER",
"/"
],
- "_resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.4.0.tgz",
- "_shasum": "42cdcd09e35eb0a07abe1da9c06c850f6afa55c7",
+ "_resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz",
+ "_shasum": "d0225373aeb652adc1bc82e4945339a842754773",
"_shrinkwrap": null,
- "_spec": "lodash.uniq@4.4.0",
- "_where": "/Users/rebecca/code/npm",
+ "_spec": "lodash.uniq@4.5.0",
+ "_where": "/Users/zkat/Documents/code/npm",
"author": {
"name": "John-David Dalton",
"email": "john.david.dalton@gmail.com",
@@ -77,8 +76,8 @@
"devDependencies": {},
"directories": {},
"dist": {
- "shasum": "42cdcd09e35eb0a07abe1da9c06c850f6afa55c7",
- "tarball": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.4.0.tgz"
+ "shasum": "d0225373aeb652adc1bc82e4945339a842754773",
+ "tarball": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz"
},
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
@@ -111,5 +110,5 @@
"scripts": {
"test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\""
},
- "version": "4.4.0"
+ "version": "4.5.0"
}
diff --git a/package.json b/package.json
index 7f9c41738..4fcab8b8b 100644
--- a/package.json
+++ b/package.json
@@ -59,7 +59,7 @@
"lodash._baseuniq": "~4.6.0",
"lodash.clonedeep": "~4.5.0",
"lodash.union": "~4.6.0",
- "lodash.uniq": "~4.4.0",
+ "lodash.uniq": "~4.5.0",
"lodash.without": "~4.3.0",
"mkdirp": "~0.5.1",
"node-gyp": "~3.4.0",