Socket
Socket
Sign inDemoInstall

memcached

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

memcached - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

CHANGELOG.md

2

AUTHORS.md

@@ -10,6 +10,8 @@ # Authors and contributors of the node Memcached driver project in alphabetical order.

- Joseph Mordetsky
- Kinya TERASAKA
- Near Privman
- Nebojsa Sabovic
- René van Sweeden
- Ron Korving
- Sebastian Seilund
- Tobias Müllerleile

@@ -407,2 +407,6 @@ "use strict";

, 'TOUCHED': function touched(tokens, dataSet) {
return [CONTINUE, true];
}
, 'DELETED': function deleted(tokens, dataSet) {

@@ -598,2 +602,7 @@ return [CONTINUE, true];

// Fix zero-line endings in the middle
var chunkLength = (chunks.length-1);
if( chunks[chunkLength].length == 0 )
chunks.splice(chunkLength, 1)
S.responseBuffer = ""; // clear!

@@ -722,2 +731,15 @@ this.rawDataReceived(S, S.bufferArray = S.bufferArray.concat(chunks));

// This is where the actual Memcached API layer begins:
memcached.touch = function touch(key, lifetime, callback) {
this.command(function touchCommand() {
return {
key: key
, callback: callback
, lifetime: lifetime
, validate: [['key', String], ['lifetime', Number], ['callback', Function]]
, type: 'touch'
, command: ['touch', key, lifetime].join(' ')
}
})
};
memcached.get = function get(key, callback) {

@@ -724,0 +746,0 @@ if (Array.isArray(key)) return this.getMulti.apply(this, arguments);

2

package.json
{
"name": "memcached"
, "version": "0.2.1"
, "version": "0.2.2"
, "author": "Arnout Kazemier"

@@ -5,0 +5,0 @@ , "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."

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