@ditojs/server 2.91.0 → 2.92.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.91.0",
3
+ "version": "2.92.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",
@@ -25,10 +25,10 @@
25
25
  "node >= 18"
26
26
  ],
27
27
  "dependencies": {
28
- "@ditojs/admin": "^2.91.0",
29
- "@ditojs/build": "^2.91.0",
30
- "@ditojs/router": "^2.91.0",
31
- "@ditojs/utils": "^2.91.0",
28
+ "@ditojs/admin": "^2.92.0",
29
+ "@ditojs/build": "^2.92.0",
30
+ "@ditojs/router": "^2.92.0",
31
+ "@ditojs/utils": "^2.92.0",
32
32
  "@koa/cors": "^5.0.0",
33
33
  "@koa/etag": "^5.0.2",
34
34
  "@koa/multer": "^4.0.0",
@@ -39,12 +39,12 @@
39
39
  "bytes": "^3.1.2",
40
40
  "data-uri-to-buffer": "^7.0.0",
41
41
  "eventemitter2": "^6.4.9",
42
- "file-type": "^21.3.1",
42
+ "file-type": "^21.3.3",
43
43
  "helmet": "^8.1.0",
44
44
  "koa": "^3.1.2",
45
45
  "koa-bodyparser": "^4.4.1",
46
46
  "koa-compose": "^4.1.0",
47
- "koa-compress": "^5.2.0",
47
+ "koa-compress": "^5.2.1",
48
48
  "koa-conditional-get": "^3.0.0",
49
49
  "koa-helmet": "^9.0.0",
50
50
  "koa-mount": "^4.2.0",
@@ -56,7 +56,7 @@
56
56
  "mime-types": "^3.0.2",
57
57
  "multer": "^2.1.1",
58
58
  "multer-s3": "github:ditojs/multer-s3#dito",
59
- "nanoid": "^5.1.6",
59
+ "nanoid": "^5.1.7",
60
60
  "parse-duration": "^2.1.5",
61
61
  "passport-local": "^1.0.0",
62
62
  "passthrough-counter": "^1.0.0",
@@ -85,10 +85,10 @@
85
85
  "@types/koa-static": "^4.0.4",
86
86
  "@types/koa__cors": "^5.0.1",
87
87
  "@types/koa__multer": "^2.0.8",
88
- "@types/node": "^25.4.0",
88
+ "@types/node": "^25.5.0",
89
89
  "knex": "^3.1.0",
90
90
  "objection": "^3.1.5",
91
91
  "typescript": "^5.9.3"
92
92
  },
93
- "gitHead": "cc64039676a475376ae68b11ad1760dde5fe789c"
93
+ "gitHead": "7d2288aa487ec5c8607b2079a29e2d8793fbd07f"
94
94
  }
@@ -177,7 +177,7 @@ export class Application extends Koa {
177
177
  if (
178
178
  module &&
179
179
  module.name !== key &&
180
- module.name?.replace(/^_|\d+$/g, '') === key
180
+ module.name?.replace(/^_|\$?\d+$/g, '') === key
181
181
  ) {
182
182
  Object.defineProperty(module, 'name', {
183
183
  value: key,