...**/!(*.map|*.min.js)Size
Gzip
Dependencies
Publish
Install
Publish
Install
@@ -1,6 +1,6 @@ | |||
| 1 | { | 1 | { |
| 2 | "name": "lodash", | 2 | "name": "lodash", |
| 3 | "version": "4.14.2", | 3 | "version": "4.15.0", |
| 4 | "description": "Lodash modular utilities.", | 4 | "description": "Lodash modular utilities.", |
| 5 | "keywords": "modules, stdlib, util", | 5 | "keywords": "modules, stdlib, util", |
| 6 | "homepage": "https://lodash.com/", | 6 | "homepage": "https://lodash.com/", |
@@ -1,4 +1,4 @@ | |||
| 1 | # lodash v4.14.2 | 1 | # lodash v4.15.0 |
| 2 | 2 | ||
| 3 | The [Lodash](https://lodash.com/) library exported as [Node.js](https://nodejs.org/) modules. | 3 | The [Lodash](https://lodash.com/) library exported as [Node.js](https://nodejs.org/) modules. |
| 4 | 4 | ||
@@ -28,7 +28,7 @@ | |||
| 28 | var extend = require('lodash/fp/extend'); | 28 | var extend = require('lodash/fp/extend'); |
| 29 | ``` | 29 | ``` |
| 30 | 30 | ||
| 31 | See the [package source](https://github.com/lodash/lodash/tree/4.14.2-npm) for more details. | 31 | See the [package source](https://github.com/lodash/lodash/tree/4.15.0-npm) for more details. |
| 32 | 32 | ||
| 33 | **Note:**<br> | 33 | **Note:**<br> |
| 34 | Don’t assign values to the [special variable](http://nodejs.org/api/repl.html#repl_repl_features) `_` in the Node.js < 6 REPL.<br> | 34 | Don’t assign values to the [special variable](http://nodejs.org/api/repl.html#repl_repl_features) `_` in the Node.js < 6 REPL.<br> |
@@ -13,7 +13,7 @@ | |||
| 13 | var undefined; | 13 | var undefined; |
| 14 | 14 | ||
| 15 | /** Used as the semantic version number. */ | 15 | /** Used as the semantic version number. */ |
| 16 | var VERSION = '4.14.2'; | 16 | var VERSION = '4.15.0'; |
| 17 | 17 | ||
| 18 | /** Used as the `TypeError` message for "Functions" methods. */ | 18 | /** Used as the `TypeError` message for "Functions" methods. */ |
| 19 | var FUNC_ERROR_TEXT = 'Expected a function'; | 19 | var FUNC_ERROR_TEXT = 'Expected a function'; |
@@ -92,7 +92,7 @@ | |||
| 92 | * support for iteratee shorthands. | 92 | * support for iteratee shorthands. |
| 93 | * | 93 | * |
| 94 | * @private | 94 | * @private |
| 95 | * @param {Array} array The array to search. | 95 | * @param {Array} array The array to inspect. |
| 96 | * @param {Function} predicate The function invoked per iteration. | 96 | * @param {Function} predicate The function invoked per iteration. |
| 97 | * @param {number} fromIndex The index to search from. | 97 | * @param {number} fromIndex The index to search from. |
| 98 | * @param {boolean} [fromRight] Specify iterating from right to left. | 98 | * @param {boolean} [fromRight] Specify iterating from right to left. |
@@ -1430,7 +1430,7 @@ | |||
| 1430 | * @memberOf _ | 1430 | * @memberOf _ |
| 1431 | * @since 1.1.0 | 1431 | * @since 1.1.0 |
| 1432 | * @category Array | 1432 | * @category Array |
| 1433 | * @param {Array} array The array to search. | 1433 | * @param {Array} array The array to inspect. |
| 1434 | * @param {Function} [predicate=_.identity] | 1434 | * @param {Function} [predicate=_.identity] |
| 1435 | * The function invoked per iteration. | 1435 | * The function invoked per iteration. |
| 1436 | * @param {number} [fromIndex=0] The index to search from. | 1436 | * @param {number} [fromIndex=0] The index to search from. |
@@ -1540,7 +1540,7 @@ | |||
| 1540 | * @memberOf _ | 1540 | * @memberOf _ |
| 1541 | * @since 0.1.0 | 1541 | * @since 0.1.0 |
| 1542 | * @category Array | 1542 | * @category Array |
| 1543 | * @param {Array} array The array to search. | 1543 | * @param {Array} array The array to inspect. |
| 1544 | * @param {*} value The value to search for. | 1544 | * @param {*} value The value to search for. |
| 1545 | * @param {number} [fromIndex=0] The index to search from. | 1545 | * @param {number} [fromIndex=0] The index to search from. |
| 1546 | * @returns {number} Returns the index of the matched value, else `-1`. | 1546 | * @returns {number} Returns the index of the matched value, else `-1`. |
@@ -1855,7 +1855,7 @@ | |||
| 1855 | * @memberOf _ | 1855 | * @memberOf _ |
| 1856 | * @since 0.1.0 | 1856 | * @since 0.1.0 |
| 1857 | * @category Collection | 1857 | * @category Collection |
| 1858 | * @param {Array|Object} collection The collection to search. | 1858 | * @param {Array|Object} collection The collection to inspect. |
| 1859 | * @param {Function} [predicate=_.identity] | 1859 | * @param {Function} [predicate=_.identity] |
| 1860 | * The function invoked per iteration. | 1860 | * The function invoked per iteration. |
| 1861 | * @param {number} [fromIndex=0] The index to search from. | 1861 | * @param {number} [fromIndex=0] The index to search from. |
@@ -2014,7 +2014,7 @@ | |||
| 2014 | * @memberOf _ | 2014 | * @memberOf _ |
| 2015 | * @since 0.1.0 | 2015 | * @since 0.1.0 |
| 2016 | * @category Collection | 2016 | * @category Collection |
| 2017 | * @param {Array|Object} collection The collection to inspect. | 2017 | * @param {Array|Object|string} collection The collection to inspect. |
| 2018 | * @returns {number} Returns the collection size. | 2018 | * @returns {number} Returns the collection size. |
| 2019 | * @example | 2019 | * @example |
| 2020 | * | 2020 | * |
@@ -2383,7 +2383,7 @@ | |||
| 2383 | * // => false | 2383 | * // => false |
| 2384 | */ | 2384 | */ |
| 2385 | function isArguments(value) { | 2385 | function isArguments(value) { |
| 2386 | // Safari 8.1 incorrectly makes `arguments.callee` enumerable in strict mode. | 2386 | // Safari 8.1 makes `arguments.callee` enumerable in strict mode. |
| 2387 | return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') && | 2387 | return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') && |
| 2388 | (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag); | 2388 | (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag); |
| 2389 | } | 2389 | } |
@@ -2635,8 +2635,7 @@ | |||
| 2635 | */ | 2635 | */ |
| 2636 | function isFunction(value) { | 2636 | function isFunction(value) { |
| 2637 | // The use of `Object#toString` avoids issues with the `typeof` operator | 2637 | // The use of `Object#toString` avoids issues with the `typeof` operator |
| 2638 | // in Safari 8 which returns 'object' for typed array and weak map constructors, | ||
| 2639 | // and PhantomJS 1.9 which returns 'function' for `NodeList` instances. | 2638 | // in Safari 8-9 which returns 'object' for typed array and other constructors. |
| 2640 | var tag = isObject(value) ? objectToString.call(value) : ''; | 2639 | var tag = isObject(value) ? objectToString.call(value) : ''; |
| 2641 | return tag == funcTag || tag == genTag; | 2640 | return tag == funcTag || tag == genTag; |
| 2642 | } | 2641 | } |
@@ -1,8 +1,8 @@ | |||
| 1 | var deburrLetter = require('./_deburrLetter'), | 1 | var deburrLetter = require('./_deburrLetter'), |
| 2 | toString = require('./toString'); | 2 | toString = require('./toString'); |
| 3 | 3 | ||
| 4 | /** Used to match latin-1 supplementary letters (excluding mathematical operators). */ | ||
| 5 | var reLatin1 = /[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g; | 4 | /** Used to match Latin Unicode letters (excluding mathematical operators). */ |
| 5 | var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g; | ||
| 6 | 6 | ||
| 7 | /** Used to compose unicode character classes. */ | 7 | /** Used to compose unicode character classes. */ |
| 8 | var rsComboMarksRange = '\\u0300-\\u036f\\ufe20-\\ufe23', | 8 | var rsComboMarksRange = '\\u0300-\\u036f\\ufe20-\\ufe23', |
@@ -19,8 +19,9 @@ | |||
| 19 | 19 | ||
| 20 | /** | 20 | /** |
| 21 | * Deburrs `string` by converting | 21 | * Deburrs `string` by converting |
| 22 | * [latin-1 supplementary letters](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table) | ||
| 23 | * to basic latin letters and removing | 22 | * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table) |
| 23 | * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A) | ||
| 24 | * letters to basic Latin letters and removing | ||
| 24 | * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks). | 25 | * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks). |
| 25 | * | 26 | * |
| 26 | * @static | 27 | * @static |
@@ -36,7 +37,7 @@ | |||
| 36 | */ | 37 | */ |
| 37 | function deburr(string) { | 38 | function deburr(string) { |
| 38 | string = toString(string); | 39 | string = toString(string); |
| 39 | return string && string.replace(reLatin1, deburrLetter).replace(reComboMark, ''); | 40 | return string && string.replace(reLatin, deburrLetter).replace(reComboMark, ''); |
| 40 | } | 41 | } |
| 41 | 42 | ||
| 42 | module.exports = deburr; | 43 | module.exports = deburr; |
@@ -10,7 +10,7 @@ | |||
| 10 | * @memberOf _ | 10 | * @memberOf _ |
| 11 | * @since 3.0.0 | 11 | * @since 3.0.0 |
| 12 | * @category String | 12 | * @category String |
| 13 | * @param {string} [string=''] The string to search. | 13 | * @param {string} [string=''] The string to inspect. |
| 14 | * @param {string} [target] The string to search for. | 14 | * @param {string} [target] The string to search for. |
| 15 | * @param {number} [position=string.length] The position to search up to. | 15 | * @param {number} [position=string.length] The position to search up to. |
| 16 | * @returns {boolean} Returns `true` if `string` ends with `target`, | 16 | * @returns {boolean} Returns `true` if `string` ends with `target`, |