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

ioredis

Package Overview
Dependencies
Maintainers
1
Versions
228
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ioredis - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

6

Changelog.md

@@ -5,2 +5,6 @@ ## Changelog

### v1.5.1 - June 16, 2015
* Fix getting NaN db index([#74](https://github.com/luin/ioredis/issues/74)).
### v1.5.0 - June 13, 2015

@@ -11,3 +15,3 @@

* Adds ReadOnly mode for Cluster mode([#69](https://github.com/luin/ioredis/pull/69)). Thanks to [Nakul Ganesh](https://github.com/luin/ioredis/pull/69).
* Adds `Redis.print`((#71)[https://github.com/luin/ioredis/pull/71]). Thanks to [Frank Murphy](https://github.com/frankvm04).
* Adds `Redis.print`([#71](https://github.com/luin/ioredis/pull/71)). Thanks to [Frank Murphy](https://github.com/frankvm04).

@@ -14,0 +18,0 @@ ### v1.4.0 - June 3, 2015

4

lib/utils/index.js

@@ -271,3 +271,5 @@ 'use strict';

if (parsed.protocol === 'redis:') {
result.db = parsed.pathname.slice(1);
if (parsed.pathname.length > 1) {
result.db = parsed.pathname.slice(1);
}
} else {

@@ -274,0 +276,0 @@ result.path = parsed.pathname;

{
"name": "ioredis",
"version": "1.5.0",
"version": "1.5.1",
"description": "A delightful, performance-focused Redis client for Node and io.js",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -43,2 +43,5 @@ 'use strict';

option = getOption('redis://127.0.0.1/');
expect(option).to.have.property('db', 0);
option = getOption('/tmp/redis.sock');

@@ -45,0 +48,0 @@ expect(option).to.have.property('path', '/tmp/redis.sock');

@@ -149,4 +149,7 @@ 'use strict';

});
expect(utils.parseURL('redis://127.0.0.1/')).to.eql({
host: '127.0.0.1'
});
});
});
});
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