@tsed/adapters-redis 8.26.0 → 8.26.2
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.
|
@@ -169,7 +169,11 @@ let RedisAdapter = class RedisAdapter extends Adapter {
|
|
|
169
169
|
pipeline.get(key);
|
|
170
170
|
});
|
|
171
171
|
const result = await pipeline.exec();
|
|
172
|
-
return (result || [])
|
|
172
|
+
return (result || [])
|
|
173
|
+
.map(([, data]) => {
|
|
174
|
+
return typeof data === "string" ? this.deserialize(JSON.parse(data)) : undefined;
|
|
175
|
+
})
|
|
176
|
+
.filter(Boolean);
|
|
173
177
|
}
|
|
174
178
|
async findAllBy(props) {
|
|
175
179
|
const keys = Object.keys(props);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@tsed/adapters-redis",
|
|
3
3
|
"description": "Redis adapter for Ts.ED",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "8.26.
|
|
5
|
+
"version": "8.26.2",
|
|
6
6
|
"source": "./src/index.ts",
|
|
7
7
|
"main": "./lib/esm/index.js",
|
|
8
8
|
"module": "./lib/esm/index.js",
|
|
@@ -23,17 +23,17 @@
|
|
|
23
23
|
"test:ci": "vitest run --coverage.thresholds.autoUpdate=true"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@tsed/adapters": "8.26.
|
|
27
|
-
"@tsed/ioredis": "8.26.
|
|
26
|
+
"@tsed/adapters": "8.26.2",
|
|
27
|
+
"@tsed/ioredis": "8.26.2",
|
|
28
28
|
"tslib": ">=2.7.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@tsed/barrels": "8.26.
|
|
32
|
-
"@tsed/core": "8.26.
|
|
33
|
-
"@tsed/hooks": "8.26.
|
|
34
|
-
"@tsed/typescript": "8.26.
|
|
31
|
+
"@tsed/barrels": "8.26.2",
|
|
32
|
+
"@tsed/core": "8.26.2",
|
|
33
|
+
"@tsed/hooks": "8.26.2",
|
|
34
|
+
"@tsed/typescript": "8.26.2",
|
|
35
35
|
"eslint": "9.12.0",
|
|
36
|
-
"typescript": "
|
|
36
|
+
"typescript": "6.0.2",
|
|
37
37
|
"vitest": "3.2.4"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|