Comparing version 0.1.0 to 1.0.0
/* | ||
* 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. |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1542
0
18