Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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 3.0.1 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

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