redis 4.6.8 → 4.6.9
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/README.md +3 -5
- package/dist/index.d.ts +6 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -51,11 +51,9 @@ Looking for a high-level library to handle object mapping? See [redis-om-node](h
|
|
|
51
51
|
```typescript
|
|
52
52
|
import { createClient } from 'redis';
|
|
53
53
|
|
|
54
|
-
const client = createClient()
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
await client.connect();
|
|
54
|
+
const client = await createClient()
|
|
55
|
+
.on('error', err => console.log('Redis Client Error', err))
|
|
56
|
+
.connect();
|
|
59
57
|
|
|
60
58
|
await client.set('key', 'value');
|
|
61
59
|
const value = await client.get('key');
|
package/dist/index.d.ts
CHANGED
|
@@ -47,8 +47,12 @@ declare const modules: {
|
|
|
47
47
|
forget: typeof import("@redis/json/dist/commands/FORGET");
|
|
48
48
|
GET: typeof import("@redis/json/dist/commands/GET");
|
|
49
49
|
get: typeof import("@redis/json/dist/commands/GET");
|
|
50
|
+
MERGE: typeof import("@redis/json/dist/commands/MERGE");
|
|
51
|
+
merge: typeof import("@redis/json/dist/commands/MERGE");
|
|
50
52
|
MGET: typeof import("@redis/json/dist/commands/MGET");
|
|
51
53
|
mGet: typeof import("@redis/json/dist/commands/MGET");
|
|
54
|
+
MSET: typeof import("@redis/json/dist/commands/MSET");
|
|
55
|
+
mSet: typeof import("@redis/json/dist/commands/MSET");
|
|
52
56
|
NUMINCRBY: typeof import("@redis/json/dist/commands/NUMINCRBY");
|
|
53
57
|
numIncrBy: typeof import("@redis/json/dist/commands/NUMINCRBY");
|
|
54
58
|
NUMMULTBY: typeof import("@redis/json/dist/commands/NUMMULTBY");
|
|
@@ -113,6 +117,8 @@ declare const modules: {
|
|
|
113
117
|
profileAggregate: typeof import("@redis/search/dist/commands/PROFILE_AGGREGATE");
|
|
114
118
|
SEARCH: typeof import("@redis/search/dist/commands/SEARCH");
|
|
115
119
|
search: typeof import("@redis/search/dist/commands/SEARCH");
|
|
120
|
+
SEARCH_NOCONTENT: typeof import("@redis/search/dist/commands/SEARCH_NOCONTENT");
|
|
121
|
+
searchNoContent: typeof import("@redis/search/dist/commands/SEARCH_NOCONTENT");
|
|
116
122
|
SPELLCHECK: typeof import("@redis/search/dist/commands/SPELLCHECK");
|
|
117
123
|
spellCheck: typeof import("@redis/search/dist/commands/SPELLCHECK");
|
|
118
124
|
SUGADD: typeof import("@redis/search/dist/commands/SUGADD");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "redis",
|
|
3
3
|
"description": "A modern, high performance Redis client",
|
|
4
|
-
"version": "4.6.
|
|
4
|
+
"version": "4.6.9",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@redis/bloom": "1.2.0",
|
|
27
|
-
"@redis/client": "1.5.
|
|
27
|
+
"@redis/client": "1.5.10",
|
|
28
28
|
"@redis/graph": "1.1.0",
|
|
29
|
-
"@redis/json": "1.0.
|
|
30
|
-
"@redis/search": "1.1.
|
|
29
|
+
"@redis/json": "1.0.5",
|
|
30
|
+
"@redis/search": "1.1.4",
|
|
31
31
|
"@redis/time-series": "1.0.5"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@tsconfig/
|
|
34
|
+
"@tsconfig/node18": "^18.2.2",
|
|
35
35
|
"gh-pages": "^6.0.0",
|
|
36
36
|
"release-it": "^16.1.5",
|
|
37
|
-
"typescript": "^5.
|
|
37
|
+
"typescript": "^5.2.2"
|
|
38
38
|
},
|
|
39
39
|
"repository": {
|
|
40
40
|
"type": "git",
|