Comparing version 0.5.0 to 1.0.0
{ | ||
"name": "redlock", | ||
"version": "0.5.0", | ||
"version": "1.0.0", | ||
"description": "A node.js redlock implementation for distributed redis locks", | ||
@@ -5,0 +5,0 @@ "main": "redlock.js", |
@@ -7,2 +7,7 @@ 'use strict'; | ||
// support the event library provided by node < 0.11.0 | ||
if(typeof EventEmitter.EventEmitter === 'function') | ||
EventEmitter = EventEmitter.EventEmitter; | ||
// constants | ||
@@ -9,0 +14,0 @@ var unlockScript = 'if redis.call("get", KEYS[1]) == ARGV[1] then return redis.call("del", KEYS[1]) else return 0 end'; |
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
28808
568
0