diff --git a/README.md b/README.md
index 8c02c7fcf..c6b514682 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# lodash v3.8.0
+# lodash v3.8.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._basepullat/README.md b/lodash._basepullat/README.md
index 316ab9190..4a3024472 100644
--- a/lodash._basepullat/README.md
+++ b/lodash._basepullat/README.md
@@ -1,4 +1,4 @@
-# lodash._basepullat v3.8.0
+# lodash._basepullat v3.8.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `basePullAt` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var basePullAt = require('lodash._basepullat');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.8.0-npm-packages/lodash._basepullat) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.8.1-npm-packages/lodash._basepullat) for more details.
diff --git a/lodash._basepullat/index.js b/lodash._basepullat/index.js
index 78c3abc38..cbe76c6f0 100644
--- a/lodash._basepullat/index.js
+++ b/lodash._basepullat/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.8.0 (Custom Build)
+ * lodash 3.8.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.8.3
@@ -17,7 +17,7 @@ var splice = arrayProto.splice;
* 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;
+var MAX_SAFE_INTEGER = 9007199254740991;
/**
* The base implementation of `_.pullAt` without support for individual
@@ -31,7 +31,7 @@ var MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;
function basePullAt(array, indexes) {
var length = array ? indexes.length : 0;
while (length--) {
- var index = parseFloat(indexes[length]);
+ var index = indexes[length];
if (index != previous && isIndex(index)) {
var previous = index;
splice.call(array, index, 1);
@@ -49,7 +49,7 @@ function basePullAt(array, indexes) {
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
*/
function isIndex(value, length) {
- value = +value;
+ value = typeof value == 'number' ? value : parseFloat(value);
length = length == null ? MAX_SAFE_INTEGER : length;
return value > -1 && value % 1 == 0 && value < length;
}
diff --git a/lodash._basepullat/package.json b/lodash._basepullat/package.json
index 09864e6a6..7b6393055 100644
--- a/lodash._basepullat/package.json
+++ b/lodash._basepullat/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._basepullat",
- "version": "3.8.0",
+ "version": "3.8.1",
"description": "The modern build of lodash’s internal `basePullAt` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash._topath/LICENSE.txt b/lodash._topath/LICENSE
similarity index 100%
rename from lodash._topath/LICENSE.txt
rename to lodash._topath/LICENSE
diff --git a/lodash._topath/README.md b/lodash._topath/README.md
index ee95d99e7..0ca178f36 100644
--- a/lodash._topath/README.md
+++ b/lodash._topath/README.md
@@ -1,4 +1,4 @@
-# lodash._topath v3.8.0
+# lodash._topath v3.8.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `toPath` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var toPath = require('lodash._topath');
```
-See the [package source](https://github.com/lodash/lodash/blob/3.8.0-npm-packages/lodash._topath) for more details.
+See the [package source](https://github.com/lodash/lodash/blob/3.8.1-npm-packages/lodash._topath) for more details.
diff --git a/lodash._topath/index.js b/lodash._topath/index.js
index c8a5ce593..9ad712711 100644
--- a/lodash._topath/index.js
+++ b/lodash._topath/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.8.0 (Custom Build)
+ * lodash 3.8.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.8.3
@@ -23,9 +23,6 @@ var reEscapeChar = /\\(\\)?/g;
* @returns {string} Returns the string.
*/
function baseToString(value) {
- if (typeof value == 'string') {
- return value;
- }
return value == null ? '' : (value + '');
}
diff --git a/lodash._topath/package.json b/lodash._topath/package.json
index 5fee9a5c1..65aa847a2 100644
--- a/lodash._topath/package.json
+++ b/lodash._topath/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash._topath",
- "version": "3.8.0",
+ "version": "3.8.1",
"description": "The modern build of lodash’s internal `toPath` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",
diff --git a/lodash.zipwith/README.md b/lodash.zipwith/README.md
index 47cc9a792..0b540e599 100644
--- a/lodash.zipwith/README.md
+++ b/lodash.zipwith/README.md
@@ -1,4 +1,4 @@
-# lodash.zipwith v3.8.0
+# lodash.zipwith v3.8.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.zipWith` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var zipWith = require('lodash.zipwith');
```
-See the [documentation](https://lodash.com/docs#zipWith) or [package source](https://github.com/lodash/lodash/blob/3.8.0-npm-packages/lodash.zipwith) for more details.
+See the [documentation](https://lodash.com/docs#zipWith) or [package source](https://github.com/lodash/lodash/blob/3.8.1-npm-packages/lodash.zipwith) for more details.
diff --git a/lodash.zipwith/index.js b/lodash.zipwith/index.js
index cbf37ad8d..cfab0eaf6 100644
--- a/lodash.zipwith/index.js
+++ b/lodash.zipwith/index.js
@@ -1,5 +1,5 @@
/**
- * lodash 3.8.0 (Custom Build)
+ * lodash 3.8.1 (Custom Build)
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation
* Based on Underscore.js 1.8.3
@@ -28,8 +28,8 @@ var restParam = require('lodash.restparam'),
*/
var zipWith = restParam(function(arrays) {
var length = arrays.length,
- iteratee = arrays[length - 2],
- thisArg = arrays[length - 1];
+ iteratee = length > 2 ? arrays[length - 2] : undefined,
+ thisArg = length > 1 ? arrays[length - 1] : undefined;
if (length > 2 && typeof iteratee == 'function') {
length -= 2;
diff --git a/lodash.zipwith/package.json b/lodash.zipwith/package.json
index b543b63ae..c4237fa2b 100644
--- a/lodash.zipwith/package.json
+++ b/lodash.zipwith/package.json
@@ -1,6 +1,6 @@
{
"name": "lodash.zipwith",
- "version": "3.8.0",
+ "version": "3.8.1",
"description": "The modern build of lodash’s `_.zipWith` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",