lodash.flattendeep
Advanced tools
Comparing version 3.0.1 to 3.0.2
/** | ||
* lodash 3.0.1 (Custom Build) <https://lodash.com/> | ||
* lodash 3.0.2 (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modern modularize exports="npm" -o ./` | ||
@@ -22,9 +22,9 @@ * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/> | ||
* _.flattenDeep([1, [2, 3, [4]]]); | ||
* // => [1, 2, 3, 4]; | ||
* // => [1, 2, 3, 4] | ||
*/ | ||
function flattenDeep(array) { | ||
var length = array ? array.length : 0; | ||
return length ? baseFlatten(array, true, false, 0) : []; | ||
return length ? baseFlatten(array, true) : []; | ||
} | ||
module.exports = flattenDeep; |
Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/> | ||
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 <http://underscorejs.org/> | ||
@@ -4,0 +4,0 @@ |
{ | ||
"name": "lodash.flattendeep", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "The modern build of lodash’s `_.flattenDeep` as a module.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/", |
@@ -1,2 +0,2 @@ | ||
# lodash.flattendeep v3.0.1 | ||
# lodash.flattendeep v3.0.2 | ||
@@ -20,2 +20,2 @@ 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. | ||
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. | ||
See the [documentation](https://lodash.com/docs#flattenDeep) or [package source](https://github.com/lodash/lodash/blob/3.0.2-npm-packages/lodash.flattendeep) for more details. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3682