Comparing version 6.1.1 to 6.2.0
@@ -20,3 +20,5 @@ "use strict"; | ||
// eslint-disable-next-line @typescript-eslint/no-object-literal-type-assertion | ||
options = Object.assign({ carryoverConcurrencyCount: false, intervalCap: Infinity, interval: 0, concurrency: Infinity, autoStart: true, queueClass: priority_queue_1.default }, options); | ||
options = Object.assign({ carryoverConcurrencyCount: false, intervalCap: Infinity, interval: 0, concurrency: Infinity, autoStart: true, queueClass: priority_queue_1.default }, options | ||
// TODO: Remove this `as`. | ||
); | ||
if (!(typeof options.intervalCap === 'number' && options.intervalCap >= 1)) { | ||
@@ -263,2 +265,1 @@ throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${options.intervalCap}\` (${typeof options.intervalCap})`); | ||
exports.default = PQueue; | ||
//# sourceMappingURL=index.js.map |
@@ -22,2 +22,1 @@ "use strict"; | ||
exports.default = lowerBound; | ||
//# sourceMappingURL=lower-bound.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=options.js.map |
@@ -30,2 +30,1 @@ "use strict"; | ||
exports.default = PriorityQueue; | ||
//# sourceMappingURL=priority-queue.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=queue.js.map |
{ | ||
"name": "p-queue", | ||
"version": "6.1.1", | ||
"version": "6.2.0", | ||
"description": "Promise queue with concurrency control", | ||
@@ -48,3 +48,3 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@sindresorhus/tsconfig": "^0.4.0", | ||
"@sindresorhus/tsconfig": "^0.5.0", | ||
"@types/benchmark": "^1.0.31", | ||
@@ -57,3 +57,3 @@ "@types/node": "^12.0.10", | ||
"codecov": "^3.3.0", | ||
"del-cli": "^2.0.0", | ||
"del-cli": "^3.0.0", | ||
"delay": "^4.2.0", | ||
@@ -66,4 +66,4 @@ "eslint-config-xo-typescript": "^0.15.0", | ||
"ts-node": "^8.3.0", | ||
"typescript": "~3.5.1", | ||
"xo": "^0.24.0" | ||
"typescript": "^3.6.4", | ||
"xo": "^0.25.3" | ||
}, | ||
@@ -78,2 +78,5 @@ "ava": { | ||
"ts-node/register" | ||
], | ||
"files": [ | ||
"test/**" | ||
] | ||
@@ -89,3 +92,4 @@ }, | ||
"import/newline-after-import": "off", | ||
"@typescript-eslint/member-ordering": "off" | ||
"@typescript-eslint/member-ordering": "off", | ||
"@typescript-eslint/strict-boolean-expressions": "off" | ||
} | ||
@@ -92,0 +96,0 @@ }, |
@@ -309,1 +309,14 @@ # p-queue [![Build Status](https://travis-ci.org/sindresorhus/p-queue.svg?branch=master)](https://travis-ci.org/sindresorhus/p-queue) [![codecov](https://codecov.io/gh/sindresorhus/p-queue/branch/master/graph/badge.svg)](https://codecov.io/gh/sindresorhus/p-queue) | ||
- [Moreβ¦](https://github.com/sindresorhus/promise-fun) | ||
--- | ||
<div align="center"> | ||
<b> | ||
<a href="https://tidelift.com/subscription/pkg/npm-p-queue?utm_source=npm-p-queue&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a> | ||
</b> | ||
<br> | ||
<sub> | ||
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies. | ||
</sub> | ||
</div> |
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
476
322
27021
13