@keyv/mongo 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
@@ -169,7 +169,7 @@ var KeyvMongo = class extends import_hookified.Hookified {
169
169
  * @param options - Additional configuration options that override the first parameter.
170
170
  */
171
171
  constructor(url, options) {
172
- super();
172
+ super({ throwOnEmptyListeners: false });
173
173
  let mergedOptions = {};
174
174
  if (typeof url === "string") {
175
175
  this._url = url;
package/dist/index.js CHANGED
@@ -136,7 +136,7 @@ var KeyvMongo = class extends Hookified {
136
136
  * @param options - Additional configuration options that override the first parameter.
137
137
  */
138
138
  constructor(url, options) {
139
- super();
139
+ super({ throwOnEmptyListeners: false });
140
140
  let mergedOptions = {};
141
141
  if (typeof url === "string") {
142
142
  this._url = url;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keyv/mongo",
3
- "version": "6.0.0-alpha.1",
3
+ "version": "6.0.0-alpha.2",
4
4
  "description": "MongoDB storage adapter for Keyv",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "homepage": "https://github.com/jaredwray/keyv",
43
43
  "dependencies": {
44
- "hookified": "^1.13.0",
44
+ "hookified": "^2.0.0",
45
45
  "mongodb": "^7.0.0"
46
46
  },
47
47
  "devDependencies": {
@@ -51,10 +51,10 @@
51
51
  "rimraf": "^6.1.2",
52
52
  "tsd": "^0.33.0",
53
53
  "vitest": "^4.0.16",
54
- "@keyv/test-suite": "^6.0.0-alpha.1"
54
+ "@keyv/test-suite": "^6.0.0-alpha.2"
55
55
  },
56
56
  "peerDependencies": {
57
- "keyv": "^6.0.0-alpha.1"
57
+ "keyv": "^6.0.0-alpha.2"
58
58
  },
59
59
  "tsd": {
60
60
  "directory": "test"