Comparing version 1.3.1 to 1.3.2
@@ -262,3 +262,3 @@ // # MemJS Memcache Client | ||
Client.prototype.add = function(key, value, options, callback) { | ||
if(callback === undefined && options !== 'function') { | ||
if(callback === undefined && typeof options !== 'function') { | ||
var self = this; | ||
@@ -322,3 +322,3 @@ if (!options) options = {}; | ||
Client.prototype.replace = function(key, value, options, callback) { | ||
if(callback === undefined && options !== 'function') { | ||
if(callback === undefined && typeof options !== 'function') { | ||
var self = this; | ||
@@ -419,3 +419,3 @@ if (!options) options = {}; | ||
Client.prototype.increment = function(key, amount, options, callback) { | ||
if(callback === undefined && options !== 'function') { | ||
if(callback === undefined && typeof options !== 'function') { | ||
var self = this; | ||
@@ -482,3 +482,3 @@ return promisify(function(callback) { | ||
Client.prototype.decrement = function(key, amount, options, callback) { | ||
if(callback === undefined && options !== 'function') { | ||
if(callback === undefined && typeof options !== 'function') { | ||
var self = this; | ||
@@ -485,0 +485,0 @@ return promisify(function(callback) { |
@@ -5,3 +5,3 @@ { | ||
"description": "A memcache client for node using the binary protocol and SASL authentication", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "homepage": "http://github.com/memcachier/memjs", |
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
88522