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.0.2 to 1.0.3

13

lib/redis.js

@@ -498,3 +498,14 @@ var _ = require('lodash');

var writable = this.connection && this.connection.writable && ((this.status === 'ready') || ((this.status === 'connected') && _.includes(Command.FLAGS.VALID_WHEN_LOADING, command.name)));
var writable = (this.status === 'ready') || ((this.status === 'connected') && _.includes(Command.FLAGS.VALID_WHEN_LOADING, command.name));
if (!stream) {
if (!this.connection) {
writable = false;
} else if (!this.connection.writable) {
writable = false;
} else if (this.connection._writableState && this.connection._writableState.ended) {
// https://github.com/iojs/io.js/pull/1217
writable = false;
}
}
if (writable) {

@@ -501,0 +512,0 @@ debug('write command[%d] -> %s(%s)', this.condition.select, command.name, command.args);

3

lib/redis/event_handler.js

@@ -39,6 +39,3 @@ var Queue = require('fastqueue');

if (err) {
// It's likely the connection has error or is closed,
// in both case we just emit a silent error.
self.flushQueue(new Error("Ready check failed: " + err.message));
self.silentEmit('error', err);
return;

@@ -45,0 +42,0 @@ }

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

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

@@ -466,3 +466,3 @@ # ioredis

You can view the code at `benchmark.js`.
You can find the code at `benchmark.js`.

@@ -469,0 +469,0 @@ # Motivation

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