@vizejs/native 0.287.0 → 0.289.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/index.d.ts CHANGED
@@ -66,6 +66,9 @@ export interface BatchCompileOptionsNapi {
66
66
  vapor?: boolean;
67
67
  customRenderer?: boolean;
68
68
  templateSyntax?: string;
69
+ experimentalInTagComments?: boolean;
70
+ experimentalPatternedTemplate?: boolean;
71
+ experimentalServerScript?: boolean;
69
72
  runtimeModuleName?: string;
70
73
  runtimeGlobalName?: string;
71
74
  vueVersion?: string;
@@ -233,6 +236,12 @@ export interface CompilerOptions {
233
236
  customRenderer?: boolean;
234
237
  /** Template syntax compatibility mode: "standard", "strict", or "quirks". */
235
238
  templateSyntax?: string;
239
+ /** Enable experimental Vue in-tag comments (`// ...`) inside opening tags. */
240
+ experimentalInTagComments?: boolean;
241
+ /** Enable experimental `v-match` / `v-case` patterned template desugaring. */
242
+ experimentalPatternedTemplate?: boolean;
243
+ /** Enable experimental server-script related RFC surface. */
244
+ experimentalServerScript?: boolean;
236
245
  /** Module name for runtime imports. */
237
246
  runtimeModuleName?: string;
238
247
  /** Global variable name for standalone/function mode. */
@@ -893,6 +902,9 @@ export interface SfcCompileOptionsNapi {
893
902
  vapor?: boolean;
894
903
  customRenderer?: boolean;
895
904
  templateSyntax?: string;
905
+ experimentalInTagComments?: boolean;
906
+ experimentalPatternedTemplate?: boolean;
907
+ experimentalServerScript?: boolean;
896
908
  runtimeModuleName?: string;
897
909
  runtimeGlobalName?: string;
898
910
  vueVersion?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizejs/native",
3
- "version": "0.287.0",
3
+ "version": "0.289.0",
4
4
  "description": "High-performance Vue.js compiler - Native bindings",
5
5
  "keywords": [
6
6
  "compiler",
@@ -36,14 +36,14 @@
36
36
  "@napi-rs/cli": "3.6.2"
37
37
  },
38
38
  "optionalDependencies": {
39
- "@vizejs/native-darwin-arm64": "0.287.0",
40
- "@vizejs/native-darwin-x64": "0.287.0",
41
- "@vizejs/native-linux-arm64-gnu": "0.287.0",
42
- "@vizejs/native-linux-arm64-musl": "0.287.0",
43
- "@vizejs/native-linux-x64-gnu": "0.287.0",
44
- "@vizejs/native-linux-x64-musl": "0.287.0",
45
- "@vizejs/native-win32-arm64-msvc": "0.287.0",
46
- "@vizejs/native-win32-x64-msvc": "0.287.0"
39
+ "@vizejs/native-darwin-arm64": "0.289.0",
40
+ "@vizejs/native-darwin-x64": "0.289.0",
41
+ "@vizejs/native-linux-arm64-gnu": "0.289.0",
42
+ "@vizejs/native-linux-arm64-musl": "0.289.0",
43
+ "@vizejs/native-linux-x64-gnu": "0.289.0",
44
+ "@vizejs/native-linux-x64-musl": "0.289.0",
45
+ "@vizejs/native-win32-arm64-msvc": "0.289.0",
46
+ "@vizejs/native-win32-x64-msvc": "0.289.0"
47
47
  },
48
48
  "napi": {
49
49
  "binaryName": "vize-vitrine",
@@ -42,6 +42,12 @@ export interface CompilerOptions {
42
42
  customRenderer?: boolean;
43
43
  /** Template syntax compatibility mode. */
44
44
  templateSyntax?: "standard" | "strict" | "quirks";
45
+ /** Enable experimental Vue in-tag comments (`// ...`) inside opening tags. */
46
+ experimentalInTagComments?: boolean;
47
+ /** Enable experimental `v-match` / `v-case` patterned template desugaring. */
48
+ experimentalPatternedTemplate?: boolean;
49
+ /** Enable experimental server-script related RFC surface. */
50
+ experimentalServerScript?: boolean;
45
51
  /**
46
52
  * Script extension handling: "preserve" (keep TypeScript) or "downcompile" (transpile to JS)
47
53
  * Defaults to "downcompile"
package/types/sfc.d.ts CHANGED
@@ -6,6 +6,9 @@ export interface BatchCompileOptionsNapi {
6
6
  vapor?: boolean;
7
7
  customRenderer?: boolean;
8
8
  templateSyntax?: "standard" | "strict" | "quirks";
9
+ experimentalInTagComments?: boolean;
10
+ experimentalPatternedTemplate?: boolean;
11
+ experimentalServerScript?: boolean;
9
12
  /** Preserve TypeScript in output when true */
10
13
  isTs?: boolean;
11
14
  threads?: number;
@@ -106,6 +109,9 @@ export interface SfcCompileOptionsNapi {
106
109
  vapor?: boolean;
107
110
  customRenderer?: boolean;
108
111
  templateSyntax?: "standard" | "strict" | "quirks";
112
+ experimentalInTagComments?: boolean;
113
+ experimentalPatternedTemplate?: boolean;
114
+ experimentalServerScript?: boolean;
109
115
  /** Preserve TypeScript in output when true */
110
116
  isTs?: boolean;
111
117
  /** Scope ID for scoped CSS (e.g., "data-v-abc123") */