cabloy 5.1.90 → 5.1.91

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.1.91
4
+
5
+ ### Features
6
+
7
+ - Update core behavior to support the latest internal feature changes.
8
+
9
+ ### Improvements
10
+
11
+ - Refine utility helpers for better internal consistency.
12
+ - Improve static middleware handling.
13
+ - Enhance SSR metadata store internals.
14
+
3
15
  ## 5.1.90
4
16
 
5
17
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cabloy",
3
- "version": "5.1.90",
3
+ "version": "5.1.91",
4
4
  "gitHead": "2c5c19284bab738e492856189acb6fad74b8a7b7",
5
5
  "description": "A Node.js fullstack framework",
6
6
  "keywords": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vona",
3
- "version": "5.1.63",
3
+ "version": "5.1.66",
4
4
  "gitHead": "a79189b882c17af5911573896a781bbb0046d37d",
5
5
  "description": "Vona is an intuitive, elegant and powerful Node.js framework for rapidly developing enterprise applications of any size",
6
6
  "keywords": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vona-module-a-static",
3
- "version": "5.1.11",
3
+ "version": "5.1.14",
4
4
  "gitHead": "a79189b882c17af5911573896a781bbb0046d37d",
5
5
  "description": "",
6
6
  "keywords": [
@@ -138,6 +138,7 @@ async function getFullPath(
138
138
  filename: string,
139
139
  options: IMiddlewareSystemOptionsStatic,
140
140
  ): Promise<string | true | undefined> {
141
+ filename = filename.replaceAll('\\', '/');
141
142
  if (process.env.META_MODE === 'dev') {
142
143
  ctx[SymbolStaticGetFullPathInner] = () => {
143
144
  return _getFullPathInner(ctx, dir, filename, options);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vona-suite-a-vona",
3
- "version": "5.1.56",
3
+ "version": "5.1.59",
4
4
  "gitHead": "a79189b882c17af5911573896a781bbb0046d37d",
5
5
  "description": "",
6
6
  "author": "",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zova-cli",
3
- "version": "1.2.94",
3
+ "version": "1.2.95",
4
4
  "gitHead": "6f675a8cc46d596142c591c28a40cc4d82fcc6cc",
5
5
  "description": "zova cli",
6
6
  "keywords": [
@@ -44,7 +44,7 @@
44
44
  "@cabloy/process-helper": "^3.1.8",
45
45
  "fs-extra": "^11.3.5",
46
46
  "semver": "^7.6.2",
47
- "zova-cli-set-front": "^1.2.92"
47
+ "zova-cli-set-front": "^1.2.93"
48
48
  },
49
49
  "devDependencies": {
50
50
  "clean-package": "^2.2.0",
@@ -5,6 +5,9 @@ import type { IIconRecord } from 'zova-module-a-icon';
5
5
  import type { TypePagePathSchema } from 'zova-module-a-router';
6
6
  import type { CssBase } from 'zova-module-home-theme';
7
7
 
8
+ export type { IIconRecord } from 'zova-module-a-icon';
9
+ export type { IPagePathRecord } from 'zova-module-a-router';
10
+
8
11
  declare module 'zova-module-a-router' {
9
12
  export interface IPagePathRecord {
10
13
  '/': TypePagePathSchema<undefined, undefined>;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zova-cli-set-front",
3
- "version": "1.2.92",
3
+ "version": "1.2.93",
4
4
  "gitHead": "6f675a8cc46d596142c591c28a40cc4d82fcc6cc",
5
5
  "description": "zova cli-set-front",
6
6
  "keywords": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zova",
3
- "version": "5.1.126",
3
+ "version": "5.1.129",
4
4
  "gitHead": "2c5c19284bab738e492856189acb6fad74b8a7b7",
5
5
  "description": "A vue3 framework with ioc",
6
6
  "keywords": [
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "zova-core": "^5.1.74",
49
- "zova-suite-a-zova": "^5.1.125"
49
+ "zova-suite-a-zova": "^5.1.128"
50
50
  },
51
51
  "devDependencies": {
52
52
  "clean-package": "^2.2.0",
@@ -74,7 +74,7 @@ importers:
74
74
  version: 10.5.1(postcss@8.5.15)
75
75
  axios:
76
76
  specifier: ^1.16.1
77
- version: 1.18.1
77
+ version: 1.18.1(supports-color@10.2.2)
78
78
  compression:
79
79
  specifier: ^1.8.1
80
80
  version: 1.8.1
@@ -309,7 +309,7 @@ importers:
309
309
  devDependencies:
310
310
  '@cabloy/cli':
311
311
  specifier: ^3.1.27
312
- version: 3.1.27(vue@3.5.38(typescript@5.9.3))
312
+ version: 3.1.27(supports-color@10.2.2)(vue@3.5.38(typescript@5.9.3))
313
313
  '@cabloy/lint':
314
314
  specifier: ^5.1.27
315
315
  version: 5.1.30(@typescript-eslint/eslint-plugin@8.62.0(@typescript-eslint/parser@8.62.0(eslint@10.5.0(jiti@2.7.0))(typescript@5.9.3))(eslint@10.5.0(jiti@2.7.0))(typescript@5.9.3))(@typescript-eslint/rule-tester@8.62.0(eslint@10.5.0(jiti@2.7.0))(typescript@5.9.3))(@typescript-eslint/typescript-estree@8.62.0(typescript@5.9.3))(@typescript-eslint/utils@8.62.0(eslint@10.5.0(jiti@2.7.0))(typescript@5.9.3))(eslint@10.5.0(jiti@2.7.0))(oxfmt@0.45.0)(oxlint@1.71.0)(supports-color@10.2.2)(typescript@5.9.3)(vue-eslint-parser@10.4.1(eslint@10.5.0(jiti@2.7.0)))
@@ -384,7 +384,7 @@ importers:
384
384
  dependencies:
385
385
  '@cabloy/cli':
386
386
  specifier: ^3.1.27
387
- version: 3.1.27(vue@3.5.38(typescript@5.9.3))
387
+ version: 3.1.27(supports-color@10.2.2)(vue@3.5.38(typescript@5.9.3))
388
388
  '@cabloy/process-helper':
389
389
  specifier: ^3.1.8
390
390
  version: 3.1.8
@@ -418,7 +418,7 @@ importers:
418
418
  version: 7.29.7(@babel/core@7.29.7)
419
419
  '@cabloy/cli':
420
420
  specifier: ^3.1.27
421
- version: 3.1.27(vue@3.5.38(typescript@5.9.3))
421
+ version: 3.1.27(supports-color@10.2.2)(vue@3.5.38(typescript@5.9.3))
422
422
  '@cabloy/extend':
423
423
  specifier: ^3.2.8
424
424
  version: 3.2.8
@@ -816,7 +816,7 @@ importers:
816
816
  specifier: ^5.1.74
817
817
  version: link:../zova-core
818
818
  zova-suite-a-zova:
819
- specifier: ^5.1.125
819
+ specifier: ^5.1.126
820
820
  version: link:../../src/suite-vendor/a-zova
821
821
  devDependencies:
822
822
  clean-package:
@@ -983,7 +983,7 @@ importers:
983
983
  specifier: ^5.1.32
984
984
  version: link:modules/a-routertabs
985
985
  zova-module-a-ssr:
986
- specifier: ^5.1.26
986
+ specifier: ^5.1.27
987
987
  version: link:modules/a-ssr
988
988
  zova-module-a-ssrhmr:
989
989
  specifier: ^5.1.22
@@ -1075,7 +1075,7 @@ importers:
1075
1075
  dependencies:
1076
1076
  axios:
1077
1077
  specifier: ^1.16.1
1078
- version: 1.18.1
1078
+ version: 1.18.1(supports-color@10.2.2)
1079
1079
  devDependencies:
1080
1080
  clean-package:
1081
1081
  specifier: ^2.2.0
@@ -1345,7 +1345,7 @@ importers:
1345
1345
  devDependencies:
1346
1346
  '@cabloy/cli':
1347
1347
  specifier: ^3.1.27
1348
- version: 3.1.27(vue@3.5.38(typescript@5.9.3))
1348
+ version: 3.1.27(supports-color@10.2.2)(vue@3.5.38(typescript@5.9.3))
1349
1349
  '@types/luxon':
1350
1350
  specifier: ^3.7.1
1351
1351
  version: 3.7.2
@@ -8189,7 +8189,7 @@ snapshots:
8189
8189
 
8190
8190
  '@bufbuild/protobuf@2.12.1': {}
8191
8191
 
8192
- '@cabloy/cli@3.1.27(vue@3.5.38(typescript@5.9.3))':
8192
+ '@cabloy/cli@3.1.27(supports-color@10.2.2)(vue@3.5.38(typescript@5.9.3))':
8193
8193
  dependencies:
8194
8194
  '@babel/parser': 7.29.7
8195
8195
  '@cabloy/module-glob': 5.3.16
@@ -8198,7 +8198,7 @@ snapshots:
8198
8198
  '@cabloy/utils': 2.1.25
8199
8199
  '@cabloy/word-utils': link:packages-utils/word-utils
8200
8200
  '@npmcli/config': 10.11.0
8201
- '@zhennann/common-bin': 4.0.1
8201
+ '@zhennann/common-bin': 4.0.1(supports-color@10.2.2)
8202
8202
  '@zhennann/ejs': 3.0.1
8203
8203
  boxen: 4.2.0
8204
8204
  chalk: 3.0.0
@@ -10219,7 +10219,7 @@ snapshots:
10219
10219
 
10220
10220
  '@vue/shared@3.5.13': {}
10221
10221
 
10222
- '@zhennann/common-bin@4.0.1':
10222
+ '@zhennann/common-bin@4.0.1(supports-color@10.2.2)':
10223
10223
  dependencies:
10224
10224
  chalk: 4.1.2
10225
10225
  change-case: 4.1.2
@@ -10253,7 +10253,7 @@ snapshots:
10253
10253
 
10254
10254
  acorn@8.17.0: {}
10255
10255
 
10256
- agent-base@6.0.2:
10256
+ agent-base@6.0.2(supports-color@10.2.2):
10257
10257
  dependencies:
10258
10258
  debug: 4.4.3(supports-color@10.2.2)
10259
10259
  transitivePeerDependencies:
@@ -10365,11 +10365,11 @@ snapshots:
10365
10365
  dependencies:
10366
10366
  possible-typed-array-names: 1.1.0
10367
10367
 
10368
- axios@1.18.1:
10368
+ axios@1.18.1(supports-color@10.2.2):
10369
10369
  dependencies:
10370
10370
  follow-redirects: 1.16.0
10371
10371
  form-data: 4.0.6
10372
- https-proxy-agent: 5.0.1
10372
+ https-proxy-agent: 5.0.1(supports-color@10.2.2)
10373
10373
  proxy-from-env: 2.1.0
10374
10374
  transitivePeerDependencies:
10375
10375
  - debug
@@ -11785,9 +11785,9 @@ snapshots:
11785
11785
  statuses: 2.0.2
11786
11786
  toidentifier: 1.0.1
11787
11787
 
11788
- https-proxy-agent@5.0.1:
11788
+ https-proxy-agent@5.0.1(supports-color@10.2.2):
11789
11789
  dependencies:
11790
- agent-base: 6.0.2
11790
+ agent-base: 6.0.2(supports-color@10.2.2)
11791
11791
  debug: 4.4.3(supports-color@10.2.2)
11792
11792
  transitivePeerDependencies:
11793
11793
  - supports-color
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zova-module-a-ssr",
3
- "version": "5.1.26",
3
+ "version": "5.1.29",
4
4
  "gitHead": "09d901d17140a80ee0764211b441cda72fd94663",
5
5
  "description": "",
6
6
  "keywords": [
@@ -176,11 +176,12 @@ export class CtxSSRMetaStore extends BeanSimple {
176
176
  });`;
177
177
  const ssr_local_themename = this.sys.config.ssr.cookie
178
178
  ? ''
179
- : "window.ssr_local_themename=window.ssr_load_local('themename');";
179
+ : `window.ssr_local_themename=window.ssr_load_local('themename','${this.sys.env.STYLE_DEFAULT_THEME}');`;
180
180
  ctx.endingHeadTags += `<script id="ssr-prefers-color-schema-dark">
181
- window.ssr_load_local=function(key){
181
+ window.ssr_load_local=function(key,defaultValue){
182
182
  const __ssr_local=localStorage.getItem(key);
183
- return __ssr_local?JSON.parse(__ssr_local):undefined;
183
+ const value=__ssr_local?JSON.parse(__ssr_local):undefined;
184
+ return value??defaultValue;
184
185
  };
185
186
  ${ssr_local_themedark}
186
187
  ${ssr_local_themename}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zova-suite-a-zova",
3
- "version": "5.1.125",
3
+ "version": "5.1.128",
4
4
  "gitHead": "2c5c19284bab738e492856189acb6fad74b8a7b7",
5
5
  "description": "zova",
6
6
  "license": "MIT",
@@ -26,7 +26,7 @@
26
26
  "zova-module-a-router": "^5.1.29",
27
27
  "zova-module-a-routerstack": "^5.1.26",
28
28
  "zova-module-a-routertabs": "^5.1.32",
29
- "zova-module-a-ssr": "^5.1.26",
29
+ "zova-module-a-ssr": "^5.1.29",
30
30
  "zova-module-a-ssrhmr": "^5.1.22",
31
31
  "zova-module-a-ssrserver": "^5.1.22",
32
32
  "zova-module-a-style": "^5.1.32",