From 2a932470303157072015d5ab7f26d40b9deb4634 Mon Sep 17 00:00:00 2001 From: jashkenas Date: Mon, 30 Mar 2020 14:27:32 -0700 Subject: [PATCH] Underscore.js 1.10.2 --- docs/underscore.html | 25 ++++++++++++++++++++----- index.html | 16 +++++++++++++--- modules/index-default.js | 8 ++++++-- modules/index.js | 4 ++-- package.json | 2 +- test/utility.js | 8 ++++++++ underscore-min.js | 4 ++-- underscore-min.js.map | 2 +- underscore.js | 12 +++++++----- underscore.js.map | 2 +- 10 files changed, 61 insertions(+), 22 deletions(-) diff --git a/docs/underscore.html b/docs/underscore.html index d221550bb..3519d2bd2 100644 --- a/docs/underscore.html +++ b/docs/underscore.html @@ -27,7 +27,7 @@

underscore.js

-
Underscore.js 1.10.1
+              
Underscore.js 1.10.2
 https://underscorejs.org
 (c) 2009-2020 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
 Underscore may be freely distributed under the MIT license.
@@ -195,7 +195,7 @@ 

Baseline setup

-
var VERSION = _.VERSION = '1.10.1';
+
var VERSION = _.VERSION = '1.10.2';
@@ -4137,13 +4137,28 @@

OOP

-

Add all of the Underscore functions to the wrapper object and return it.

+

Add all of the Underscore functions to the wrapper object.

-
var indexDefault = mixin(allExports);
+            
var _$1 = mixin(allExports);
+ + + + +
  • +
    + +
    + +
    +

    Legacy Node.js API

    + +
    + +
    _$1._ = _$1;
     
    -export default indexDefault;
    +export default _$1;
     export { VERSION, iteratee, restArguments, each, each as forEach, map, map as collect, reduce, reduce as foldl, reduce as inject, reduceRight, reduceRight as foldr, find, find as detect, filter, filter as select, reject, every, every as all, some, some as any, contains, contains as includes, contains as include, invoke, pluck, where, findWhere, max, min, shuffle, sample, sortBy, groupBy, indexBy, countBy, toArray, size, partition, first, first as head, first as take, initial, last, rest, rest as tail, rest as drop, compact, flatten, without, uniq, uniq as unique, union, intersection, difference, unzip, zip, object, findIndex, findLastIndex, sortedIndex, indexOf, lastIndexOf, range, chunk, bind, partial, bindAll, memoize, delay, defer, throttle, debounce, wrap, negate, compose, after, before, once, keys, allKeys, values, mapObject, pairs, invert, functions, functions as methods, extend, extendOwn, extendOwn as assign, findKey, pick, omit, defaults, create, clone, tap, isMatch, isEqual, isEmpty, isElement, isArray, isObject, isArguments, isFunction, isString, isNumber, isDate, isRegExp, isError, isSymbol, isMap, isWeakMap, isSet, isWeakSet, isFinite, isNaN, isBoolean, isNull, isUndefined, has, identity, constant, noop, property, propertyOf, matcher, matcher as matches, times, random, now, escape, unescape, result, uniqueId, templateSettings, template, chain, mixin };
  • diff --git a/index.html b/index.html index 1671788bf..4453881a9 100644 --- a/index.html +++ b/index.html @@ -186,7 +186,7 @@