lodash.uniq
Advanced tools
Comparing version 4.4.0 to 4.5.0
26
index.js
@@ -25,3 +25,3 @@ /** | ||
* 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). | ||
*/ | ||
@@ -47,3 +47,3 @@ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g; | ||
* @private | ||
* @param {Array} [array] The array to search. | ||
* @param {Array} [array] The array to inspect. | ||
* @param {*} target The value to search for. | ||
@@ -61,3 +61,3 @@ * @returns {boolean} Returns `true` if `target` is found, else `false`. | ||
* @private | ||
* @param {Array} [array] The array to search. | ||
* @param {Array} [array] The array to inspect. | ||
* @param {*} target The value to search for. | ||
@@ -84,3 +84,3 @@ * @param {Function} comparator The comparator invoked per element. | ||
* @private | ||
* @param {Array} array The array to search. | ||
* @param {Array} array The array to inspect. | ||
* @param {Function} predicate The function invoked per iteration. | ||
@@ -107,3 +107,3 @@ * @param {number} fromIndex The index to search from. | ||
* @private | ||
* @param {Array} array The array to search. | ||
* @param {Array} array The array to inspect. | ||
* @param {*} value The value to search for. | ||
@@ -201,2 +201,3 @@ * @param {number} fromIndex The index to search from. | ||
var arrayProto = Array.prototype, | ||
funcProto = Function.prototype, | ||
objectProto = Object.prototype; | ||
@@ -214,3 +215,3 @@ | ||
/** Used to resolve the decompiled source of functions. */ | ||
var funcToString = Function.prototype.toString; | ||
var funcToString = funcProto.toString; | ||
@@ -222,3 +223,3 @@ /** Used to check objects for own properties. */ | ||
* 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. | ||
@@ -600,3 +601,3 @@ */ | ||
* @private | ||
* @param {Array} array The array to search. | ||
* @param {Array} array The array to inspect. | ||
* @param {*} key The key to search for. | ||
@@ -777,3 +778,3 @@ * @returns {number} Returns the index of the matched value, else `-1`. | ||
* 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 | ||
@@ -801,3 +802,3 @@ * element is kept. | ||
* 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. | ||
@@ -855,4 +856,3 @@ * | ||
// 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) : ''; | ||
@@ -864,3 +864,3 @@ 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('')`) | ||
@@ -867,0 +867,0 @@ * |
{ | ||
"name": "lodash.uniq", | ||
"version": "4.4.0", | ||
"version": "4.5.0", | ||
"description": "The lodash method `_.uniq` exported as a module.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/", |
@@ -1,2 +0,2 @@ | ||
# lodash.uniq v4.4.0 | ||
# lodash.uniq v4.5.0 | ||
@@ -18,2 +18,2 @@ The [lodash](https://lodash.com/) method `_.uniq` exported as a [Node.js](https://nodejs.org/) module. | ||
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. |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
25012