@ditojs/server 2.94.1 → 2.95.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ditojs/server",
3
- "version": "2.94.1",
3
+ "version": "2.95.0",
4
4
  "type": "module",
5
5
  "description": "Dito.js Server – Dito.js is a declarative and modern web framework, based on Objection.js, Koa.js and Vue.js",
6
6
  "repository": "https://github.com/ditojs/dito/tree/main/packages/server",
@@ -12,6 +12,9 @@
12
12
  "src/",
13
13
  "types/"
14
14
  ],
15
+ "scripts": {
16
+ "types": "tsc --noEmit --esModuleInterop ./types/index.d.ts"
17
+ },
15
18
  "bin": {
16
19
  "dito": "./src/cli/index.js"
17
20
  },
@@ -22,10 +25,10 @@
22
25
  "node >= 18"
23
26
  ],
24
27
  "dependencies": {
25
- "@ditojs/admin": "^2.94.1",
26
- "@ditojs/build": "^2.94.0",
27
- "@ditojs/router": "^2.94.0",
28
- "@ditojs/utils": "^2.94.0",
28
+ "@ditojs/admin": "^2.95.0",
29
+ "@ditojs/build": "^2.95.0",
30
+ "@ditojs/router": "^2.95.0",
31
+ "@ditojs/utils": "^2.95.0",
29
32
  "@koa/cors": "^5.0.0",
30
33
  "@koa/etag": "^5.0.2",
31
34
  "@koa/multer": "^4.0.0",
@@ -34,9 +37,9 @@
34
37
  "ajv-formats": "^3.0.1",
35
38
  "bcryptjs": "^3.0.3",
36
39
  "bytes": "^3.1.2",
37
- "data-uri-to-buffer": "^7.0.0",
40
+ "data-uri-to-buffer": "^8.0.0",
38
41
  "eventemitter2": "^6.4.9",
39
- "file-type": "^22.0.0",
42
+ "file-type": "^22.0.1",
40
43
  "helmet": "^8.1.0",
41
44
  "koa": "^3.2.0",
42
45
  "koa-bodyparser": "^4.4.1",
@@ -53,8 +56,8 @@
53
56
  "mime-types": "^3.0.2",
54
57
  "multer": "^2.1.1",
55
58
  "multer-s3": "github:ditojs/multer-s3#dito",
56
- "nanoid": "^5.1.7",
57
- "parse-duration": "^2.1.5",
59
+ "nanoid": "^5.1.9",
60
+ "parse-duration": "^2.1.6",
58
61
  "passport-local": "^1.0.0",
59
62
  "passthrough-counter": "^1.0.0",
60
63
  "picocolors": "^1.1.1",
@@ -73,8 +76,8 @@
73
76
  "objection": "^3.0.1"
74
77
  },
75
78
  "devDependencies": {
76
- "@aws-sdk/client-s3": "^3.1006.0",
77
- "@aws-sdk/lib-storage": "^3.1006.0",
79
+ "@aws-sdk/client-s3": "^3.1030.0",
80
+ "@aws-sdk/lib-storage": "^3.1030.0",
78
81
  "@types/koa-bodyparser": "^4.3.13",
79
82
  "@types/koa-compress": "^4.0.7",
80
83
  "@types/koa-response-time": "^2.1.5",
@@ -82,13 +85,10 @@
82
85
  "@types/koa-static": "^4.0.4",
83
86
  "@types/koa__cors": "^5.0.1",
84
87
  "@types/koa__multer": "^2.0.8",
85
- "@types/node": "^25.5.0",
86
- "knex": "^3.2.7",
88
+ "@types/node": "^25.6.0",
89
+ "knex": "^3.2.9",
87
90
  "objection": "^3.1.5",
88
91
  "typescript": "^6.0.2"
89
92
  },
90
- "gitHead": "7bb40e9e490632e20ceaf92907b4ff7b27484e26",
91
- "scripts": {
92
- "types": "tsc --noEmit --esModuleInterop ./types/index.d.ts"
93
- }
94
- }
93
+ "gitHead": "0cd76446659c5d30c18df8091bedb20cd84fb330"
94
+ }
File without changes
File without changes
@@ -258,7 +258,7 @@ export class AdminController extends Controller {
258
258
  extensions: [
259
259
  '.js', '.mjs', '.jsx', '.ts', '.mts', '.tsx', '.json', '.vue'
260
260
  ],
261
- preserveSymlinks: true,
261
+ preserveSymlinks: false,
262
262
  alias: [
263
263
  {
264
264
  find: '@',