diff --git a/README.md b/README.md
index f25e97d97..0095f8504 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# lodash v3.3.0
+# lodash v3.3.1
The [lodash](https://lodash.com/) library exported as [npm packages](https://www.npmjs.com/browse/keyword/lodash-modularized) per method.
diff --git a/lodash._basecallback/LICENSE.txt b/lodash._basecallback/LICENSE
similarity index 100%
rename from lodash._basecallback/LICENSE.txt
rename to lodash._basecallback/LICENSE
diff --git a/lodash._basecallback/README.md b/lodash._basecallback/README.md
index 6a6439fc7..11f1a64b7 100644
--- a/lodash._basecallback/README.md
+++ b/lodash._basecallback/README.md
@@ -1,4 +1,4 @@
-# lodash._basecallback v3.3.0
+# lodash._basecallback v3.3.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseCallback` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var baseCallback = require('lodash._basecallback');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.3.0-npm-packages/lodash._basecallback) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.3.1-npm-packages/lodash._basecallback) for more details.
diff --git a/lodash._basecallback/index.js b/lodash._basecallback/index.js
index 03370a644..cd44f79ee 100644
--- a/lodash._basecallback/index.js
+++ b/lodash._basecallback/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.3.0 (Custom Build)
+ * lodash 3.3.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.8.3
@@ -28,9 +28,6 @@ var reEscapeChar = /\\(\\)?/g;
* @returns {string} Returns the string.
*/
function baseToString(value) {
- if (typeof value == 'string') {
- return value;
- }
return value == null ? '' : (value + '');
}
diff --git a/lodash._basecallback/package.json b/lodash._basecallback/package.json
index 17ab9b9e0..ff39b22de 100644
--- a/lodash._basecallback/package.json
+++ b/lodash._basecallback/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._basecallback",
- "version": "3.3.0",
+ "version": "3.3.1",
"description": "The modern build of lodash’s internal `baseCallback` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._basematchesproperty/README.md b/lodash._basematchesproperty/README.md
index abd41aa88..af52eb140 100644
--- a/lodash._basematchesproperty/README.md
+++ b/lodash._basematchesproperty/README.md
@@ -1,4 +1,4 @@
-# lodash._basematchesproperty v3.3.0
+# lodash._basematchesproperty v3.3.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseMatchesProperty` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var baseMatchesProperty = require('lodash._basematchesproperty');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.3.0-npm-packages/lodash._basematchesproperty) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.3.1-npm-packages/lodash._basematchesproperty) for more details.
diff --git a/lodash._basematchesproperty/index.js b/lodash._basematchesproperty/index.js
index db014189f..501ddd75d 100644
--- a/lodash._basematchesproperty/index.js
+++ b/lodash._basematchesproperty/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.3.0 (Custom Build)
+ * lodash 3.3.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.8.3
@@ -13,7 +13,7 @@ var baseGet = require('lodash._baseget'),
isArray = require('lodash.isarray');
/** Used to match property names within property paths. */
-var reIsDeepProp = /\.|\[(?:[^[\]]+|(["'])(?:(?!\1)[^\n\\]|\\.)*?)\1\]/,
+var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,
reIsPlainProp = /^\w*$/;
/**
@@ -80,7 +80,7 @@ function isKey(value, object) {
* equality comparisons, else `false`.
*/
function isStrictComparable(value) {
- return value === value && (value === 0 ? ((1 / value) > 0) : !isObject(value));
+ return value === value && !isObject(value);
}
/**
diff --git a/lodash._basematchesproperty/package.json b/lodash._basematchesproperty/package.json
index ff554ce34..b59b23dae 100644
--- a/lodash._basematchesproperty/package.json
+++ b/lodash._basematchesproperty/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._basematchesproperty",
- "version": "3.3.0",
+ "version": "3.3.1",
"description": "The modern build of lodash’s internal `baseMatchesProperty` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.callback/LICENSE.txt b/lodash.callback/LICENSE
similarity index 100%
rename from lodash.callback/LICENSE.txt
rename to lodash.callback/LICENSE
diff --git a/lodash.callback/README.md b/lodash.callback/README.md
index f0b599590..926473c46 100644
--- a/lodash.callback/README.md
+++ b/lodash.callback/README.md
@@ -1,4 +1,4 @@
-# lodash.callback v3.3.0
+# lodash.callback v3.3.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.callback` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var callback = require('lodash.callback');
```
-See the [documentation](https://lodash.com/docs#callback) or [package source](https://github.com/lodash/lodash/blob/3.3.0-npm-packages/lodash.callback) for more details.
+See the [documentation](https://lodash.com/docs#callback) or [package source](https://github.com/lodash/lodash/blob/3.3.1-npm-packages/lodash.callback) for more details.
diff --git a/lodash.callback/index.js b/lodash.callback/index.js
index e695058b9..e36e5f2d3 100644
--- a/lodash.callback/index.js
+++ b/lodash.callback/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.3.0 (Custom Build)
+ * lodash 3.3.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.8.3
@@ -62,7 +62,7 @@ function isObjectLike(value) {
*/
function callback(func, thisArg, guard) {
if (guard && isIterateeCall(func, thisArg, guard)) {
- thisArg = null;
+ thisArg = undefined;
}
return isObjectLike(func)
? matches(func)
diff --git a/lodash.callback/package.json b/lodash.callback/package.json
index ace82beb3..f6f134001 100644
--- a/lodash.callback/package.json
+++ b/lodash.callback/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.callback",
- "version": "3.3.0",
+ "version": "3.3.1",
"description": "The modern build of lodash’s `_.callback` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.fill/README.md b/lodash.fill/README.md
index 8a7092b44..fd93c39f1 100644
--- a/lodash.fill/README.md
+++ b/lodash.fill/README.md
@@ -1,4 +1,4 @@
-# lodash.fill v3.3.0
+# lodash.fill v3.3.1
The [lodash](https://lodash.com/) method `_.fill` exported as a [Node.js](https://nodejs.org/) module.
@@ -15,4 +15,4 @@ In Node.js:
var fill = require('lodash.fill');
```
-See the [documentation](https://lodash.com/docs#fill) or [package source](https://github.com/lodash/lodash/blob/3.3.0-npm-packages/lodash.fill) for more details.
+See the [documentation](https://lodash.com/docs#fill) or [package source](https://github.com/lodash/lodash/blob/3.3.1-npm-packages/lodash.fill) for more details.
diff --git a/lodash.fill/index.js b/lodash.fill/index.js
index 36b3a22e6..e01935e24 100644
--- a/lodash.fill/index.js
+++ b/lodash.fill/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.3.0 (Custom Build)
+ * lodash 3.3.1 (Custom Build)
* Build: `lodash modularize exports="npm" -o ./`
* Copyright 2012-2016 The Dojo Foundation
* Based on Underscore.js 1.8.3
@@ -35,7 +35,7 @@ var reIsOctal = /^0o[0-7]+$/i;
/** Used to detect unsigned integer values. */
var reIsUint = /^(?:0|[1-9]\d*)$/;
-/** Built-in method references without a dependency on `global`. */
+/** Built-in method references without a dependency on `root`. */
var freeParseInt = parseInt;
/**
@@ -53,7 +53,7 @@ function isIndex(value, length) {
}
/** Used for built-in method references. */
-var objectProto = global.Object.prototype;
+var objectProto = Object.prototype;
/**
* Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
@@ -136,7 +136,7 @@ function baseProperty(key) {
var getLength = baseProperty('length');
/**
- * Checks if the provided arguments are from an iteratee call.
+ * Checks if the given arguments are from an iteratee call.
*
* @private
* @param {*} value The potential iteratee value argument.
diff --git a/lodash.fill/package.json b/lodash.fill/package.json
index ec0a071b2..e438341aa 100644
--- a/lodash.fill/package.json
+++ b/lodash.fill/package.json
@@ -1,11 +1,11 @@
{
"name": "lodash.fill",
- "version": "3.3.0",
+ "version": "3.3.1",
"description": "The lodash method `_.fill` exported as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
"license": "MIT",
- "keywords": "lodash, lodash-modularized, stdlib, util, fill",
+ "keywords": "lodash-modularized, fill",
"author": "John-David Dalton (http://allyoucanleet.com/)",
"contributors": [
"John-David Dalton (http://allyoucanleet.com/)",
diff --git a/lodash.inrange/LICENSE.txt b/lodash.inrange/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.inrange/LICENSE.txt
+++ b/lodash.inrange/LICENSE.txt
@@ -1,5 +1,5 @@
Copyright 2012-2015 The Dojo Foundation
-Based on Underscore.js 1.7.0, copyright 2009-2015 Jeremy Ashkenas,
+Based on Underscore.js, copyright 2009-2015 Jeremy Ashkenas,
DocumentCloud and Investigative Reporters & Editors
Permission is hereby granted, free of charge, to any person obtaining
diff --git a/lodash.inrange/README.md b/lodash.inrange/README.md
index aafc633ad..bd4caba98 100644
--- a/lodash.inrange/README.md
+++ b/lodash.inrange/README.md
@@ -1,4 +1,4 @@
-# lodash.inrange v3.3.0
+# lodash.inrange v3.3.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.inRange` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var inRange = require('lodash.inrange');
```
-See the [documentation](https://lodash.com/docs#inRange) or [package source](https://github.com/lodash/lodash/blob/3.3.0-npm-packages/lodash.inrange) for more details.
+See the [documentation](https://lodash.com/docs#inRange) or [package source](https://github.com/lodash/lodash/blob/3.3.1-npm-packages/lodash.inrange) for more details.
diff --git a/lodash.inrange/index.js b/lodash.inrange/index.js
index 4e7a9797d..f08e5017d 100644
--- a/lodash.inrange/index.js
+++ b/lodash.inrange/index.js
@@ -1,15 +1,19 @@
/**
- * lodash 3.3.0 (Custom Build)
+ * lodash 3.3.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
- * Based on Underscore.js 1.7.0
+ * Based on Underscore.js 1.8.3
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license
*/
+/* Native method references for those with the same name as other `lodash` methods. */
+var nativeMax = Math.max,
+ nativeMin = Math.min;
+
/**
* Checks if `n` is between `start` and up to but not including, `end`. If
- * `end` is not specified it defaults to `start` with `start` becoming `0`.
+ * `end` is not specified it is set to `start` with `start` then set to `0`.
*
* @static
* @memberOf _
@@ -46,7 +50,7 @@ function inRange(value, start, end) {
} else {
end = +end || 0;
}
- return value >= start && value < end;
+ return value >= nativeMin(start, end) && value < nativeMax(start, end);
}
module.exports = inRange;
diff --git a/lodash.inrange/package.json b/lodash.inrange/package.json
index 622497f03..317ac856b 100644
--- a/lodash.inrange/package.json
+++ b/lodash.inrange/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.inrange",
- "version": "3.3.0",
+ "version": "3.3.1",
"description": "The modern build of lodash’s `_.inRange` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.isfinite/LICENSE b/lodash.isfinite/LICENSE
index b054ca5a3..bcbe13d67 100644
--- a/lodash.isfinite/LICENSE
+++ b/lodash.isfinite/LICENSE
@@ -1,22 +1,23 @@
+The MIT License (MIT)
+
Copyright 2012-2016 The Dojo Foundation
Based on Underscore.js, copyright 2009-2016 Jeremy Ashkenas,
DocumentCloud and Investigative Reporters & Editors
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/lodash.isfinite/README.md b/lodash.isfinite/README.md
index 93a2711e8..1c75fc202 100644
--- a/lodash.isfinite/README.md
+++ b/lodash.isfinite/README.md
@@ -1,4 +1,4 @@
-# lodash.isfinite v3.3.0
+# lodash.isfinite v3.3.1
The [lodash](https://lodash.com/) method `_.isFinite` exported as a [Node.js](https://nodejs.org/) module.
@@ -15,4 +15,4 @@ In Node.js:
var isFinite = require('lodash.isfinite');
```
-See the [documentation](https://lodash.com/docs#isFinite) or [package source](https://github.com/lodash/lodash/blob/3.3.0-npm-packages/lodash.isfinite) for more details.
+See the [documentation](https://lodash.com/docs#isFinite) or [package source](https://github.com/lodash/lodash/blob/3.3.1-npm-packages/lodash.isfinite) for more details.
diff --git a/lodash.isfinite/index.js b/lodash.isfinite/index.js
index f074e12fc..32b599917 100644
--- a/lodash.isfinite/index.js
+++ b/lodash.isfinite/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.3.0 (Custom Build)
+ * lodash (Custom Build)
* Build: `lodash modularize exports="npm" -o ./`
* Copyright 2012-2016 The Dojo Foundation
* Based on Underscore.js 1.8.3
@@ -14,26 +14,29 @@ var nativeIsFinite = root.isFinite;
/**
* Checks if `value` is a finite primitive number.
*
- * **Note:** This method is based on [`Number.isFinite`](https://mdn.io/Number/isFinite).
+ * **Note:** This method is based on
+ * [`Number.isFinite`](https://mdn.io/Number/isFinite).
*
* @static
* @memberOf _
+ * @since 0.1.0
* @category Lang
* @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.
+ * @returns {boolean} Returns `true` if `value` is a finite number,
+ * else `false`.
* @example
*
* _.isFinite(3);
* // => true
*
- * _.isFinite(Number.MAX_VALUE);
- * // => true
- *
- * _.isFinite(3.14);
+ * _.isFinite(Number.MIN_VALUE);
* // => true
*
* _.isFinite(Infinity);
* // => false
+ *
+ * _.isFinite('3');
+ * // => false
*/
function isFinite(value) {
return typeof value == 'number' && nativeIsFinite(value);
diff --git a/lodash.isfinite/package.json b/lodash.isfinite/package.json
index f42b57469..e4d7378e4 100644
--- a/lodash.isfinite/package.json
+++ b/lodash.isfinite/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.isfinite",
- "version": "3.3.0",
+ "version": "3.3.1",
"description": "The lodash method `_.isFinite` exported as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
@@ -9,12 +9,12 @@
"author": "John-David Dalton (http://allyoucanleet.com/)",
"contributors": [
"John-David Dalton (http://allyoucanleet.com/)",
- "Blaine Bublitz (https://github.com/phated)",
+ "Blaine Bublitz (https://github.com/phated)",
"Mathias Bynens (https://mathiasbynens.be/)"
],
"repository": "lodash/lodash",
"scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" },
"dependencies": {
- "lodash._root": "^3.0.0"
+ "lodash._root": "~3.0.0"
}
}
diff --git a/lodash.max/README.md b/lodash.max/README.md
index db2a2cb16..f99b3e078 100644
--- a/lodash.max/README.md
+++ b/lodash.max/README.md
@@ -1,4 +1,4 @@
-# lodash.max v3.3.0
+# lodash.max v3.3.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.max` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var max = require('lodash.max');
```
-See the [documentation](https://lodash.com/docs#max) or [package source](https://github.com/lodash/lodash/blob/3.3.0-npm-packages/lodash.max) for more details.
+See the [documentation](https://lodash.com/docs#max) or [package source](https://github.com/lodash/lodash/blob/3.3.1-npm-packages/lodash.max) for more details.
diff --git a/lodash.max/index.js b/lodash.max/index.js
index 0a6daef27..23ce046af 100644
--- a/lodash.max/index.js
+++ b/lodash.max/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.3.0 (Custom Build)
+ * lodash 3.3.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.8.3
@@ -10,11 +10,13 @@ var baseCallback = require('lodash._basecallback'),
baseEach = require('lodash._baseeach'),
isIterateeCall = require('lodash._isiterateecall'),
toIterable = require('lodash._toiterable'),
- gt = require('lodash.gt'),
- keys = require('lodash.keys');
+ gt = require('lodash.gt');
+
+/** Used as references for `-Infinity` and `Infinity`. */
+var NEGATIVE_INFINITY = Number.NEGATIVE_INFINITY;
/**
- * A specialized version of `baseExtremum` for arrays whichs invokes `iteratee`
+ * A specialized version of `baseExtremum` for arrays which invokes `iteratee`
* with one argument: (value).
*
* @private
@@ -140,6 +142,6 @@ function createExtremum(comparator, exValue) {
* _.max(users, 'age');
* // => { 'user': 'fred', 'age': 40 }
*/
-var max = createExtremum(gt, -Infinity);
+var max = createExtremum(gt, NEGATIVE_INFINITY);
module.exports = max;
diff --git a/lodash.max/package.json b/lodash.max/package.json
index 1d27046bb..d885aba36 100644
--- a/lodash.max/package.json
+++ b/lodash.max/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.max",
- "version": "3.3.0",
+ "version": "3.3.1",
"description": "The modern build of lodash’s `_.max` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.merge/README.md b/lodash.merge/README.md
index 3bd70b8b5..b4b8ecf54 100644
--- a/lodash.merge/README.md
+++ b/lodash.merge/README.md
@@ -1,4 +1,4 @@
-# lodash.merge v3.3.0
+# lodash.merge v3.3.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.merge` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var merge = require('lodash.merge');
```
-See the [documentation](https://lodash.com/docs#merge) or [package source](https://github.com/lodash/lodash/blob/3.3.0-npm-packages/lodash.merge) for more details.
+See the [documentation](https://lodash.com/docs#merge) or [package source](https://github.com/lodash/lodash/blob/3.3.1-npm-packages/lodash.merge) for more details.
diff --git a/lodash.merge/index.js b/lodash.merge/index.js
index e269b7c0a..74f2ff996 100644
--- a/lodash.merge/index.js
+++ b/lodash.merge/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.3.0 (Custom Build)
+ * lodash 3.3.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.8.3
@@ -9,13 +9,11 @@
var arrayCopy = require('lodash._arraycopy'),
arrayEach = require('lodash._arrayeach'),
createAssigner = require('lodash._createassigner'),
- getNative = require('lodash._getnative'),
isArguments = require('lodash.isarguments'),
isArray = require('lodash.isarray'),
isPlainObject = require('lodash.isplainobject'),
isTypedArray = require('lodash.istypedarray'),
keys = require('lodash.keys'),
- keysIn = require('lodash.keysin'),
toPlainObject = require('lodash.toplainobject');
/**
diff --git a/lodash.merge/package.json b/lodash.merge/package.json
index 996ed8967..1a949a389 100644
--- a/lodash.merge/package.json
+++ b/lodash.merge/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.merge",
- "version": "3.3.0",
+ "version": "3.3.1",
"description": "The modern build of lodash’s `_.merge` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.min/README.md b/lodash.min/README.md
index 50352bceb..d9998bb77 100644
--- a/lodash.min/README.md
+++ b/lodash.min/README.md
@@ -1,4 +1,4 @@
-# lodash.min v3.3.0
+# lodash.min v3.3.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.min` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var min = require('lodash.min');
```
-See the [documentation](https://lodash.com/docs#min) or [package source](https://github.com/lodash/lodash/blob/3.3.0-npm-packages/lodash.min) for more details.
+See the [documentation](https://lodash.com/docs#min) or [package source](https://github.com/lodash/lodash/blob/3.3.1-npm-packages/lodash.min) for more details.
diff --git a/lodash.min/index.js b/lodash.min/index.js
index 4945f6144..dbc19ed66 100644
--- a/lodash.min/index.js
+++ b/lodash.min/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.3.0 (Custom Build)
+ * lodash 3.3.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.8.3
@@ -10,11 +10,13 @@ var baseCallback = require('lodash._basecallback'),
baseEach = require('lodash._baseeach'),
isIterateeCall = require('lodash._isiterateecall'),
toIterable = require('lodash._toiterable'),
- keys = require('lodash.keys'),
lt = require('lodash.lt');
+/** Used as references for `-Infinity` and `Infinity`. */
+var POSITIVE_INFINITY = Number.POSITIVE_INFINITY;
+
/**
- * A specialized version of `baseExtremum` for arrays whichs invokes `iteratee`
+ * A specialized version of `baseExtremum` for arrays which invokes `iteratee`
* with one argument: (value).
*
* @private
@@ -140,6 +142,6 @@ function createExtremum(comparator, exValue) {
* _.min(users, 'age');
* // => { 'user': 'barney', 'age': 36 }
*/
-var min = createExtremum(lt, Infinity);
+var min = createExtremum(lt, POSITIVE_INFINITY);
module.exports = min;
diff --git a/lodash.min/package.json b/lodash.min/package.json
index d50cd86cb..0a9d55ce5 100644
--- a/lodash.min/package.json
+++ b/lodash.min/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.min",
- "version": "3.3.0",
+ "version": "3.3.1",
"description": "The modern build of lodash’s `_.min` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.template/README.md b/lodash.template/README.md
index 10dcf771b..453e40763 100644
--- a/lodash.template/README.md
+++ b/lodash.template/README.md
@@ -1,4 +1,4 @@
-# lodash.template v3.3.0
+# lodash.template v3.3.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.template` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var template = require('lodash.template');
```
-See the [documentation](https://lodash.com/docs#template) or [package source](https://github.com/lodash/lodash/blob/3.3.0-npm-packages/lodash.template) for more details.
+See the [documentation](https://lodash.com/docs#template) or [package source](https://github.com/lodash/lodash/blob/3.3.1-npm-packages/lodash.template) for more details.
diff --git a/lodash.template/index.js b/lodash.template/index.js
index 39e416e06..d951dae3b 100644
--- a/lodash.template/index.js
+++ b/lodash.template/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.3.0 (Custom Build)
+ * lodash 3.3.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
- * Based on Underscore.js 1.7.0
+ * Based on Underscore.js 1.8.2
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license
*/
@@ -372,14 +372,14 @@ function template(string, options, otherOptions) {
* }
*/
function attempt() {
- var length = arguments.length,
- func = arguments[0];
+ var func = arguments[0],
+ length = arguments.length,
+ args = Array(length ? length - 1 : 0);
+ while (--length > 0) {
+ args[length - 1] = arguments[length];
+ }
try {
- var args = Array(length ? length - 1 : 0);
- while (--length > 0) {
- args[length - 1] = arguments[length];
- }
return func.apply(undefined, args);
} catch(e) {
return isError(e) ? e : new Error(e);
diff --git a/lodash.template/package.json b/lodash.template/package.json
index e363252b1..0170405e0 100644
--- a/lodash.template/package.json
+++ b/lodash.template/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.template",
- "version": "3.3.0",
+ "version": "3.3.1",
"description": "The modern build of lodash’s `_.template` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.unzip/README.md b/lodash.unzip/README.md
index 959fe44ff..36a1bb0ec 100644
--- a/lodash.unzip/README.md
+++ b/lodash.unzip/README.md
@@ -1,4 +1,4 @@
-# lodash.unzip v3.3.0
+# lodash.unzip v3.3.1
The [lodash](https://lodash.com/) method `_.unzip` exported as a [Node.js](https://nodejs.org/) module.
@@ -15,4 +15,4 @@ In Node.js:
var unzip = require('lodash.unzip');
```
-See the [documentation](https://lodash.com/docs#unzip) or [package source](https://github.com/lodash/lodash/blob/3.3.0-npm-packages/lodash.unzip) for more details.
+See the [documentation](https://lodash.com/docs#unzip) or [package source](https://github.com/lodash/lodash/blob/3.3.1-npm-packages/lodash.unzip) for more details.
diff --git a/lodash.unzip/index.js b/lodash.unzip/index.js
index c2a9d6632..a59015cb5 100644
--- a/lodash.unzip/index.js
+++ b/lodash.unzip/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.3.0 (Custom Build)
+ * lodash (Custom Build)
* Build: `lodash modularize exports="npm" -o ./`
* Copyright 2012-2016 The Dojo Foundation
* Based on Underscore.js 1.8.3
@@ -26,13 +26,13 @@ var funcTag = '[object Function]',
function arrayFilter(array, predicate) {
var index = -1,
length = array.length,
- resIndex = -1,
+ resIndex = 0,
result = [];
while (++index < length) {
var value = array[index];
if (predicate(value, index, array)) {
- result[++resIndex] = value;
+ result[resIndex++] = value;
}
}
return result;
@@ -81,7 +81,8 @@ function baseTimes(n, iteratee) {
var objectProto = Object.prototype;
/**
- * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
+ * Used to resolve the
+ * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
* of values.
*/
var objectToString = objectProto.toString;
@@ -94,7 +95,7 @@ var nativeMax = Math.max;
*
* @private
* @param {string} key The key of the property to get.
- * @returns {Function} Returns the new function.
+ * @returns {Function} Returns the new accessor function.
*/
function baseProperty(key) {
return function(object) {
@@ -105,8 +106,9 @@ function baseProperty(key) {
/**
* Gets the "length" property value of `object`.
*
- * **Note:** This function is used to avoid a [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792)
- * that affects Safari on at least iOS 8.1-8.3 ARM64.
+ * **Note:** This function is used to avoid a
+ * [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792) that affects
+ * Safari on at least iOS 8.1-8.3 ARM64.
*
* @private
* @param {Object} object The object to query.
@@ -121,6 +123,7 @@ var getLength = baseProperty('length');
*
* @static
* @memberOf _
+ * @since 1.2.0
* @category Array
* @param {Array} array The array of grouped elements to process.
* @returns {Array} Returns the new array of regrouped elements.
@@ -155,6 +158,7 @@ function unzip(array) {
*
* @static
* @memberOf _
+ * @since 4.0.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
@@ -173,8 +177,7 @@ function unzip(array) {
* // => false
*/
function isArrayLike(value) {
- return value != null &&
- !(typeof value == 'function' && isFunction(value)) && isLength(getLength(value));
+ return value != null && isLength(getLength(value)) && !isFunction(value);
}
/**
@@ -183,9 +186,11 @@ function isArrayLike(value) {
*
* @static
* @memberOf _
+ * @since 4.0.0
* @category Lang
* @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is an array-like object, else `false`.
+ * @returns {boolean} Returns `true` if `value` is an array-like object,
+ * else `false`.
* @example
*
* _.isArrayLikeObject([1, 2, 3]);
@@ -209,9 +214,11 @@ function isArrayLikeObject(value) {
*
* @static
* @memberOf _
+ * @since 0.1.0
* @category Lang
* @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.
+ * @returns {boolean} Returns `true` if `value` is correctly classified,
+ * else `false`.
* @example
*
* _.isFunction(_);
@@ -222,8 +229,8 @@ function isArrayLikeObject(value) {
*/
function isFunction(value) {
// The use of `Object#toString` avoids issues with the `typeof` operator
- // in Safari 8 which returns 'object' for typed array constructors, and
- // PhantomJS 1.9 which returns 'function' for `NodeList` instances.
+ // in Safari 8 which returns 'object' for typed array and weak map constructors,
+ // and PhantomJS 1.9 which returns 'function' for `NodeList` instances.
var tag = isObject(value) ? objectToString.call(value) : '';
return tag == funcTag || tag == genTag;
}
@@ -231,13 +238,16 @@ function isFunction(value) {
/**
* Checks if `value` is a valid array-like length.
*
- * **Note:** This function is loosely based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).
+ * **Note:** This function is loosely based on
+ * [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).
*
* @static
* @memberOf _
+ * @since 4.0.0
* @category Lang
* @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
+ * @returns {boolean} Returns `true` if `value` is a valid length,
+ * else `false`.
* @example
*
* _.isLength(3);
@@ -258,11 +268,13 @@ function isLength(value) {
}
/**
- * Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.
- * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
+ * Checks if `value` is the
+ * [language type](http://www.ecma-international.org/ecma-262/6.0/#sec-ecmascript-language-types)
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
*
* @static
* @memberOf _
+ * @since 0.1.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
@@ -291,6 +303,7 @@ function isObject(value) {
*
* @static
* @memberOf _
+ * @since 4.0.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
diff --git a/lodash.unzip/package.json b/lodash.unzip/package.json
index d58ebdd92..7f7eaf5ab 100644
--- a/lodash.unzip/package.json
+++ b/lodash.unzip/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.unzip",
- "version": "3.3.0",
+ "version": "3.3.1",
"description": "The lodash method `_.unzip` exported as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
@@ -9,7 +9,7 @@
"author": "John-David Dalton (http://allyoucanleet.com/)",
"contributors": [
"John-David Dalton (http://allyoucanleet.com/)",
- "Blaine Bublitz (https://github.com/phated)",
+ "Blaine Bublitz (https://github.com/phated)",
"Mathias Bynens (https://mathiasbynens.be/)"
],
"repository": "lodash/lodash",