@ditojs/server 2.1.0 → 2.1.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ditojs/server",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
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/master/packages/server",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"node >= 18"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@ditojs/admin": "^2.1.
|
|
26
|
-
"@ditojs/build": "^2.1.
|
|
27
|
-
"@ditojs/router": "^2.1.
|
|
28
|
-
"@ditojs/utils": "^2.1.
|
|
25
|
+
"@ditojs/admin": "^2.1.1",
|
|
26
|
+
"@ditojs/build": "^2.1.1",
|
|
27
|
+
"@ditojs/router": "^2.1.1",
|
|
28
|
+
"@ditojs/utils": "^2.1.1",
|
|
29
29
|
"@koa/cors": "^4.0.0",
|
|
30
30
|
"@koa/multer": "^3.0.2",
|
|
31
31
|
"@originjs/vite-plugin-commonjs": "^1.0.3",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"typescript": "^5.0.4"
|
|
89
89
|
},
|
|
90
90
|
"types": "types",
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "b4ff87b7ffa812092a27b6c28a8ab3c5d7d7094d",
|
|
92
92
|
"scripts": {
|
|
93
93
|
"types": "tsc --noEmit --esModuleInterop ./types/index.d.ts"
|
|
94
94
|
},
|
|
@@ -218,10 +218,15 @@ export class AdminController extends Controller {
|
|
|
218
218
|
} else {
|
|
219
219
|
const module = id.match(
|
|
220
220
|
/node_modules\/((?:@[^/]*\/)?[^/$]*)/
|
|
221
|
-
)?.[1] ||
|
|
222
|
-
return
|
|
223
|
-
|
|
224
|
-
|
|
221
|
+
)?.[1] || null
|
|
222
|
+
return (
|
|
223
|
+
// Internal ids (vite stuff) don't come from
|
|
224
|
+
// node_modules and their ids actually start with \0x00.
|
|
225
|
+
!module ||
|
|
226
|
+
testModuleIdentifier(module, coreDependencies)
|
|
227
|
+
? 'core'
|
|
228
|
+
: 'vendor'
|
|
229
|
+
)
|
|
225
230
|
}
|
|
226
231
|
}
|
|
227
232
|
}
|
|
@@ -286,6 +291,7 @@ const coreDependencies = [
|
|
|
286
291
|
// a json file?
|
|
287
292
|
|
|
288
293
|
'vue',
|
|
294
|
+
'vue-demi',
|
|
289
295
|
'@vue/*',
|
|
290
296
|
'@vueuse/*',
|
|
291
297
|
'@lk77/vue3-color',
|
|
@@ -301,11 +307,12 @@ const coreDependencies = [
|
|
|
301
307
|
'prosemirror-*',
|
|
302
308
|
'linkifyjs',
|
|
303
309
|
'codeflask',
|
|
310
|
+
'nanoid',
|
|
304
311
|
'punycode',
|
|
305
312
|
'rope-sequence',
|
|
306
313
|
'filesize',
|
|
307
314
|
'filesize-parser',
|
|
308
|
-
'tslib',
|
|
315
|
+
'tslib', // ?
|
|
309
316
|
'orderedmap',
|
|
310
317
|
'w3c-keyname'
|
|
311
318
|
]
|