Socket
Socket
Sign inDemoInstall

@supercharge/promise-pool

Package Overview
Dependencies
0
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.9.0 to 2.0.0

7

dist/index.d.ts
import { PromisePool } from './promise-pool';
export = PromisePool;
export default PromisePool;
export * from './promise-pool';
export * from './promise-pool-error';
export * from './return-value';
export * from './stoppable';
export * from './stop-the-promise-pool-error';
'use strict';
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
const promise_pool_1 = require("./promise-pool");
module.exports = promise_pool_1.PromisePool;
exports.default = promise_pool_1.PromisePool;
__exportStar(require("./promise-pool"), exports);
__exportStar(require("./promise-pool-error"), exports);
__exportStar(require("./return-value"), exports);
__exportStar(require("./stoppable"), exports);
__exportStar(require("./stop-the-promise-pool-error"), exports);

2

package.json
{
"name": "@supercharge/promise-pool",
"description": "Map-like, concurrent promise processing for Node.js",
"version": "1.9.0",
"version": "2.0.0",
"author": "Marcus Pöhls <marcus@superchargejs.com>",

@@ -6,0 +6,0 @@ "bugs": {

@@ -49,3 +49,3 @@ <div align="center">

```js
const PromisePool = require('@supercharge/promise-pool')
const { PromisePool } = require('@supercharge/promise-pool')

@@ -97,2 +97,4 @@ const users = [

```js
const { PromisePool } = require('@supercharge/promise-pool')
await PromisePool

@@ -121,2 +123,4 @@ .for(users)

```js
const { PromisePool } = require('@supercharge/promise-pool')
try {

@@ -123,0 +127,0 @@ const errors = []

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc