mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 10:27:49 +00:00
Bump to v4.16.5.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* @license
|
||||
* lodash (Custom Build) <https://lodash.com/>
|
||||
* Build: `lodash modularize exports="es" -o ./`
|
||||
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
|
||||
* Copyright JS Foundation and other contributors <https://js.foundation/>
|
||||
* Released under MIT license <https://lodash.com/license>
|
||||
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
||||
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
||||
@@ -45,7 +45,7 @@ import toInteger from './toInteger.js';
|
||||
import lodash from './wrapperLodash.js';
|
||||
|
||||
/** Used as the semantic version number. */
|
||||
var VERSION = '4.16.4';
|
||||
var VERSION = '4.16.5';
|
||||
|
||||
/** Used to compose bitmasks for function metadata. */
|
||||
var BIND_KEY_FLAG = 2;
|
||||
@@ -65,7 +65,7 @@ var arrayProto = Array.prototype,
|
||||
var hasOwnProperty = objectProto.hasOwnProperty;
|
||||
|
||||
/** Built-in value references. */
|
||||
var iteratorSymbol = Symbol ? Symbol.iterator : undefined;
|
||||
var symIterator = Symbol ? Symbol.iterator : undefined;
|
||||
|
||||
/* Built-in method references for those with the same name as other `lodash` methods. */
|
||||
var nativeMax = Math.max,
|
||||
@@ -636,8 +636,8 @@ lodash.prototype.toJSON = lodash.prototype.valueOf = lodash.prototype.value = se
|
||||
// Add lazy aliases.
|
||||
lodash.prototype.first = lodash.prototype.head;
|
||||
|
||||
if (iteratorSymbol) {
|
||||
lodash.prototype[iteratorSymbol] = seq.toIterator;
|
||||
if (symIterator) {
|
||||
lodash.prototype[symIterator] = seq.toIterator;
|
||||
}
|
||||
|
||||
export default lodash;
|
||||
|
||||
Reference in New Issue
Block a user