+1
-1
@@ -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) { |
+1
-1
| { | ||
| "name": "p-queue", | ||
| "version": "8.1.0", | ||
| "version": "8.1.1", | ||
| "description": "Promise queue with concurrency control", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
+28
-6
@@ -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 @@ |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
41044
1.1%569
4.02%