New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ioredis-mock

Package Overview
Dependencies
Maintainers
1
Versions
195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ioredis-mock - npm Package Compare versions

Comparing version 5.6.0 to 5.6.1

7

lib/commands/defineCommand.js

@@ -88,3 +88,8 @@ "use strict";

// fix for one-based indices
result.unshift(null);
result.unshift(null); // https://github.com/fengari-lua/fengari-interop/blob/1626687fb15452cdd82ee522955dd1f144ea7a68/src/js.js#L845
result[Symbol.for('__len')] = function () {
const arr = this;
return arr.length - 1;
};
}

@@ -91,0 +96,0 @@

4

lib/commands/xrange.js

@@ -24,4 +24,4 @@ "use strict";

const list = this.data.get(stream);
const min = start === '-' ? -Infinity : start;
const max = end === '+' ? Infinity : end;
const min = start === '-' ? -Infinity : parseInt(start.split('-')[0], 10);
const max = end === '+' ? Infinity : parseInt(end.split('-')[0], 10);
const result = list.filter(([eventId]) => min <= parseInt(eventId, 10) && max >= parseInt(eventId, 10));

@@ -28,0 +28,0 @@ if (count) return result.slice(0, count);

@@ -128,3 +128,3 @@ {

"runkitExampleFilename": "example.js",
"version": "5.6.0"
"version": "5.6.1"
}

Sorry, the diff of this file is too big to display

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