New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

arc-array

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arc-array - npm Package Compare versions

Comparing version 2.1.0 to 3.0.0

2

index.js

@@ -29,3 +29,3 @@ "use strict";

val = Obj[key];
if(_f.call($this,val,key,this) === false){
if(_f.call($this,key,val,this) === false){
break;

@@ -32,0 +32,0 @@ }

{
"name": "arc-array",
"version": "2.1.0",
"version": "3.0.0",
"description": "An array convenience subclass",

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

@@ -52,4 +52,4 @@ # arc-array [![Build Status](https://travis-ci.org/anyuzer/arc-array.svg?branch=master)](https://travis-ci.org/anyuzer/arc-array)

**callback** is a required function that is called with 3 arguments passed in
* index: the index of the current iteration
* value: the value of the current index being iterated over
* index: the index of the current iteration
* array: the reference to the original ArcArray object

@@ -56,0 +56,0 @@

@@ -14,3 +14,3 @@ var tap = require('tap');

//Ensure the iteration behaves as expected
testArray.each(function(_value,_index){
testArray.each(function(_index,_value){
switch(_index){

@@ -26,3 +26,3 @@ case 0: _test.equal(_value,'a'); break;

let count = 0;
testArray.each(function(_v,_i){
testArray.each(function(_i,_v){
if(_i === 2){

@@ -29,0 +29,0 @@ return false;

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