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

memjs

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

memjs - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

8

lib/memjs/memjs.js

@@ -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",

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