Socket
Socket
Sign inDemoInstall

metautil

Package Overview
Dependencies
0
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.5.17 to 3.5.18

7

CHANGELOG.md

@@ -5,2 +5,6 @@ # Changelog

## [3.5.18][] - 2022-01-29
- Fix semaphore bug with counter and queue
## [3.5.17][] - 2022-01-26

@@ -134,3 +138,4 @@

[unreleased]: https://github.com/metarhia/metautil/compare/v3.5.17....HEAD
[unreleased]: https://github.com/metarhia/metautil/compare/v3.5.18....HEAD
[3.5.18]: https://github.com/metarhia/metautil/compare/v3.5.17...v3.5.18
[3.5.17]: https://github.com/metarhia/metautil/compare/v3.5.16...v3.5.17

@@ -137,0 +142,0 @@ [3.5.16]: https://github.com/metarhia/metautil/compare/v3.5.15...v3.5.16

2

lib/semaphore.js

@@ -39,4 +39,4 @@ 'use strict';

leave() {
this.counter++;
if (this.queue.length === 0) {
this.counter++;
this.empty = this.counter === this.concurrency;

@@ -43,0 +43,0 @@ return;

{
"name": "metautil",
"version": "3.5.17",
"version": "3.5.18",
"author": "Timur Shemsedinov <timur.shemsedinov@gmail.com>",

@@ -41,12 +41,12 @@ "license": "MIT",

"devDependencies": {
"@types/node": "^16.10.3",
"@types/node": "^17.0.13",
"eslint": "^7.32.0",
"eslint-config-metarhia": "^7.0.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"metatests": "^0.7.2",
"prettier": "^2.4.1",
"typescript": "^4.4.3"
"metatests": "^0.8.0",
"prettier": "^2.5.1",
"typescript": "^4.5.5"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc