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.1 to 5.7.0

lib/commands/smismember.js

13

lib/commands/index.js

@@ -1255,2 +1255,15 @@ "use strict";

var _smismember = require("./smismember");
Object.keys(_smismember).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (key in exports && exports[key] === _smismember[key]) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function () {
return _smismember[key];
}
});
});
var _smembers = require("./smembers");

@@ -1257,0 +1270,0 @@

4

lib/commands/xrange.js

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

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

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

@@ -63,4 +63,4 @@ {

"ioredis": "^4.19.2",
"jest": "^26.6.3",
"jest-circus": "^26.6.3",
"jest": "^27.0.0",
"jest-circus": "^27.0.0",
"lint-staged": "^11.0.0",

@@ -129,3 +129,3 @@ "prettier": "^2.2.1",

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

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