🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@x-oasis/shallow-array-equal

Package Overview
Dependencies
Maintainers
3
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@x-oasis/shallow-array-equal - npm Package Compare versions

Comparing version

to
0.0.13

2

dist/shallow-array-equal.cjs.development.js

@@ -9,3 +9,3 @@ 'use strict';

var len = a.length;
for (var index = 0; index < len - 1; index++) {
for (var index = 0; index < len; index++) {
if (a[index] !== b[index]) return false;

@@ -12,0 +12,0 @@ }

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

"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(r,e){if(!Array.isArray(r)||!Array.isArray(e))return!1;if(r.length!==e.length)return!1;for(var t=r.length,n=0;n<t-1;n++)if(r[n]!==e[n])return!1;return!0};
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(r,e){if(!Array.isArray(r)||!Array.isArray(e))return!1;if(r.length!==e.length)return!1;for(var t=r.length,n=0;n<t;n++)if(r[n]!==e[n])return!1;return!0};
//# sourceMappingURL=shallow-array-equal.cjs.production.min.js.map

@@ -5,3 +5,3 @@ var index = (function (a, b) {

var len = a.length;
for (var index = 0; index < len - 1; index++) {
for (var index = 0; index < len; index++) {
if (a[index] !== b[index]) return false;

@@ -8,0 +8,0 @@ }

{
"name": "@x-oasis/shallow-array-equal",
"version": "0.0.12",
"version": "0.0.13",
"description": "shallow array equal function",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -5,3 +5,3 @@ export default (a: Array<any>, b: Array<any>) => {

const len = a.length;
for (let index = 0; index < len - 1; index++) {
for (let index = 0; index < len; index++) {
if (a[index] !== b[index]) return false;

@@ -11,2 +11,2 @@ }

return true;
};
};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet