redis 4.6.7 → 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/LICENSE CHANGED
@@ -1,24 +1,21 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2016-present Node Redis contributors.
3
+ Copyright (c) 2022-2023, Redis, inc.
4
4
 
5
- Permission is hereby granted, free of charge, to any person
6
- obtaining a copy of this software and associated documentation
7
- files (the "Software"), to deal in the Software without
8
- restriction, including without limitation the rights to use,
9
- copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- copies of the Software, and to permit persons to whom the
11
- Software is furnished to do so, subject to the following
12
- conditions:
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
13
11
 
14
- The above copyright notice and this permission notice shall be
15
- included in all copies or substantial portions of the Software.
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
16
14
 
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
19
- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
21
- HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22
- WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23
- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
24
- OTHER DEALINGS IN THE SOFTWARE.
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
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
- client.on('error', err => console.log('Redis Client Error', err));
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.7",
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.8",
27
+ "@redis/client": "1.5.10",
28
28
  "@redis/graph": "1.1.0",
29
- "@redis/json": "1.0.4",
30
- "@redis/search": "1.1.3",
31
- "@redis/time-series": "1.0.4"
29
+ "@redis/json": "1.0.5",
30
+ "@redis/search": "1.1.4",
31
+ "@redis/time-series": "1.0.5"
32
32
  },
33
33
  "devDependencies": {
34
- "@tsconfig/node14": "^1.0.3",
35
- "gh-pages": "^5.0.0",
36
- "release-it": "^15.6.0",
37
- "typescript": "^4.9.5"
34
+ "@tsconfig/node18": "^18.2.2",
35
+ "gh-pages": "^6.0.0",
36
+ "release-it": "^16.1.5",
37
+ "typescript": "^5.2.2"
38
38
  },
39
39
  "repository": {
40
40
  "type": "git",