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 5.0.0 to 6.0.0

dist/index.d.ts

58

package.json
{
"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 @@

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