Comparing version 0.0.4 to 0.0.5
@@ -58,3 +58,3 @@ var EventEmitter = require('events').EventEmitter | ||
res.server = this.server; | ||
res.server = this.serverAddress; | ||
res.tokens = this.tokens; | ||
@@ -163,2 +163,2 @@ res.messages = this.messages; | ||
} | ||
}; | ||
}; |
@@ -114,4 +114,5 @@ var EventEmitter = require('events').EventEmitter | ||
S.bufferArray = []; | ||
S.server = server; | ||
S.serverAddress = server; | ||
S.tokens = serverTokens; | ||
S.memcached = memcached; | ||
@@ -225,3 +226,3 @@ // Add the event listeners | ||
var issues | ||
, server = S.server | ||
, server = S.serverAddress | ||
, memcached = this; | ||
@@ -282,3 +283,3 @@ | ||
, 'CLIENT_ERROR': function(tokens, dataSet, err){ err.push(tokens.splice(1).join(' ')); return [CONTINUE, false] } | ||
, 'SERVER_ERROR': function(tokens, dataSet, err, queue, S, memcached){ memcached.connectionIssue(tokens.splice(1).join(' '), S); return [CONTINUE, false] } | ||
, 'SERVER_ERROR': function(tokens, dataSet, err, queue, S, memcached){ (memcached || this.memcached).connectionIssue(tokens.splice(1).join(' '), S); return [CONTINUE, false] } | ||
@@ -332,3 +333,3 @@ // keyword based responses | ||
return [CONTINUE, { | ||
server: this.server | ||
server: this.serverAddress | ||
, version: versionTokens[0] | ||
@@ -357,3 +358,3 @@ , major: versionTokens[1] || 0 | ||
// add references to the retrieved server | ||
response.server = this.server; | ||
response.server = this.serverAddress; | ||
@@ -375,3 +376,3 @@ // Fill the object | ||
// add references to the retrieved server | ||
response.server = this.server; | ||
response.server = this.serverAddress; | ||
@@ -392,3 +393,3 @@ // Fill the object | ||
// add references to the retrieved server | ||
response.server = this.server; | ||
response.server = this.serverAddress; | ||
@@ -395,0 +396,0 @@ // Fill the object |
{ | ||
"name": "memcached" | ||
, "version": "0.0.4" | ||
, "version": "0.0.5" | ||
, "author": "Arnout Kazemier" | ||
@@ -28,10 +28,10 @@ , "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." | ||
}] | ||
, "licenses": [{ | ||
, "license": { | ||
"type": "MIT" | ||
, "url": "http://github.com/3rd-Eden/node-memcached/blob/master/LICENSE" | ||
}] | ||
, "repositories": [{ | ||
} | ||
, "repository": { | ||
"type": "git" | ||
, "url" : "http://github.com/3rd-Eden/node-memcached.git" | ||
}] | ||
} | ||
, "dependencies": { | ||
@@ -38,0 +38,0 @@ "hashring": "" |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
435266
60
2269
0
11
6