Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

redis_mgr

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis_mgr - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

3

lib/RedisMgr.d.ts

@@ -43,3 +43,4 @@ import { RedisClient } from "redis";

*/
hGet(key: string, field: string): Promise<number>;
hGet(key: string, field: string): Promise<string>;
hGetNumber(key: string, field: string): Promise<number>;
/**

@@ -46,0 +47,0 @@ * HashMap--写入

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

else {
resolve(Number(reply) || 0);
resolve(reply);
}

@@ -101,2 +101,6 @@ });

}
async hGetNumber(key, field) {
const reply = await this.hGet(key, field);
return Number(reply) || 0;
}
/**

@@ -103,0 +107,0 @@ * HashMap--写入

{
"name": "redis_mgr",
"version": "0.0.5",
"version": "0.0.6",
"private": false,

@@ -10,5 +10,7 @@ "scripts": {

"dependencies": {
"@types/redis": "^2.8.16",
"redis": "^2.8.0"
},
"devDependencies": {
"@types/redis": "^2.8.16",
"@types/node": "^13.9.1"

@@ -15,0 +17,0 @@ },

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