diff --git a/README.md b/README.md
index 82f802ed9..a06a93a2e 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# lodash v3.0.0
+# lodash v3.0.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._arraymax/README.md b/lodash._arraymax/README.md
deleted file mode 100644
index d6dbb5066..000000000
--- a/lodash._arraymax/README.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# lodash._arraymax v3.0.0
-
-The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `arrayMax` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
-
-## Installation
-
-Using npm:
-
-```bash
-$ {sudo -H} npm i -g npm
-$ npm i --save lodash._arraymax
-```
-
-In Node.js/io.js:
-
-```js
-var arrayMax = require('lodash._arraymax');
-```
-
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._arraymax) for more details.
diff --git a/lodash._arraymax/index.js b/lodash._arraymax/index.js
deleted file mode 100644
index 42651d44a..000000000
--- a/lodash._arraymax/index.js
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * lodash 3.0.0 (Custom Build)
- * Build: `lodash modern modularize exports="npm" -o ./`
- * Copyright 2012-2015 The Dojo Foundation
- * Based on Underscore.js 1.7.0
- * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- * Available under MIT license
- */
-
-/** Used as references for `-Infinity` and `Infinity`. */
-var NEGATIVE_INFINITY = Number.NEGATIVE_INFINITY;
-
-/**
- * A specialized version of `_.max` for arrays without support for iteratees.
- *
- * @private
- * @param {Array} array The array to iterate over.
- * @returns {*} Returns the maximum value.
- */
-function arrayMax(array) {
- var index = -1,
- length = array.length,
- result = NEGATIVE_INFINITY;
-
- while (++index < length) {
- var value = array[index];
- if (value > result) {
- result = value;
- }
- }
- return result;
-}
-
-module.exports = arrayMax;
diff --git a/lodash._arraymax/package.json b/lodash._arraymax/package.json
deleted file mode 100644
index 9cc040078..000000000
--- a/lodash._arraymax/package.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "name": "lodash._arraymax",
- "version": "3.0.0",
- "description": "The modern build of lodash’s internal `arrayMax` as a module.",
- "homepage": "https://lodash.com/",
- "icon": "https://lodash.com/icon.svg",
- "license": "MIT",
- "author": "John-David Dalton (http://allyoucanleet.com/)",
- "contributors": [
- "John-David Dalton (http://allyoucanleet.com/)",
- "Benjamin Tan (https://d10.github.io/)",
- "Blaine Bublitz (http://www.iceddev.com/)",
- "Kit Cambridge (http://kitcambridge.be/)",
- "Mathias Bynens (https://mathiasbynens.be/)"
- ],
- "repository": "lodash/lodash",
- "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" }
-}
diff --git a/lodash._arraymin/README.md b/lodash._arraymin/README.md
deleted file mode 100644
index af70ae314..000000000
--- a/lodash._arraymin/README.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# lodash._arraymin v3.0.0
-
-The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `arrayMin` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
-
-## Installation
-
-Using npm:
-
-```bash
-$ {sudo -H} npm i -g npm
-$ npm i --save lodash._arraymin
-```
-
-In Node.js/io.js:
-
-```js
-var arrayMin = require('lodash._arraymin');
-```
-
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._arraymin) for more details.
diff --git a/lodash._arraymin/index.js b/lodash._arraymin/index.js
deleted file mode 100644
index f6f8cd581..000000000
--- a/lodash._arraymin/index.js
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * lodash 3.0.0 (Custom Build)
- * Build: `lodash modern modularize exports="npm" -o ./`
- * Copyright 2012-2015 The Dojo Foundation
- * Based on Underscore.js 1.7.0
- * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- * Available under MIT license
- */
-
-/** Used as references for `-Infinity` and `Infinity`. */
-var POSITIVE_INFINITY = Number.POSITIVE_INFINITY;
-
-/**
- * A specialized version of `_.min` for arrays without support for iteratees.
- *
- * @private
- * @param {Array} array The array to iterate over.
- * @returns {*} Returns the minimum value.
- */
-function arrayMin(array) {
- var index = -1,
- length = array.length,
- result = POSITIVE_INFINITY;
-
- while (++index < length) {
- var value = array[index];
- if (value < result) {
- result = value;
- }
- }
- return result;
-}
-
-module.exports = arrayMin;
diff --git a/lodash._arraymin/package.json b/lodash._arraymin/package.json
deleted file mode 100644
index e5ad57481..000000000
--- a/lodash._arraymin/package.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "name": "lodash._arraymin",
- "version": "3.0.0",
- "description": "The modern build of lodash’s internal `arrayMin` as a module.",
- "homepage": "https://lodash.com/",
- "icon": "https://lodash.com/icon.svg",
- "license": "MIT",
- "author": "John-David Dalton (http://allyoucanleet.com/)",
- "contributors": [
- "John-David Dalton (http://allyoucanleet.com/)",
- "Benjamin Tan (https://d10.github.io/)",
- "Blaine Bublitz (http://www.iceddev.com/)",
- "Kit Cambridge (http://kitcambridge.be/)",
- "Mathias Bynens (https://mathiasbynens.be/)"
- ],
- "repository": "lodash/lodash",
- "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" }
-}
diff --git a/lodash._baseassign/README.md b/lodash._baseassign/README.md
index bb8fff7b5..7646a8e19 100644
--- a/lodash._baseassign/README.md
+++ b/lodash._baseassign/README.md
@@ -1,4 +1,4 @@
-# lodash._baseassign v3.0.0
+# lodash._baseassign v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseAssign` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var baseAssign = require('lodash._baseassign');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._baseassign) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._baseassign) for more details.
diff --git a/lodash._baseassign/index.js b/lodash._baseassign/index.js
index 342e7299a..c7df9f352 100644
--- a/lodash._baseassign/index.js
+++ b/lodash._baseassign/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.7.0
@@ -25,7 +25,7 @@ function baseAssign(object, source, customizer) {
return baseCopy(source, object, props);
}
var index = -1,
- length = props.length
+ length = props.length;
while (++index < length) {
var key = props[index],
diff --git a/lodash._baseassign/package.json b/lodash._baseassign/package.json
index 1140367bf..d3e953d6c 100644
--- a/lodash._baseassign/package.json
+++ b/lodash._baseassign/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._baseassign",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `baseAssign` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._baseat/LICENSE.txt b/lodash._baseat/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash._baseat/LICENSE.txt
+++ b/lodash._baseat/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._baseat/README.md b/lodash._baseat/README.md
index a8ffbc221..394f71743 100644
--- a/lodash._baseat/README.md
+++ b/lodash._baseat/README.md
@@ -1,4 +1,4 @@
-# lodash._baseat v3.0.0
+# lodash._baseat v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseAt` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var baseAt = require('lodash._baseat');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._baseat) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._baseat) for more details.
diff --git a/lodash._baseat/index.js b/lodash._baseat/index.js
index 12941263d..99d485cc1 100644
--- a/lodash._baseat/index.js
+++ b/lodash._baseat/index.js
@@ -1,18 +1,12 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
-/**
- * Used as the maximum length of an array-like value.
- * See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer)
- * for more details.
- */
-
/**
* Used as the [maximum length](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer)
* of an array-like value.
@@ -20,12 +14,12 @@
var MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;
/**
- * The base implementation of `_.at` without support for strings and individual
- * key arguments.
+ * The base implementation of `_.at` without support for string collections
+ * and individual key arguments.
*
* @private
* @param {Array|Object} collection The collection to iterate over.
- * @param {number[]|string[]} [props] The property names or indexes of elements to pick.
+ * @param {number[]|string[]} props The property names or indexes of elements to pick.
* @returns {Array} Returns the new array of picked elements.
*/
function baseAt(collection, props) {
@@ -38,7 +32,6 @@ function baseAt(collection, props) {
while(++index < propsLength) {
var key = props[index];
if (isArr) {
- key = parseFloat(key);
result[index] = isIndex(key, length) ? collection[key] : undefined;
} else {
result[index] = collection[key];
diff --git a/lodash._baseat/package.json b/lodash._baseat/package.json
index 163d33356..75aa9ceac 100644
--- a/lodash._baseat/package.json
+++ b/lodash._baseat/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._baseat",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `baseAt` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._basecallback/README.md b/lodash._basecallback/README.md
index e042bb7de..abcae4a0c 100644
--- a/lodash._basecallback/README.md
+++ b/lodash._basecallback/README.md
@@ -1,4 +1,4 @@
-# lodash._basecallback v3.0.0
+# lodash._basecallback v3.0.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.0.0-npm-packages/lodash._basecallback) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._basecallback) for more details.
diff --git a/lodash._basecallback/index.js b/lodash._basecallback/index.js
index d73a97778..2a6b2c378 100644
--- a/lodash._basecallback/index.js
+++ b/lodash._basecallback/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.7.0
@@ -12,21 +12,6 @@ var baseClone = require('lodash._baseclone'),
bindCallback = require('lodash._bindcallback'),
keys = require('lodash.keys');
-/**
- * Converts `value` to a string if it is not one. An empty string is returned
- * for `null` or `undefined` values.
- *
- * @private
- * @param {*} value The value to process.
- * @returns {string} Returns the string.
- */
-function baseToString(value) {
- if (typeof value == 'string') {
- return value;
- }
- return value == null ? '' : (value + '');
-}
-
/** Used for native method references. */
var objectProto = Object.prototype;
@@ -56,7 +41,7 @@ function baseCallback(func, thisArg, argCount) {
// Handle "_.property" and "_.matches" style callback shorthands.
return type == 'object'
? baseMatches(func, !argCount)
- : baseProperty(argCount ? baseToString(func) : func);
+ : baseProperty(func + '');
}
/**
diff --git a/lodash._basecallback/package.json b/lodash._basecallback/package.json
index a7818e52e..3c106310e 100644
--- a/lodash._basecallback/package.json
+++ b/lodash._basecallback/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._basecallback",
- "version": "3.0.0",
+ "version": "3.0.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._baseclone/LICENSE.txt b/lodash._baseclone/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash._baseclone/LICENSE.txt
+++ b/lodash._baseclone/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._baseclone/README.md b/lodash._baseclone/README.md
index bc9af80fa..2f89b1473 100644
--- a/lodash._baseclone/README.md
+++ b/lodash._baseclone/README.md
@@ -1,4 +1,4 @@
-# lodash._baseclone v3.0.0
+# lodash._baseclone v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseClone` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var baseClone = require('lodash._baseclone');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._baseclone) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._baseclone) for more details.
diff --git a/lodash._baseclone/index.js b/lodash._baseclone/index.js
index 6506ad7d0..7ffadc4c7 100644
--- a/lodash._baseclone/index.js
+++ b/lodash._baseclone/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -65,9 +65,8 @@ var objectProto = Object.prototype;
var hasOwnProperty = objectProto.hasOwnProperty;
/**
- * Used to resolve the `toStringTag` of values.
- * See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.prototype.tostring)
- * for more details.
+ * Used to resolve the [`toStringTag`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.prototype.tostring)
+ * of values.
*/
var objToString = objectProto.toString;
@@ -277,11 +276,9 @@ function initCloneByTag(object, tag, isDeep) {
}
/**
- * Checks if `value` is the language type of `Object`.
+ * 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('')`)
*
- * **Note:** See the [ES5 spec](https://es5.github.io/#x8) for more details.
- *
* @static
* @memberOf _
* @category Lang
@@ -302,7 +299,7 @@ function isObject(value) {
// Avoid a V8 JIT bug in Chrome 19-20.
// See https://code.google.com/p/v8/issues/detail?id=2291 for more details.
var type = typeof value;
- return type == 'function' || (value && type == 'object') || false;
+ return type == 'function' || (!!value && type == 'object');
}
/**
diff --git a/lodash._baseclone/package.json b/lodash._baseclone/package.json
index 08adeed55..ad7d45694 100644
--- a/lodash._baseclone/package.json
+++ b/lodash._baseclone/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._baseclone",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `baseClone` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._basecompareascending/LICENSE.txt b/lodash._basecompareascending/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash._basecompareascending/LICENSE.txt
+++ b/lodash._basecompareascending/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._basecompareascending/README.md b/lodash._basecompareascending/README.md
index 6701c717c..c73537332 100644
--- a/lodash._basecompareascending/README.md
+++ b/lodash._basecompareascending/README.md
@@ -1,4 +1,4 @@
-# lodash._basecompareascending v3.0.0
+# lodash._basecompareascending v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseCompareAscending` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var baseCompareAscending = require('lodash._basecompareascending');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._basecompareascending) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._basecompareascending) for more details.
diff --git a/lodash._basecompareascending/index.js b/lodash._basecompareascending/index.js
index 6c2b8a882..0ebc24ee1 100644
--- a/lodash._basecompareascending/index.js
+++ b/lodash._basecompareascending/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -21,10 +21,10 @@ function baseCompareAscending(value, other) {
var valIsReflexive = value === value,
othIsReflexive = other === other;
- if (value > other || !valIsReflexive || (typeof value == 'undefined' && othIsReflexive)) {
+ if (value > other || !valIsReflexive || (value === undefined && othIsReflexive)) {
return 1;
}
- if (value < other || !othIsReflexive || (typeof other == 'undefined' && valIsReflexive)) {
+ if (value < other || !othIsReflexive || (other === undefined && valIsReflexive)) {
return -1;
}
}
diff --git a/lodash._basecompareascending/package.json b/lodash._basecompareascending/package.json
index 3288fed51..d402a1c11 100644
--- a/lodash._basecompareascending/package.json
+++ b/lodash._basecompareascending/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._basecompareascending",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `baseCompareAscending` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._basecopy/LICENSE.txt b/lodash._basecopy/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash._basecopy/LICENSE.txt
+++ b/lodash._basecopy/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._basecopy/README.md b/lodash._basecopy/README.md
index 6e0cc6261..acdfa29d3 100644
--- a/lodash._basecopy/README.md
+++ b/lodash._basecopy/README.md
@@ -1,4 +1,4 @@
-# lodash._basecopy v3.0.0
+# lodash._basecopy v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseCopy` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var baseCopy = require('lodash._basecopy');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._basecopy) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._basecopy) for more details.
diff --git a/lodash._basecopy/index.js b/lodash._basecopy/index.js
index 8074a3fb6..b586d31d9 100644
--- a/lodash._basecopy/index.js
+++ b/lodash._basecopy/index.js
@@ -1,26 +1,24 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
/**
- * Copies the properties of `source` to `object`.
+ * Copies properties of `source` to `object`.
*
* @private
* @param {Object} source The object to copy properties from.
- * @param {Object} [object={}] The object to copy properties to.
* @param {Array} props The property names to copy.
+ * @param {Object} [object={}] The object to copy properties to.
* @returns {Object} Returns `object`.
*/
-function baseCopy(source, object, props) {
- if (!props) {
- props = object;
- object = {};
- }
+function baseCopy(source, props, object) {
+ object || (object = {});
+
var index = -1,
length = props.length;
diff --git a/lodash._basecopy/package.json b/lodash._basecopy/package.json
index 5f20f4374..ad50c7712 100644
--- a/lodash._basecopy/package.json
+++ b/lodash._basecopy/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._basecopy",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `baseCopy` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._basecreate/LICENSE.txt b/lodash._basecreate/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash._basecreate/LICENSE.txt
+++ b/lodash._basecreate/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._basecreate/README.md b/lodash._basecreate/README.md
index 1e194623f..e78c10cd8 100644
--- a/lodash._basecreate/README.md
+++ b/lodash._basecreate/README.md
@@ -1,4 +1,4 @@
-# lodash._basecreate v3.0.0
+# lodash._basecreate v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseCreate` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var baseCreate = require('lodash._basecreate');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._basecreate) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._basecreate) for more details.
diff --git a/lodash._basecreate/index.js b/lodash._basecreate/index.js
index c3915e8cd..49a9e7aa1 100644
--- a/lodash._basecreate/index.js
+++ b/lodash._basecreate/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -28,11 +28,9 @@ var baseCreate = (function() {
}());
/**
- * Checks if `value` is the language type of `Object`.
+ * 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('')`)
*
- * **Note:** See the [ES5 spec](https://es5.github.io/#x8) for more details.
- *
* @static
* @memberOf _
* @category Lang
@@ -53,7 +51,7 @@ function isObject(value) {
// Avoid a V8 JIT bug in Chrome 19-20.
// See https://code.google.com/p/v8/issues/detail?id=2291 for more details.
var type = typeof value;
- return type == 'function' || (value && type == 'object') || false;
+ return type == 'function' || (!!value && type == 'object');
}
module.exports = baseCreate;
diff --git a/lodash._basecreate/package.json b/lodash._basecreate/package.json
index 3bf0b097d..3a4f42cf6 100644
--- a/lodash._basecreate/package.json
+++ b/lodash._basecreate/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._basecreate",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `baseCreate` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._basedelay/README.md b/lodash._basedelay/README.md
index 129f53b78..96a52e1b7 100644
--- a/lodash._basedelay/README.md
+++ b/lodash._basedelay/README.md
@@ -1,4 +1,4 @@
-# lodash._basedelay v3.0.0
+# lodash._basedelay v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseDelay` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var baseDelay = require('lodash._basedelay');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._basedelay) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._basedelay) for more details.
diff --git a/lodash._basedelay/index.js b/lodash._basedelay/index.js
index d9e238467..61bc5a8ea 100644
--- a/lodash._basedelay/index.js
+++ b/lodash._basedelay/index.js
@@ -1,13 +1,12 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.7.0
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license
*/
-var baseSlice = require('lodash._baseslice'),
- isFunction = require('lodash.isfunction');
+var baseSlice = require('lodash._baseslice');
/** Used as the `TypeError` message for "Functions" methods. */
var FUNC_ERROR_TEXT = 'Expected a function';
@@ -23,7 +22,7 @@ var FUNC_ERROR_TEXT = 'Expected a function';
* @returns {number} Returns the timer id.
*/
function baseDelay(func, wait, args, fromIndex) {
- if (!isFunction(func)) {
+ if (typeof func != 'function') {
throw new TypeError(FUNC_ERROR_TEXT);
}
return setTimeout(function() { func.apply(undefined, baseSlice(args, fromIndex)); }, wait);
diff --git a/lodash._basedelay/package.json b/lodash._basedelay/package.json
index ab49c4461..95dd639f8 100644
--- a/lodash._basedelay/package.json
+++ b/lodash._basedelay/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._basedelay",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `baseDelay` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
@@ -16,7 +16,6 @@
"repository": "lodash/lodash",
"scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" },
"dependencies": {
- "lodash._baseslice": "^3.0.0",
- "lodash.isfunction": "^3.0.0"
+ "lodash._baseslice": "^3.0.0"
}
}
diff --git a/lodash._basedifference/README.md b/lodash._basedifference/README.md
index 4584d7855..7a39235b9 100644
--- a/lodash._basedifference/README.md
+++ b/lodash._basedifference/README.md
@@ -1,4 +1,4 @@
-# lodash._basedifference v3.0.0
+# lodash._basedifference v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseDifference` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var baseDifference = require('lodash._basedifference');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._basedifference) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._basedifference) for more details.
diff --git a/lodash._basedifference/index.js b/lodash._basedifference/index.js
index 477b93f57..4297b89f1 100644
--- a/lodash._basedifference/index.js
+++ b/lodash._basedifference/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -29,7 +29,7 @@ function baseDifference(array, values) {
var index = -1,
indexOf = baseIndexOf,
isCommon = true,
- cache = isCommon && values.length >= 200 && createCache(values),
+ cache = (isCommon && values.length >= 200) ? createCache(values) : null,
valuesLength = values.length;
if (cache) {
diff --git a/lodash._basedifference/package.json b/lodash._basedifference/package.json
index e082cc14c..900921d8c 100644
--- a/lodash._basedifference/package.json
+++ b/lodash._basedifference/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._basedifference",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `baseDifference` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._baseeach/README.md b/lodash._baseeach/README.md
index 04c1346f4..2f3d32621 100644
--- a/lodash._baseeach/README.md
+++ b/lodash._baseeach/README.md
@@ -1,4 +1,4 @@
-# lodash._baseeach v3.0.0
+# lodash._baseeach v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseEach` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var baseEach = require('lodash._baseeach');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._baseeach) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._baseeach) for more details.
diff --git a/lodash._baseeach/index.js b/lodash._baseeach/index.js
index e8d205835..6ecc2979f 100644
--- a/lodash._baseeach/index.js
+++ b/lodash._baseeach/index.js
@@ -1,17 +1,16 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.7.0
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license
*/
-var baseFor = require('lodash._basefor'),
- keys = require('lodash.keys');
+var keys = require('lodash.keys');
/**
* Used as the maximum length of an array-like value.
- * See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength)
+ * See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer)
* for more details.
*/
var MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;
@@ -41,6 +40,33 @@ function baseEach(collection, iteratee) {
return collection;
}
+/**
+ * The base implementation of `baseForIn` and `baseForOwn` which iterates
+ * over `object` properties returned by `keysFunc` invoking `iteratee` for
+ * each property. Iterator functions may exit iteration early by explicitly
+ * returning `false`.
+ *
+ * @private
+ * @param {Object} object The object to iterate over.
+ * @param {Function} iteratee The function invoked per iteration.
+ * @param {Function} keysFunc The function to get the keys of `object`.
+ * @returns {Object} Returns `object`.
+ */
+function baseFor(object, iteratee, keysFunc) {
+ var index = -1,
+ iterable = toObject(object),
+ props = keysFunc(object),
+ length = props.length;
+
+ while (++index < length) {
+ var key = props[index];
+ if (iteratee(iterable[key], key, iterable) === false) {
+ break;
+ }
+ }
+ return object;
+}
+
/**
* The base implementation of `_.forOwn` without support for callback
* shorthands and `this` binding.
@@ -57,6 +83,10 @@ function baseForOwn(object, iteratee) {
/**
* Checks if `value` is a valid array-like length.
*
+ * **Note:** This function is based on ES `ToLength`. See the
+ * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength)
+ * for more details.
+ *
* @private
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
diff --git a/lodash._baseeach/package.json b/lodash._baseeach/package.json
index 29d3af8ff..f432cafc3 100644
--- a/lodash._baseeach/package.json
+++ b/lodash._baseeach/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._baseeach",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `baseEach` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
@@ -16,7 +16,6 @@
"repository": "lodash/lodash",
"scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" },
"dependencies": {
- "lodash._basefor": "^3.0.0",
"lodash.keys": "^3.0.0"
}
}
diff --git a/lodash._baseeachright/LICENSE.txt b/lodash._baseeachright/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash._baseeachright/LICENSE.txt
+++ b/lodash._baseeachright/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._baseeachright/README.md b/lodash._baseeachright/README.md
index 0b745cfaf..89f19c791 100644
--- a/lodash._baseeachright/README.md
+++ b/lodash._baseeachright/README.md
@@ -1,4 +1,4 @@
-# lodash._baseeachright v3.0.0
+# lodash._baseeachright v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseEachRight` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var baseEachRight = require('lodash._baseeachright');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._baseeachright) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._baseeachright) for more details.
diff --git a/lodash._baseeachright/index.js b/lodash._baseeachright/index.js
index 271870251..56b4ebb83 100644
--- a/lodash._baseeachright/index.js
+++ b/lodash._baseeachright/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -10,9 +10,8 @@ var baseForRight = require('lodash._baseforright'),
keys = require('lodash.keys');
/**
- * Used as the maximum length of an array-like value.
- * See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer)
- * for more details.
+ * Used as the [maximum length](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer)
+ * of an array-like value.
*/
var MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;
@@ -25,19 +24,7 @@ var MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;
* @param {Function} iteratee The function invoked per iteration.
* @returns {Array|Object|string} Returns `collection`.
*/
-function baseEachRight(collection, iteratee) {
- var length = collection ? collection.length : 0;
- if (!isLength(length)) {
- return baseForOwnRight(collection, iteratee);
- }
- var iterable = toObject(collection);
- while (length--) {
- if (iteratee(iterable[length], length, iterable) === false) {
- break;
- }
- }
- return collection;
-}
+var baseEachRight = createBaseEach(baseForOwnRight, true);
/**
* The base implementation of `_.forOwnRight` without support for callback
@@ -52,12 +39,36 @@ function baseForOwnRight(object, iteratee) {
return baseForRight(object, iteratee, keys);
}
+/**
+ * Creates a `baseEach` or `baseEachRight` function.
+ *
+ * @private
+ * @param {Function} eachFunc The function to iterate over a collection.
+ * @param {boolean} [fromRight] Specify iterating from right to left.
+ * @returns {Function} Returns the new base function.
+ */
+function createBaseEach(eachFunc, fromRight) {
+ return function(collection, iteratee) {
+ var length = collection ? collection.length : 0;
+ if (!isLength(length)) {
+ return eachFunc(collection, iteratee);
+ }
+ var index = fromRight ? length : -1,
+ iterable = toObject(collection);
+
+ while ((fromRight ? index-- : ++index < length)) {
+ if (iteratee(iterable[index], index, iterable) === false) {
+ break;
+ }
+ }
+ return collection;
+ };
+}
+
/**
* Checks if `value` is a valid array-like length.
*
- * **Note:** This function is based on ES `ToLength`. See the
- * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength)
- * for more details.
+ * **Note:** This function is based on [`ToLength`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength).
*
* @private
* @param {*} value The value to check.
@@ -79,11 +90,9 @@ function toObject(value) {
}
/**
- * Checks if `value` is the language type of `Object`.
+ * 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('')`)
*
- * **Note:** See the [ES5 spec](https://es5.github.io/#x8) for more details.
- *
* @static
* @memberOf _
* @category Lang
@@ -104,7 +113,7 @@ function isObject(value) {
// Avoid a V8 JIT bug in Chrome 19-20.
// See https://code.google.com/p/v8/issues/detail?id=2291 for more details.
var type = typeof value;
- return type == 'function' || (value && type == 'object') || false;
+ return type == 'function' || (!!value && type == 'object');
}
module.exports = baseEachRight;
diff --git a/lodash._baseeachright/package.json b/lodash._baseeachright/package.json
index 6a9b389a0..1897a590f 100644
--- a/lodash._baseeachright/package.json
+++ b/lodash._baseeachright/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._baseeachright",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `baseEachRight` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._basefind/README.md b/lodash._basefind/README.md
deleted file mode 100644
index 14dfea04e..000000000
--- a/lodash._basefind/README.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# lodash._basefind v3.0.0
-
-The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseFind` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
-
-## Installation
-
-Using npm:
-
-```bash
-$ {sudo -H} npm i -g npm
-$ npm i --save lodash._basefind
-```
-
-In Node.js/io.js:
-
-```js
-var baseFind = require('lodash._basefind');
-```
-
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._basefind) for more details.
diff --git a/lodash._basefind/index.js b/lodash._basefind/index.js
deleted file mode 100644
index 3bcb592a8..000000000
--- a/lodash._basefind/index.js
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * lodash 3.0.0 (Custom Build)
- * Build: `lodash modularize exports="npm" -o ./`
- * Copyright 2012-2015 The Dojo Foundation
- * Based on Underscore.js 1.7.0
- * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- * Available under MIT license
- */
-
-/**
- * The base implementation of methods like `_.find` and `_.findKey`, without
- * support for iteratee shorthands, which iterates over `collection` using
- * `eachFunc`.
- *
- * @private
- * @param {Array|Object} collection The collection to search.
- * @param {Function} predicate The function invoked per iteration.
- * @param {Function} eachFunc The function to iterate over `collection`.
- * @param {boolean} [retKey] Specify returning the key of the found element
- * instead of the element itself.
- * @returns {*} Returns the found element or its key, else `undefined`.
- */
-function baseFind(collection, predicate, eachFunc, retKey) {
- var result;
- eachFunc(collection, function(value, key, collection) {
- if (predicate(value, key, collection)) {
- result = retKey ? key : value;
- return false;
- }
- });
- return result;
-}
-
-module.exports = baseFind;
diff --git a/lodash._basefind/package.json b/lodash._basefind/package.json
deleted file mode 100644
index a1b1bb023..000000000
--- a/lodash._basefind/package.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "name": "lodash._basefind",
- "version": "3.0.0",
- "description": "The modern build of lodash’s internal `baseFind` as a module.",
- "homepage": "https://lodash.com/",
- "icon": "https://lodash.com/icon.svg",
- "license": "MIT",
- "author": "John-David Dalton (http://allyoucanleet.com/)",
- "contributors": [
- "John-David Dalton (http://allyoucanleet.com/)",
- "Benjamin Tan (https://d10.github.io/)",
- "Blaine Bublitz (http://www.iceddev.com/)",
- "Kit Cambridge (http://kitcambridge.be/)",
- "Mathias Bynens (https://mathiasbynens.be/)"
- ],
- "repository": "lodash/lodash",
- "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" }
-}
diff --git a/lodash._baseflatten/README.md b/lodash._baseflatten/README.md
index ba49aed13..45451e4a4 100644
--- a/lodash._baseflatten/README.md
+++ b/lodash._baseflatten/README.md
@@ -1,4 +1,4 @@
-# lodash._baseflatten v3.0.0
+# lodash._baseflatten v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseFlatten` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var baseFlatten = require('lodash._baseflatten');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._baseflatten) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._baseflatten) for more details.
diff --git a/lodash._baseflatten/index.js b/lodash._baseflatten/index.js
index 2334fce55..d99dc0243 100644
--- a/lodash._baseflatten/index.js
+++ b/lodash._baseflatten/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -39,7 +39,7 @@ var MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;
* @returns {Array} Returns the new flattened array.
*/
function baseFlatten(array, isDeep, isStrict, fromIndex) {
- var index = (fromIndex || 0) - 1,
+ var index = fromIndex == null ? -1 : (fromIndex - 1),
length = array.length,
resIndex = -1,
result = [];
diff --git a/lodash._baseflatten/package.json b/lodash._baseflatten/package.json
index 7565b65ab..d58c006de 100644
--- a/lodash._baseflatten/package.json
+++ b/lodash._baseflatten/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._baseflatten",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `baseFlatten` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._basefor/LICENSE.txt b/lodash._basefor/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash._basefor/LICENSE.txt
+++ b/lodash._basefor/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._basefor/README.md b/lodash._basefor/README.md
index ef810c469..62f07918e 100644
--- a/lodash._basefor/README.md
+++ b/lodash._basefor/README.md
@@ -1,4 +1,4 @@
-# lodash._basefor v3.0.0
+# lodash._basefor v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseFor` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var baseFor = require('lodash._basefor');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._basefor) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._basefor) for more details.
diff --git a/lodash._basefor/index.js b/lodash._basefor/index.js
index 13e78d307..b7fb2e89c 100644
--- a/lodash._basefor/index.js
+++ b/lodash._basefor/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -19,19 +19,30 @@
* @param {Function} keysFunc The function to get the keys of `object`.
* @returns {Object} Returns `object`.
*/
-function baseFor(object, iteratee, keysFunc) {
- var index = -1,
- iterable = toObject(object),
- props = keysFunc(object),
- length = props.length;
+var baseFor = createBaseFor();
- while (++index < length) {
- var key = props[index];
- if (iteratee(iterable[key], key, iterable) === false) {
- break;
+/**
+ * Creates a base function for `_.forIn` or `_.forInRight`.
+ *
+ * @private
+ * @param {boolean} [fromRight] Specify iterating from right to left.
+ * @returns {Function} Returns the new base function.
+ */
+function createBaseFor(fromRight) {
+ return function(object, iteratee, keysFunc) {
+ var iterable = toObject(object),
+ props = keysFunc(object),
+ length = props.length,
+ index = fromRight ? length : -1;
+
+ while ((fromRight ? index-- : ++index < length)) {
+ var key = props[index];
+ if (iteratee(iterable[key], key, iterable) === false) {
+ break;
+ }
}
- }
- return object;
+ return object;
+ };
}
/**
@@ -46,11 +57,9 @@ function toObject(value) {
}
/**
- * Checks if `value` is the language type of `Object`.
+ * 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('')`)
*
- * **Note:** See the [ES5 spec](https://es5.github.io/#x8) for more details.
- *
* @static
* @memberOf _
* @category Lang
@@ -71,7 +80,7 @@ function isObject(value) {
// Avoid a V8 JIT bug in Chrome 19-20.
// See https://code.google.com/p/v8/issues/detail?id=2291 for more details.
var type = typeof value;
- return type == 'function' || (value && type == 'object') || false;
+ return type == 'function' || (!!value && type == 'object');
}
module.exports = baseFor;
diff --git a/lodash._basefor/package.json b/lodash._basefor/package.json
index 4b9e9222d..fe661b9b6 100644
--- a/lodash._basefor/package.json
+++ b/lodash._basefor/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._basefor",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `baseFor` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._baseforright/LICENSE.txt b/lodash._baseforright/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash._baseforright/LICENSE.txt
+++ b/lodash._baseforright/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._baseforright/README.md b/lodash._baseforright/README.md
index 2831a6303..6a68c9d09 100644
--- a/lodash._baseforright/README.md
+++ b/lodash._baseforright/README.md
@@ -1,4 +1,4 @@
-# lodash._baseforright v3.0.0
+# lodash._baseforright v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseForRight` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var baseForRight = require('lodash._baseforright');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._baseforright) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._baseforright) for more details.
diff --git a/lodash._baseforright/index.js b/lodash._baseforright/index.js
index 5ddcd7f6f..940c2f40d 100644
--- a/lodash._baseforright/index.js
+++ b/lodash._baseforright/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -17,18 +17,30 @@
* @param {Function} keysFunc The function to get the keys of `object`.
* @returns {Object} Returns `object`.
*/
-function baseForRight(object, iteratee, keysFunc) {
- var iterable = toObject(object),
- props = keysFunc(object),
- length = props.length;
+var baseForRight = createBaseFor(true);
- while (length--) {
- var key = props[length];
- if (iteratee(iterable[key], key, iterable) === false) {
- break;
+/**
+ * Creates a base function for `_.forIn` or `_.forInRight`.
+ *
+ * @private
+ * @param {boolean} [fromRight] Specify iterating from right to left.
+ * @returns {Function} Returns the new base function.
+ */
+function createBaseFor(fromRight) {
+ return function(object, iteratee, keysFunc) {
+ var iterable = toObject(object),
+ props = keysFunc(object),
+ length = props.length,
+ index = fromRight ? length : -1;
+
+ while ((fromRight ? index-- : ++index < length)) {
+ var key = props[index];
+ if (iteratee(iterable[key], key, iterable) === false) {
+ break;
+ }
}
- }
- return object;
+ return object;
+ };
}
/**
@@ -43,11 +55,9 @@ function toObject(value) {
}
/**
- * Checks if `value` is the language type of `Object`.
+ * 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('')`)
*
- * **Note:** See the [ES5 spec](https://es5.github.io/#x8) for more details.
- *
* @static
* @memberOf _
* @category Lang
@@ -68,7 +78,7 @@ function isObject(value) {
// Avoid a V8 JIT bug in Chrome 19-20.
// See https://code.google.com/p/v8/issues/detail?id=2291 for more details.
var type = typeof value;
- return type == 'function' || (value && type == 'object') || false;
+ return type == 'function' || (!!value && type == 'object');
}
module.exports = baseForRight;
diff --git a/lodash._baseforright/package.json b/lodash._baseforright/package.json
index b4018ae5b..880be0aba 100644
--- a/lodash._baseforright/package.json
+++ b/lodash._baseforright/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._baseforright",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `baseForRight` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._baseisequal/README.md b/lodash._baseisequal/README.md
index 4a22b8f9d..5c234c495 100644
--- a/lodash._baseisequal/README.md
+++ b/lodash._baseisequal/README.md
@@ -1,4 +1,4 @@
-# lodash._baseisequal v3.0.0
+# lodash._baseisequal v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseIsEqual` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var baseIsEqual = require('lodash._baseisequal');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._baseisequal) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._baseisequal) for more details.
diff --git a/lodash._baseisequal/index.js b/lodash._baseisequal/index.js
index a27c2a713..12250eb45 100644
--- a/lodash._baseisequal/index.js
+++ b/lodash._baseisequal/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.7.0
@@ -21,21 +21,6 @@ var argsTag = '[object Arguments]',
regexpTag = '[object RegExp]',
stringTag = '[object String]';
-/**
- * Converts `value` to a string if it is not one. An empty string is returned
- * for `null` or `undefined` values.
- *
- * @private
- * @param {*} value The value to process.
- * @returns {string} Returns the string.
- */
-function baseToString(value) {
- if (typeof value == 'string') {
- return value;
- }
- return value == null ? '' : (value + '');
-}
-
/** Used for native method references. */
var objectProto = Object.prototype;
@@ -244,7 +229,7 @@ function equalByTag(object, other, tag) {
case stringTag:
// Coerce regexes to strings and treat strings primitives and string
// objects as equal. See https://es5.github.io/#x15.10.6.4 for more details.
- return object == baseToString(other);
+ return object == (other + '');
}
return false;
}
diff --git a/lodash._baseisequal/package.json b/lodash._baseisequal/package.json
index 2855cc121..489ed596f 100644
--- a/lodash._baseisequal/package.json
+++ b/lodash._baseisequal/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._baseisequal",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `baseIsEqual` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._baseproperty/README.md b/lodash._baseproperty/README.md
deleted file mode 100644
index 0c263583c..000000000
--- a/lodash._baseproperty/README.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# lodash._baseproperty v3.0.0
-
-The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseProperty` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
-
-## Installation
-
-Using npm:
-
-```bash
-$ {sudo -H} npm i -g npm
-$ npm i --save lodash._baseproperty
-```
-
-In Node.js/io.js:
-
-```js
-var baseProperty = require('lodash._baseproperty');
-```
-
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._baseproperty) for more details.
diff --git a/lodash._baseproperty/index.js b/lodash._baseproperty/index.js
deleted file mode 100644
index 4e794436e..000000000
--- a/lodash._baseproperty/index.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * lodash 3.0.0 (Custom Build)
- * Build: `lodash modern modularize exports="npm" -o ./`
- * Copyright 2012-2015 The Dojo Foundation
- * Based on Underscore.js 1.7.0
- * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- * Available under MIT license
- */
-
-/**
- * The base implementation of `_.property` which does not coerce `key` to a string.
- *
- * @private
- * @param {string} key The key of the property to get.
- * @returns {Function} Returns the new function.
- */
-function baseProperty(key) {
- return function(object) {
- return object == null ? undefined : object[key];
- };
-}
-
-module.exports = baseProperty;
diff --git a/lodash._baseproperty/package.json b/lodash._baseproperty/package.json
deleted file mode 100644
index 91bdaa606..000000000
--- a/lodash._baseproperty/package.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "name": "lodash._baseproperty",
- "version": "3.0.0",
- "description": "The modern build of lodash’s internal `baseProperty` as a module.",
- "homepage": "https://lodash.com/",
- "icon": "https://lodash.com/icon.svg",
- "license": "MIT",
- "author": "John-David Dalton (http://allyoucanleet.com/)",
- "contributors": [
- "John-David Dalton (http://allyoucanleet.com/)",
- "Benjamin Tan (https://d10.github.io/)",
- "Blaine Bublitz (http://www.iceddev.com/)",
- "Kit Cambridge (http://kitcambridge.be/)",
- "Mathias Bynens (https://mathiasbynens.be/)"
- ],
- "repository": "lodash/lodash",
- "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" }
-}
diff --git a/lodash._arraymax/LICENSE.txt b/lodash._baserandom/LICENSE
similarity index 94%
rename from lodash._arraymax/LICENSE.txt
rename to lodash._baserandom/LICENSE
index 17764328c..9cd87e5dc 100644
--- a/lodash._arraymax/LICENSE.txt
+++ b/lodash._baserandom/LICENSE
@@ -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._baserandom/LICENSE.txt b/lodash._baserandom/LICENSE.txt
deleted file mode 100644
index 17764328c..000000000
--- a/lodash._baserandom/LICENSE.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Copyright 2012-2015 The Dojo Foundation
-Based on Underscore.js 1.7.0, copyright 2009-2015 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:
-
-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.
diff --git a/lodash._baserandom/README.md b/lodash._baserandom/README.md
index 35244c4aa..1ff3d19d7 100644
--- a/lodash._baserandom/README.md
+++ b/lodash._baserandom/README.md
@@ -1,4 +1,4 @@
-# lodash._baserandom v3.0.0
+# lodash._baserandom v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseRandom` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var baseRandom = require('lodash._baserandom');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._baserandom) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._baserandom) for more details.
diff --git a/lodash._baserandom/index.js b/lodash._baserandom/index.js
index 196c21ecc..8f5dabcdf 100644
--- a/lodash._baserandom/index.js
+++ b/lodash._baserandom/index.js
@@ -1,17 +1,15 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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. */
-var floor = Math.floor;
-
/* Native method references for those with the same name as other `lodash` methods. */
-var nativeRandom = Math.random;
+var nativeFloor = Math.floor,
+ nativeRandom = Math.random;
/**
* The base implementation of `_.random` without support for argument juggling
@@ -23,7 +21,7 @@ var nativeRandom = Math.random;
* @returns {number} Returns the random number.
*/
function baseRandom(min, max) {
- return min + floor(nativeRandom() * (max - min + 1));
+ return min + nativeFloor(nativeRandom() * (max - min + 1));
}
module.exports = baseRandom;
diff --git a/lodash._baserandom/package.json b/lodash._baserandom/package.json
index c8892d170..34ec63e57 100644
--- a/lodash._baserandom/package.json
+++ b/lodash._baserandom/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._baserandom",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `baseRandom` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._basereduce/README.md b/lodash._basereduce/README.md
index 1a32a6b83..3ddfc898f 100644
--- a/lodash._basereduce/README.md
+++ b/lodash._basereduce/README.md
@@ -1,4 +1,4 @@
-# lodash._basereduce v3.0.0
+# lodash._basereduce v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseReduce` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var baseReduce = require('lodash._basereduce');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._basereduce) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._basereduce) for more details.
diff --git a/lodash._basereduce/index.js b/lodash._basereduce/index.js
index 775cba0c3..2553d6c17 100644
--- a/lodash._basereduce/index.js
+++ b/lodash._basereduce/index.js
@@ -1,6 +1,6 @@
/**
- * lodash 3.0.0 (Custom Build)
- * Build: `lodash modern modularize exports="npm" -o ./`
+ * lodash 3.0.1 (Custom Build)
+ * Build: `lodash modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.7.0
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
@@ -8,16 +8,15 @@
*/
/**
- * The base implementation of `_.reduce` and `_.reduceRight` without support
- * for callback shorthands or `this` binding, which iterates over `collection`
- * using the provided `eachFunc`.
+ * The base implementation of `_.reduce` and `_.reduceRight`, without support
+ * for iteratee shorthands, which iterates over `collection` using the provided
+ * `eachFunc`.
*
* @private
- * @param {Array|Object|string} collection The collection to iterate over.
+ * @param {Array|Object} collection The collection to iterate over.
* @param {Function} iteratee The function invoked per iteration.
* @param {*} accumulator The initial value.
- * @param {boolean} initFromCollection Specify using the first or last element
- * of `collection` as the initial value.
+ * @param {boolean} initFromCollection Specify using the first or last element of `collection` as the initial value.
* @param {Function} eachFunc The function to iterate over `collection`.
* @returns {*} Returns the accumulated value.
*/
@@ -25,7 +24,7 @@ function baseReduce(collection, iteratee, accumulator, initFromCollection, eachF
eachFunc(collection, function(value, index, collection) {
accumulator = initFromCollection
? (initFromCollection = false, value)
- : iteratee(accumulator, value, index, collection)
+ : iteratee(accumulator, value, index, collection);
});
return accumulator;
}
diff --git a/lodash._basereduce/package.json b/lodash._basereduce/package.json
index f9d97ba9d..8dab5dafa 100644
--- a/lodash._basereduce/package.json
+++ b/lodash._basereduce/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._basereduce",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `baseReduce` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._baseslice/README.md b/lodash._baseslice/README.md
index 7b7f3b4a7..9fcb7068f 100644
--- a/lodash._baseslice/README.md
+++ b/lodash._baseslice/README.md
@@ -1,4 +1,4 @@
-# lodash._baseslice v3.0.0
+# lodash._baseslice v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseSlice` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var baseSlice = require('lodash._baseslice');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._baseslice) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._baseslice) for more details.
diff --git a/lodash._baseslice/index.js b/lodash._baseslice/index.js
index 080453eae..278bd0535 100644
--- a/lodash._baseslice/index.js
+++ b/lodash._baseslice/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.7.0
@@ -28,7 +28,8 @@ function baseSlice(array, start, end) {
if (end < 0) {
end += length;
}
- length = start > end ? 0 : (end - start);
+ length = start > end ? 0 : (end - start) >>> 0;
+ start >>>= 0;
var result = Array(length);
while (++index < length) {
diff --git a/lodash._baseslice/package.json b/lodash._baseslice/package.json
index d52b23677..42adab643 100644
--- a/lodash._baseslice/package.json
+++ b/lodash._baseslice/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._baseslice",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `baseSlice` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._arraymin/LICENSE.txt b/lodash._basetostring/LICENSE
similarity index 94%
rename from lodash._arraymin/LICENSE.txt
rename to lodash._basetostring/LICENSE
index 17764328c..9cd87e5dc 100644
--- a/lodash._arraymin/LICENSE.txt
+++ b/lodash._basetostring/LICENSE
@@ -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._basetostring/LICENSE.txt b/lodash._basetostring/LICENSE.txt
deleted file mode 100644
index 17764328c..000000000
--- a/lodash._basetostring/LICENSE.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Copyright 2012-2015 The Dojo Foundation
-Based on Underscore.js 1.7.0, copyright 2009-2015 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:
-
-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.
diff --git a/lodash._basetostring/README.md b/lodash._basetostring/README.md
index ad04ea956..f81145e6e 100644
--- a/lodash._basetostring/README.md
+++ b/lodash._basetostring/README.md
@@ -1,4 +1,4 @@
-# lodash._basetostring v3.0.0
+# lodash._basetostring v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseToString` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var baseToString = require('lodash._basetostring');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._basetostring) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._basetostring) for more details.
diff --git a/lodash._basetostring/index.js b/lodash._basetostring/index.js
index 71ac88588..db8ecc9fd 100644
--- a/lodash._basetostring/index.js
+++ b/lodash._basetostring/index.js
@@ -1,14 +1,14 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
/**
- * Converts `value` to a string if it is not one. An empty string is returned
+ * Converts `value` to a string if it's not one. An empty string is returned
* for `null` or `undefined` values.
*
* @private
@@ -16,9 +16,6 @@
* @returns {string} Returns the string.
*/
function baseToString(value) {
- if (typeof value == 'string') {
- return value;
- }
return value == null ? '' : (value + '');
}
diff --git a/lodash._basetostring/package.json b/lodash._basetostring/package.json
index 3bd5c43e4..1d7abbfc5 100644
--- a/lodash._basetostring/package.json
+++ b/lodash._basetostring/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._basetostring",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `baseToString` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._baseuniq/README.md b/lodash._baseuniq/README.md
index 3bc682031..feac220e3 100644
--- a/lodash._baseuniq/README.md
+++ b/lodash._baseuniq/README.md
@@ -1,4 +1,4 @@
-# lodash._baseuniq v3.0.0
+# lodash._baseuniq v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseUniq` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var baseUniq = require('lodash._baseuniq');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._baseuniq) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._baseuniq) for more details.
diff --git a/lodash._baseuniq/index.js b/lodash._baseuniq/index.js
index fbea03668..f55c02a42 100644
--- a/lodash._baseuniq/index.js
+++ b/lodash._baseuniq/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -25,7 +25,7 @@ function baseUniq(array, iteratee) {
length = array.length,
isCommon = true,
isLarge = isCommon && length >= 200,
- seen = isLarge && createCache(),
+ seen = isLarge ? createCache() : null,
result = [];
if (seen) {
diff --git a/lodash._baseuniq/package.json b/lodash._baseuniq/package.json
index e8f922f50..62256e4b0 100644
--- a/lodash._baseuniq/package.json
+++ b/lodash._baseuniq/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._baseuniq",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `baseUniq` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._binaryindex/LICENSE.txt b/lodash._binaryindex/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash._binaryindex/LICENSE.txt
+++ b/lodash._binaryindex/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._binaryindex/README.md b/lodash._binaryindex/README.md
index 7dedf0bdf..9b4419fd0 100644
--- a/lodash._binaryindex/README.md
+++ b/lodash._binaryindex/README.md
@@ -1,4 +1,4 @@
-# lodash._binaryindex v3.0.0
+# lodash._binaryindex v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `binaryIndex` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var binaryIndex = require('lodash._binaryindex');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._binaryindex) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._binaryindex) for more details.
diff --git a/lodash._binaryindex/index.js b/lodash._binaryindex/index.js
index e01a6a647..45217f716 100644
--- a/lodash._binaryindex/index.js
+++ b/lodash._binaryindex/index.js
@@ -1,15 +1,15 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
var binaryIndexBy = require('lodash._binaryindexby');
/** Used as references for the maximum length and index of an array. */
-var MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1,
+var MAX_ARRAY_LENGTH = 4294967295,
HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;
/**
@@ -32,7 +32,7 @@ function binaryIndex(array, value, retHighest) {
var mid = (low + high) >>> 1,
computed = array[mid];
- if (retHighest ? (computed <= value) : (computed < value)) {
+ if ((retHighest ? (computed <= value) : (computed < value)) && computed !== null) {
low = mid + 1;
} else {
high = mid;
diff --git a/lodash._binaryindex/package.json b/lodash._binaryindex/package.json
index 47495afb3..ef16de8a1 100644
--- a/lodash._binaryindex/package.json
+++ b/lodash._binaryindex/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._binaryindex",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `binaryIndex` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._binaryindexby/LICENSE.txt b/lodash._binaryindexby/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash._binaryindexby/LICENSE.txt
+++ b/lodash._binaryindexby/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._binaryindexby/README.md b/lodash._binaryindexby/README.md
index bbff1cd89..0dcd08067 100644
--- a/lodash._binaryindexby/README.md
+++ b/lodash._binaryindexby/README.md
@@ -1,4 +1,4 @@
-# lodash._binaryindexby v3.0.0
+# lodash._binaryindexby v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `binaryIndexBy` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var binaryIndexBy = require('lodash._binaryindexby');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._binaryindexby) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._binaryindexby) for more details.
diff --git a/lodash._binaryindexby/index.js b/lodash._binaryindexby/index.js
index 47dbbfc41..4c4c2d081 100644
--- a/lodash._binaryindexby/index.js
+++ b/lodash._binaryindexby/index.js
@@ -1,14 +1,12 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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. */
-
/** Native method references. */
var floor = Math.floor;
@@ -17,7 +15,7 @@ var nativeMin = Math.min;
/** Used as references for the maximum length and index of an array. */
var MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1,
- MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1;
+ MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1;
/**
* This function is like `binaryIndex` except that it invokes `iteratee` for
@@ -38,7 +36,7 @@ function binaryIndexBy(array, value, iteratee, retHighest) {
var low = 0,
high = array ? array.length : 0,
valIsNaN = value !== value,
- valIsUndef = typeof value == 'undefined';
+ valIsUndef = value === undefined;
while (low < high) {
var mid = floor((low + high) / 2),
@@ -48,7 +46,7 @@ function binaryIndexBy(array, value, iteratee, retHighest) {
if (valIsNaN) {
var setLow = isReflexive || retHighest;
} else if (valIsUndef) {
- setLow = isReflexive && (retHighest || typeof computed != 'undefined');
+ setLow = isReflexive && (retHighest || computed !== undefined);
} else {
setLow = retHighest ? (computed <= value) : (computed < value);
}
diff --git a/lodash._binaryindexby/package.json b/lodash._binaryindexby/package.json
index 0cd52aba2..8bc3fe773 100644
--- a/lodash._binaryindexby/package.json
+++ b/lodash._binaryindexby/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._binaryindexby",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `binaryIndexBy` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._bindcallback/LICENSE.txt b/lodash._bindcallback/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash._bindcallback/LICENSE.txt
+++ b/lodash._bindcallback/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._bindcallback/README.md b/lodash._bindcallback/README.md
index 4ebb15f6d..d287f26d8 100644
--- a/lodash._bindcallback/README.md
+++ b/lodash._bindcallback/README.md
@@ -1,4 +1,4 @@
-# lodash._bindcallback v3.0.0
+# lodash._bindcallback v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `bindCallback` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var bindCallback = require('lodash._bindcallback');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._bindcallback) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._bindcallback) for more details.
diff --git a/lodash._bindcallback/index.js b/lodash._bindcallback/index.js
index 3237b1fa3..ef6811d1a 100644
--- a/lodash._bindcallback/index.js
+++ b/lodash._bindcallback/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -21,7 +21,7 @@ function bindCallback(func, thisArg, argCount) {
if (typeof func != 'function') {
return identity;
}
- if (typeof thisArg == 'undefined') {
+ if (thisArg === undefined) {
return func;
}
switch (argCount) {
diff --git a/lodash._bindcallback/package.json b/lodash._bindcallback/package.json
index 28eadc8e5..6ede44016 100644
--- a/lodash._bindcallback/package.json
+++ b/lodash._bindcallback/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._bindcallback",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `bindCallback` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._cacheindexof/LICENSE.txt b/lodash._cacheindexof/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash._cacheindexof/LICENSE.txt
+++ b/lodash._cacheindexof/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._cacheindexof/README.md b/lodash._cacheindexof/README.md
index cb01aec08..9d819a923 100644
--- a/lodash._cacheindexof/README.md
+++ b/lodash._cacheindexof/README.md
@@ -1,4 +1,4 @@
-# lodash._cacheindexof v3.0.0
+# lodash._cacheindexof v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `cacheIndexOf` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var cacheIndexOf = require('lodash._cacheindexof');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._cacheindexof) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._cacheindexof) for more details.
diff --git a/lodash._cacheindexof/index.js b/lodash._cacheindexof/index.js
index 11cea73b8..ad369bb16 100644
--- a/lodash._cacheindexof/index.js
+++ b/lodash._cacheindexof/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -24,11 +24,9 @@ function cacheIndexOf(cache, value) {
}
/**
- * Checks if `value` is the language type of `Object`.
+ * 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('')`)
*
- * **Note:** See the [ES5 spec](https://es5.github.io/#x8) for more details.
- *
* @static
* @memberOf _
* @category Lang
@@ -49,7 +47,7 @@ function isObject(value) {
// Avoid a V8 JIT bug in Chrome 19-20.
// See https://code.google.com/p/v8/issues/detail?id=2291 for more details.
var type = typeof value;
- return type == 'function' || (value && type == 'object') || false;
+ return type == 'function' || (!!value && type == 'object');
}
module.exports = cacheIndexOf;
diff --git a/lodash._cacheindexof/package.json b/lodash._cacheindexof/package.json
index fb4905e05..f0de8b345 100644
--- a/lodash._cacheindexof/package.json
+++ b/lodash._cacheindexof/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._cacheindexof",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `cacheIndexOf` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._createassigner/README.md b/lodash._createassigner/README.md
index 45322ee5c..1f8d4a153 100644
--- a/lodash._createassigner/README.md
+++ b/lodash._createassigner/README.md
@@ -1,4 +1,4 @@
-# lodash._createassigner v3.0.0
+# lodash._createassigner v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `createAssigner` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var createAssigner = require('lodash._createassigner');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._createassigner) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._createassigner) for more details.
diff --git a/lodash._createassigner/index.js b/lodash._createassigner/index.js
index fd320c884..37efe38a7 100644
--- a/lodash._createassigner/index.js
+++ b/lodash._createassigner/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -13,30 +13,39 @@ var bindCallback = require('lodash._bindcallback'),
* Creates a function that assigns properties of source object(s) to a given
* destination object.
*
+ * **Note:** This function is used to create `_.assign`, `_.defaults`, and `_.merge`.
+ *
* @private
* @param {Function} assigner The function to assign values.
* @returns {Function} Returns the new assigner function.
*/
function createAssigner(assigner) {
return function() {
- var length = arguments.length,
- object = arguments[0];
+ var args = arguments,
+ length = args.length,
+ object = args[0];
if (length < 2 || object == null) {
return object;
}
- if (length > 3 && isIterateeCall(arguments[1], arguments[2], arguments[3])) {
- length = 2;
+ var customizer = args[length - 2],
+ thisArg = args[length - 1],
+ guard = args[3];
+
+ if (length > 3 && typeof customizer == 'function') {
+ customizer = bindCallback(customizer, thisArg, 5);
+ length -= 2;
+ } else {
+ customizer = (length > 2 && typeof thisArg == 'function') ? thisArg : null;
+ length -= (customizer ? 1 : 0);
}
- // Juggle arguments.
- if (length > 3 && typeof arguments[length - 2] == 'function') {
- var customizer = bindCallback(arguments[--length - 1], arguments[length--], 5);
- } else if (length > 2 && typeof arguments[length - 1] == 'function') {
- customizer = arguments[--length];
+ if (guard && isIterateeCall(args[1], args[2], guard)) {
+ customizer = length == 3 ? null : customizer;
+ length = 2;
}
var index = 0;
while (++index < length) {
- var source = arguments[index];
+ var source = args[index];
if (source) {
assigner(object, source, customizer);
}
diff --git a/lodash._createassigner/package.json b/lodash._createassigner/package.json
index cb70e95c2..f3ee309a9 100644
--- a/lodash._createassigner/package.json
+++ b/lodash._createassigner/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._createassigner",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `createAssigner` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._createcache/LICENSE.txt b/lodash._createcache/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash._createcache/LICENSE.txt
+++ b/lodash._createcache/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._createcache/README.md b/lodash._createcache/README.md
index b33dcc444..b37eb746b 100644
--- a/lodash._createcache/README.md
+++ b/lodash._createcache/README.md
@@ -1,4 +1,4 @@
-# lodash._createcache v3.0.0
+# lodash._createcache v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `createCache` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var createCache = require('lodash._createcache');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._createcache) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._createcache) for more details.
diff --git a/lodash._createcache/index.js b/lodash._createcache/index.js
index 9c4d9a403..cbeb715d6 100644
--- a/lodash._createcache/index.js
+++ b/lodash._createcache/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -59,11 +59,9 @@ var createCache = !(nativeCreate && Set) ? constant(null) : function(values) {
};
/**
- * Checks if `value` is the language type of `Object`.
+ * 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('')`)
*
- * **Note:** See the [ES5 spec](https://es5.github.io/#x8) for more details.
- *
* @static
* @memberOf _
* @category Lang
@@ -84,7 +82,7 @@ function isObject(value) {
// Avoid a V8 JIT bug in Chrome 19-20.
// See https://code.google.com/p/v8/issues/detail?id=2291 for more details.
var type = typeof value;
- return type == 'function' || (value && type == 'object') || false;
+ return type == 'function' || (!!value && type == 'object');
}
/**
diff --git a/lodash._createcache/package.json b/lodash._createcache/package.json
index e0ab74944..ab6b13e33 100644
--- a/lodash._createcache/package.json
+++ b/lodash._createcache/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._createcache",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `createCache` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._createextremum/LICENSE.txt b/lodash._createextremum/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash._createextremum/LICENSE.txt
+++ b/lodash._createextremum/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._createextremum/README.md b/lodash._createextremum/README.md
index 8801312c9..96cda1b61 100644
--- a/lodash._createextremum/README.md
+++ b/lodash._createextremum/README.md
@@ -1,4 +1,4 @@
-# lodash._createextremum v3.0.0
+# lodash._createextremum v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `createExtremum` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var createExtremum = require('lodash._createextremum');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._createextremum) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._createextremum) for more details.
diff --git a/lodash._createextremum/index.js b/lodash._createextremum/index.js
index 7bc8ac861..e25cfd2b2 100644
--- a/lodash._createextremum/index.js
+++ b/lodash._createextremum/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -76,7 +76,8 @@ function extremumBy(collection, iteratee, isMin) {
baseEach(collection, function(value, index, collection) {
var current = iteratee(value, index, collection);
- if ((isMin ? current < computed : current > computed) || (current === exValue && current === result)) {
+ if ((isMin ? (current < computed) : (current > computed)) ||
+ (current === exValue && current === result)) {
computed = current;
result = value;
}
diff --git a/lodash._createextremum/package.json b/lodash._createextremum/package.json
index f8ee12bc1..ce1c0b788 100644
--- a/lodash._createextremum/package.json
+++ b/lodash._createextremum/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._createextremum",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `createExtremum` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._createpad/README.md b/lodash._createpad/README.md
index cff97e1ee..7825373fd 100644
--- a/lodash._createpad/README.md
+++ b/lodash._createpad/README.md
@@ -1,4 +1,4 @@
-# lodash._createpad v3.0.0
+# lodash._createpad v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `createPad` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var createPad = require('lodash._createpad');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._createpad) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._createpad) for more details.
diff --git a/lodash._createpad/index.js b/lodash._createpad/index.js
index fdbbb7acb..bbeb7de1b 100644
--- a/lodash._createpad/index.js
+++ b/lodash._createpad/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.7.0
@@ -8,21 +8,6 @@
*/
var repeat = require('lodash.repeat');
-/**
- * Converts `value` to a string if it is not one. An empty string is returned
- * for `null` or `undefined` values.
- *
- * @private
- * @param {*} value The value to process.
- * @returns {string} Returns the string.
- */
-function baseToString(value) {
- if (typeof value == 'string') {
- return value;
- }
- return value == null ? '' : (value + '');
-}
-
/** Native method references. */
var ceil = Math.ceil;
@@ -48,7 +33,7 @@ function createPad(string, length, chars) {
return '';
}
var padLength = length - strLength;
- chars = chars == null ? ' ' : baseToString(chars);
+ chars = chars == null ? ' ' : (chars + '');
return repeat(chars, ceil(padLength / chars.length)).slice(0, padLength);
}
diff --git a/lodash._createpad/package.json b/lodash._createpad/package.json
index 7be4ec74d..f175cc382 100644
--- a/lodash._createpad/package.json
+++ b/lodash._createpad/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._createpad",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `createPad` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._createwrapper/README.md b/lodash._createwrapper/README.md
index f8518a660..d7bc6144e 100644
--- a/lodash._createwrapper/README.md
+++ b/lodash._createwrapper/README.md
@@ -1,4 +1,4 @@
-# lodash._createwrapper v3.0.0
+# lodash._createwrapper v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `createWrapper` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var createWrapper = require('lodash._createwrapper');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._createwrapper) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._createwrapper) for more details.
diff --git a/lodash._createwrapper/index.js b/lodash._createwrapper/index.js
index 8e22659c5..8df136e9b 100644
--- a/lodash._createwrapper/index.js
+++ b/lodash._createwrapper/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.7.0
@@ -8,8 +8,7 @@
*/
var arrayCopy = require('lodash._arraycopy'),
baseCreate = require('lodash._basecreate'),
- replaceHolders = require('lodash._replaceholders'),
- isFunction = require('lodash.isfunction');
+ replaceHolders = require('lodash._replaceholders');
/** Used to compose bitmasks for wrapper metadata. */
var BIND_FLAG = 1,
@@ -280,7 +279,7 @@ function createPartialWrapper(func, bitmask, thisArg, partials) {
*/
function createWrapper(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {
var isBindKey = bitmask & BIND_KEY_FLAG;
- if (!isBindKey && !isFunction(func)) {
+ if (!isBindKey && typeof func != 'function') {
throw new TypeError(FUNC_ERROR_TEXT);
}
var length = partials ? partials.length : 0;
@@ -304,9 +303,9 @@ function createWrapper(func, bitmask, thisArg, partials, holders, argPos, ary, a
if (bitmask == BIND_FLAG) {
var result = createBindWrapper(newData[0], newData[2]);
} else if ((bitmask == PARTIAL_FLAG || bitmask == (BIND_FLAG | PARTIAL_FLAG)) && !newData[4].length) {
- result = createPartialWrapper.apply(null, newData);
+ result = createPartialWrapper.apply(undefined, newData);
} else {
- result = createHybridWrapper.apply(null, newData);
+ result = createHybridWrapper.apply(undefined, newData);
}
return result;
}
diff --git a/lodash._createwrapper/package.json b/lodash._createwrapper/package.json
index 1bf4d6b59..0d6b6cfde 100644
--- a/lodash._createwrapper/package.json
+++ b/lodash._createwrapper/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._createwrapper",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `createWrapper` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
@@ -18,7 +18,6 @@
"dependencies": {
"lodash._arraycopy": "^3.0.0",
"lodash._basecreate": "^3.0.0",
- "lodash._replaceholders": "^3.0.0",
- "lodash.isfunction": "^3.0.0"
+ "lodash._replaceholders": "^3.0.0"
}
}
diff --git a/lodash._isiterateecall/README.md b/lodash._isiterateecall/README.md
index 27a344e82..69c712bdb 100644
--- a/lodash._isiterateecall/README.md
+++ b/lodash._isiterateecall/README.md
@@ -1,4 +1,4 @@
-# lodash._isiterateecall v3.0.0
+# lodash._isiterateecall v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `isIterateeCall` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var isIterateeCall = require('lodash._isiterateecall');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._isiterateecall) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._isiterateecall) for more details.
diff --git a/lodash._isiterateecall/index.js b/lodash._isiterateecall/index.js
index cb5425cd8..aab88e7b6 100644
--- a/lodash._isiterateecall/index.js
+++ b/lodash._isiterateecall/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.7.0
@@ -46,7 +46,7 @@ function isIterateeCall(value, index, object) {
var length = object.length,
prereq = isLength(length) && isIndex(index, length);
} else {
- prereq = type == 'string' && index in value;
+ prereq = type == 'string' && index in object;
}
return prereq && object[index] === value;
}
diff --git a/lodash._isiterateecall/package.json b/lodash._isiterateecall/package.json
index adabc8fcb..8dcf9ea87 100644
--- a/lodash._isiterateecall/package.json
+++ b/lodash._isiterateecall/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._isiterateecall",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `isIterateeCall` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._pickbyarray/LICENSE.txt b/lodash._pickbyarray/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash._pickbyarray/LICENSE.txt
+++ b/lodash._pickbyarray/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._pickbyarray/README.md b/lodash._pickbyarray/README.md
index 581000b08..de1f8de4e 100644
--- a/lodash._pickbyarray/README.md
+++ b/lodash._pickbyarray/README.md
@@ -1,4 +1,4 @@
-# lodash._pickbyarray v3.0.0
+# lodash._pickbyarray v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `pickByArray` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var pickByArray = require('lodash._pickbyarray');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._pickbyarray) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._pickbyarray) for more details.
diff --git a/lodash._pickbyarray/index.js b/lodash._pickbyarray/index.js
index 1ff1cbad8..8483d9dd4 100644
--- a/lodash._pickbyarray/index.js
+++ b/lodash._pickbyarray/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -44,11 +44,9 @@ function toObject(value) {
}
/**
- * Checks if `value` is the language type of `Object`.
+ * 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('')`)
*
- * **Note:** See the [ES5 spec](https://es5.github.io/#x8) for more details.
- *
* @static
* @memberOf _
* @category Lang
@@ -69,7 +67,7 @@ function isObject(value) {
// Avoid a V8 JIT bug in Chrome 19-20.
// See https://code.google.com/p/v8/issues/detail?id=2291 for more details.
var type = typeof value;
- return type == 'function' || (value && type == 'object') || false;
+ return type == 'function' || (!!value && type == 'object');
}
module.exports = pickByArray;
diff --git a/lodash._pickbyarray/package.json b/lodash._pickbyarray/package.json
index a11f82f78..065eaa8e1 100644
--- a/lodash._pickbyarray/package.json
+++ b/lodash._pickbyarray/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._pickbyarray",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `pickByArray` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._reescape/LICENSE.txt b/lodash._reescape/LICENSE.txt
deleted file mode 100644
index 17764328c..000000000
--- a/lodash._reescape/LICENSE.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Copyright 2012-2015 The Dojo Foundation
-Based on Underscore.js 1.7.0, copyright 2009-2015 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:
-
-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.
diff --git a/lodash._reescape/README.md b/lodash._reescape/README.md
deleted file mode 100644
index c80ae07c0..000000000
--- a/lodash._reescape/README.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# lodash._reescape v3.0.0
-
-The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `reEscape` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
-
-## Installation
-
-Using npm:
-
-```bash
-$ {sudo -H} npm i -g npm
-$ npm i --save lodash._reescape
-```
-
-In Node.js/io.js:
-
-```js
-var reEscape = require('lodash._reescape');
-```
-
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._reescape) for more details.
diff --git a/lodash._reescape/index.js b/lodash._reescape/index.js
deleted file mode 100644
index 1a3b8cf34..000000000
--- a/lodash._reescape/index.js
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * lodash 3.0.0 (Custom Build)
- * Build: `lodash modern modularize exports="npm" -o ./`
- * Copyright 2012-2015 The Dojo Foundation
- * Based on Underscore.js 1.7.0
- * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- * Available under MIT license
- */
-
-/** Used to match template delimiters. */
-var reEscape = /<%-([\s\S]+?)%>/g;
-
-module.exports = reEscape;
diff --git a/lodash._reescape/package.json b/lodash._reescape/package.json
deleted file mode 100644
index a25c81ede..000000000
--- a/lodash._reescape/package.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "name": "lodash._reescape",
- "version": "3.0.0",
- "description": "The modern build of lodash’s internal `reEscape` as a module.",
- "homepage": "https://lodash.com/",
- "icon": "https://lodash.com/icon.svg",
- "license": "MIT",
- "author": "John-David Dalton (http://allyoucanleet.com/)",
- "contributors": [
- "John-David Dalton (http://allyoucanleet.com/)",
- "Benjamin Tan (https://d10.github.io/)",
- "Blaine Bublitz (http://www.iceddev.com/)",
- "Kit Cambridge (http://kitcambridge.be/)",
- "Mathias Bynens (https://mathiasbynens.be/)"
- ],
- "repository": "lodash/lodash",
- "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" }
-}
diff --git a/lodash._reevaluate/LICENSE.txt b/lodash._reevaluate/LICENSE.txt
deleted file mode 100644
index 17764328c..000000000
--- a/lodash._reevaluate/LICENSE.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Copyright 2012-2015 The Dojo Foundation
-Based on Underscore.js 1.7.0, copyright 2009-2015 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:
-
-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.
diff --git a/lodash._reevaluate/README.md b/lodash._reevaluate/README.md
deleted file mode 100644
index a69b8aac1..000000000
--- a/lodash._reevaluate/README.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# lodash._reevaluate v3.0.0
-
-The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `reEvaluate` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
-
-## Installation
-
-Using npm:
-
-```bash
-$ {sudo -H} npm i -g npm
-$ npm i --save lodash._reevaluate
-```
-
-In Node.js/io.js:
-
-```js
-var reEvaluate = require('lodash._reevaluate');
-```
-
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._reevaluate) for more details.
diff --git a/lodash._reevaluate/index.js b/lodash._reevaluate/index.js
deleted file mode 100644
index 16d76098d..000000000
--- a/lodash._reevaluate/index.js
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * lodash 3.0.0 (Custom Build)
- * Build: `lodash modern modularize exports="npm" -o ./`
- * Copyright 2012-2015 The Dojo Foundation
- * Based on Underscore.js 1.7.0
- * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- * Available under MIT license
- */
-
-/** Used to match template delimiters. */
-var reEvaluate = /<%([\s\S]+?)%>/g;
-
-module.exports = reEvaluate;
diff --git a/lodash._reevaluate/package.json b/lodash._reevaluate/package.json
deleted file mode 100644
index fad87a2d2..000000000
--- a/lodash._reevaluate/package.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "name": "lodash._reevaluate",
- "version": "3.0.0",
- "description": "The modern build of lodash’s internal `reEvaluate` as a module.",
- "homepage": "https://lodash.com/",
- "icon": "https://lodash.com/icon.svg",
- "license": "MIT",
- "author": "John-David Dalton (http://allyoucanleet.com/)",
- "contributors": [
- "John-David Dalton (http://allyoucanleet.com/)",
- "Benjamin Tan (https://d10.github.io/)",
- "Blaine Bublitz (http://www.iceddev.com/)",
- "Kit Cambridge (http://kitcambridge.be/)",
- "Mathias Bynens (https://mathiasbynens.be/)"
- ],
- "repository": "lodash/lodash",
- "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" }
-}
diff --git a/lodash._root/LICENSE b/lodash._root/LICENSE
index b054ca5a3..bcbe13d67 100644
--- a/lodash._root/LICENSE
+++ b/lodash._root/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._root/README.md b/lodash._root/README.md
index 9372f4a97..0329abf23 100644
--- a/lodash._root/README.md
+++ b/lodash._root/README.md
@@ -1,4 +1,4 @@
-# lodash._root v3.0.0
+# lodash._root v3.0.1
The internal [lodash](https://lodash.com/) function `root` exported as a [Node.js](https://nodejs.org/) module.
@@ -15,4 +15,4 @@ In Node.js:
var root = require('lodash._root');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._root) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._root) for more details.
diff --git a/lodash._root/index.js b/lodash._root/index.js
index 469812486..2d8ba0aff 100644
--- a/lodash._root/index.js
+++ b/lodash._root/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.1 (Custom Build)
* Build: `lodash modularize exports="npm" -o ./`
* Copyright 2012-2016 The Dojo Foundation
* Based on Underscore.js 1.8.3
@@ -14,10 +14,14 @@ var objectTypes = {
};
/** Detect free variable `exports`. */
-var freeExports = (objectTypes[typeof exports] && exports && !exports.nodeType) ? exports : null;
+var freeExports = (objectTypes[typeof exports] && exports && !exports.nodeType)
+ ? exports
+ : undefined;
/** Detect free variable `module`. */
-var freeModule = (objectTypes[typeof module] && module && !module.nodeType) ? module : null;
+var freeModule = (objectTypes[typeof module] && module && !module.nodeType)
+ ? module
+ : undefined;
/** Detect free variable `global` from Node.js. */
var freeGlobal = checkGlobal(freeExports && freeModule && typeof global == 'object' && global);
@@ -37,7 +41,9 @@ var thisGlobal = checkGlobal(objectTypes[typeof this] && this);
* The `this` value is used if it's the global object to avoid Greasemonkey's
* restricted `window` object, otherwise the `window` object is used.
*/
-var root = freeGlobal || ((freeWindow !== (thisGlobal && thisGlobal.window)) && freeWindow) || freeSelf || thisGlobal || Function('return this')();
+var root = freeGlobal ||
+ ((freeWindow !== (thisGlobal && thisGlobal.window)) && freeWindow) ||
+ freeSelf || thisGlobal || Function('return this')();
/**
* Checks if `value` is a global object.
diff --git a/lodash._root/package.json b/lodash._root/package.json
index 227ac6c4a..f75400d14 100644
--- a/lodash._root/package.json
+++ b/lodash._root/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._root",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The internal lodash function `root` exported as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._toiterable/LICENSE.txt b/lodash._toiterable/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash._toiterable/LICENSE.txt
+++ b/lodash._toiterable/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._toiterable/README.md b/lodash._toiterable/README.md
index 4789390b4..e2299e28d 100644
--- a/lodash._toiterable/README.md
+++ b/lodash._toiterable/README.md
@@ -1,4 +1,4 @@
-# lodash._toiterable v3.0.0
+# lodash._toiterable v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `toIterable` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var toIterable = require('lodash._toiterable');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._toiterable) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._toiterable) for more details.
diff --git a/lodash._toiterable/index.js b/lodash._toiterable/index.js
index f7da7bdfc..83947cf43 100644
--- a/lodash._toiterable/index.js
+++ b/lodash._toiterable/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -10,18 +10,15 @@ var baseValues = require('lodash._basevalues'),
keys = require('lodash.keys');
/**
- * Used as the maximum length of an array-like value.
- * See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer)
- * for more details.
+ * Used as the [maximum length](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer)
+ * of an array-like value.
*/
var MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;
/**
* Checks if `value` is a valid array-like length.
*
- * **Note:** This function is based on ES `ToLength`. See the
- * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength)
- * for more details.
+ * **Note:** This function is based on [`ToLength`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength).
*
* @private
* @param {*} value The value to check.
@@ -49,11 +46,9 @@ function toIterable(value) {
}
/**
- * Checks if `value` is the language type of `Object`.
+ * 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('')`)
*
- * **Note:** See the [ES5 spec](https://es5.github.io/#x8) for more details.
- *
* @static
* @memberOf _
* @category Lang
@@ -74,7 +69,7 @@ function isObject(value) {
// Avoid a V8 JIT bug in Chrome 19-20.
// See https://code.google.com/p/v8/issues/detail?id=2291 for more details.
var type = typeof value;
- return type == 'function' || (value && type == 'object') || false;
+ return type == 'function' || (!!value && type == 'object');
}
/**
diff --git a/lodash._toiterable/package.json b/lodash._toiterable/package.json
index fb1210189..a1d561808 100644
--- a/lodash._toiterable/package.json
+++ b/lodash._toiterable/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._toiterable",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s internal `toIterable` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.after/README.md b/lodash.after/README.md
index e8ee50f6b..a4e4eb45d 100644
--- a/lodash.after/README.md
+++ b/lodash.after/README.md
@@ -1,4 +1,4 @@
-# lodash.after v3.0.0
+# lodash.after v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.after` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var after = require('lodash.after');
```
-See the [documentation](https://lodash.com/docs#after) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.after) for more details.
+See the [documentation](https://lodash.com/docs#after) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.after) for more details.
diff --git a/lodash.after/index.js b/lodash.after/index.js
index 30917fdea..330c276db 100644
--- a/lodash.after/index.js
+++ b/lodash.after/index.js
@@ -1,12 +1,4 @@
-/**
- * lodash 3.0.0 (Custom Build)
- * Build: `lodash modern modularize exports="npm" -o ./`
- * Copyright 2012-2015 The Dojo Foundation
- * Based on Underscore.js 1.7.0
- * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- * Available under MIT license
- */
-var isFunction = require('lodash.isfunction');
+/** Used as the `TypeError` message for "Functions" methods. */
/** Used as the `TypeError` message for "Functions" methods. */
var FUNC_ERROR_TEXT = 'Expected a function';
@@ -16,7 +8,7 @@ var nativeIsFinite = global.isFinite;
/**
* The opposite of `_.before`; this method creates a function that invokes
- * `func` once it is called `n` or more times.
+ * `func` once it's called `n` or more times.
*
* @static
* @memberOf _
@@ -38,8 +30,8 @@ var nativeIsFinite = global.isFinite;
* // => logs 'done saving!' after the two async saves have completed
*/
function after(n, func) {
- if (!isFunction(func)) {
- if (isFunction(n)) {
+ if (typeof func != 'function') {
+ if (typeof n == 'function') {
var temp = n;
n = func;
func = temp;
diff --git a/lodash.after/package.json b/lodash.after/package.json
index b4c261030..d73306dd9 100644
--- a/lodash.after/package.json
+++ b/lodash.after/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.after",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.after` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
@@ -15,8 +15,5 @@
"Mathias Bynens (https://mathiasbynens.be/)"
],
"repository": "lodash/lodash",
- "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" },
- "dependencies": {
- "lodash.isfunction": "^3.0.0"
- }
+ "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" }
}
diff --git a/lodash.ary/LICENSE.txt b/lodash.ary/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.ary/LICENSE.txt
+++ b/lodash.ary/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.ary/README.md b/lodash.ary/README.md
index 16350f39c..c5c4ed05a 100644
--- a/lodash.ary/README.md
+++ b/lodash.ary/README.md
@@ -1,4 +1,4 @@
-# lodash.ary v3.0.0
+# lodash.ary v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.ary` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var ary = require('lodash.ary');
```
-See the [documentation](https://lodash.com/docs#ary) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.ary) for more details.
+See the [documentation](https://lodash.com/docs#ary) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.ary) for more details.
diff --git a/lodash.ary/index.js b/lodash.ary/index.js
index 95282a58f..d7b495869 100644
--- a/lodash.ary/index.js
+++ b/lodash.ary/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -10,7 +10,7 @@ var createWrapper = require('lodash._createwrapper'),
isIterateeCall = require('lodash._isiterateecall');
/** Used to compose bitmasks for wrapper metadata. */
-var ARY_FLAG = 256;
+var ARY_FLAG = 128;
/* Native method references for those with the same name as other `lodash` methods. */
var nativeMax = Math.max;
diff --git a/lodash.ary/package.json b/lodash.ary/package.json
index e856f8c95..9742c3d84 100644
--- a/lodash.ary/package.json
+++ b/lodash.ary/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.ary",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.ary` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.before/README.md b/lodash.before/README.md
index 73e707251..1a4f93348 100644
--- a/lodash.before/README.md
+++ b/lodash.before/README.md
@@ -1,4 +1,4 @@
-# lodash.before v3.0.0
+# lodash.before v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.before` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var before = require('lodash.before');
```
-See the [documentation](https://lodash.com/docs#before) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.before) for more details.
+See the [documentation](https://lodash.com/docs#before) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.before) for more details.
diff --git a/lodash.before/index.js b/lodash.before/index.js
index ad47114ba..7175d123c 100644
--- a/lodash.before/index.js
+++ b/lodash.before/index.js
@@ -1,12 +1,11 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.7.0
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license
*/
-var isFunction = require('lodash.isfunction');
/** Used as the `TypeError` message for "Functions" methods. */
var FUNC_ERROR_TEXT = 'Expected a function';
@@ -29,8 +28,8 @@ var FUNC_ERROR_TEXT = 'Expected a function';
*/
function before(n, func) {
var result;
- if (!isFunction(func)) {
- if (isFunction(n)) {
+ if (typeof func != 'function') {
+ if (typeof n == 'function') {
var temp = n;
n = func;
func = temp;
diff --git a/lodash.before/package.json b/lodash.before/package.json
index 29e40887a..cd5c15e80 100644
--- a/lodash.before/package.json
+++ b/lodash.before/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.before",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.before` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
@@ -15,8 +15,5 @@
"Mathias Bynens (https://mathiasbynens.be/)"
],
"repository": "lodash/lodash",
- "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" },
- "dependencies": {
- "lodash.isfunction": "^3.0.0"
- }
+ "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" }
}
diff --git a/lodash.camelcase/README.md b/lodash.camelcase/README.md
index c9bfb432a..d2dfcdfea 100644
--- a/lodash.camelcase/README.md
+++ b/lodash.camelcase/README.md
@@ -1,4 +1,4 @@
-# lodash.camelcase v3.0.0
+# lodash.camelcase v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.camelCase` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var camelCase = require('lodash.camelcase');
```
-See the [documentation](https://lodash.com/docs#camelCase) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.camelcase) for more details.
+See the [documentation](https://lodash.com/docs#camelCase) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.camelcase) for more details.
diff --git a/lodash.camelcase/index.js b/lodash.camelcase/index.js
index 81c35dff1..4ed1ab163 100644
--- a/lodash.camelcase/index.js
+++ b/lodash.camelcase/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.7.0
@@ -9,8 +9,7 @@
var createCompounder = require('lodash._createcompounder');
/**
- * Converts `string` to camel case.
- * See [Wikipedia](https://en.wikipedia.org/wiki/CamelCase) for more details.
+ * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).
*
* @static
* @memberOf _
@@ -30,7 +29,7 @@ var createCompounder = require('lodash._createcompounder');
*/
var camelCase = createCompounder(function(result, word, index) {
word = word.toLowerCase();
- return index ? (result + word.charAt(0).toUpperCase() + word.slice(1)) : word;
+ return result + (index ? (word.charAt(0).toUpperCase() + word.slice(1)) : word);
});
module.exports = camelCase;
diff --git a/lodash.camelcase/package.json b/lodash.camelcase/package.json
index 343cd179f..6aefb6ba1 100644
--- a/lodash.camelcase/package.json
+++ b/lodash.camelcase/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.camelcase",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.camelCase` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._basefind/LICENSE.txt b/lodash.chunk/LICENSE
similarity index 94%
rename from lodash._basefind/LICENSE.txt
rename to lodash.chunk/LICENSE
index 17764328c..9cd87e5dc 100644
--- a/lodash._basefind/LICENSE.txt
+++ b/lodash.chunk/LICENSE
@@ -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.chunk/LICENSE.txt b/lodash.chunk/LICENSE.txt
deleted file mode 100644
index 17764328c..000000000
--- a/lodash.chunk/LICENSE.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Copyright 2012-2015 The Dojo Foundation
-Based on Underscore.js 1.7.0, copyright 2009-2015 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:
-
-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.
diff --git a/lodash.chunk/README.md b/lodash.chunk/README.md
index f766bc81f..e3fa73db9 100644
--- a/lodash.chunk/README.md
+++ b/lodash.chunk/README.md
@@ -1,4 +1,4 @@
-# lodash.chunk v3.0.0
+# lodash.chunk v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.chunk` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var chunk = require('lodash.chunk');
```
-See the [documentation](https://lodash.com/docs#chunk) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.chunk) for more details.
+See the [documentation](https://lodash.com/docs#chunk) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.chunk) for more details.
diff --git a/lodash.chunk/index.js b/lodash.chunk/index.js
index 7eea67b1f..72b8974ba 100644
--- a/lodash.chunk/index.js
+++ b/lodash.chunk/index.js
@@ -1,19 +1,18 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
var baseSlice = require('lodash._baseslice'),
isIterateeCall = require('lodash._isiterateecall');
-/** Native method references. */
-var ceil = Math.ceil;
-
/* Native method references for those with the same name as other `lodash` methods. */
-var nativeMax = Math.max;
+var nativeCeil = Math.ceil,
+ nativeFloor = Math.floor,
+ nativeMax = Math.max;
/**
* Creates an array of elements split into groups the length of `size`.
@@ -39,12 +38,12 @@ function chunk(array, size, guard) {
if (guard ? isIterateeCall(array, size, guard) : size == null) {
size = 1;
} else {
- size = nativeMax(+size || 1, 1);
+ size = nativeMax(nativeFloor(size) || 1, 1);
}
var index = 0,
length = array ? array.length : 0,
resIndex = -1,
- result = Array(ceil(length / size));
+ result = Array(nativeCeil(length / size));
while (index < length) {
result[++resIndex] = baseSlice(array, index, (index += size));
diff --git a/lodash.chunk/package.json b/lodash.chunk/package.json
index ea3db2319..31b611e3b 100644
--- a/lodash.chunk/package.json
+++ b/lodash.chunk/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.chunk",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.chunk` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.clone/README.md b/lodash.clone/README.md
index 0d42ccfa6..185ce302a 100644
--- a/lodash.clone/README.md
+++ b/lodash.clone/README.md
@@ -1,4 +1,4 @@
-# lodash.clone v3.0.0
+# lodash.clone v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.clone` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var clone = require('lodash.clone');
```
-See the [documentation](https://lodash.com/docs#clone) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.clone) for more details.
+See the [documentation](https://lodash.com/docs#clone) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.clone) for more details.
diff --git a/lodash.clone/index.js b/lodash.clone/index.js
index 921a59489..e9aab9f75 100644
--- a/lodash.clone/index.js
+++ b/lodash.clone/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.7.0
@@ -17,12 +17,12 @@ var baseClone = require('lodash._baseclone'),
* cloning is handled by the method instead. The `customizer` is bound to
* `thisArg` and invoked with two argument; (value [, index|key, object]).
*
- * **Note:** This method is loosely based on the structured clone algorithm.
+ * **Note:** This method is loosely based on the
+ * [structured clone algorithm](http://www.w3.org/TR/html5/infrastructure.html#internal-structured-cloning-algorithm).
* The enumerable properties of `arguments` objects and objects created by
* constructors other than `Object` are cloned to plain `Object` objects. An
* empty object is returned for uncloneable values such as functions, DOM nodes,
- * Maps, Sets, and WeakMaps. See the [HTML5 specification](http://www.w3.org/TR/html5/infrastructure.html#internal-structured-cloning-algorithm)
- * for more details.
+ * Maps, Sets, and WeakMaps.
*
* @static
* @memberOf _
@@ -48,22 +48,26 @@ var baseClone = require('lodash._baseclone'),
* // => false
*
* // using a customizer callback
- * var body = _.clone(document.body, function(value) {
- * return _.isElement(value) ? value.cloneNode(false) : undefined;
+ * var el = _.clone(document.body, function(value) {
+ * if (_.isElement(value)) {
+ * return value.cloneNode(false);
+ * }
* });
*
- * body === document.body
+ * el === document.body
* // => false
- * body.nodeName
+ * el.nodeName
* // => BODY
- * body.childNodes.length;
+ * el.childNodes.length;
* // => 0
*/
function clone(value, isDeep, customizer, thisArg) {
- // Juggle arguments.
- if (typeof isDeep != 'boolean' && isDeep != null) {
+ if (isDeep && typeof isDeep != 'boolean' && isIterateeCall(value, isDeep, customizer)) {
+ isDeep = false;
+ }
+ else if (typeof isDeep == 'function') {
thisArg = customizer;
- customizer = isIterateeCall(value, isDeep, thisArg) ? null : isDeep;
+ customizer = isDeep;
isDeep = false;
}
customizer = typeof customizer == 'function' && bindCallback(customizer, thisArg, 1);
diff --git a/lodash.clone/package.json b/lodash.clone/package.json
index 7d2c3f3c7..7bc1234fb 100644
--- a/lodash.clone/package.json
+++ b/lodash.clone/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.clone",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.clone` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.clonedeep/LICENSE.txt b/lodash.clonedeep/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.clonedeep/LICENSE.txt
+++ b/lodash.clonedeep/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.clonedeep/README.md b/lodash.clonedeep/README.md
index 027afa45e..79c88487d 100644
--- a/lodash.clonedeep/README.md
+++ b/lodash.clonedeep/README.md
@@ -1,4 +1,4 @@
-# lodash.clonedeep v3.0.0
+# lodash.clonedeep v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.cloneDeep` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var cloneDeep = require('lodash.clonedeep');
```
-See the [documentation](https://lodash.com/docs#cloneDeep) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.clonedeep) for more details.
+See the [documentation](https://lodash.com/docs#cloneDeep) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.clonedeep) for more details.
diff --git a/lodash.clonedeep/index.js b/lodash.clonedeep/index.js
index 73b914f09..26b9ddcb8 100644
--- a/lodash.clonedeep/index.js
+++ b/lodash.clonedeep/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -55,8 +55,9 @@ var baseClone = require('lodash._baseclone'),
* // => 20
*/
function cloneDeep(value, customizer, thisArg) {
- customizer = typeof customizer == 'function' && bindCallback(customizer, thisArg, 1);
- return baseClone(value, true, customizer);
+ return typeof customizer == 'function'
+ ? baseClone(value, true, bindCallback(customizer, thisArg, 1))
+ : baseClone(value, true);
}
module.exports = cloneDeep;
diff --git a/lodash.clonedeep/package.json b/lodash.clonedeep/package.json
index cf909108d..c5ec7d85a 100644
--- a/lodash.clonedeep/package.json
+++ b/lodash.clonedeep/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.clonedeep",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.cloneDeep` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.compact/LICENSE b/lodash.compact/LICENSE
new file mode 100644
index 000000000..bcbe13d67
--- /dev/null
+++ b/lodash.compact/LICENSE
@@ -0,0 +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:
+
+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.
diff --git a/lodash.compact/LICENSE.txt b/lodash.compact/LICENSE.txt
deleted file mode 100644
index 17764328c..000000000
--- a/lodash.compact/LICENSE.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Copyright 2012-2015 The Dojo Foundation
-Based on Underscore.js 1.7.0, copyright 2009-2015 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:
-
-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.
diff --git a/lodash.compact/README.md b/lodash.compact/README.md
index aedd515fc..dadacc58f 100644
--- a/lodash.compact/README.md
+++ b/lodash.compact/README.md
@@ -1,20 +1,18 @@
-# lodash.compact v3.0.0
+# lodash.compact v3.0.1
-The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.compact` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
+The [lodash](https://lodash.com/) method `_.compact` exported as a [Node.js](https://nodejs.org/) module.
## Installation
Using npm:
-
```bash
$ {sudo -H} npm i -g npm
$ npm i --save lodash.compact
```
-In Node.js/io.js:
-
+In Node.js:
```js
var compact = require('lodash.compact');
```
-See the [documentation](https://lodash.com/docs#compact) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.compact) for more details.
+See the [documentation](https://lodash.com/docs#compact) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.compact) for more details.
diff --git a/lodash.compact/index.js b/lodash.compact/index.js
index 13597d7c2..804c35972 100644
--- a/lodash.compact/index.js
+++ b/lodash.compact/index.js
@@ -1,9 +1,9 @@
/**
- * lodash 3.0.0 (Custom Build)
- * Build: `lodash modern modularize exports="npm" -o ./`
- * Copyright 2012-2015 The Dojo Foundation
- * Based on Underscore.js 1.7.0
- * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
+ * lodash 3.0.1 (Custom Build)
+ * Build: `lodash modularize exports="npm" -o ./`
+ * Copyright 2012-2016 The Dojo Foundation
+ * Based on Underscore.js 1.8.3
+ * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license
*/
@@ -13,6 +13,7 @@
*
* @static
* @memberOf _
+ * @since 0.1.0
* @category Array
* @param {Array} array The array to compact.
* @returns {Array} Returns the new array of filtered values.
@@ -24,13 +25,13 @@
function compact(array) {
var index = -1,
length = array ? array.length : 0,
- resIndex = -1,
+ resIndex = 0,
result = [];
while (++index < length) {
var value = array[index];
if (value) {
- result[++resIndex] = value;
+ result[resIndex++] = value;
}
}
return result;
diff --git a/lodash.compact/package.json b/lodash.compact/package.json
index 466709192..2da2660fb 100644
--- a/lodash.compact/package.json
+++ b/lodash.compact/package.json
@@ -1,17 +1,15 @@
{
"name": "lodash.compact",
- "version": "3.0.0",
- "description": "The modern build of lodash’s `_.compact` as a module.",
+ "version": "3.0.1",
+ "description": "The lodash method `_.compact` exported as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
"license": "MIT",
- "keywords": "lodash, lodash-modularized, stdlib, util",
+ "keywords": "lodash-modularized, compact",
"author": "John-David Dalton (http://allyoucanleet.com/)",
"contributors": [
"John-David Dalton (http://allyoucanleet.com/)",
- "Benjamin Tan (https://d10.github.io/)",
- "Blaine Bublitz (http://www.iceddev.com/)",
- "Kit Cambridge (http://kitcambridge.be/)",
+ "Blaine Bublitz (https://github.com/phated)",
"Mathias Bynens (https://mathiasbynens.be/)"
],
"repository": "lodash/lodash",
diff --git a/lodash.curry/LICENSE.txt b/lodash.curry/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.curry/LICENSE.txt
+++ b/lodash.curry/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.curry/README.md b/lodash.curry/README.md
index d43d90a43..9d7342e15 100644
--- a/lodash.curry/README.md
+++ b/lodash.curry/README.md
@@ -1,4 +1,4 @@
-# lodash.curry v3.0.0
+# lodash.curry v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.curry` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var curry = require('lodash.curry');
```
-See the [documentation](https://lodash.com/docs#curry) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.curry) for more details.
+See the [documentation](https://lodash.com/docs#curry) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.curry) for more details.
diff --git a/lodash.curry/index.js b/lodash.curry/index.js
index 9c33193a2..391b36926 100644
--- a/lodash.curry/index.js
+++ b/lodash.curry/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -12,6 +12,25 @@ var createWrapper = require('lodash._createwrapper'),
/** Used to compose bitmasks for wrapper metadata. */
var CURRY_FLAG = 8;
+/**
+ * Creates a `_.curry` or `_.curryRight` function.
+ *
+ * @private
+ * @param {boolean} flag The curry bit flag.
+ * @returns {Function} Returns the new curry function.
+ */
+function createCurry(flag) {
+ function curryFunc(func, arity, guard) {
+ if (guard && isIterateeCall(func, arity, guard)) {
+ arity = null;
+ }
+ var result = createWrapper(func, flag, null, null, null, null, null, arity);
+ result.placeholder = curryFunc.placeholder;
+ return result;
+ }
+ return curryFunc;
+}
+
/**
* Creates a function that accepts one or more arguments of `func` that when
* called either invokes `func` returning its result, if all `func` arguments
@@ -22,7 +41,7 @@ var CURRY_FLAG = 8;
* The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,
* may be used as a placeholder for provided arguments.
*
- * **Note:** This method does not set the `length` property of curried functions.
+ * **Note:** This method does not set the "length" property of curried functions.
*
* @static
* @memberOf _
@@ -52,14 +71,7 @@ var CURRY_FLAG = 8;
* curried(1)(_, 3)(2);
* // => [1, 2, 3]
*/
-function curry(func, arity, guard) {
- if (guard && isIterateeCall(func, arity, guard)) {
- arity = null;
- }
- var result = createWrapper(func, CURRY_FLAG, null, null, null, null, null, arity);
- result.placeholder = curry.placeholder;
- return result;
-}
+var curry = createCurry(CURRY_FLAG);
// Assign default placeholders.
curry.placeholder = {};
diff --git a/lodash.curry/package.json b/lodash.curry/package.json
index fe1af57c0..dabecc5c2 100644
--- a/lodash.curry/package.json
+++ b/lodash.curry/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.curry",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.curry` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.curryright/LICENSE.txt b/lodash.curryright/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.curryright/LICENSE.txt
+++ b/lodash.curryright/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.curryright/README.md b/lodash.curryright/README.md
index 21b49764e..33a835777 100644
--- a/lodash.curryright/README.md
+++ b/lodash.curryright/README.md
@@ -1,4 +1,4 @@
-# lodash.curryright v3.0.0
+# lodash.curryright v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.curryRight` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var curryRight = require('lodash.curryright');
```
-See the [documentation](https://lodash.com/docs#curryRight) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.curryright) for more details.
+See the [documentation](https://lodash.com/docs#curryRight) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.curryright) for more details.
diff --git a/lodash.curryright/index.js b/lodash.curryright/index.js
index 55f158c83..d6b417294 100644
--- a/lodash.curryright/index.js
+++ b/lodash.curryright/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -12,6 +12,25 @@ var createWrapper = require('lodash._createwrapper'),
/** Used to compose bitmasks for wrapper metadata. */
var CURRY_RIGHT_FLAG = 16;
+/**
+ * Creates a `_.curry` or `_.curryRight` function.
+ *
+ * @private
+ * @param {boolean} flag The curry bit flag.
+ * @returns {Function} Returns the new curry function.
+ */
+function createCurry(flag) {
+ function curryFunc(func, arity, guard) {
+ if (guard && isIterateeCall(func, arity, guard)) {
+ arity = null;
+ }
+ var result = createWrapper(func, flag, null, null, null, null, null, arity);
+ result.placeholder = curryFunc.placeholder;
+ return result;
+ }
+ return curryFunc;
+}
+
/**
* This method is like `_.curry` except that arguments are applied to `func`
* in the manner of `_.partialRight` instead of `_.partial`.
@@ -19,7 +38,7 @@ var CURRY_RIGHT_FLAG = 16;
* The `_.curryRight.placeholder` value, which defaults to `_` in monolithic
* builds, may be used as a placeholder for provided arguments.
*
- * **Note:** This method does not set the `length` property of curried functions.
+ * **Note:** This method does not set the "length" property of curried functions.
*
* @static
* @memberOf _
@@ -49,14 +68,7 @@ var CURRY_RIGHT_FLAG = 16;
* curried(3)(1, _)(2);
* // => [1, 2, 3]
*/
-function curryRight(func, arity, guard) {
- if (guard && isIterateeCall(func, arity, guard)) {
- arity = null;
- }
- var result = createWrapper(func, CURRY_RIGHT_FLAG, null, null, null, null, null, arity);
- result.placeholder = curryRight.placeholder;
- return result;
-}
+var curryRight = createCurry(CURRY_RIGHT_FLAG);
// Assign default placeholders.
curryRight.placeholder = {};
diff --git a/lodash.curryright/package.json b/lodash.curryright/package.json
index 18be39bb7..981ff0d21 100644
--- a/lodash.curryright/package.json
+++ b/lodash.curryright/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.curryright",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.curryRight` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.debounce/README.md b/lodash.debounce/README.md
index c05de802e..e68391d74 100644
--- a/lodash.debounce/README.md
+++ b/lodash.debounce/README.md
@@ -1,4 +1,4 @@
-# lodash.debounce v3.0.0
+# lodash.debounce v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.debounce` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var debounce = require('lodash.debounce');
```
-See the [documentation](https://lodash.com/docs#debounce) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.debounce) for more details.
+See the [documentation](https://lodash.com/docs#debounce) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.debounce) for more details.
diff --git a/lodash.debounce/index.js b/lodash.debounce/index.js
index 76d2ea735..cfabe6215 100644
--- a/lodash.debounce/index.js
+++ b/lodash.debounce/index.js
@@ -1,13 +1,12 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.7.0
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license
*/
-var isFunction = require('lodash.isfunction'),
- isNative = require('lodash.isnative');
+var isNative = require('lodash.isnative');
/** Used as the `TypeError` message for "Functions" methods. */
var FUNC_ERROR_TEXT = 'Expected a function';
@@ -25,7 +24,9 @@ var nativeMax = Math.max,
* @category Date
* @example
*
- * _.defer(function(stamp) { console.log(_.now() - stamp); }, _.now());
+ * _.defer(function(stamp) {
+ * console.log(_.now() - stamp);
+ * }, _.now());
* // => logs the number of milliseconds it took for the deferred function to be invoked
*/
var now = nativeNow || function() {
@@ -106,7 +107,7 @@ function debounce(func, wait, options) {
maxWait = false,
trailing = true;
- if (!isFunction(func)) {
+ if (typeof func != 'function') {
throw new TypeError(FUNC_ERROR_TEXT);
}
wait = wait < 0 ? 0 : wait;
diff --git a/lodash.debounce/package.json b/lodash.debounce/package.json
index a7d3f119e..615531836 100644
--- a/lodash.debounce/package.json
+++ b/lodash.debounce/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.debounce",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.debounce` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
@@ -17,7 +17,6 @@
"repository": "lodash/lodash",
"scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" },
"dependencies": {
- "lodash.isfunction": "^3.0.0",
"lodash.isnative": "^3.0.0"
}
}
diff --git a/lodash.deburr/LICENSE.txt b/lodash.deburr/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.deburr/LICENSE.txt
+++ b/lodash.deburr/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.deburr/README.md b/lodash.deburr/README.md
index edaa5ada3..de6013092 100644
--- a/lodash.deburr/README.md
+++ b/lodash.deburr/README.md
@@ -1,4 +1,4 @@
-# lodash.deburr v3.0.0
+# lodash.deburr v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.deburr` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var deburr = require('lodash.deburr');
```
-See the [documentation](https://lodash.com/docs#deburr) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.deburr) for more details.
+See the [documentation](https://lodash.com/docs#deburr) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.deburr) for more details.
diff --git a/lodash.deburr/index.js b/lodash.deburr/index.js
index caa86eaca..e1e914773 100644
--- a/lodash.deburr/index.js
+++ b/lodash.deburr/index.js
@@ -1,13 +1,18 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
var baseToString = require('lodash._basetostring');
+/**
+ * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).
+ */
+var reComboMarks = /[\u0300-\u036f\ufe20-\ufe23]/g;
+
/** Used to match latin-1 supplementary letters (excluding mathematical operators). */
var reLatin1 = /[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g;
@@ -44,9 +49,8 @@ function deburrLetter(letter) {
}
/**
- * Deburrs `string` by converting latin-1 supplementary letters to basic latin letters.
- * See [Wikipedia](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)
- * for more details.
+ * Deburrs `string` by converting [latin-1 supplementary letters](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)
+ * to basic latin letters and removing [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).
*
* @static
* @memberOf _
@@ -60,7 +64,7 @@ function deburrLetter(letter) {
*/
function deburr(string) {
string = baseToString(string);
- return string && string.replace(reLatin1, deburrLetter);
+ return string && string.replace(reLatin1, deburrLetter).replace(reComboMarks, '');
}
module.exports = deburr;
diff --git a/lodash.deburr/package.json b/lodash.deburr/package.json
index 133a61915..b8ceead10 100644
--- a/lodash.deburr/package.json
+++ b/lodash.deburr/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.deburr",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.deburr` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.difference/README.md b/lodash.difference/README.md
index 7dc571550..7a8bf1ad0 100644
--- a/lodash.difference/README.md
+++ b/lodash.difference/README.md
@@ -1,4 +1,4 @@
-# lodash.difference v3.0.0
+# lodash.difference v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.difference` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var difference = require('lodash.difference');
```
-See the [documentation](https://lodash.com/docs#difference) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.difference) for more details.
+See the [documentation](https://lodash.com/docs#difference) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.difference) for more details.
diff --git a/lodash.difference/index.js b/lodash.difference/index.js
index 7d225a2cb..aa2a7c1e3 100644
--- a/lodash.difference/index.js
+++ b/lodash.difference/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -32,16 +32,17 @@ var baseDifference = require('lodash._basedifference'),
* // => [1, 3]
*/
function difference() {
- var index = -1,
- length = arguments.length;
+ var args = arguments,
+ index = -1,
+ length = args.length;
while (++index < length) {
- var value = arguments[index];
+ var value = args[index];
if (isArray(value) || isArguments(value)) {
break;
}
}
- return baseDifference(value, baseFlatten(arguments, false, true, ++index));
+ return baseDifference(value, baseFlatten(args, false, true, ++index));
}
module.exports = difference;
diff --git a/lodash.difference/package.json b/lodash.difference/package.json
index a731ae317..9e9fcae94 100644
--- a/lodash.difference/package.json
+++ b/lodash.difference/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.difference",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.difference` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.droprightwhile/LICENSE.txt b/lodash.droprightwhile/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.droprightwhile/LICENSE.txt
+++ b/lodash.droprightwhile/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.droprightwhile/README.md b/lodash.droprightwhile/README.md
index 4ea448096..c8b83c2e0 100644
--- a/lodash.droprightwhile/README.md
+++ b/lodash.droprightwhile/README.md
@@ -1,4 +1,4 @@
-# lodash.droprightwhile v3.0.0
+# lodash.droprightwhile v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.dropRightWhile` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var dropRightWhile = require('lodash.droprightwhile');
```
-See the [documentation](https://lodash.com/docs#dropRightWhile) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.droprightwhile) for more details.
+See the [documentation](https://lodash.com/docs#dropRightWhile) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.droprightwhile) for more details.
diff --git a/lodash.droprightwhile/index.js b/lodash.droprightwhile/index.js
index 975f1c0c4..b49d6fc71 100644
--- a/lodash.droprightwhile/index.js
+++ b/lodash.droprightwhile/index.js
@@ -1,18 +1,39 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
var baseCallback = require('lodash._basecallback'),
baseSlice = require('lodash._baseslice');
+/**
+ * The base implementation of `_.dropRightWhile`, `_.dropWhile`, `_.takeRightWhile`,
+ * and `_.takeWhile` without support for callback shorthands and `this` binding.
+ *
+ * @private
+ * @param {Array} array The array to query.
+ * @param {Function} predicate The function invoked per iteration.
+ * @param {boolean} [isDrop] Specify dropping elements instead of taking them.
+ * @param {boolean} [fromRight] Specify iterating from right to left.
+ * @returns {Array} Returns the slice of `array`.
+ */
+function baseWhile(array, predicate, isDrop, fromRight) {
+ var length = array.length,
+ index = fromRight ? length : -1;
+
+ while ((fromRight ? index-- : ++index < length) && predicate(array[index], index, array)) {}
+ return isDrop
+ ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))
+ : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));
+}
+
/**
* Creates a slice of `array` excluding elements dropped from the end.
* Elements are dropped until `predicate` returns falsey. The predicate is
- * bound to `thisArg` and invoked with three arguments; (value, index, array).
+ * bound to `thisArg` and invoked with three arguments: (value, index, array).
*
* If a property name is provided for `predicate` the created `_.property`
* style callback returns the property value of the given element.
@@ -59,13 +80,9 @@ var baseCallback = require('lodash._basecallback'),
* // => ['barney', 'fred', 'pebbles']
*/
function dropRightWhile(array, predicate, thisArg) {
- var length = array ? array.length : 0;
- if (!length) {
- return [];
- }
- predicate = baseCallback(predicate, thisArg, 3);
- while (length-- && predicate(array[length], length, array)) {}
- return baseSlice(array, 0, length + 1);
+ return (array && array.length)
+ ? baseWhile(array, baseCallback(predicate, thisArg, 3), true, true)
+ : [];
}
module.exports = dropRightWhile;
diff --git a/lodash.droprightwhile/package.json b/lodash.droprightwhile/package.json
index 51caac41d..20c066657 100644
--- a/lodash.droprightwhile/package.json
+++ b/lodash.droprightwhile/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.droprightwhile",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.dropRightWhile` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.dropwhile/LICENSE.txt b/lodash.dropwhile/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.dropwhile/LICENSE.txt
+++ b/lodash.dropwhile/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.dropwhile/README.md b/lodash.dropwhile/README.md
index 4555e6cd0..4054dbb37 100644
--- a/lodash.dropwhile/README.md
+++ b/lodash.dropwhile/README.md
@@ -1,4 +1,4 @@
-# lodash.dropwhile v3.0.0
+# lodash.dropwhile v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.dropWhile` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var dropWhile = require('lodash.dropwhile');
```
-See the [documentation](https://lodash.com/docs#dropWhile) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.dropwhile) for more details.
+See the [documentation](https://lodash.com/docs#dropWhile) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.dropwhile) for more details.
diff --git a/lodash.dropwhile/index.js b/lodash.dropwhile/index.js
index f59efbc0b..458b3d098 100644
--- a/lodash.dropwhile/index.js
+++ b/lodash.dropwhile/index.js
@@ -1,18 +1,39 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
var baseCallback = require('lodash._basecallback'),
baseSlice = require('lodash._baseslice');
+/**
+ * The base implementation of `_.dropRightWhile`, `_.dropWhile`, `_.takeRightWhile`,
+ * and `_.takeWhile` without support for callback shorthands and `this` binding.
+ *
+ * @private
+ * @param {Array} array The array to query.
+ * @param {Function} predicate The function invoked per iteration.
+ * @param {boolean} [isDrop] Specify dropping elements instead of taking them.
+ * @param {boolean} [fromRight] Specify iterating from right to left.
+ * @returns {Array} Returns the slice of `array`.
+ */
+function baseWhile(array, predicate, isDrop, fromRight) {
+ var length = array.length,
+ index = fromRight ? length : -1;
+
+ while ((fromRight ? index-- : ++index < length) && predicate(array[index], index, array)) {}
+ return isDrop
+ ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))
+ : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));
+}
+
/**
* Creates a slice of `array` excluding elements dropped from the beginning.
* Elements are dropped until `predicate` returns falsey. The predicate is
- * bound to `thisArg` and invoked with three arguments; (value, index, array).
+ * bound to `thisArg` and invoked with three arguments: (value, index, array).
*
* If a property name is provided for `predicate` the created `_.property`
* style callback returns the property value of the given element.
@@ -59,14 +80,9 @@ var baseCallback = require('lodash._basecallback'),
* // => ['barney', 'fred', 'pebbles']
*/
function dropWhile(array, predicate, thisArg) {
- var length = array ? array.length : 0;
- if (!length) {
- return [];
- }
- var index = -1;
- predicate = baseCallback(predicate, thisArg, 3);
- while (++index < length && predicate(array[index], index, array)) {}
- return baseSlice(array, index);
+ return (array && array.length)
+ ? baseWhile(array, baseCallback(predicate, thisArg, 3), true)
+ : [];
}
module.exports = dropWhile;
diff --git a/lodash.dropwhile/package.json b/lodash.dropwhile/package.json
index 801b3bd1f..85a8468cb 100644
--- a/lodash.dropwhile/package.json
+++ b/lodash.dropwhile/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.dropwhile",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.dropWhile` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.endswith/LICENSE.txt b/lodash.endswith/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.endswith/LICENSE.txt
+++ b/lodash.endswith/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.endswith/README.md b/lodash.endswith/README.md
index a5be39153..c132ca4c3 100644
--- a/lodash.endswith/README.md
+++ b/lodash.endswith/README.md
@@ -1,4 +1,4 @@
-# lodash.endswith v3.0.0
+# lodash.endswith v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.endsWith` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var endsWith = require('lodash.endswith');
```
-See the [documentation](https://lodash.com/docs#endsWith) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.endswith) for more details.
+See the [documentation](https://lodash.com/docs#endsWith) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.endswith) for more details.
diff --git a/lodash.endswith/index.js b/lodash.endswith/index.js
index 192bba70d..de7000e54 100644
--- a/lodash.endswith/index.js
+++ b/lodash.endswith/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -37,7 +37,11 @@ function endsWith(string, target, position) {
target = (target + '');
var length = string.length;
- position = (typeof position == 'undefined' ? length : nativeMin(position < 0 ? 0 : (+position || 0), length)) - target.length;
+ position = typeof position == 'undefined'
+ ? length
+ : nativeMin(position < 0 ? 0 : (+position || 0), length);
+
+ position -= target.length;
return position >= 0 && string.indexOf(target, position) == position;
}
diff --git a/lodash.endswith/package.json b/lodash.endswith/package.json
index 4bb1a1996..0a972a7d5 100644
--- a/lodash.endswith/package.json
+++ b/lodash.endswith/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.endswith",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.endsWith` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._baseproperty/LICENSE.txt b/lodash.escaperegexp/LICENSE
similarity index 94%
rename from lodash._baseproperty/LICENSE.txt
rename to lodash.escaperegexp/LICENSE
index 17764328c..9cd87e5dc 100644
--- a/lodash._baseproperty/LICENSE.txt
+++ b/lodash.escaperegexp/LICENSE
@@ -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.escaperegexp/LICENSE.txt b/lodash.escaperegexp/LICENSE.txt
deleted file mode 100644
index 17764328c..000000000
--- a/lodash.escaperegexp/LICENSE.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Copyright 2012-2015 The Dojo Foundation
-Based on Underscore.js 1.7.0, copyright 2009-2015 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:
-
-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.
diff --git a/lodash.escaperegexp/README.md b/lodash.escaperegexp/README.md
index b20b7d687..1293329d5 100644
--- a/lodash.escaperegexp/README.md
+++ b/lodash.escaperegexp/README.md
@@ -1,4 +1,4 @@
-# lodash.escaperegexp v3.0.0
+# lodash.escaperegexp v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.escapeRegExp` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var escapeRegExp = require('lodash.escaperegexp');
```
-See the [documentation](https://lodash.com/docs#escapeRegExp) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.escaperegexp) for more details.
+See the [documentation](https://lodash.com/docs#escapeRegExp) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.escaperegexp) for more details.
diff --git a/lodash.escaperegexp/index.js b/lodash.escaperegexp/index.js
index 77e4dabc2..588b703d7 100644
--- a/lodash.escaperegexp/index.js
+++ b/lodash.escaperegexp/index.js
@@ -1,21 +1,57 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
var baseToString = require('lodash._basetostring');
/**
- * Used to match `RegExp` [special characters](http://www.regular-expressions.info/characters.html#special).
- * In addition to special characters the forward slash is escaped to allow for
- * easier `eval` use and `Function` compilation.
+ * Used to match `RegExp` [syntax characters](http://ecma-international.org/ecma-262/6.0/#sec-patterns)
+ * and those outlined by [`EscapeRegExpPattern`](http://ecma-international.org/ecma-262/6.0/#sec-escaperegexppattern).
*/
-var reRegExpChars = /[.*+?^${}()|[\]\/\\]/g,
+var reRegExpChars = /^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,
reHasRegExpChars = RegExp(reRegExpChars.source);
+/** Used to escape characters for inclusion in compiled regexes. */
+var regexpEscapes = {
+ '0': 'x30', '1': 'x31', '2': 'x32', '3': 'x33', '4': 'x34',
+ '5': 'x35', '6': 'x36', '7': 'x37', '8': 'x38', '9': 'x39',
+ 'A': 'x41', 'B': 'x42', 'C': 'x43', 'D': 'x44', 'E': 'x45', 'F': 'x46',
+ 'a': 'x61', 'b': 'x62', 'c': 'x63', 'd': 'x64', 'e': 'x65', 'f': 'x66',
+ 'n': 'x6e', 'r': 'x72', 't': 'x74', 'u': 'x75', 'v': 'x76', 'x': 'x78'
+};
+
+/** Used to escape characters for inclusion in compiled string literals. */
+var stringEscapes = {
+ '\\': '\\',
+ "'": "'",
+ '\n': 'n',
+ '\r': 'r',
+ '\u2028': 'u2028',
+ '\u2029': 'u2029'
+};
+
+/**
+ * Used by `_.escapeRegExp` to escape characters for inclusion in compiled regexes.
+ *
+ * @private
+ * @param {string} chr The matched character to escape.
+ * @param {string} leadingChar The capture group for a leading character.
+ * @param {string} whitespaceChar The capture group for a whitespace character.
+ * @returns {string} Returns the escaped character.
+ */
+function escapeRegExpChar(chr, leadingChar, whitespaceChar) {
+ if (leadingChar) {
+ chr = regexpEscapes[chr];
+ } else if (whitespaceChar) {
+ chr = stringEscapes[chr];
+ }
+ return '\\' + chr;
+}
+
/**
* Escapes the `RegExp` special characters "\", "/", "^", "$", ".", "|", "?",
* "*", "+", "(", ")", "[", "]", "{" and "}" in `string`.
@@ -33,8 +69,8 @@ var reRegExpChars = /[.*+?^${}()|[\]\/\\]/g,
function escapeRegExp(string) {
string = baseToString(string);
return (string && reHasRegExpChars.test(string))
- ? string.replace(reRegExpChars, '\\$&')
- : string;
+ ? string.replace(reRegExpChars, escapeRegExpChar)
+ : (string || '(?:)');
}
module.exports = escapeRegExp;
diff --git a/lodash.escaperegexp/package.json b/lodash.escaperegexp/package.json
index 81608475b..ce39a25a5 100644
--- a/lodash.escaperegexp/package.json
+++ b/lodash.escaperegexp/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.escaperegexp",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.escapeRegExp` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.findkey/LICENSE.txt b/lodash.findkey/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.findkey/LICENSE.txt
+++ b/lodash.findkey/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.findkey/README.md b/lodash.findkey/README.md
index ce36c18d8..f0169dc6e 100644
--- a/lodash.findkey/README.md
+++ b/lodash.findkey/README.md
@@ -1,4 +1,4 @@
-# lodash.findkey v3.0.0
+# lodash.findkey v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.findKey` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var findKey = require('lodash.findkey');
```
-See the [documentation](https://lodash.com/docs#findKey) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.findkey) for more details.
+See the [documentation](https://lodash.com/docs#findKey) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.findkey) for more details.
diff --git a/lodash.findkey/index.js b/lodash.findkey/index.js
index da3b0b0a2..3b220ae9d 100644
--- a/lodash.findkey/index.js
+++ b/lodash.findkey/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -25,8 +25,22 @@ function baseForOwn(object, iteratee) {
}
/**
- * This method is like `_.findIndex` except that it returns the key of the
- * first element `predicate` returns truthy for, instead of the element itself.
+ * Creates a `_.findKey` or `_.findLastKey` function.
+ *
+ * @private
+ * @param {Function} objectFunc The function to iterate over an object.
+ * @returns {Function} Returns the new find function.
+ */
+function createFindKey(objectFunc) {
+ return function(object, predicate, thisArg) {
+ predicate = baseCallback(predicate, thisArg, 3);
+ return baseFind(object, predicate, objectFunc, true);
+ };
+}
+
+/**
+ * This method is like `_.find` except that it returns the key of the first
+ * element `predicate` returns truthy for instead of the element itself.
*
* If a property name is provided for `predicate` the created `_.property`
* style callback returns the property value of the given element.
@@ -72,9 +86,6 @@ function baseForOwn(object, iteratee) {
* _.findKey(users, 'active');
* // => 'barney'
*/
-function findKey(object, predicate, thisArg) {
- predicate = baseCallback(predicate, thisArg, 3);
- return baseFind(object, predicate, baseForOwn, true);
-}
+var findKey = createFindKey(baseForOwn);
module.exports = findKey;
diff --git a/lodash.findkey/package.json b/lodash.findkey/package.json
index 737a7cad8..3c8f870f6 100644
--- a/lodash.findkey/package.json
+++ b/lodash.findkey/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.findkey",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.findKey` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.findlastkey/LICENSE.txt b/lodash.findlastkey/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.findlastkey/LICENSE.txt
+++ b/lodash.findlastkey/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.findlastkey/README.md b/lodash.findlastkey/README.md
index 9646de09c..4ddde59b5 100644
--- a/lodash.findlastkey/README.md
+++ b/lodash.findlastkey/README.md
@@ -1,4 +1,4 @@
-# lodash.findlastkey v3.0.0
+# lodash.findlastkey v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.findLastKey` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var findLastKey = require('lodash.findlastkey');
```
-See the [documentation](https://lodash.com/docs#findLastKey) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.findlastkey) for more details.
+See the [documentation](https://lodash.com/docs#findLastKey) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.findlastkey) for more details.
diff --git a/lodash.findlastkey/index.js b/lodash.findlastkey/index.js
index d147cae2c..e75e4805a 100644
--- a/lodash.findlastkey/index.js
+++ b/lodash.findlastkey/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -24,6 +24,20 @@ function baseForOwnRight(object, iteratee) {
return baseForRight(object, iteratee, keys);
}
+/**
+ * Creates a `_.findKey` or `_.findLastKey` function.
+ *
+ * @private
+ * @param {Function} objectFunc The function to iterate over an object.
+ * @returns {Function} Returns the new find function.
+ */
+function createFindKey(objectFunc) {
+ return function(object, predicate, thisArg) {
+ predicate = baseCallback(predicate, thisArg, 3);
+ return baseFind(object, predicate, objectFunc, true);
+ };
+}
+
/**
* This method is like `_.findKey` except that it iterates over elements of
* a collection in the opposite order.
@@ -72,9 +86,6 @@ function baseForOwnRight(object, iteratee) {
* _.findLastKey(users, 'active');
* // => 'pebbles'
*/
-function findLastKey(object, predicate, thisArg) {
- predicate = baseCallback(predicate, thisArg, 3);
- return baseFind(object, predicate, baseForOwnRight, true);
-}
+var findLastKey = createFindKey(baseForOwnRight);
module.exports = findLastKey;
diff --git a/lodash.findlastkey/package.json b/lodash.findlastkey/package.json
index 15de9c5ad..429395118 100644
--- a/lodash.findlastkey/package.json
+++ b/lodash.findlastkey/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.findlastkey",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.findLastKey` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.flatten/README.md b/lodash.flatten/README.md
index eb60efc08..71e79196b 100644
--- a/lodash.flatten/README.md
+++ b/lodash.flatten/README.md
@@ -1,4 +1,4 @@
-# lodash.flatten v3.0.0
+# lodash.flatten v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.flatten` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var flatten = require('lodash.flatten');
```
-See the [documentation](https://lodash.com/docs#flatten) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.flatten) for more details.
+See the [documentation](https://lodash.com/docs#flatten) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.flatten) for more details.
diff --git a/lodash.flatten/index.js b/lodash.flatten/index.js
index ee9e9e8f7..a9d981d06 100644
--- a/lodash.flatten/index.js
+++ b/lodash.flatten/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -34,7 +34,7 @@ function flatten(array, isDeep, guard) {
if (guard && isIterateeCall(array, isDeep, guard)) {
isDeep = false;
}
- return length ? baseFlatten(array, isDeep) : [];
+ return length ? baseFlatten(array, isDeep, false, 0) : [];
}
module.exports = flatten;
diff --git a/lodash.flatten/package.json b/lodash.flatten/package.json
index 354a6788c..a570afcc8 100644
--- a/lodash.flatten/package.json
+++ b/lodash.flatten/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.flatten",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.flatten` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.flattendeep/README.md b/lodash.flattendeep/README.md
index 775447b58..a4b17b30b 100644
--- a/lodash.flattendeep/README.md
+++ b/lodash.flattendeep/README.md
@@ -1,4 +1,4 @@
-# lodash.flattendeep v3.0.0
+# lodash.flattendeep v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.flattenDeep` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var flattenDeep = require('lodash.flattendeep');
```
-See the [documentation](https://lodash.com/docs#flattenDeep) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.flattendeep) for more details.
+See the [documentation](https://lodash.com/docs#flattenDeep) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.flattendeep) for more details.
diff --git a/lodash.flattendeep/index.js b/lodash.flattendeep/index.js
index 4a820da9b..9fbff8379 100644
--- a/lodash.flattendeep/index.js
+++ b/lodash.flattendeep/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -23,7 +23,7 @@ var baseFlatten = require('lodash._baseflatten');
*/
function flattenDeep(array) {
var length = array ? array.length : 0;
- return length ? baseFlatten(array, true) : [];
+ return length ? baseFlatten(array, true, false, 0) : [];
}
module.exports = flattenDeep;
diff --git a/lodash.flattendeep/package.json b/lodash.flattendeep/package.json
index 084ce0c64..1f7153414 100644
--- a/lodash.flattendeep/package.json
+++ b/lodash.flattendeep/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.flattendeep",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.flattenDeep` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.foreach/README.md b/lodash.foreach/README.md
index 9ea1c91a9..4531a6bb4 100644
--- a/lodash.foreach/README.md
+++ b/lodash.foreach/README.md
@@ -1,4 +1,4 @@
-# lodash.foreach v3.0.0
+# lodash.foreach v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.forEach` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var forEach = require('lodash.foreach');
```
-See the [documentation](https://lodash.com/docs#forEach) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.foreach) for more details.
+See the [documentation](https://lodash.com/docs#forEach) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.foreach) for more details.
diff --git a/lodash.foreach/index.js b/lodash.foreach/index.js
index 31f6f453d..6242e9dbb 100644
--- a/lodash.foreach/index.js
+++ b/lodash.foreach/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.7.0
@@ -31,10 +31,14 @@ var arrayEach = require('lodash._arrayeach'),
* @returns {Array|Object|string} Returns `collection`.
* @example
*
- * _([1, 2, 3]).forEach(function(n) { console.log(n); }).value();
+ * _([1, 2]).forEach(function(n) {
+ * console.log(n);
+ * }).value();
* // => logs each value from left to right and returns the array
*
- * _.forEach({ 'one': 1, 'two': 2, 'three': 3 }, function(n, key) { console.log(n, key); });
+ * _.forEach({ 'a': 1, 'b': 2 }, function(n, key) {
+ * console.log(n, key);
+ * });
* // => logs each value-key pair and returns the object (iteration order is not guaranteed)
*/
function forEach(collection, iteratee, thisArg) {
diff --git a/lodash.foreach/package.json b/lodash.foreach/package.json
index 7d1d809e0..64bfc0f2d 100644
--- a/lodash.foreach/package.json
+++ b/lodash.foreach/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.foreach",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.forEach` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.foreachright/LICENSE.txt b/lodash.foreachright/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.foreachright/LICENSE.txt
+++ b/lodash.foreachright/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.foreachright/README.md b/lodash.foreachright/README.md
index faf299afa..4c4cfa1fb 100644
--- a/lodash.foreachright/README.md
+++ b/lodash.foreachright/README.md
@@ -1,4 +1,4 @@
-# lodash.foreachright v3.0.0
+# lodash.foreachright v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.forEachRight` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var forEachRight = require('lodash.foreachright');
```
-See the [documentation](https://lodash.com/docs#forEachRight) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.foreachright) for more details.
+See the [documentation](https://lodash.com/docs#forEachRight) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.foreachright) for more details.
diff --git a/lodash.foreachright/index.js b/lodash.foreachright/index.js
index 751481f92..4db2a46cc 100644
--- a/lodash.foreachright/index.js
+++ b/lodash.foreachright/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -12,7 +12,7 @@ var baseEachRight = require('lodash._baseeachright'),
/**
* A specialized version of `_.forEachRight` for arrays without support for
- * callback shorthands or `this` binding.
+ * callback shorthands and `this` binding.
*
* @private
* @param {Array} array The array to iterate over.
@@ -30,6 +30,22 @@ function arrayEachRight(array, iteratee) {
return array;
}
+/**
+ * Creates a function for `_.forEach` or `_.forEachRight`.
+ *
+ * @private
+ * @param {Function} arrayFunc The function to iterate over an array.
+ * @param {Function} eachFunc The function to iterate over a collection.
+ * @returns {Function} Returns the new each function.
+ */
+function createForEach(arrayFunc, eachFunc) {
+ return function(collection, iteratee, thisArg) {
+ return (typeof iteratee == 'function' && typeof thisArg == 'undefined' && isArray(collection))
+ ? arrayFunc(collection, iteratee)
+ : eachFunc(collection, bindCallback(iteratee, thisArg, 3));
+ };
+}
+
/**
* This method is like `_.forEach` except that it iterates over elements of
* `collection` from right to left.
@@ -46,13 +62,9 @@ function arrayEachRight(array, iteratee) {
*
* _([1, 2]).forEachRight(function(n) {
* console.log(n);
- * }).join(',');
+ * }).value();
* // => logs each value from right to left and returns the array
*/
-function forEachRight(collection, iteratee, thisArg) {
- return (typeof iteratee == 'function' && typeof thisArg == 'undefined' && isArray(collection))
- ? arrayEachRight(collection, iteratee)
- : baseEachRight(collection, bindCallback(iteratee, thisArg, 3));
-}
+var forEachRight = createForEach(arrayEachRight, baseEachRight);
module.exports = forEachRight;
diff --git a/lodash.foreachright/package.json b/lodash.foreachright/package.json
index 34cd18bb1..d95400698 100644
--- a/lodash.foreachright/package.json
+++ b/lodash.foreachright/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.foreachright",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.forEachRight` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.forin/LICENSE.txt b/lodash.forin/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.forin/LICENSE.txt
+++ b/lodash.forin/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.forin/README.md b/lodash.forin/README.md
index 2d3e9a30f..5ae3e792e 100644
--- a/lodash.forin/README.md
+++ b/lodash.forin/README.md
@@ -1,4 +1,4 @@
-# lodash.forin v3.0.0
+# lodash.forin v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.forIn` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var forIn = require('lodash.forin');
```
-See the [documentation](https://lodash.com/docs#forIn) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.forin) for more details.
+See the [documentation](https://lodash.com/docs#forIn) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.forin) for more details.
diff --git a/lodash.forin/index.js b/lodash.forin/index.js
index 1c2133b82..1038aacd3 100644
--- a/lodash.forin/index.js
+++ b/lodash.forin/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -10,10 +10,26 @@ var baseFor = require('lodash._basefor'),
bindCallback = require('lodash._bindcallback'),
keysIn = require('lodash.keysin');
+/**
+ * Creates a function for `_.forIn` or `_.forInRight`.
+ *
+ * @private
+ * @param {Function} objectFunc The function to iterate over an object.
+ * @returns {Function} Returns the new each function.
+ */
+function createForIn(objectFunc) {
+ return function(object, iteratee, thisArg) {
+ if (typeof iteratee != 'function' || typeof thisArg != 'undefined') {
+ iteratee = bindCallback(iteratee, thisArg, 3);
+ }
+ return objectFunc(object, iteratee, keysIn);
+ };
+}
+
/**
* Iterates over own and inherited enumerable properties of an object invoking
* `iteratee` for each property. The `iteratee` is bound to `thisArg` and invoked
- * with three arguments; (value, key, object). Iterator functions may exit
+ * with three arguments: (value, key, object). Iterator functions may exit
* iteration early by explicitly returning `false`.
*
* @static
@@ -37,11 +53,6 @@ var baseFor = require('lodash._basefor'),
* });
* // => logs 'a', 'b', and 'c' (iteration order is not guaranteed)
*/
-function forIn(object, iteratee, thisArg) {
- if (typeof iteratee != 'function' || typeof thisArg != 'undefined') {
- iteratee = bindCallback(iteratee, thisArg, 3);
- }
- return baseFor(object, iteratee, keysIn);
-}
+var forIn = createForIn(baseFor);
module.exports = forIn;
diff --git a/lodash.forin/package.json b/lodash.forin/package.json
index 6fa946fba..695db810c 100644
--- a/lodash.forin/package.json
+++ b/lodash.forin/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.forin",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.forIn` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.forinright/LICENSE.txt b/lodash.forinright/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.forinright/LICENSE.txt
+++ b/lodash.forinright/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.forinright/README.md b/lodash.forinright/README.md
index 3be656f1b..2b38104ad 100644
--- a/lodash.forinright/README.md
+++ b/lodash.forinright/README.md
@@ -1,4 +1,4 @@
-# lodash.forinright v3.0.0
+# lodash.forinright v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.forInRight` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var forInRight = require('lodash.forinright');
```
-See the [documentation](https://lodash.com/docs#forInRight) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.forinright) for more details.
+See the [documentation](https://lodash.com/docs#forInRight) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.forinright) for more details.
diff --git a/lodash.forinright/index.js b/lodash.forinright/index.js
index 6e1aa32fe..21e53f846 100644
--- a/lodash.forinright/index.js
+++ b/lodash.forinright/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -10,6 +10,22 @@ var baseForRight = require('lodash._baseforright'),
bindCallback = require('lodash._bindcallback'),
keysIn = require('lodash.keysin');
+/**
+ * Creates a function for `_.forIn` or `_.forInRight`.
+ *
+ * @private
+ * @param {Function} objectFunc The function to iterate over an object.
+ * @returns {Function} Returns the new each function.
+ */
+function createForIn(objectFunc) {
+ return function(object, iteratee, thisArg) {
+ if (typeof iteratee != 'function' || typeof thisArg != 'undefined') {
+ iteratee = bindCallback(iteratee, thisArg, 3);
+ }
+ return objectFunc(object, iteratee, keysIn);
+ };
+}
+
/**
* This method is like `_.forIn` except that it iterates over properties of
* `object` in the opposite order.
@@ -35,9 +51,6 @@ var baseForRight = require('lodash._baseforright'),
* });
* // => logs 'c', 'b', and 'a' assuming `_.forIn ` logs 'a', 'b', and 'c'
*/
-function forInRight(object, iteratee, thisArg) {
- iteratee = bindCallback(iteratee, thisArg, 3);
- return baseForRight(object, iteratee, keysIn);
-}
+var forInRight = createForIn(baseForRight);
module.exports = forInRight;
diff --git a/lodash.forinright/package.json b/lodash.forinright/package.json
index fce66d8ea..f284949eb 100644
--- a/lodash.forinright/package.json
+++ b/lodash.forinright/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.forinright",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.forInRight` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.forown/LICENSE.txt b/lodash.forown/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.forown/LICENSE.txt
+++ b/lodash.forown/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.forown/README.md b/lodash.forown/README.md
index 430539197..a16d35b1d 100644
--- a/lodash.forown/README.md
+++ b/lodash.forown/README.md
@@ -1,4 +1,4 @@
-# lodash.forown v3.0.0
+# lodash.forown v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.forOwn` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var forOwn = require('lodash.forown');
```
-See the [documentation](https://lodash.com/docs#forOwn) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.forown) for more details.
+See the [documentation](https://lodash.com/docs#forOwn) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.forown) for more details.
diff --git a/lodash.forown/index.js b/lodash.forown/index.js
index 483ef23de..998cf7428 100644
--- a/lodash.forown/index.js
+++ b/lodash.forown/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -23,10 +23,26 @@ function baseForOwn(object, iteratee) {
return baseFor(object, iteratee, keys);
}
+/**
+ * Creates a function for `_.forOwn` or `_.forOwnRight`.
+ *
+ * @private
+ * @param {Function} objectFunc The function to iterate over an object.
+ * @returns {Function} Returns the new each function.
+ */
+function createForOwn(objectFunc) {
+ return function(object, iteratee, thisArg) {
+ if (typeof iteratee != 'function' || typeof thisArg != 'undefined') {
+ iteratee = bindCallback(iteratee, thisArg, 3);
+ }
+ return objectFunc(object, iteratee);
+ };
+}
+
/**
* Iterates over own enumerable properties of an object invoking `iteratee`
* for each property. The `iteratee` is bound to `thisArg` and invoked with
- * three arguments; (value, key, object). Iterator functions may exit iteration
+ * three arguments: (value, key, object). Iterator functions may exit iteration
* early by explicitly returning `false`.
*
* @static
@@ -50,11 +66,6 @@ function baseForOwn(object, iteratee) {
* });
* // => logs 'a' and 'b' (iteration order is not guaranteed)
*/
-function forOwn(object, iteratee, thisArg) {
- if (typeof iteratee != 'function' || typeof thisArg != 'undefined') {
- iteratee = bindCallback(iteratee, thisArg, 3);
- }
- return baseForOwn(object, iteratee);
-}
+var forOwn = createForOwn(baseForOwn);
module.exports = forOwn;
diff --git a/lodash.forown/package.json b/lodash.forown/package.json
index be975a7f7..507c4d3c1 100644
--- a/lodash.forown/package.json
+++ b/lodash.forown/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.forown",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.forOwn` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.forownright/LICENSE.txt b/lodash.forownright/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.forownright/LICENSE.txt
+++ b/lodash.forownright/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.forownright/README.md b/lodash.forownright/README.md
index f9fbdcfa0..321162116 100644
--- a/lodash.forownright/README.md
+++ b/lodash.forownright/README.md
@@ -1,4 +1,4 @@
-# lodash.forownright v3.0.0
+# lodash.forownright v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.forOwnRight` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var forOwnRight = require('lodash.forownright');
```
-See the [documentation](https://lodash.com/docs#forOwnRight) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.forownright) for more details.
+See the [documentation](https://lodash.com/docs#forOwnRight) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.forownright) for more details.
diff --git a/lodash.forownright/index.js b/lodash.forownright/index.js
index 2ea508f01..5d965ba92 100644
--- a/lodash.forownright/index.js
+++ b/lodash.forownright/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -10,6 +10,35 @@ var baseForRight = require('lodash._baseforright'),
bindCallback = require('lodash._bindcallback'),
keys = require('lodash.keys');
+/**
+ * The base implementation of `_.forOwnRight` without support for callback
+ * shorthands and `this` binding.
+ *
+ * @private
+ * @param {Object} object The object to iterate over.
+ * @param {Function} iteratee The function invoked per iteration.
+ * @returns {Object} Returns `object`.
+ */
+function baseForOwnRight(object, iteratee) {
+ return baseForRight(object, iteratee, keys);
+}
+
+/**
+ * Creates a function for `_.forOwn` or `_.forOwnRight`.
+ *
+ * @private
+ * @param {Function} objectFunc The function to iterate over an object.
+ * @returns {Function} Returns the new each function.
+ */
+function createForOwn(objectFunc) {
+ return function(object, iteratee, thisArg) {
+ if (typeof iteratee != 'function' || typeof thisArg != 'undefined') {
+ iteratee = bindCallback(iteratee, thisArg, 3);
+ }
+ return objectFunc(object, iteratee);
+ };
+}
+
/**
* This method is like `_.forOwn` except that it iterates over properties of
* `object` in the opposite order.
@@ -35,9 +64,6 @@ var baseForRight = require('lodash._baseforright'),
* });
* // => logs 'b' and 'a' assuming `_.forOwn` logs 'a' and 'b'
*/
-function forOwnRight(object, iteratee, thisArg) {
- iteratee = bindCallback(iteratee, thisArg, 3);
- return baseForRight(object, iteratee, keys);
-}
+var forOwnRight = createForOwn(baseForOwnRight);
module.exports = forOwnRight;
diff --git a/lodash.forownright/package.json b/lodash.forownright/package.json
index c2ac600fe..e895ee6e5 100644
--- a/lodash.forownright/package.json
+++ b/lodash.forownright/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.forownright",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.forOwnRight` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.indexof/README.md b/lodash.indexof/README.md
index 796e90adf..24c004838 100644
--- a/lodash.indexof/README.md
+++ b/lodash.indexof/README.md
@@ -1,4 +1,4 @@
-# lodash.indexof v3.0.0
+# lodash.indexof v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.indexOf` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var indexOf = require('lodash.indexof');
```
-See the [documentation](https://lodash.com/docs#indexOf) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.indexof) for more details.
+See the [documentation](https://lodash.com/docs#indexOf) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.indexof) for more details.
diff --git a/lodash.indexof/index.js b/lodash.indexof/index.js
index c1afecb0b..e34c5c5fd 100644
--- a/lodash.indexof/index.js
+++ b/lodash.indexof/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -50,14 +50,14 @@ function indexOf(array, value, fromIndex) {
return -1;
}
if (typeof fromIndex == 'number') {
- fromIndex = fromIndex < 0 ? nativeMax(length + fromIndex, 0) : (fromIndex || 0);
+ fromIndex = fromIndex < 0 ? nativeMax(length + fromIndex, 0) : fromIndex;
} else if (fromIndex) {
var index = binaryIndex(array, value),
other = array[index];
return (value === value ? value === other : other !== other) ? index : -1;
}
- return baseIndexOf(array, value, fromIndex);
+ return baseIndexOf(array, value, fromIndex || 0);
}
module.exports = indexOf;
diff --git a/lodash.indexof/package.json b/lodash.indexof/package.json
index c59da43ed..af269fc07 100644
--- a/lodash.indexof/package.json
+++ b/lodash.indexof/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.indexof",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.indexOf` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.intersection/README.md b/lodash.intersection/README.md
index b8465983c..05150b98c 100644
--- a/lodash.intersection/README.md
+++ b/lodash.intersection/README.md
@@ -1,4 +1,4 @@
-# lodash.intersection v3.0.0
+# lodash.intersection v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.intersection` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var intersection = require('lodash.intersection');
```
-See the [documentation](https://lodash.com/docs#intersection) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.intersection) for more details.
+See the [documentation](https://lodash.com/docs#intersection) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.intersection) for more details.
diff --git a/lodash.intersection/index.js b/lodash.intersection/index.js
index 5f9406501..40cc1ed7a 100644
--- a/lodash.intersection/index.js
+++ b/lodash.intersection/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -42,7 +42,7 @@ function intersection() {
var value = arguments[argsIndex];
if (isArray(value) || isArguments(value)) {
args.push(value);
- caches.push(isCommon && value.length >= 120 && createCache(argsIndex && value));
+ caches.push((isCommon && value.length >= 120) ? createCache(argsIndex && value) : null);
}
}
argsLength = args.length;
diff --git a/lodash.intersection/package.json b/lodash.intersection/package.json
index 746ac51c6..897bf0729 100644
--- a/lodash.intersection/package.json
+++ b/lodash.intersection/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.intersection",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.intersection` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.invert/LICENSE b/lodash.invert/LICENSE
new file mode 100644
index 000000000..9cd87e5dc
--- /dev/null
+++ b/lodash.invert/LICENSE
@@ -0,0 +1,22 @@
+Copyright 2012-2015 The Dojo Foundation
+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
+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 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.invert/LICENSE.txt b/lodash.invert/LICENSE.txt
deleted file mode 100644
index 17764328c..000000000
--- a/lodash.invert/LICENSE.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Copyright 2012-2015 The Dojo Foundation
-Based on Underscore.js 1.7.0, copyright 2009-2015 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:
-
-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.
diff --git a/lodash.invert/README.md b/lodash.invert/README.md
index acf5e1895..ac44d786b 100644
--- a/lodash.invert/README.md
+++ b/lodash.invert/README.md
@@ -1,4 +1,4 @@
-# lodash.invert v3.0.0
+# lodash.invert v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.invert` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var invert = require('lodash.invert');
```
-See the [documentation](https://lodash.com/docs#invert) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.invert) for more details.
+See the [documentation](https://lodash.com/docs#invert) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.invert) for more details.
diff --git a/lodash.invert/index.js b/lodash.invert/index.js
index 638fe733b..59e32c5aa 100644
--- a/lodash.invert/index.js
+++ b/lodash.invert/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -40,7 +40,7 @@ var hasOwnProperty = objectProto.hasOwnProperty;
*/
function invert(object, multiValue, guard) {
if (guard && isIterateeCall(object, multiValue, guard)) {
- multiValue = null;
+ multiValue = undefined;
}
var index = -1,
props = keys(object),
diff --git a/lodash.invert/package.json b/lodash.invert/package.json
index 190fa0362..102cd1109 100644
--- a/lodash.invert/package.json
+++ b/lodash.invert/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.invert",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.invert` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.isarguments/LICENSE.txt b/lodash.isarguments/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.isarguments/LICENSE.txt
+++ b/lodash.isarguments/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.isarguments/README.md b/lodash.isarguments/README.md
index 5464c9a4d..f2f48d3eb 100644
--- a/lodash.isarguments/README.md
+++ b/lodash.isarguments/README.md
@@ -1,4 +1,4 @@
-# lodash.isarguments v3.0.0
+# lodash.isarguments v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.isArguments` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var isArguments = require('lodash.isarguments');
```
-See the [documentation](https://lodash.com/docs#isArguments) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.isarguments) for more details.
+See the [documentation](https://lodash.com/docs#isArguments) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.isarguments) for more details.
diff --git a/lodash.isarguments/index.js b/lodash.isarguments/index.js
index 9bddc9063..aee5b99b5 100644
--- a/lodash.isarguments/index.js
+++ b/lodash.isarguments/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -18,32 +18,28 @@ var argsTag = '[object Arguments]';
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
*/
function isObjectLike(value) {
- return (value && typeof value == 'object') || false;
+ return !!value && typeof value == 'object';
}
/** Used for native method references. */
var objectProto = Object.prototype;
/**
- * Used to resolve the `toStringTag` of values.
- * See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.prototype.tostring)
- * for more details.
+ * Used to resolve the [`toStringTag`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.prototype.tostring)
+ * of values.
*/
var objToString = objectProto.toString;
/**
- * Used as the maximum length of an array-like value.
- * See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer)
- * for more details.
+ * Used as the [maximum length](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer)
+ * of an array-like value.
*/
var MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;
/**
* Checks if `value` is a valid array-like length.
*
- * **Note:** This function is based on ES `ToLength`. See the
- * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength)
- * for more details.
+ * **Note:** This function is based on [`ToLength`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength).
*
* @private
* @param {*} value The value to check.
@@ -71,7 +67,7 @@ function isLength(value) {
*/
function isArguments(value) {
var length = isObjectLike(value) ? value.length : undefined;
- return (isLength(length) && objToString.call(value) == argsTag) || false;
+ return isLength(length) && objToString.call(value) == argsTag;
}
module.exports = isArguments;
diff --git a/lodash.isarguments/package.json b/lodash.isarguments/package.json
index a23ee7734..8748ad41a 100644
--- a/lodash.isarguments/package.json
+++ b/lodash.isarguments/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.isarguments",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.isArguments` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.isarray/LICENSE.txt b/lodash.isarray/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.isarray/LICENSE.txt
+++ b/lodash.isarray/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.isarray/README.md b/lodash.isarray/README.md
index b281858a0..76d21dd04 100644
--- a/lodash.isarray/README.md
+++ b/lodash.isarray/README.md
@@ -1,4 +1,4 @@
-# lodash.isarray v3.0.0
+# lodash.isarray v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.isArray` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var isArray = require('lodash.isarray');
```
-See the [documentation](https://lodash.com/docs#isArray) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.isarray) for more details.
+See the [documentation](https://lodash.com/docs#isArray) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.isarray) for more details.
diff --git a/lodash.isarray/index.js b/lodash.isarray/index.js
index f20041fff..0e4c4c822 100644
--- a/lodash.isarray/index.js
+++ b/lodash.isarray/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -15,9 +15,9 @@ var arrayTag = '[object Array]',
var reHostCtor = /^\[object .+?Constructor\]$/;
/**
- * Used to match `RegExp` special characters.
- * See this [article on `RegExp` characters](http://www.regular-expressions.info/characters.html#special)
- * for more details.
+ * Used to match `RegExp` [special characters](http://www.regular-expressions.info/characters.html#special).
+ * In addition to special characters the forward slash is escaped to allow for
+ * easier `eval` use and `Function` compilation.
*/
var reRegExpChars = /[.*+?^${}()|[\]\/\\]/g,
reHasRegExpChars = RegExp(reRegExpChars.source);
@@ -45,7 +45,7 @@ function baseToString(value) {
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
*/
function isObjectLike(value) {
- return (value && typeof value == 'object') || false;
+ return !!value && typeof value == 'object';
}
/** Used for native method references. */
@@ -55,9 +55,8 @@ var objectProto = Object.prototype;
var fnToString = Function.prototype.toString;
/**
- * Used to resolve the `toStringTag` of values.
- * See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.prototype.tostring)
- * for more details.
+ * Used to resolve the [`toStringTag`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.prototype.tostring)
+ * of values.
*/
var objToString = objectProto.toString;
@@ -71,18 +70,15 @@ var reNative = RegExp('^' +
var nativeIsArray = isNative(nativeIsArray = Array.isArray) && nativeIsArray;
/**
- * Used as the maximum length of an array-like value.
- * See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer)
- * for more details.
+ * Used as the [maximum length](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer)
+ * of an array-like value.
*/
var MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;
/**
* Checks if `value` is a valid array-like length.
*
- * **Note:** This function is based on ES `ToLength`. See the
- * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength)
- * for more details.
+ * **Note:** This function is based on [`ToLength`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength).
*
* @private
* @param {*} value The value to check.
@@ -109,7 +105,7 @@ function isLength(value) {
* // => false
*/
var isArray = nativeIsArray || function(value) {
- return (isObjectLike(value) && isLength(value.length) && objToString.call(value) == arrayTag) || false;
+ return isObjectLike(value) && isLength(value.length) && objToString.call(value) == arrayTag;
};
/**
@@ -135,12 +131,12 @@ function isNative(value) {
if (objToString.call(value) == funcTag) {
return reNative.test(fnToString.call(value));
}
- return (isObjectLike(value) && reHostCtor.test(value)) || false;
+ return isObjectLike(value) && reHostCtor.test(value);
}
/**
- * Escapes the `RegExp` special characters "\", "^", "$", ".", "|", "?", "*",
- * "+", "(", ")", "[", "]", "{" and "}" in `string`.
+ * Escapes the `RegExp` special characters "\", "/", "^", "$", ".", "|", "?",
+ * "*", "+", "(", ")", "[", "]", "{" and "}" in `string`.
*
* @static
* @memberOf _
@@ -150,7 +146,7 @@ function isNative(value) {
* @example
*
* _.escapeRegExp('[lodash](https://lodash.com/)');
- * // => '\[lodash\]\(https://lodash\.com/\)'
+ * // => '\[lodash\]\(https:\/\/lodash\.com\/\)'
*/
function escapeRegExp(string) {
string = baseToString(string);
diff --git a/lodash.isarray/package.json b/lodash.isarray/package.json
index 3e0074e59..cde780008 100644
--- a/lodash.isarray/package.json
+++ b/lodash.isarray/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.isarray",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.isArray` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.isboolean/LICENSE.txt b/lodash.isboolean/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.isboolean/LICENSE.txt
+++ b/lodash.isboolean/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.isboolean/README.md b/lodash.isboolean/README.md
index e958a4dbd..907008de1 100644
--- a/lodash.isboolean/README.md
+++ b/lodash.isboolean/README.md
@@ -1,4 +1,4 @@
-# lodash.isboolean v3.0.0
+# lodash.isboolean v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.isBoolean` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var isBoolean = require('lodash.isboolean');
```
-See the [documentation](https://lodash.com/docs#isBoolean) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.isboolean) for more details.
+See the [documentation](https://lodash.com/docs#isBoolean) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.isboolean) for more details.
diff --git a/lodash.isboolean/index.js b/lodash.isboolean/index.js
index 8f2f2fec2..98577743d 100644
--- a/lodash.isboolean/index.js
+++ b/lodash.isboolean/index.js
@@ -1,11 +1,4 @@
-/**
- * lodash 3.0.0 (Custom Build)
- * Build: `lodash modern modularize exports="npm" -o ./`
- * Copyright 2012-2015 The Dojo Foundation
- * Based on Underscore.js 1.7.0
- * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- * Available under MIT license
- */
+/** `Object#toString` result references. */
/** `Object#toString` result references. */
var boolTag = '[object Boolean]';
@@ -18,16 +11,15 @@ var boolTag = '[object Boolean]';
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
*/
function isObjectLike(value) {
- return (value && typeof value == 'object') || false;
+ return !!value && typeof value == 'object';
}
/** Used for native method references. */
var objectProto = Object.prototype;
/**
- * Used to resolve the `toStringTag` of values.
- * See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.prototype.tostring)
- * for more details.
+ * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
+ * of values.
*/
var objToString = objectProto.toString;
@@ -48,7 +40,7 @@ var objToString = objectProto.toString;
* // => false
*/
function isBoolean(value) {
- return (value === true || value === false || isObjectLike(value) && objToString.call(value) == boolTag) || false;
+ return value === true || value === false || (isObjectLike(value) && objToString.call(value) == boolTag);
}
module.exports = isBoolean;
diff --git a/lodash.isboolean/package.json b/lodash.isboolean/package.json
index a86e99846..f331fb932 100644
--- a/lodash.isboolean/package.json
+++ b/lodash.isboolean/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.isboolean",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.isBoolean` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.isdate/LICENSE.txt b/lodash.isdate/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.isdate/LICENSE.txt
+++ b/lodash.isdate/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.isdate/README.md b/lodash.isdate/README.md
index c5a4e0fee..7c12a8a9d 100644
--- a/lodash.isdate/README.md
+++ b/lodash.isdate/README.md
@@ -1,4 +1,4 @@
-# lodash.isdate v3.0.0
+# lodash.isdate v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.isDate` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var isDate = require('lodash.isdate');
```
-See the [documentation](https://lodash.com/docs#isDate) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.isdate) for more details.
+See the [documentation](https://lodash.com/docs#isDate) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.isdate) for more details.
diff --git a/lodash.isdate/index.js b/lodash.isdate/index.js
index 8afdb8a6a..9396fd0df 100644
--- a/lodash.isdate/index.js
+++ b/lodash.isdate/index.js
@@ -1,11 +1,4 @@
-/**
- * lodash 3.0.0 (Custom Build)
- * Build: `lodash modern modularize exports="npm" -o ./`
- * Copyright 2012-2015 The Dojo Foundation
- * Based on Underscore.js 1.7.0
- * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- * Available under MIT license
- */
+/** `Object#toString` result references. */
/** `Object#toString` result references. */
var dateTag = '[object Date]';
@@ -18,16 +11,15 @@ var dateTag = '[object Date]';
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
*/
function isObjectLike(value) {
- return (value && typeof value == 'object') || false;
+ return !!value && typeof value == 'object';
}
/** Used for native method references. */
var objectProto = Object.prototype;
/**
- * Used to resolve the `toStringTag` of values.
- * See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.prototype.tostring)
- * for more details.
+ * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
+ * of values.
*/
var objToString = objectProto.toString;
@@ -48,7 +40,7 @@ var objToString = objectProto.toString;
* // => false
*/
function isDate(value) {
- return (isObjectLike(value) && objToString.call(value) == dateTag) || false;
+ return isObjectLike(value) && objToString.call(value) == dateTag;
}
module.exports = isDate;
diff --git a/lodash.isdate/package.json b/lodash.isdate/package.json
index 90b62300b..935939542 100644
--- a/lodash.isdate/package.json
+++ b/lodash.isdate/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.isdate",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.isDate` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.iselement/README.md b/lodash.iselement/README.md
index 8982e6351..c39f5929f 100644
--- a/lodash.iselement/README.md
+++ b/lodash.iselement/README.md
@@ -1,4 +1,4 @@
-# lodash.iselement v3.0.0
+# lodash.iselement v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.isElement` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var isElement = require('lodash.iselement');
```
-See the [documentation](https://lodash.com/docs#isElement) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.iselement) for more details.
+See the [documentation](https://lodash.com/docs#isElement) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.iselement) for more details.
diff --git a/lodash.iselement/index.js b/lodash.iselement/index.js
index 3a2025b06..20351189c 100644
--- a/lodash.iselement/index.js
+++ b/lodash.iselement/index.js
@@ -1,13 +1,12 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.7.0
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license
*/
-var isPlainObject = require('lodash.isplainobject'),
- support = require('lodash.support');
+var isPlainObject = require('lodash.isplainobject');
/**
* Checks if `value` is object-like.
@@ -23,6 +22,9 @@ function isObjectLike(value) {
/** Used for native method references. */
var objectProto = Object.prototype;
+/** Used to detect DOM support. */
+var document = (document = global.window) && document.document;
+
/**
* Used to resolve the `toStringTag` of values.
* See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.prototype.tostring)
@@ -30,6 +32,51 @@ var objectProto = Object.prototype;
*/
var objToString = objectProto.toString;
+/** Native method references. */
+var propertyIsEnumerable = objectProto.propertyIsEnumerable;
+
+/**
+ * An object environment feature flags.
+ *
+ * @static
+ * @memberOf _
+ * @type Object
+ */
+var support = {};
+
+(function(x) {
+
+ /**
+ * Detect if the DOM is supported.
+ *
+ * @memberOf _.support
+ * @type boolean
+ */
+ try {
+ support.dom = document.createDocumentFragment().nodeType === 11;
+ } catch(e) {
+ support.dom = false;
+ }
+
+ /**
+ * Detect if `arguments` object indexes are non-enumerable.
+ *
+ * In Firefox < 4, IE < 9, PhantomJS, and Safari < 5.1 `arguments` object
+ * indexes are non-enumerable. Chrome < 25 and Node.js < 0.11.0 treat
+ * `arguments` object indexes as non-enumerable and fail `hasOwnProperty`
+ * checks for indexes that exceed their function's formal parameters with
+ * associated values of `0`.
+ *
+ * @memberOf _.support
+ * @type boolean
+ */
+ try {
+ support.nonEnumArgs = !propertyIsEnumerable.call(arguments, 1);
+ } catch(e) {
+ support.nonEnumArgs = true;
+ }
+}(0, 0));
+
/**
* Checks if `value` is a DOM element.
*
diff --git a/lodash.iselement/package.json b/lodash.iselement/package.json
index fbb4a57c5..726e9204c 100644
--- a/lodash.iselement/package.json
+++ b/lodash.iselement/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.iselement",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.isElement` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
@@ -17,7 +17,6 @@
"repository": "lodash/lodash",
"scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" },
"dependencies": {
- "lodash.isplainobject": "^3.0.0",
- "lodash.support": "^3.0.0"
+ "lodash.isplainobject": "^3.0.0"
}
}
diff --git a/lodash.isempty/LICENSE.txt b/lodash.isempty/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.isempty/LICENSE.txt
+++ b/lodash.isempty/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.isempty/README.md b/lodash.isempty/README.md
index 43c8a527b..f20a43c0e 100644
--- a/lodash.isempty/README.md
+++ b/lodash.isempty/README.md
@@ -1,4 +1,4 @@
-# lodash.isempty v3.0.0
+# lodash.isempty v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.isEmpty` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var isEmpty = require('lodash.isempty');
```
-See the [documentation](https://lodash.com/docs#isEmpty) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.isempty) for more details.
+See the [documentation](https://lodash.com/docs#isEmpty) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.isempty) for more details.
diff --git a/lodash.isempty/index.js b/lodash.isempty/index.js
index f0651cf8d..6e9a2e342 100644
--- a/lodash.isempty/index.js
+++ b/lodash.isempty/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -20,22 +20,19 @@ var isArguments = require('lodash.isarguments'),
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
*/
function isObjectLike(value) {
- return (value && typeof value == 'object') || false;
+ return !!value && typeof value == 'object';
}
/**
- * Used as the maximum length of an array-like value.
- * See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer)
- * for more details.
+ * Used as the [maximum length](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer)
+ * of an array-like value.
*/
var MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;
/**
* Checks if `value` is a valid array-like length.
*
- * **Note:** This function is based on ES `ToLength`. See the
- * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength)
- * for more details.
+ * **Note:** This function is based on [`ToLength`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength).
*
* @private
* @param {*} value The value to check.
diff --git a/lodash.isempty/package.json b/lodash.isempty/package.json
index a3402e6e2..d6decc27e 100644
--- a/lodash.isempty/package.json
+++ b/lodash.isempty/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.isempty",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.isEmpty` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.isequal/LICENSE.txt b/lodash.isequal/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.isequal/LICENSE.txt
+++ b/lodash.isequal/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.isequal/README.md b/lodash.isequal/README.md
index e586afc69..c46e16d68 100644
--- a/lodash.isequal/README.md
+++ b/lodash.isequal/README.md
@@ -1,4 +1,4 @@
-# lodash.isequal v3.0.0
+# lodash.isequal v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.isEqual` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var isEqual = require('lodash.isequal');
```
-See the [documentation](https://lodash.com/docs#isEqual) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.isequal) for more details.
+See the [documentation](https://lodash.com/docs#isEqual) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.isequal) for more details.
diff --git a/lodash.isequal/index.js b/lodash.isequal/index.js
index ccf1dfaeb..aed9416bf 100644
--- a/lodash.isequal/index.js
+++ b/lodash.isequal/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -26,7 +26,7 @@ function isStrictComparable(value) {
* equivalent. If `customizer` is provided it is invoked to compare values.
* If `customizer` returns `undefined` comparisons are handled by the method
* instead. The `customizer` is bound to `thisArg` and invoked with three
- * arguments; (value, other [, index|key]).
+ * arguments: (value, other [, index|key]).
*
* **Note:** This method supports comparing arrays, booleans, `Date` objects,
* numbers, `Object` objects, regexes, and strings. Objects are compared by
@@ -74,11 +74,9 @@ function isEqual(value, other, customizer, thisArg) {
}
/**
- * Checks if `value` is the language type of `Object`.
+ * 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('')`)
*
- * **Note:** See the [ES5 spec](https://es5.github.io/#x8) for more details.
- *
* @static
* @memberOf _
* @category Lang
@@ -99,7 +97,7 @@ function isObject(value) {
// Avoid a V8 JIT bug in Chrome 19-20.
// See https://code.google.com/p/v8/issues/detail?id=2291 for more details.
var type = typeof value;
- return type == 'function' || (value && type == 'object') || false;
+ return type == 'function' || (!!value && type == 'object');
}
module.exports = isEqual;
diff --git a/lodash.isequal/package.json b/lodash.isequal/package.json
index 2cdf7b948..1d94510a2 100644
--- a/lodash.isequal/package.json
+++ b/lodash.isequal/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.isequal",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.isEqual` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.iserror/LICENSE.txt b/lodash.iserror/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.iserror/LICENSE.txt
+++ b/lodash.iserror/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.iserror/README.md b/lodash.iserror/README.md
index 6ec5359c8..64bcbaf75 100644
--- a/lodash.iserror/README.md
+++ b/lodash.iserror/README.md
@@ -1,4 +1,4 @@
-# lodash.iserror v3.0.0
+# lodash.iserror v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.isError` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var isError = require('lodash.iserror');
```
-See the [documentation](https://lodash.com/docs#isError) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.iserror) for more details.
+See the [documentation](https://lodash.com/docs#isError) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.iserror) for more details.
diff --git a/lodash.iserror/index.js b/lodash.iserror/index.js
index 0d2c7fa06..41b4acc68 100644
--- a/lodash.iserror/index.js
+++ b/lodash.iserror/index.js
@@ -1,11 +1,4 @@
-/**
- * lodash 3.0.0 (Custom Build)
- * Build: `lodash modern modularize exports="npm" -o ./`
- * Copyright 2012-2015 The Dojo Foundation
- * Based on Underscore.js 1.7.0
- * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- * Available under MIT license
- */
+/** `Object#toString` result references. */
/** `Object#toString` result references. */
var errorTag = '[object Error]';
@@ -18,16 +11,15 @@ var errorTag = '[object Error]';
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
*/
function isObjectLike(value) {
- return (value && typeof value == 'object') || false;
+ return !!value && typeof value == 'object';
}
/** Used for native method references. */
var objectProto = Object.prototype;
/**
- * Used to resolve the `toStringTag` of values.
- * See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.prototype.tostring)
- * for more details.
+ * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
+ * of values.
*/
var objToString = objectProto.toString;
@@ -49,7 +41,7 @@ var objToString = objectProto.toString;
* // => false
*/
function isError(value) {
- return (isObjectLike(value) && typeof value.message == 'string' && objToString.call(value) == errorTag) || false;
+ return isObjectLike(value) && typeof value.message == 'string' && objToString.call(value) == errorTag;
}
module.exports = isError;
diff --git a/lodash.iserror/package.json b/lodash.iserror/package.json
index 5a4b613f7..b0ef65516 100644
--- a/lodash.iserror/package.json
+++ b/lodash.iserror/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.iserror",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.isError` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.isfunction/README.md b/lodash.isfunction/README.md
index 0aab47a11..2abdecf18 100644
--- a/lodash.isfunction/README.md
+++ b/lodash.isfunction/README.md
@@ -1,4 +1,4 @@
-# lodash.isfunction v3.0.0
+# lodash.isfunction v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.isFunction` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var isFunction = require('lodash.isfunction');
```
-See the [documentation](https://lodash.com/docs#isFunction) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.isfunction) for more details.
+See the [documentation](https://lodash.com/docs#isFunction) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.isfunction) for more details.
diff --git a/lodash.isfunction/index.js b/lodash.isfunction/index.js
index 5a587fdb2..16a5af931 100644
--- a/lodash.isfunction/index.js
+++ b/lodash.isfunction/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.7.0
@@ -21,6 +21,20 @@ var reHostCtor = /^\[object .+?Constructor\]$/;
var reRegExpChars = /[.*+?^${}()|[\]\/\\]/g,
reHasRegExpChars = RegExp(reRegExpChars.source);
+/**
+ * The base implementation of `_.isFunction` without support for environments
+ * with incorrect `typeof` results.
+ *
+ * @private
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.
+ */
+function baseIsFunction(value) {
+ // Avoid a Chakra JIT bug in compatibility modes of IE 11.
+ // See https://github.com/jashkenas/underscore/issues/1621 for more details.
+ return typeof value == 'function' || false;
+}
+
/**
* Converts `value` to a string if it is not one. An empty string is returned
* for `null` or `undefined` values.
@@ -85,20 +99,12 @@ var Uint8Array = isNative(Uint8Array = global.Uint8Array) && Uint8Array;
* _.isFunction(/abc/);
* // => false
*/
-function isFunction(value) {
- // Avoid a Chakra JIT bug in compatibility modes of IE 11.
- // See https://github.com/jashkenas/underscore/issues/1621 for more details.
- return typeof value == 'function' || false;
-}
-// Fallback for environments that return incorrect `typeof` operator results.
-if (isFunction(/x/) || (Uint8Array && !isFunction(Uint8Array))) {
- isFunction = function(value) {
- // The use of `Object#toString` avoids issues with the `typeof` operator
- // in older versions of Chrome and Safari which return 'function' for regexes
- // and Safari 8 equivalents which return 'object' for typed array constructors.
- return objToString.call(value) == funcTag;
- };
-}
+var isFunction = !(baseIsFunction(/x/) || (Uint8Array && !baseIsFunction(Uint8Array))) ? baseIsFunction : function(value) {
+ // The use of `Object#toString` avoids issues with the `typeof` operator
+ // in older versions of Chrome and Safari which return 'function' for regexes
+ // and Safari 8 equivalents which return 'object' for typed array constructors.
+ return objToString.call(value) == funcTag;
+};
/**
* Checks if `value` is a native function.
diff --git a/lodash.isfunction/package.json b/lodash.isfunction/package.json
index 947973835..69f86e262 100644
--- a/lodash.isfunction/package.json
+++ b/lodash.isfunction/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.isfunction",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.isFunction` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.isnan/LICENSE b/lodash.isnan/LICENSE
new file mode 100644
index 000000000..b054ca5a3
--- /dev/null
+++ b/lodash.isnan/LICENSE
@@ -0,0 +1,22 @@
+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:
+
+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.
diff --git a/lodash.isnan/LICENSE.txt b/lodash.isnan/LICENSE.txt
deleted file mode 100644
index 17764328c..000000000
--- a/lodash.isnan/LICENSE.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Copyright 2012-2015 The Dojo Foundation
-Based on Underscore.js 1.7.0, copyright 2009-2015 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:
-
-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.
diff --git a/lodash.isnan/README.md b/lodash.isnan/README.md
index df48e7b27..b6ea0dcd1 100644
--- a/lodash.isnan/README.md
+++ b/lodash.isnan/README.md
@@ -1,20 +1,18 @@
-# lodash.isnan v3.0.0
+# lodash.isnan v3.0.1
-The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.isNaN` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
+The [lodash](https://lodash.com/) method `_.isNaN` exported as a [Node.js](https://nodejs.org/) module.
## Installation
Using npm:
-
```bash
$ {sudo -H} npm i -g npm
$ npm i --save lodash.isnan
```
-In Node.js/io.js:
-
+In Node.js:
```js
var isNaN = require('lodash.isnan');
```
-See the [documentation](https://lodash.com/docs#isNaN) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.isnan) for more details.
+See the [documentation](https://lodash.com/docs#isNaN) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.isnan) for more details.
diff --git a/lodash.isnan/index.js b/lodash.isnan/index.js
index 1a1a373e0..4aeb63734 100644
--- a/lodash.isnan/index.js
+++ b/lodash.isnan/index.js
@@ -1,12 +1,50 @@
/**
- * lodash 3.0.0 (Custom Build)
- * Build: `lodash modern modularize exports="npm" -o ./`
- * Copyright 2012-2015 The Dojo Foundation
- * Based on Underscore.js 1.7.0
- * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
+ * lodash 3.0.1 (Custom Build)
+ * Build: `lodash modularize exports="npm" -o ./`
+ * Copyright 2012-2016 The Dojo Foundation
+ * Based on Underscore.js 1.8.3
+ * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license
*/
-var isNumber = require('lodash.isnumber');
+
+/** `Object#toString` result references. */
+var numberTag = '[object Number]';
+
+/** Used for built-in method references. */
+var objectProto = global.Object.prototype;
+
+/**
+ * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
+ * of values.
+ */
+var objectToString = objectProto.toString;
+
+/**
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
+ * and has a `typeof` result of "object".
+ *
+ * @static
+ * @memberOf _
+ * @category Lang
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
+ * @example
+ *
+ * _.isObjectLike({});
+ * // => true
+ *
+ * _.isObjectLike([1, 2, 3]);
+ * // => true
+ *
+ * _.isObjectLike(_.noop);
+ * // => false
+ *
+ * _.isObjectLike(null);
+ * // => false
+ */
+function isObjectLike(value) {
+ return !!value && typeof value == 'object';
+}
/**
* Checks if `value` is `NaN`.
@@ -35,8 +73,38 @@ var isNumber = require('lodash.isnumber');
*/
function isNaN(value) {
// An `NaN` primitive is the only value that is not equal to itself.
- // Perform the `toStringTag` check first to avoid errors with some host objects in IE.
+ // Perform the `toStringTag` check first to avoid errors with some ActiveX objects in IE.
return isNumber(value) && value != +value;
}
+/**
+ * Checks if `value` is classified as a `Number` primitive or object.
+ *
+ * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are classified
+ * as numbers, use the `_.isFinite` method.
+ *
+ * @static
+ * @memberOf _
+ * @category Lang
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.
+ * @example
+ *
+ * _.isNumber(3);
+ * // => true
+ *
+ * _.isNumber(Number.MIN_VALUE);
+ * // => true
+ *
+ * _.isNumber(Infinity);
+ * // => true
+ *
+ * _.isNumber('3');
+ * // => false
+ */
+function isNumber(value) {
+ return typeof value == 'number' ||
+ (isObjectLike(value) && objectToString.call(value) == numberTag);
+}
+
module.exports = isNaN;
diff --git a/lodash.isnan/package.json b/lodash.isnan/package.json
index aafa2627e..dfe8989f9 100644
--- a/lodash.isnan/package.json
+++ b/lodash.isnan/package.json
@@ -1,22 +1,17 @@
{
"name": "lodash.isnan",
- "version": "3.0.0",
- "description": "The modern build of lodash’s `_.isNaN` as a module.",
+ "version": "3.0.1",
+ "description": "The lodash method `_.isNaN` exported as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
"license": "MIT",
- "keywords": "lodash, lodash-modularized, stdlib, util",
+ "keywords": "lodash, lodash-modularized, stdlib, util, isnan",
"author": "John-David Dalton (http://allyoucanleet.com/)",
"contributors": [
"John-David Dalton (http://allyoucanleet.com/)",
- "Benjamin Tan (https://d10.github.io/)",
- "Blaine Bublitz (http://www.iceddev.com/)",
- "Kit Cambridge (http://kitcambridge.be/)",
+ "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.isnumber": "^3.0.0"
- }
+ "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" }
}
diff --git a/lodash.isnative/LICENSE.txt b/lodash.isnative/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.isnative/LICENSE.txt
+++ b/lodash.isnative/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.isnative/README.md b/lodash.isnative/README.md
index 3a9ff76a3..e9cea5950 100644
--- a/lodash.isnative/README.md
+++ b/lodash.isnative/README.md
@@ -1,4 +1,4 @@
-# lodash.isnative v3.0.0
+# lodash.isnative v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.isNative` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var isNative = require('lodash.isnative');
```
-See the [documentation](https://lodash.com/docs#isNative) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.isnative) for more details.
+See the [documentation](https://lodash.com/docs#isNative) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.isnative) for more details.
diff --git a/lodash.isnative/index.js b/lodash.isnative/index.js
index 0b876ea37..91f847636 100644
--- a/lodash.isnative/index.js
+++ b/lodash.isnative/index.js
@@ -1,8 +1,8 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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
*/
@@ -14,9 +14,9 @@ var funcTag = '[object Function]';
var reHostCtor = /^\[object .+?Constructor\]$/;
/**
- * Used to match `RegExp` special characters.
- * See this [article on `RegExp` characters](http://www.regular-expressions.info/characters.html#special)
- * for more details.
+ * Used to match `RegExp` [special characters](http://www.regular-expressions.info/characters.html#special).
+ * In addition to special characters the forward slash is escaped to allow for
+ * easier `eval` use and `Function` compilation.
*/
var reRegExpChars = /[.*+?^${}()|[\]\/\\]/g,
reHasRegExpChars = RegExp(reRegExpChars.source);
@@ -44,7 +44,7 @@ function baseToString(value) {
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
*/
function isObjectLike(value) {
- return (value && typeof value == 'object') || false;
+ return !!value && typeof value == 'object';
}
/** Used for native method references. */
@@ -54,9 +54,8 @@ var objectProto = Object.prototype;
var fnToString = Function.prototype.toString;
/**
- * Used to resolve the `toStringTag` of values.
- * See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.prototype.tostring)
- * for more details.
+ * Used to resolve the [`toStringTag`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.prototype.tostring)
+ * of values.
*/
var objToString = objectProto.toString;
@@ -89,12 +88,12 @@ function isNative(value) {
if (objToString.call(value) == funcTag) {
return reNative.test(fnToString.call(value));
}
- return (isObjectLike(value) && reHostCtor.test(value)) || false;
+ return isObjectLike(value) && reHostCtor.test(value);
}
/**
- * Escapes the `RegExp` special characters "\", "^", "$", ".", "|", "?", "*",
- * "+", "(", ")", "[", "]", "{" and "}" in `string`.
+ * Escapes the `RegExp` special characters "\", "/", "^", "$", ".", "|", "?",
+ * "*", "+", "(", ")", "[", "]", "{" and "}" in `string`.
*
* @static
* @memberOf _
@@ -104,7 +103,7 @@ function isNative(value) {
* @example
*
* _.escapeRegExp('[lodash](https://lodash.com/)');
- * // => '\[lodash\]\(https://lodash\.com/\)'
+ * // => '\[lodash\]\(https:\/\/lodash\.com\/\)'
*/
function escapeRegExp(string) {
string = baseToString(string);
diff --git a/lodash.isnative/package.json b/lodash.isnative/package.json
index 5c797bc32..76d2a7212 100644
--- a/lodash.isnative/package.json
+++ b/lodash.isnative/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.isnative",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.isNative` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.isnumber/LICENSE.txt b/lodash.isnumber/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.isnumber/LICENSE.txt
+++ b/lodash.isnumber/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.isnumber/README.md b/lodash.isnumber/README.md
index bf4630e0c..6d223f140 100644
--- a/lodash.isnumber/README.md
+++ b/lodash.isnumber/README.md
@@ -1,4 +1,4 @@
-# lodash.isnumber v3.0.0
+# lodash.isnumber v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.isNumber` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var isNumber = require('lodash.isnumber');
```
-See the [documentation](https://lodash.com/docs#isNumber) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.isnumber) for more details.
+See the [documentation](https://lodash.com/docs#isNumber) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.isnumber) for more details.
diff --git a/lodash.isnumber/index.js b/lodash.isnumber/index.js
index 07f0cabc2..43e04dccd 100644
--- a/lodash.isnumber/index.js
+++ b/lodash.isnumber/index.js
@@ -1,11 +1,4 @@
-/**
- * lodash 3.0.0 (Custom Build)
- * Build: `lodash modern modularize exports="npm" -o ./`
- * Copyright 2012-2015 The Dojo Foundation
- * Based on Underscore.js 1.7.0
- * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- * Available under MIT license
- */
+/** `Object#toString` result references. */
/** `Object#toString` result references. */
var numberTag = '[object Number]';
@@ -18,16 +11,15 @@ var numberTag = '[object Number]';
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
*/
function isObjectLike(value) {
- return (value && typeof value == 'object') || false;
+ return !!value && typeof value == 'object';
}
/** Used for native method references. */
var objectProto = Object.prototype;
/**
- * Used to resolve the `toStringTag` of values.
- * See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.prototype.tostring)
- * for more details.
+ * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
+ * of values.
*/
var objToString = objectProto.toString;
@@ -54,7 +46,7 @@ var objToString = objectProto.toString;
* // => false
*/
function isNumber(value) {
- return typeof value == 'number' || (isObjectLike(value) && objToString.call(value) == numberTag) || false;
+ return typeof value == 'number' || (isObjectLike(value) && objToString.call(value) == numberTag);
}
module.exports = isNumber;
diff --git a/lodash.isnumber/package.json b/lodash.isnumber/package.json
index 159cbac9c..c1f7266a0 100644
--- a/lodash.isnumber/package.json
+++ b/lodash.isnumber/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.isnumber",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "The modern build of lodash’s `_.isNumber` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.isobject/LICENSE.txt b/lodash.isobject/LICENSE.txt
index 17764328c..9cd87e5dc 100644
--- a/lodash.isobject/LICENSE.txt
+++ b/lodash.isobject/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.isobject/README.md b/lodash.isobject/README.md
index 68b41645c..a136e61be 100644
--- a/lodash.isobject/README.md
+++ b/lodash.isobject/README.md
@@ -1,4 +1,4 @@
-# lodash.isobject v3.0.0
+# lodash.isobject v3.0.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.isObject` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var isObject = require('lodash.isobject');
```
-See the [documentation](https://lodash.com/docs#isObject) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.isobject) for more details.
+See the [documentation](https://lodash.com/docs#isObject) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.isobject) for more details.
diff --git a/lodash.isobject/index.js b/lodash.isobject/index.js
index f987fce88..7dd6aaa44 100644
--- a/lodash.isobject/index.js
+++ b/lodash.isobject/index.js
@@ -1,18 +1,16 @@
/**
- * lodash 3.0.0 (Custom Build)
+ * lodash 3.0.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