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

redlock

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redlock - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

2

package.json
{
"name": "redlock",
"version": "2.0.1",
"version": "2.0.2",
"description": "A node.js redlock implementation for distributed redis locks",

@@ -5,0 +5,0 @@ "main": "redlock.js",

@@ -65,2 +65,5 @@ 'use strict';

// Attach a reference to Lock, which allows the application to use instanceof
// to ensure type.
Redlock.Lock = Lock;

@@ -67,0 +70,0 @@

@@ -68,2 +68,3 @@ 'use strict';

assert.isObject(lock);
assert.instanceOf(lock, Redlock.Lock);
assert.isAbove(lock.expiration, Date.now()-1);

@@ -70,0 +71,0 @@ one = lock;

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