Comparing version 4.0.0 to 4.1.0
@@ -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)). |
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53981