@keyv/redis 6.0.0-alpha.1 → 6.0.0-alpha.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.
package/dist/index.cjs CHANGED
@@ -122,7 +122,7 @@ var KeyvRedis = class extends import_hookified.Hookified {
122
122
  * @param {KeyvRedisOptions} [options] Options for the adapter such as namespace, keyPrefixSeparator, and clearBatchSize.
123
123
  */
124
124
  constructor(connect, options) {
125
- super();
125
+ super({ throwOnEmptyListeners: false });
126
126
  const socket = {
127
127
  reconnectStrategy: defaultReconnectStrategy
128
128
  // Default timeout for the connection
package/dist/index.js CHANGED
@@ -88,7 +88,7 @@ var KeyvRedis = class extends Hookified {
88
88
  * @param {KeyvRedisOptions} [options] Options for the adapter such as namespace, keyPrefixSeparator, and clearBatchSize.
89
89
  */
90
90
  constructor(connect, options) {
91
- super();
91
+ super({ throwOnEmptyListeners: false });
92
92
  const socket = {
93
93
  reconnectStrategy: defaultReconnectStrategy
94
94
  // Default timeout for the connection
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keyv/redis",
3
- "version": "6.0.0-alpha.1",
3
+ "version": "6.0.0-alpha.2",
4
4
  "description": "Redis storage adapter for Keyv",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -42,10 +42,10 @@
42
42
  "dependencies": {
43
43
  "@redis/client": "^5.10.0",
44
44
  "cluster-key-slot": "^1.1.2",
45
- "hookified": "^1.13.0"
45
+ "hookified": "^2.0.0"
46
46
  },
47
47
  "peerDependencies": {
48
- "keyv": "^6.0.0-alpha.1"
48
+ "keyv": "^6.0.0-alpha.2"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@biomejs/biome": "^2.3.11",
@@ -55,7 +55,7 @@
55
55
  "timekeeper": "^2.3.1",
56
56
  "tsd": "^0.33.0",
57
57
  "vitest": "^4.0.16",
58
- "@keyv/test-suite": "^6.0.0-alpha.1"
58
+ "@keyv/test-suite": "^6.0.0-alpha.2"
59
59
  },
60
60
  "tsd": {
61
61
  "directory": "test"