Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 7.3.4 to 7.4.0

3

dist/index.js

@@ -24,3 +24,3 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {

*/
export default class PQueue extends EventEmitter {
class PQueue extends EventEmitter {
// TODO: The `throwOnTimeout` option should affect the return types of `add()` and `addAll()`

@@ -332,1 +332,2 @@ constructor(options) {

};
export default PQueue;

@@ -8,3 +8,3 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {

import lowerBound from './lower-bound.js';
export default class PriorityQueue {
class PriorityQueue {
constructor() {

@@ -41,1 +41,2 @@ _PriorityQueue_queue.set(this, []);

_PriorityQueue_queue = new WeakMap();
export default PriorityQueue;
{
"name": "p-queue",
"version": "7.3.4",
"version": "7.4.0",
"description": "Promise queue with concurrency control",

@@ -15,3 +15,4 @@ "license": "MIT",

"build": "del-cli dist && tsc",
"test": "xo && ava && del-cli dist && tsc && tsd",
"//test": "xo && ava && del-cli dist && tsc && tsd",
"test": "ava && del-cli dist && tsc && tsd",
"bench": "node --loader=ts-node/esm bench.ts",

@@ -47,3 +48,3 @@ "prepublishOnly": "del-cli dist && tsc"

"dependencies": {
"eventemitter3": "^4.0.7",
"eventemitter3": "^5.0.1",
"p-timeout": "^5.0.2"

@@ -55,3 +56,3 @@ },

"@types/node": "^17.0.13",
"ava": "^5.1.1",
"ava": "^5.3.1",
"benchmark": "^2.1.4",

@@ -66,4 +67,4 @@ "del-cli": "^5.0.0",

"tsd": "^0.25.0",
"typescript": "^4.8.4",
"xo": "^0.44.0"
"typescript": "^5.2.2",
"xo": "^0.52.0"
},

@@ -70,0 +71,0 @@ "ava": {

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