Comparing version 0.1.8 to 0.1.9
@@ -6,6 +6,5 @@ var hiredis = require("./build/default/hiredis"), | ||
exports.createConnection = function(port, host) { | ||
var s = new net.Stream(); | ||
var s = net.createConnection(port || 6379, host); | ||
var r = new hiredis.Reader(); | ||
var _write = s.write; | ||
s.connect(port || 6379, host); | ||
@@ -12,0 +11,0 @@ s.write = function() { |
{ | ||
"name": "hiredis", | ||
"description": "Wrapper for reply processing code in hiredis", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"homepage": "http://github.com/pietern/hiredis-node", | ||
@@ -6,0 +6,0 @@ "author": "Pieter Noordhuis <pcnoordhuis@gmail.com>", |
@@ -38,2 +38,9 @@ var assert = require("assert"), | ||
// This test fails since v8 doesn't to 64-bit integers... | ||
exports.testLargeIntegerReply = function() { | ||
var reader = new hiredis.Reader(); | ||
reader.feed(":9223372036854775807\r\n"); | ||
assert.equal("9223372036854775807", String(reader.get())); | ||
} | ||
exports.testErrorReply = function() { | ||
@@ -40,0 +47,0 @@ var reader = new hiredis.Reader(); |
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
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
214111
36
292