Bump to v4.0.1.

This commit is contained in:
John-David Dalton
2016-01-14 00:00:39 -08:00
parent d35a9c40be
commit c033f79116
681 changed files with 4466 additions and 2890 deletions

View File

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

View File

@@ -1,5 +1,5 @@
/**
* lodash 4.0.0 (Custom Build) <https://lodash.com/>
* lodash 4.0.1 (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="npm" -o ./`
* Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
@@ -55,8 +55,11 @@ function arrayConcat(array, other) {
* // => [1]
*/
var concat = rest(function(array, values) {
if (!isArray(array)) {
array = array == null ? [] : [Object(array)];
}
values = baseFlatten(values);
return arrayConcat(isArray(array) ? array : [Object(array)], values);
return arrayConcat(array, values);
});
/**

View File

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