Socket
Socket
Sign inDemoInstall

lodash.unzipwith

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash.unzipwith - npm Package Compare versions

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

3

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc