function-loop
Advanced tools
Comparing version 3.0.1 to 4.0.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9339
42