Socket
Socket
Sign inDemoInstall

memcached

Package Overview
Dependencies
4
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.7 to 0.2.8

test/memcached-domain.test.js

6

lib/connection.js

@@ -5,3 +5,4 @@ "use strict";

, spawn = require('child_process').spawn
, Utils = require('./utils');
, Utils = require('./utils')
, util = require('util');

@@ -41,3 +42,4 @@ exports.IssueLog = IssueLog; // connection issue handling

var issues = IssueLog.prototype = new EventEmitter;
util.inherits(IssueLog, EventEmitter);
var issues = IssueLog.prototype;

@@ -44,0 +46,0 @@ issues.log = function log (message) {

@@ -258,2 +258,3 @@ "use strict";

var query = queryCompiler();
query.domain = process.domain;

@@ -666,5 +667,13 @@ if (this.activeQueries> this.maxQueueSize && this.maxQueueSize > 0){

memcached.delegateCallback = function(){
memcached.delegateCallback = function(master){
// restore domain if needed
if (master.domain) {
master.domain.enter();
}
else {
while (process.domain) {
process.domain.exit();
}
}
this.activeQueries--;
var master = arguments[0];
var cb = arguments[arguments.length-1];

@@ -671,0 +680,0 @@ var args = Array.prototype.slice.call(arguments, 1, arguments.length-1);

{
"name": "memcached"
, "version": "0.2.7"
, "author": "Arnout Kazemier"
, "description": "A fully featured Memcached API client, supporting both single and clustered Memcached servers through consistent hashing and failover/failure. Memcached is rewrite of nMemcached, which will be deprecated in the near future."
, "main": "index"
, "keywords":[
"memcached"
, "client"
, "hashing"
, "failover"
, "cluster"
, "nMemcached"
, "memcache"
, "cache"
, "nosql"
, "membase"
, "InnoDB memcached API"
]
, "directories": {
"lib": "./lib"
"name": "memcached",
"version": "0.2.8",
"author": "Arnout Kazemier",
"description": "A fully featured Memcached API client, supporting both single and clustered Memcached servers through consistent hashing and failover/failure. Memcached is rewrite of nMemcached, which will be deprecated in the near future.",
"main": "index",
"keywords": [
"InnoDB memcached API",
"cache",
"client",
"cluster",
"failover",
"hashing",
"membase",
"memcache",
"memcached",
"nMemcached",
"nosql"
],
"maintainers": [
{
"name": "Arnout Kazemier",
"email": "info@3rd-Eden.com",
"url": "http://www.3rd-Eden.com"
}
, "maintainers": [{
"name": "Arnout Kazemier"
, "email": "info@3rd-Eden.com"
, "url": "http://www.3rd-Eden.com"
}]
, "license": {
"type": "MIT"
, "url": "http://github.com/3rd-Eden/node-memcached/blob/master/LICENSE"
}
, "repository": {
"type": "git"
, "url" : "http://github.com/3rd-Eden/node-memcached.git"
}
, "dependencies": {
"hashring": "0.0.x"
, "jackpot": ">=0.0.6"
}
, "devDependencies": {
"mocha": "*"
, "should": "*"
}
, "scripts": {
"test": "./node_modules/.bin/mocha $(shell find test -name '*.test.js')"
}
],
"license": {
"type": "MIT",
"url": "http://github.com/3rd-Eden/node-memcached/blob/master/LICENSE"
},
"repository": {
"type": "git",
"url": "http://github.com/3rd-Eden/node-memcached.git"
},
"dependencies": {
"hashring": "0.0.x",
"jackpot": ">=0.0.6"
},
"devDependencies": {
"mocha": "*",
"should": "*",
"pre-commit": "*"
},
"scripts": {
"test": "./node_modules/.bin/mocha $(shell find test -name '*.test.js')"
}
}

@@ -91,3 +91,3 @@ # Memcached [![Build Status](https://secure.travis-ci.org/3rd-Eden/node-memcached.png?branch=master)](http://travis-ci.org/3rd-Eden/node-memcached)

* `maxExpiration`: *2592000*, the max expiration of keys by the Memcached server
in milliseconds.
in seconds.
* `maxValue`: *1048576*, the max size of a value that is allowed by the

@@ -94,0 +94,0 @@ Memcached server.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc