@nocobase/server 1.6.6 → 1.6.8
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/lib/application.js +2 -0
- package/package.json +15 -15
package/lib/application.js
CHANGED
|
@@ -365,6 +365,8 @@ const _Application = class _Application extends import_koa.default {
|
|
|
365
365
|
return;
|
|
366
366
|
}
|
|
367
367
|
this.log.info("app reinitializing");
|
|
368
|
+
await this.emitAsync("beforeStop");
|
|
369
|
+
await this.emitAsync("afterStop");
|
|
368
370
|
if (this.cacheManager) {
|
|
369
371
|
await this.cacheManager.close();
|
|
370
372
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/server",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.8",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"types": "./lib/index.d.ts",
|
|
6
6
|
"license": "AGPL-3.0",
|
|
@@ -10,19 +10,19 @@
|
|
|
10
10
|
"@koa/cors": "^5.0.0",
|
|
11
11
|
"@koa/multer": "^3.0.2",
|
|
12
12
|
"@koa/router": "^9.4.0",
|
|
13
|
-
"@nocobase/acl": "1.6.
|
|
14
|
-
"@nocobase/actions": "1.6.
|
|
15
|
-
"@nocobase/auth": "1.6.
|
|
16
|
-
"@nocobase/cache": "1.6.
|
|
17
|
-
"@nocobase/data-source-manager": "1.6.
|
|
18
|
-
"@nocobase/database": "1.6.
|
|
19
|
-
"@nocobase/evaluators": "1.6.
|
|
20
|
-
"@nocobase/lock-manager": "1.6.
|
|
21
|
-
"@nocobase/logger": "1.6.
|
|
22
|
-
"@nocobase/resourcer": "1.6.
|
|
23
|
-
"@nocobase/sdk": "1.6.
|
|
24
|
-
"@nocobase/telemetry": "1.6.
|
|
25
|
-
"@nocobase/utils": "1.6.
|
|
13
|
+
"@nocobase/acl": "1.6.8",
|
|
14
|
+
"@nocobase/actions": "1.6.8",
|
|
15
|
+
"@nocobase/auth": "1.6.8",
|
|
16
|
+
"@nocobase/cache": "1.6.8",
|
|
17
|
+
"@nocobase/data-source-manager": "1.6.8",
|
|
18
|
+
"@nocobase/database": "1.6.8",
|
|
19
|
+
"@nocobase/evaluators": "1.6.8",
|
|
20
|
+
"@nocobase/lock-manager": "1.6.8",
|
|
21
|
+
"@nocobase/logger": "1.6.8",
|
|
22
|
+
"@nocobase/resourcer": "1.6.8",
|
|
23
|
+
"@nocobase/sdk": "1.6.8",
|
|
24
|
+
"@nocobase/telemetry": "1.6.8",
|
|
25
|
+
"@nocobase/utils": "1.6.8",
|
|
26
26
|
"@types/decompress": "4.2.7",
|
|
27
27
|
"@types/ini": "^1.3.31",
|
|
28
28
|
"@types/koa-send": "^4.1.3",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"@types/serve-handler": "^6.1.1",
|
|
57
57
|
"@types/ws": "^8.5.5"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "0261bf929dde4d1feb6479c2ef7105b15754ab53"
|
|
60
60
|
}
|