koatty_store
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -98,3 +98,3 @@ import IORedis from "ioredis"; | ||
*/ | ||
set(name: string, value: string | number | null, timeout?: number): Promise<any[]>; | ||
set(name: string, value: string | number, timeout?: number): Promise<any[]>; | ||
/** | ||
@@ -172,3 +172,3 @@ * 以秒为单位,返回给定 key 的剩余生存时间 | ||
*/ | ||
hset(name: string, key: string, value: string | number | null, timeout?: number): Promise<any[]>; | ||
hset(name: string, key: string, value: string | number, timeout?: number): Promise<any[]>; | ||
/** | ||
@@ -239,3 +239,3 @@ * 哈希获取 | ||
*/ | ||
rpush(name: string, value: string | number | null): Promise<any>; | ||
rpush(name: string, value: string | number): Promise<any>; | ||
/** | ||
@@ -262,3 +262,3 @@ * 将列表表头取出,并去除 | ||
*/ | ||
sadd(name: string, value: string | number | null, timeout?: number): Promise<any[]>; | ||
sadd(name: string, value: string | number, timeout?: number): Promise<any[]>; | ||
/** | ||
@@ -265,0 +265,0 @@ * 返回集合的基数(集合中元素的数量) |
@@ -9,3 +9,3 @@ "use strict"; | ||
* @LastEditors: linyyyang<linyyyang@tencent.com> | ||
* @LastEditTime: 2020-12-01 17:52:56 | ||
* @LastEditTime: 2020-12-01 19:06:17 | ||
* @License: BSD (3-Clause) | ||
@@ -12,0 +12,0 @@ * @Copyright (c) - <richenlin(at)gmail.com> |
{ | ||
"name": "koatty_store", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Cache store for koatty.", | ||
@@ -45,5 +45,2 @@ "scripts": { | ||
"devDependencies": { | ||
"@types/generic-pool": "^3.1.9", | ||
"@types/ioredis": "^4.17.8", | ||
"@types/lodash": "^4.x.x", | ||
"@types/node": "^12.x.x", | ||
@@ -57,2 +54,4 @@ "del-cli": "^3.0.1", | ||
"dependencies": { | ||
"@types/generic-pool": "^3.1.9", | ||
"@types/ioredis": "^4.17.8", | ||
"generic-pool": "^3.7.1", | ||
@@ -59,0 +58,0 @@ "ioredis": "^4.19.2", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6
85658
6
+ Added@types/generic-pool@^3.1.9
+ Added@types/ioredis@^4.17.8
+ Added@types/generic-pool@3.8.3(transitive)
+ Added@types/ioredis@4.28.10(transitive)
+ Added@types/node@22.9.4(transitive)
+ Addedundici-types@6.19.8(transitive)