New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

array-x

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

array-x - npm Package Compare versions

Comparing version
3.0.6
to
3.0.7
+3
-3
dist/index.js

@@ -15,4 +15,4 @@ module.exports = (function () {

args.forEach(function (arg) {
if (console && console.warn && type(arg).toLocaleLowerCase() === "array")
console.warn("Array arg \"" + arg + "\" passed to ArraX constructor");
// if (console && console.warn && type(arg).toLocaleLowerCase() === "array")
// console.warn(`Array arg "${arg}" passed to ArraX constructor`);
Arr.push(arg);

@@ -342,3 +342,3 @@ });

var sgn = to >= from ? 1 : -1;
for (var idx = from; idx != to; idx += sgn)
for (var idx = from; idx != (to + sgn); idx += sgn)
arr.push(idx);

@@ -345,0 +345,0 @@ return new (ArrayX.bind.apply(ArrayX, [void 0].concat(arr)))();

{
"name": "array-x",
"version": "3.0.6",
"version": "3.0.7",
"description": "Functional extension methods (inspired by LINQ .NET) on JavaScript arrays",

@@ -5,0 +5,0 @@ "types": "./dist/types.d.ts",