@naturalcycles/redis-lib 4.0.3 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/redisClient.js +1 -1
- package/package.json +18 -18
- package/src/redisClient.ts +1 -1
package/dist/redisClient.js
CHANGED
|
@@ -208,7 +208,7 @@ export class RedisClient {
|
|
|
208
208
|
* Like scanStream, but flattens the stream of keys.
|
|
209
209
|
*/
|
|
210
210
|
scanStreamFlat(opt) {
|
|
211
|
-
// biome-ignore lint/
|
|
211
|
+
// biome-ignore lint/complexity/noFlatMapIdentity: ok
|
|
212
212
|
return this.scanStream(opt).flatMap(keys => keys);
|
|
213
213
|
}
|
|
214
214
|
async scanCount(opt) {
|
package/package.json
CHANGED
|
@@ -1,26 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturalcycles/redis-lib",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"scripts": {
|
|
5
|
-
"prepare": "husky",
|
|
6
|
-
"build": "dev-lib build",
|
|
7
|
-
"test": "dev-lib test",
|
|
8
|
-
"lint": "dev-lib lint",
|
|
9
|
-
"bt": "dev-lib bt",
|
|
10
|
-
"lbt": "dev-lib lbt"
|
|
11
|
-
},
|
|
12
4
|
"dependencies": {
|
|
13
5
|
"@naturalcycles/db-lib": "^10",
|
|
14
6
|
"@naturalcycles/js-lib": "^15",
|
|
15
7
|
"@naturalcycles/nodejs-lib": "^14",
|
|
16
|
-
"ioredis": "^5"
|
|
8
|
+
"ioredis": "^5",
|
|
9
|
+
"tslib": "^2"
|
|
17
10
|
},
|
|
18
11
|
"devDependencies": {
|
|
19
|
-
"@naturalcycles/dev-lib": "
|
|
20
|
-
"@types/node": "^
|
|
21
|
-
"@vitest/coverage-v8": "^3",
|
|
22
|
-
"tsx": "^4",
|
|
23
|
-
"vitest": "^3"
|
|
12
|
+
"@naturalcycles/dev-lib": "*",
|
|
13
|
+
"@types/node": "^24"
|
|
24
14
|
},
|
|
25
15
|
"files": [
|
|
26
16
|
"dist",
|
|
@@ -38,13 +28,23 @@
|
|
|
38
28
|
},
|
|
39
29
|
"repository": {
|
|
40
30
|
"type": "git",
|
|
41
|
-
"url": "
|
|
31
|
+
"url": "git@github.com:NaturalCycles/js-libs.git",
|
|
32
|
+
"directory": "packages/redis-lib"
|
|
42
33
|
},
|
|
43
34
|
"engines": {
|
|
44
35
|
"node": ">=22.10"
|
|
45
36
|
},
|
|
46
|
-
"version": "4.0
|
|
37
|
+
"version": "4.1.0",
|
|
47
38
|
"description": "Redis implementation of CommonKeyValueDB interface",
|
|
48
39
|
"author": "Natural Cycles Team",
|
|
49
|
-
"license": "MIT"
|
|
50
|
-
|
|
40
|
+
"license": "MIT",
|
|
41
|
+
"scripts": {
|
|
42
|
+
"build": "dev-lib build",
|
|
43
|
+
"test": "dev-lib test",
|
|
44
|
+
"lint": "dev-lib lint",
|
|
45
|
+
"bt": "dev-lib bt",
|
|
46
|
+
"clean": "dev-lib clean",
|
|
47
|
+
"typecheck": "dev-lib typecheck",
|
|
48
|
+
"check": "dev-lib check"
|
|
49
|
+
}
|
|
50
|
+
}
|
package/src/redisClient.ts
CHANGED
|
@@ -298,7 +298,7 @@ export class RedisClient implements CommonClient {
|
|
|
298
298
|
* Like scanStream, but flattens the stream of keys.
|
|
299
299
|
*/
|
|
300
300
|
scanStreamFlat(opt: ScanStreamOptions): ReadableTyped<string> {
|
|
301
|
-
// biome-ignore lint/
|
|
301
|
+
// biome-ignore lint/complexity/noFlatMapIdentity: ok
|
|
302
302
|
return this.scanStream(opt).flatMap(keys => keys)
|
|
303
303
|
}
|
|
304
304
|
|