async-mutex
Advanced tools
Comparing version 0.2.5 to 0.2.6
# Changelog | ||
## 0.2.5 | ||
## 0.2.6 | ||
@@ -8,2 +8,6 @@ * Fix a nasty [bug](https://github.com/DirtyHairy/async-mutex/issues/27) related to | ||
## 0.2.5 | ||
* Nothing new thanks to NPM. Go away. Install 0.2.6. | ||
## 0.2.4 | ||
@@ -10,0 +14,0 @@ |
@@ -48,4 +48,5 @@ import { __awaiter, __generator } from "tslib"; | ||
if (this._currentReleaser) { | ||
this._currentReleaser(); | ||
var releaser = this._currentReleaser; | ||
this._currentReleaser = undefined; | ||
releaser(); | ||
} | ||
@@ -52,0 +53,0 @@ }; |
@@ -50,4 +50,5 @@ "use strict"; | ||
if (this._currentReleaser) { | ||
this._currentReleaser(); | ||
var releaser = this._currentReleaser; | ||
this._currentReleaser = undefined; | ||
releaser(); | ||
} | ||
@@ -54,0 +55,0 @@ }; |
{ | ||
"name": "async-mutex", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "A mutex for guarding async workflows", | ||
@@ -8,3 +8,3 @@ "scripts": { | ||
"build": "tsc && tsc -p tsconfig.es6.json && tsc -p tsconfig.mjs.json && rollup -o index.mjs mjs/index.js", | ||
"prepublish": "yarn test && yarn build", | ||
"prepublishOnly": "yarn test && yarn build", | ||
"test": "yarn lint && nyc --reporter=text --reporter=html --reporter=lcov mocha test/*.ts", | ||
@@ -11,0 +11,0 @@ "coveralls": "cat ./coverage/lcov.info | coveralls" |
Sorry, the diff of this file is not supported yet
37559
572