@adonisjs/cache 2.0.1-next.0 → 2.0.1-next.1
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/build/index.d.ts
CHANGED
package/build/index.js
CHANGED
|
@@ -34,7 +34,7 @@ var CacheProvider = class {
|
|
|
34
34
|
/**
|
|
35
35
|
* Register the cache manager to the container
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
#registerCacheManager() {
|
|
38
38
|
const cacheConfig = this.app.config.get("cache");
|
|
39
39
|
this.app.container.singleton("cache.manager", async () => {
|
|
40
40
|
const { BentoCache } = await import("bentocache");
|
|
@@ -71,10 +71,15 @@ var CacheProvider = class {
|
|
|
71
71
|
/**
|
|
72
72
|
* Register bindings
|
|
73
73
|
*/
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
register() {
|
|
75
|
+
this.#registerCacheManager();
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Boot provider
|
|
79
|
+
*/
|
|
80
|
+
async boot() {
|
|
77
81
|
await this.#registerEdgeBindings();
|
|
82
|
+
await this.#registerReplBindings();
|
|
78
83
|
}
|
|
79
84
|
/**
|
|
80
85
|
* Gracefully shutdown connections when app goes down
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adonisjs/cache",
|
|
3
3
|
"description": "Official caching module for AdonisJS framework",
|
|
4
|
-
"version": "2.0.1-next.
|
|
4
|
+
"version": "2.0.1-next.1",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22.0.0"
|
|
7
7
|
},
|
|
@@ -38,40 +38,40 @@
|
|
|
38
38
|
"prepublishOnly": "npm run build"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@adonisjs/assembler": "^8.0.0-next.
|
|
42
|
-
"@adonisjs/core": "^7.0.0-next.
|
|
43
|
-
"@adonisjs/eslint-config": "^3.0.0-next.
|
|
44
|
-
"@adonisjs/lucid": "^22.0.0-next.
|
|
41
|
+
"@adonisjs/assembler": "^8.0.0-next.28",
|
|
42
|
+
"@adonisjs/core": "^7.0.0-next.18",
|
|
43
|
+
"@adonisjs/eslint-config": "^3.0.0-next.7",
|
|
44
|
+
"@adonisjs/lucid": "^22.0.0-next.3",
|
|
45
45
|
"@adonisjs/prettier-config": "^1.4.5",
|
|
46
|
-
"@adonisjs/redis": "^10.0.0-next.
|
|
46
|
+
"@adonisjs/redis": "^10.0.0-next.2",
|
|
47
47
|
"@adonisjs/tsconfig": "^2.0.0-next.3",
|
|
48
|
-
"@japa/assert": "^4.
|
|
49
|
-
"@japa/expect-type": "^2.0.
|
|
48
|
+
"@japa/assert": "^4.2.0",
|
|
49
|
+
"@japa/expect-type": "^2.0.4",
|
|
50
50
|
"@japa/file-system": "^2.3.2",
|
|
51
51
|
"@japa/runner": "^4.4.0",
|
|
52
|
-
"@japa/snapshot": "^2.0.
|
|
52
|
+
"@japa/snapshot": "^2.0.10",
|
|
53
53
|
"@poppinss/ts-exec": "^1.4.1",
|
|
54
|
-
"@release-it/conventional-changelog": "^10.0.
|
|
55
|
-
"@types/node": "~24.10.
|
|
54
|
+
"@release-it/conventional-changelog": "^10.0.4",
|
|
55
|
+
"@types/node": "~24.10.4",
|
|
56
56
|
"better-sqlite3": "^12.5.0",
|
|
57
57
|
"c8": "^10.1.3",
|
|
58
58
|
"copyfiles": "^2.4.1",
|
|
59
59
|
"del-cli": "^7.0.0",
|
|
60
|
-
"edge.js": "^6.
|
|
61
|
-
"eslint": "^9.39.
|
|
60
|
+
"edge.js": "^6.4.0",
|
|
61
|
+
"eslint": "^9.39.2",
|
|
62
62
|
"ioredis": "^5.8.2",
|
|
63
63
|
"knex": "^3.1.0",
|
|
64
64
|
"luxon": "^3.7.2",
|
|
65
|
-
"mysql2": "^3.
|
|
66
|
-
"p-event": "^7.0.
|
|
65
|
+
"mysql2": "^3.16.0",
|
|
66
|
+
"p-event": "^7.0.2",
|
|
67
67
|
"pg": "^8.16.3",
|
|
68
68
|
"prettier": "^3.7.4",
|
|
69
|
-
"release-it": "^19.
|
|
69
|
+
"release-it": "^19.2.2",
|
|
70
70
|
"tsup": "^8.5.1",
|
|
71
71
|
"typescript": "~5.9.3"
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"bentocache": "^1.
|
|
74
|
+
"bentocache": "^1.6.0"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
77
|
"@adonisjs/assembler": "^8.0.0-next.19",
|
|
@@ -161,5 +161,5 @@
|
|
|
161
161
|
"sourcemap": false,
|
|
162
162
|
"target": "esnext"
|
|
163
163
|
},
|
|
164
|
-
"packageManager": "pnpm@10.
|
|
164
|
+
"packageManager": "pnpm@10.27.0"
|
|
165
165
|
}
|