Releases: expo/await-lock
Releases · expo/await-lock
v3.0.0
Breaking changes
- Dropped support for old Node.js versions. Use Node.js 20 LTS or newer.
- This package is published only as an ES module. You will need to use
importsyntax or configure Node.js to allow requiring ES modules from CommonJS files.
Fixes
- TypeScript: fixed
Type 'typeof import("/<...>/node_modules/await-lock/build/AwaitLock")' has no construct signatures.
v2.2.2
v2.2.1
v2.2.0
v2.1.0
v2.0.1
v2.0.0
This is not a significant upgrade over v1.2.1 but there is a small breaking change. Namely, CommonJS's require('await-lock') has been dropped in favor of standard JS's import 'await-lock'. You can still use require() but need to explicitly access the default export.
v1.2.0
v1.2.1
- Added back support for
require('await-lock'), which will go away in 2.0.0.
v1.2.0
- Migrated from Flow to TypeScript
- Removed Flow types. This is technically a breaking change, but I decided that it didn't warrant a new major version. Use
~1.1.3if you want to use the last version with Flow. - Added
tryAcquire, a method to try to acquire the lock immediately without waiting. This method returnstrueif the lock was acquired andfalseotherwise. - Migrated from Babel 6 to 7 (used for testing)
- Switched to GitHub Actions for testing
- Added code-coverage tracking with Codecov