Socket
Socket
Sign inDemoInstall

hiredis

Package Overview
Dependencies
Maintainers
0
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hiredis - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

deps/hiredis/hiredis-example

3

hiredis.js

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

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