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

function-loop

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

function-loop - npm Package Compare versions

Comparing version

to
4.0.0

3

dist/cjs/index.d.ts

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

declare const loop: (arr: ((...a: any) => any)[], cb: () => any, onerr: (er: any) => any) => any;
export default loop;
export declare const loop: (arr: ((...a: any) => any)[], cb: () => any, onerr: (er: any) => any) => any;
//# sourceMappingURL=index.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.loop = void 0;
const loop = (arr, cb, onerr) => loop_(arr, cb, onerr, 0);
exports.default = loop;
exports.loop = loop;
const loop_ = (arr, cb, onerr, i) => {

@@ -6,0 +7,0 @@ while (i < arr.length) {

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

declare const loop: (arr: ((...a: any) => any)[], cb: () => any, onerr: (er: any) => any) => any;
export default loop;
export declare const loop: (arr: ((...a: any) => any)[], cb: () => any, onerr: (er: any) => any) => any;
//# sourceMappingURL=index.d.ts.map

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

const loop = (arr, cb, onerr) => loop_(arr, cb, onerr, 0);
export default loop;
export const loop = (arr, cb, onerr) => loop_(arr, cb, onerr, 0);
const loop_ = (arr, cb, onerr, i) => {

@@ -4,0 +3,0 @@ while (i < arr.length) {

{
"name": "function-loop",
"version": "3.0.1",
"version": "4.0.0",
"files": [

@@ -5,0 +5,0 @@ "dist"

@@ -9,4 +9,4 @@ # function-loop

```ts
import loop from 'function-loop'
// or `const {default:loop} = require('function-loop')
import { loop } from 'function-loop'
// or `const { loop } = require('function-loop')

@@ -13,0 +13,0 @@ const loop = require('./dist/cjs/index.js').default

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

Sorry, the diff of this file is not supported yet