@nocobase/server 1.6.0-alpha.3 → 1.6.0-alpha.31
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/aes-encryptor.d.ts +20 -0
- package/lib/aes-encryptor.js +126 -0
- package/lib/application.d.ts +9 -1
- package/lib/application.js +28 -2
- package/lib/audit-manager/index.js +11 -7
- package/lib/environment.d.ts +18 -0
- package/lib/environment.js +80 -0
- package/lib/gateway/index.d.ts +2 -1
- package/lib/gateway/index.js +45 -25
- package/lib/gateway/ws-server.d.ts +19 -2
- package/lib/gateway/ws-server.js +114 -27
- package/lib/helper.js +5 -0
- package/lib/helpers/application-version.js +1 -0
- package/lib/index.d.ts +2 -1
- package/lib/index.js +4 -2
- package/lib/middlewares/data-template.js +5 -5
- package/lib/middlewares/extract-client-ip.d.ts +10 -0
- package/lib/middlewares/extract-client-ip.js +46 -0
- package/lib/middlewares/index.d.ts +1 -0
- package/lib/middlewares/index.js +3 -1
- package/lib/plugin-manager/deps.js +1 -1
- package/lib/plugin-manager/options/collection.js +1 -0
- package/lib/plugin-manager/options/resource.js +8 -1
- package/lib/plugin-manager/plugin-manager.d.ts +4 -4
- package/lib/plugin-manager/plugin-manager.js +27 -15
- package/lib/service-container.d.ts +5 -0
- package/lib/service-container.js +50 -0
- package/package.json +58 -58
package/package.json
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
2
|
+
"name": "@nocobase/server",
|
|
3
|
+
"version": "1.6.0-alpha.31",
|
|
4
|
+
"main": "lib/index.js",
|
|
5
|
+
"types": "./lib/index.d.ts",
|
|
6
|
+
"license": "AGPL-3.0",
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"@formily/json-schema": "2.x",
|
|
9
|
+
"@hapi/topo": "^6.0.0",
|
|
10
|
+
"@koa/cors": "^5.0.0",
|
|
11
|
+
"@koa/multer": "^3.0.2",
|
|
12
|
+
"@koa/router": "^9.4.0",
|
|
13
|
+
"@nocobase/acl": "1.6.0-alpha.31",
|
|
14
|
+
"@nocobase/actions": "1.6.0-alpha.31",
|
|
15
|
+
"@nocobase/auth": "1.6.0-alpha.31",
|
|
16
|
+
"@nocobase/cache": "1.6.0-alpha.31",
|
|
17
|
+
"@nocobase/data-source-manager": "1.6.0-alpha.31",
|
|
18
|
+
"@nocobase/database": "1.6.0-alpha.31",
|
|
19
|
+
"@nocobase/evaluators": "1.6.0-alpha.31",
|
|
20
|
+
"@nocobase/lock-manager": "1.6.0-alpha.31",
|
|
21
|
+
"@nocobase/logger": "1.6.0-alpha.31",
|
|
22
|
+
"@nocobase/resourcer": "1.6.0-alpha.31",
|
|
23
|
+
"@nocobase/sdk": "1.6.0-alpha.31",
|
|
24
|
+
"@nocobase/telemetry": "1.6.0-alpha.31",
|
|
25
|
+
"@nocobase/utils": "1.6.0-alpha.31",
|
|
26
|
+
"@types/decompress": "4.2.7",
|
|
27
|
+
"@types/ini": "^1.3.31",
|
|
28
|
+
"@types/koa-send": "^4.1.3",
|
|
29
|
+
"@types/multer": "^1.4.5",
|
|
30
|
+
"async-mutex": "^0.5.0",
|
|
31
|
+
"axios": "^1.7.0",
|
|
32
|
+
"chalk": "^4.1.1",
|
|
33
|
+
"commander": "^9.2.0",
|
|
34
|
+
"cron": "^2.4.4",
|
|
35
|
+
"cronstrue": "^2.11.0",
|
|
36
|
+
"dayjs": "^1.11.8",
|
|
37
|
+
"decompress": "4.2.1",
|
|
38
|
+
"find-package-json": "^1.2.0",
|
|
39
|
+
"fs-extra": "^11.1.1",
|
|
40
|
+
"i18next": "^22.4.9",
|
|
41
|
+
"ini": "^4.1.1",
|
|
42
|
+
"koa": "^2.15.4",
|
|
43
|
+
"koa-bodyparser": "^4.3.0",
|
|
44
|
+
"koa-send": "^5.0.1",
|
|
45
|
+
"koa-static": "^5.0.0",
|
|
46
|
+
"lodash": "^4.17.21",
|
|
47
|
+
"multer": "^1.4.2",
|
|
48
|
+
"nanoid": "3.3.4",
|
|
49
|
+
"semver": "^7.3.7",
|
|
50
|
+
"serve-handler": "^6.1.5",
|
|
51
|
+
"ws": "^8.13.0",
|
|
52
|
+
"xpipe": "^1.0.5"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@types/semver": "^7.3.9",
|
|
56
|
+
"@types/serve-handler": "^6.1.1",
|
|
57
|
+
"@types/ws": "^8.5.5"
|
|
58
|
+
},
|
|
59
|
+
"gitHead": "2f118f0a0691dd51c437f208b1166258a615b6a8"
|
|
60
60
|
}
|