Bump to v4.2.1.

This commit is contained in:
John-David Dalton
2016-02-15 12:01:21 -08:00
parent fdf249c94e
commit 3b6af7b0a3
269 changed files with 1098 additions and 1145 deletions

View File

@@ -1,4 +1,4 @@
# lodash.split v4.2.0
# lodash.split v4.2.1
The [lodash](https://lodash.com/) method `_.split` exported as a [Node.js](https://nodejs.org/) module.
@@ -15,4 +15,4 @@ In Node.js:
var split = require('lodash.split');
```
See the [documentation](https://lodash.com/docs#split) or [package source](https://github.com/lodash/lodash/blob/4.2.0-npm-packages/lodash.split) for more details.
See the [documentation](https://lodash.com/docs#split) or [package source](https://github.com/lodash/lodash/blob/4.2.1-npm-packages/lodash.split) for more details.

View File

@@ -1,5 +1,5 @@
/**
* lodash 4.2.0 (Custom Build) <https://lodash.com/>
* lodash 4.2.1 (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="npm" -o ./`
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
* Released under MIT license <https://lodash.com/license>
@@ -78,7 +78,8 @@ function stringToArray(string) {
}
/** Used for built-in method references. */
var objectProto = Object.prototype;
var objectProto = Object.prototype,
stringProto = String.prototype;
/**
* Used to resolve the
@@ -87,6 +88,9 @@ var objectProto = Object.prototype;
*/
var objectToString = objectProto.toString;
/* Built-in method references for those with the same name as other `lodash` methods. */
var nativeSplit = stringProto.split;
/**
* The base implementation of `_.property` without support for deep paths.
*
@@ -364,7 +368,7 @@ function split(string, separator, limit) {
return castSlice(stringToArray(string), 0, limit);
}
}
return string.split(separator, limit);
return nativeSplit.call(string, separator, limit);
}
module.exports = split;

View File

@@ -1,6 +1,6 @@
{
"name": "lodash.split",
"version": "4.2.0",
"version": "4.2.1",
"description": "The lodash method `_.split` exported as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",