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

async-lock

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-lock - npm Package Compare versions

Comparing version 1.1.4 to 1.2.0

20

History.md

@@ -1,16 +0,14 @@

1.1.4 / 2019-02-02
1.2.0
==================
* Fix for #17 Promise.defer() resulting in console warnings
* Fix for npm audit vulnerabilities (one remaining in dev deps)
* ES5 compatibility (#21)
1.1.3 / 2018-06-08
1.1.4
==================
* Fix for #14 tarball has wrong permissions
* Updates to dev dependencies
* Fix for #17, update dependencies
1.1.2 / 2018-02-28
1.1.3
==================
* README.md improvements
* Fix for #14
1.1.1 / 2018-02-14
1.1.1
==================

@@ -23,2 +21,6 @@ * Fix result Promise not resolving when locking empty key array

1.1.0 / 2017-10-17
==================
* Add option to add waiters to the front of the queue
1.0.0 / 2017-06-29

@@ -25,0 +27,0 @@ ==================

@@ -52,3 +52,3 @@ 'use strict';

// will return a promise
deferred = new this.Promise((resolve, reject) => {
deferred = new this.Promise(function(resolve, reject) {
deferredResolve = resolve;

@@ -213,3 +213,3 @@ deferredReject = reject;

else {
return new this.Promise((resolve, reject) => {
return new this.Promise(function (resolve, reject) {
// check for promise mode in case keys is empty array

@@ -258,2 +258,1 @@ if (fnx.length === 1) {

module.exports = AsyncLock;
{
"name": "async-lock",
"description": "Lock on asynchronous code",
"version": "1.1.4",
"version": "1.2.0",
"author": {

@@ -6,0 +6,0 @@ "name": "Rogier Schouten",

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