Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

redis

Package Overview
Dependencies
Maintainers
0
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis - npm Package Compare versions

Comparing version 0.6.3 to 0.6.4

4

changelog.md
Changelog
=========
## v0.6.4 - June 30, 2011
Fix bug with optional callbacks for hmset.
## v0.6.2 - June 30, 2011

@@ -5,0 +9,0 @@

2

index.js

@@ -489,3 +489,3 @@ /*global Buffer require exports console setTimeout */

// send_command(command, [arg1, arg2], cb);
} else if (typeof callback === "undefined") {
} else if (! callback) {
// most people find this variable argument length form more convenient, but it uses arguments, which is slower

@@ -492,0 +492,0 @@ // client.command(arg1, arg2, cb); (wraps up arguments into an array)

{ "name" : "redis",
"version" : "0.6.3",
"version" : "0.6.4",
"description" : "Redis client library",

@@ -4,0 +4,0 @@ "author": "Matt Ranney <mjr@ranney.com>",

@@ -1,12 +0,3 @@

function Foo() {
this.a = "b";
}
var client = require("./index").createClient();
Foo.prototype.bar = 123;
Foo.prototype.print_bar = function () {
console.log(this.bar);
};
var f = new Foo();
f.print_bar();
client.hmset("test hash", "key 1", "val 1", "key 2", "val 2");

@@ -398,2 +398,4 @@ /*global require console setTimeout process Buffer */

// TODO - add test for HMSET. It is special. Test for all forms as well as optional callbacks
tests.HMGET = function () {

@@ -400,0 +402,0 @@ var key1 = "test hash 1", key2 = "test hash 2", name = "HMGET";

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