Socket
Socket
Sign inDemoInstall

p-queue

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

p-queue - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

index.d.ts

7

index.js

@@ -215,4 +215,4 @@ 'use strict';

);
} catch (err) {
reject(err);
} catch (error) {
reject(error);
this._next();

@@ -245,3 +245,3 @@ }

clear() {
this.queue = new this._queueClass(); // eslint-disable-line new-cap
this.queue = new this._queueClass();
}

@@ -293,1 +293,2 @@

module.exports = PQueue;
module.exports.default = PQueue;
{
"name": "p-queue",
"version": "3.1.0",
"version": "3.2.0",
"description": "Promise queue with concurrency control",

@@ -11,7 +11,8 @@ "license": "MIT",

"scripts": {
"test": "xo && nyc ava",
"test": "xo && nyc ava && tsd-check",
"bench": "node bench.js"
},
"files": [
"index.js"
"index.js",
"index.d.ts"
],

@@ -41,6 +42,7 @@ "keywords": [

"devDependencies": {
"ava": "^0.25.0",
"@types/node": "^11.9.6",
"ava": "^1.2.1",
"benchmark": "^2.1.2",
"codecov": "^3.1.0",
"delay": "^3.1.0",
"delay": "^4.1.0",
"in-range": "^1.0.0",

@@ -50,4 +52,5 @@ "nyc": "^13.0.1",

"time-span": "^2.0.0",
"xo": "^0.22.0"
"tsd-check": "^0.3.0",
"xo": "^0.24.0"
}
}
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