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 4.0.0 to 4.1.0

6

CHANGELOG.md

@@ -5,2 +5,6 @@ ## v4.0.0

- **BREAKING:** Change behavior of `unlock` to return an error if one or more entries cannot be removed.
- **BREAKING:** Upgrade required engine to node 8+ in line w/ node LTS roadmap.
- **BREAKING:** Upgrade required engine to node 8+ in line w/ node LTS roadmap.
### v4.1.0
- Update scripts for compatibility with LUA 5.2 (via [#63](https://github.com/mike-marcacci/node-redlock/pull/63)).

2

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

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

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

-- Return the number of entries added.
return table.getn(KEYS)
return #KEYS
`;

@@ -55,3 +55,3 @@

-- Return the number of entries updated.
return table.getn(KEYS)
return #KEYS
`;

@@ -58,0 +58,0 @@

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