Comparing version 7.3.4 to 7.4.0
@@ -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": { |
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
45370
582
+ Addedeventemitter3@5.0.1(transitive)
- Removedeventemitter3@4.0.7(transitive)
Updatedeventemitter3@^5.0.1