Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@alwatr/async-queue

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alwatr/async-queue - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

src/main.test.js

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

## [1.2.0](https://github.com/Alwatr/nanolib/compare/@alwatr/async-queue@1.1.1...@alwatr/async-queue@1.2.0) (2024-01-16)
### Features
* **async-queue:** Add waitForAllFinish method to AsyncQueue class ([3fdef04](https://github.com/Alwatr/nanolib/commit/3fdef04244c515b727c9ccabfd21d7667b561a83)) by @AliMD
## [1.1.1](https://github.com/Alwatr/nanolib/compare/@alwatr/async-queue@1.1.0...@alwatr/async-queue@1.1.1) (2024-01-16)

@@ -8,0 +14,0 @@

@@ -62,3 +62,12 @@ /**

waitForFinish(taskId: string): Promise<unknown>;
/**
* Wait for the all tasks in the queue to finish.
* @returns A promise that resolves when all tasks are done.
* @example
* ```typescript
* await queue.waitForAllFinish();
* ```
*/
waitForAllFinish(): Promise<unknown[]>;
}
//# sourceMappingURL=main.d.ts.map

7

package.json
{
"name": "@alwatr/async-queue",
"version": "1.1.1",
"version": "1.2.0",
"description": "A queue that executes async tasks in order like mutex and semaphore methodology for javascript and typescript.",

@@ -62,2 +62,3 @@ "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",

"b": "yarn run build",
"t": "yarn run test",
"w": "yarn run watch",

@@ -70,2 +71,3 @@ "c": "yarn run clean",

"build:ts": "tsc --build",
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" jest",
"watch": "yarn run watch:ts & yarn run watch:es",

@@ -85,5 +87,6 @@ "watch:es": "yarn run build:es --watch",

"@types/node": "^20.11.3",
"jest": "^29.7.0",
"typescript": "^5.3.3"
},
"gitHead": "369887cfdcbf5c6f3899880a5e217b102b36706c"
"gitHead": "808ba074470a2a1482d692fdb477730b40385c1d"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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