lodash.unzipwith
Advanced tools
Comparing version 4.0.1 to 4.1.0
25
index.js
/** | ||
* lodash 4.0.1 (Custom Build) <https://lodash.com/> | ||
* lodash 4.1.0 (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modularize exports="npm" -o ./` | ||
@@ -9,4 +9,3 @@ * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/> | ||
*/ | ||
var arrayMap = require('lodash._arraymap'), | ||
unzip = require('lodash.unzip'); | ||
var unzip = require('lodash.unzip'); | ||
@@ -35,2 +34,22 @@ /** | ||
/** | ||
* A specialized version of `_.map` for arrays without support for iteratee | ||
* shorthands. | ||
* | ||
* @private | ||
* @param {Array} array The array to iterate over. | ||
* @param {Function} iteratee The function invoked per iteration. | ||
* @returns {Array} Returns the new mapped array. | ||
*/ | ||
function arrayMap(array, iteratee) { | ||
var index = -1, | ||
length = array.length, | ||
result = Array(length); | ||
while (++index < length) { | ||
result[index] = iteratee(array[index], index, array); | ||
} | ||
return result; | ||
} | ||
/** | ||
* This method is like `_.unzip` except that it accepts `iteratee` to specify | ||
@@ -37,0 +56,0 @@ * how regrouped values should be combined. The iteratee is invoked with the |
{ | ||
"name": "lodash.unzipwith", | ||
"version": "4.0.1", | ||
"version": "4.1.0", | ||
"description": "The lodash method `_.unzipWith` exported as a module.", | ||
@@ -18,5 +18,4 @@ "homepage": "https://lodash.com/", | ||
"dependencies": { | ||
"lodash._arraymap": "^3.0.0", | ||
"lodash.unzip": "^3.0.0" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# lodash.unzipwith v4.0.1 | ||
# lodash.unzipwith v4.1.0 | ||
@@ -18,2 +18,2 @@ The [lodash](https://lodash.com/) method `_.unzipWith` exported as a [Node.js](https://nodejs.org/) module. | ||
See the [documentation](https://lodash.com/docs#unzipWith) or [package source](https://github.com/lodash/lodash/blob/4.0.1-npm-packages/lodash.unzipwith) for more details. | ||
See the [documentation](https://lodash.com/docs#unzipWith) or [package source](https://github.com/lodash/lodash/blob/4.1.0-npm-packages/lodash.unzipwith) for more details. |
Sorry, the diff of this file is not supported yet
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
5112
1
79
- Removedlodash._arraymap@^3.0.0
- Removedlodash._arraymap@3.0.0(transitive)