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.5.0 to 5.5.1

1

lib/commands/defineCommand.js

@@ -87,2 +87,3 @@ "use strict";

if (Array.isArray(result)) {
// fix for one-based indices
result.unshift(null);

@@ -89,0 +90,0 @@ }

@@ -86,3 +86,12 @@ "use strict";

if (!isArray) {
return _fengariInterop.default.tojs(L, -1);
const retVal = _fengariInterop.default.tojs(L, -1);
if (Array.isArray(retVal)) {
// we push 'null' into position 0 in Arrays because in lua Arrays are one-based
// see src/commands/defineCommand:callToRedisCommand
// this removes the null element before returning
return retVal.slice(1);
}
return retVal;
}

@@ -89,0 +98,0 @@

2

package.json

@@ -127,3 +127,3 @@ {

"runkitExampleFilename": "example.js",
"version": "5.5.0"
"version": "5.5.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