...**/!(*.map|*.min.js)Size
Gzip
Dependencies
Publish
Install
@@ -1,4 +1,4 @@ | ||
| 1 | # lodash v4.14.2 | |
| 1 | # lodash v4.15.0 | |
| 2 | 2 | |
| 3 | 3 | The [Lodash](https://lodash.com/) library exported as [Node.js](https://nodejs.org/) modules. |
| 4 | 4 | |
@@ -28,7 +28,7 @@ | ||
| 28 | 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 | 33 | **Note:**<br> |
| 34 | 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 | 13 | var undefined; |
| 14 | 14 | |
| 15 | 15 | /** Used as the semantic version number. */ |
| 16 | var VERSION = '4.14.2'; | |
| 16 | var VERSION = '4.15.0'; | |
| 17 | 17 | |
| 18 | 18 | /** Used as the `TypeError` message for "Functions" methods. */ |
| 19 | 19 | var FUNC_ERROR_TEXT = 'Expected a function'; |
@@ -92,7 +92,7 @@ | ||
| 92 | 92 | * support for iteratee shorthands. |
| 93 | 93 | * |
| 94 | 94 | * @private |
| 95 | * @param {Array} array The array to search. | |
| 95 | * @param {Array} array The array to inspect. | |
| 96 | 96 | * @param {Function} predicate The function invoked per iteration. |
| 97 | 97 | * @param {number} fromIndex The index to search from. |
| 98 | 98 | * @param {boolean} [fromRight] Specify iterating from right to left. |
@@ -1430,7 +1430,7 @@ | ||
| 1430 | 1430 | * @memberOf _ |
| 1431 | 1431 | * @since 1.1.0 |
| 1432 | 1432 | * @category Array |
| 1433 | * @param {Array} array The array to search. | |
| 1433 | * @param {Array} array The array to inspect. | |
| 1434 | 1434 | * @param {Function} [predicate=_.identity] |
| 1435 | 1435 | * The function invoked per iteration. |
| 1436 | 1436 | * @param {number} [fromIndex=0] The index to search from. |
@@ -1540,7 +1540,7 @@ | ||
| 1540 | 1540 | * @memberOf _ |
| 1541 | 1541 | * @since 0.1.0 |
| 1542 | 1542 | * @category Array |
| 1543 | * @param {Array} array The array to search. | |
| 1543 | * @param {Array} array The array to inspect. | |
| 1544 | 1544 | * @param {*} value The value to search for. |
| 1545 | 1545 | * @param {number} [fromIndex=0] The index to search from. |
| 1546 | 1546 | * @returns {number} Returns the index of the matched value, else `-1`. |
@@ -1855,7 +1855,7 @@ | ||
| 1855 | 1855 | * @memberOf _ |
| 1856 | 1856 | * @since 0.1.0 |
| 1857 | 1857 | * @category Collection |
| 1858 | * @param {Array|Object} collection The collection to search. | |
| 1858 | * @param {Array|Object} collection The collection to inspect. | |
| 1859 | 1859 | * @param {Function} [predicate=_.identity] |
| 1860 | 1860 | * The function invoked per iteration. |
| 1861 | 1861 | * @param {number} [fromIndex=0] The index to search from. |
@@ -2014,7 +2014,7 @@ | ||
| 2014 | 2014 | * @memberOf _ |
| 2015 | 2015 | * @since 0.1.0 |
| 2016 | 2016 | * @category Collection |
| 2017 | * @param {Array|Object} collection The collection to inspect. | |
| 2017 | * @param {Array|Object|string} collection The collection to inspect. | |
| 2018 | 2018 | * @returns {number} Returns the collection size. |
| 2019 | 2019 | * @example |
| 2020 | 2020 | * |
@@ -2383,7 +2383,7 @@ | ||
| 2383 | 2383 | * // => false |
| 2384 | 2384 | */ |
| 2385 | 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 | 2387 | return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') && |
| 2388 | 2388 | (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag); |
| 2389 | 2389 | } |
@@ -2635,8 +2635,7 @@ | ||
| 2635 | 2635 | */ |
| 2636 | 2636 | function isFunction(value) { |
| 2637 | 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 | 2639 | var tag = isObject(value) ? objectToString.call(value) : ''; |
| 2641 | 2640 | return tag == funcTag || tag == genTag; |
| 2642 | 2641 | } |
@@ -1,8 +1,8 @@ | ||
| 1 | 1 | var deburrLetter = require('./_deburrLetter'), |
| 2 | 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 | 7 | /** Used to compose unicode character classes. */ |
| 8 | 8 | var rsComboMarksRange = '\\u0300-\\u036f\\ufe20-\\ufe23', |
@@ -19,8 +19,9 @@ | ||
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 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 | 25 | * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks). |
| 25 | 26 | * |
| 26 | 27 | * @static |
@@ -36,7 +37,7 @@ | ||
| 36 | 37 | */ |
| 37 | 38 | function deburr(string) { |
| 38 | 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 | 43 | module.exports = deburr; |
@@ -10,7 +10,7 @@ | ||
| 10 | 10 | * @memberOf _ |
| 11 | 11 | * @since 3.0.0 |
| 12 | 12 | * @category String |
| 13 | * @param {string} [string=''] The string to search. | |
| 13 | * @param {string} [string=''] The string to inspect. | |
| 14 | 14 | * @param {string} [target] The string to search for. |
| 15 | 15 | * @param {number} [position=string.length] The position to search up to. |
| 16 | 16 | * @returns {boolean} Returns `true` if `string` ends with `target`, |
Publish
Install