Comparing version 5.0.0 to 6.0.0
{ | ||
"name": "p-queue", | ||
"version": "5.0.0", | ||
"version": "6.0.0", | ||
"description": "Promise queue with concurrency control", | ||
@@ -11,9 +11,11 @@ "license": "MIT", | ||
"scripts": { | ||
"test": "xo && nyc ava && tsd", | ||
"bench": "node bench.js" | ||
"build": "del dist && tsc", | ||
"test": "xo && npm run build && nyc ava", | ||
"bench": "ts-node bench.ts", | ||
"prepublishOnly": "npm run build" | ||
}, | ||
"files": [ | ||
"index.js", | ||
"index.d.ts" | ||
"dist" | ||
], | ||
"types": "dist", | ||
"keywords": [ | ||
@@ -42,17 +44,45 @@ "promise", | ||
"dependencies": { | ||
"eventemitter3": "^3.1.0" | ||
"eventemitter3": "^3.1.0", | ||
"p-timeout": "^3.1.0" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^11.13.0", | ||
"ava": "^1.4.1", | ||
"@sindresorhus/tsconfig": "^0.3.0", | ||
"@types/benchmark": "^1.0.31", | ||
"@types/node": "^12.0.4", | ||
"@typescript-eslint/eslint-plugin": "^1.6.0", | ||
"ava": "^2.0.0", | ||
"benchmark": "^2.1.4", | ||
"codecov": "^3.3.0", | ||
"delay": "^4.1.0", | ||
"in-range": "^1.0.0", | ||
"nyc": "^13.3.0", | ||
"random-int": "^1.0.0", | ||
"time-span": "^2.0.0", | ||
"tsd": "^0.7.2", | ||
"del-cli": "^2.0.0", | ||
"delay": "^4.2.0", | ||
"eslint-config-xo-typescript": "^0.12.0", | ||
"in-range": "^2.0.0", | ||
"nyc": "^14.0.0", | ||
"random-int": "^2.0.0", | ||
"time-span": "^3.1.0", | ||
"ts-node": "^8.0.3", | ||
"typescript": "~3.5.1", | ||
"xo": "^0.24.0" | ||
}, | ||
"ava": { | ||
"babel": false, | ||
"compileEnhancements": false, | ||
"extensions": [ | ||
"ts" | ||
], | ||
"require": [ | ||
"ts-node/register" | ||
] | ||
}, | ||
"xo": { | ||
"extends": "xo-typescript", | ||
"extensions": [ | ||
"ts" | ||
] | ||
}, | ||
"nyc": { | ||
"extension": [ | ||
".ts" | ||
] | ||
} | ||
} |
@@ -61,2 +61,15 @@ # 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) | ||
##### timeout | ||
Type: `number` | ||
Per-operation timeout in milliseconds. Operations fulfill once `timeout` elapses if they haven't already. | ||
##### throwOnTimeout | ||
Type: `boolean`<br> | ||
Default: `true` | ||
Whether or not a timeout is considered an exception. | ||
##### autoStart | ||
@@ -159,2 +172,4 @@ | ||
#### [.timeout](#timeout) | ||
#### .isPaused | ||
@@ -161,0 +176,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
34349
18
462
310
2
17
1
+ Addedp-timeout@^3.1.0
+ Addedp-finally@1.0.0(transitive)
+ Addedp-timeout@3.2.0(transitive)