Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement β†’
Sign In

p-queue

Package Overview
Dependencies
Maintainers
2
Versions
53
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
8.1.0
to
8.1.1
+1
-1
dist/index.js

@@ -220,5 +220,5 @@ import { EventEmitter } from 'eventemitter3';

this.#pending++;
this.#intervalCount++;
try {
options.signal?.throwIfAborted();
this.#intervalCount++;
let operation = function_({ signal: options.signal });

@@ -225,0 +225,0 @@ if (options.timeout) {

{
"name": "p-queue",
"version": "8.1.0",
"version": "8.1.1",
"description": "Promise queue with concurrency control",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -11,2 +11,30 @@ # p-queue

---
<br>
<div align="center">
<p>
<p>
<sup>
<a href="https://github.com/sponsors/sindresorhus">Sindre's open source work is supported by the community</a><br>Special thanks to:
</sup>
</p>
<br>
<br>
<a href="https://fetchfox.ai?ref=sindre">
<div>
<img src="https://sindresorhus.com/assets/thanks/fetchfox-logo.svg" height="200"/>
</div>
<b>Scrape anything with FetchFox</b>
<div>
<sup>FetchFox is an AI powered scraping tool that lets you scrape data from any website</sup>
</div>
</a>
</p>
<br>
<br>
</div>
---
## Install

@@ -39,8 +67,2 @@

})();
(async () => {
const task = await getUnicornTask();
await queue.add(task);
console.log('Done: Unicorn task');
})();
```

@@ -47,0 +69,0 @@