Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

array-zip

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

array-zip - npm Package Compare versions

Comparing version 0.1.0 to 1.0.0

18

lib/array-zip.js
/*
* array-zip
* https://github.com/frozzare/array-pluck
* https://github.com/frozzare/array-zip
*

@@ -12,10 +12,10 @@ * Copyright (c) 2014 Fredrik Forsmo

module.exports = function () {
var args = Array.prototype.slice.call(arguments, 0);
return args.reduce(function (a, b) {
return a.length > b.length ? a : b;
}, []).map(function (_, i) {
return args.map(function (arr) {
return arr[i];
});
});
var args = Array.prototype.slice.call(arguments, 0);
return args.reduce(function (a, b) {
return a.length > b.length ? a : b;
}, []).map(function (_, i) {
return args.map(function (arr) {
return arr[i];
});
});
};
{
"name": "array-zip",
"description": "Merges together the values of each of the arrays",
"version": "0.1.0",
"version": "1.0.0",
"license": "MIT",

@@ -35,2 +35,2 @@ "homepage": "https://github.com/frozzare/array-zip",

]
}
}

@@ -1,2 +0,2 @@

# array-pluck [![Build Status](https://secure.travis-ci.org/frozzare/array-zip.png?branch=master)](http://travis-ci.org/frozzare/array-pluck)
# array-zip [![Build Status](https://secure.travis-ci.org/frozzare/array-zip.png?branch=master)](http://travis-ci.org/frozzare/array-zip)

@@ -17,2 +17,2 @@ Merges together the values of each of the arrays.

Copyright (c) 2014 Fredrik Forsmo
Licensed under the MIT license.
Licensed under the MIT license.
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