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 4.21.7 to 4.21.8

6

lib/command.js

@@ -65,3 +65,3 @@ "use strict";

if (isNotConnected(RedisMock)) {
if (commandName !== 'connect') {
if (commandName !== 'connect' && commandName !== 'defineCommand') {
throw new Error("Stream isn't writeable and enableOfflineQueue options is false");

@@ -137,2 +137,6 @@ }

if (commandName === 'defineCommand') {
return safelyExecuteCommand.apply(void 0, [commandEmulator, commandName, RedisMock].concat(_toConsumableArray(commandArgs)));
}
var Promise = _promiseContainer.default.get();

@@ -139,0 +143,0 @@

2

package.json

@@ -123,3 +123,3 @@ {

"runkitExampleFilename": "example.js",
"version": "4.21.7"
"version": "4.21.8"
}
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