@vizejs/native 0.178.0 → 0.180.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
@@ -65,7 +65,7 @@ export interface BatchCompileOptionsNapi {
65
65
  ssr?: boolean;
66
66
  vapor?: boolean;
67
67
  customRenderer?: boolean;
68
- vueParserQuirks?: boolean;
68
+ templateSyntax?: "standard" | "strict" | "quirks";
69
69
  runtimeModuleName?: string;
70
70
  runtimeGlobalName?: string;
71
71
  vueVersion?: string;
@@ -207,8 +207,8 @@ export interface CompilerOptions {
207
207
  isTs?: boolean;
208
208
  /** Whether the template targets a custom renderer instead of the DOM. */
209
209
  customRenderer?: boolean;
210
- /** Enable Vue parser quirk compatibility for known edge cases. */
211
- vueParserQuirks?: boolean;
210
+ /** Template syntax compatibility mode. */
211
+ templateSyntax?: "standard" | "strict" | "quirks";
212
212
  /** Module name for runtime imports. */
213
213
  runtimeModuleName?: string;
214
214
  /** Global variable name for standalone/function mode. */
@@ -751,7 +751,7 @@ export interface SfcCompileOptionsNapi {
751
751
  ssr?: boolean;
752
752
  vapor?: boolean;
753
753
  customRenderer?: boolean;
754
- vueParserQuirks?: boolean;
754
+ templateSyntax?: "standard" | "strict" | "quirks";
755
755
  runtimeModuleName?: string;
756
756
  runtimeGlobalName?: string;
757
757
  vueVersion?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizejs/native",
3
- "version": "0.178.0",
3
+ "version": "0.180.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.178.0",
40
- "@vizejs/native-darwin-x64": "0.178.0",
41
- "@vizejs/native-linux-arm64-gnu": "0.178.0",
42
- "@vizejs/native-linux-arm64-musl": "0.178.0",
43
- "@vizejs/native-linux-x64-gnu": "0.178.0",
44
- "@vizejs/native-linux-x64-musl": "0.178.0",
45
- "@vizejs/native-win32-arm64-msvc": "0.178.0",
46
- "@vizejs/native-win32-x64-msvc": "0.178.0"
39
+ "@vizejs/native-darwin-arm64": "0.180.0",
40
+ "@vizejs/native-darwin-x64": "0.180.0",
41
+ "@vizejs/native-linux-arm64-gnu": "0.180.0",
42
+ "@vizejs/native-linux-arm64-musl": "0.180.0",
43
+ "@vizejs/native-linux-x64-gnu": "0.180.0",
44
+ "@vizejs/native-linux-x64-musl": "0.180.0",
45
+ "@vizejs/native-win32-arm64-msvc": "0.180.0",
46
+ "@vizejs/native-win32-x64-msvc": "0.180.0"
47
47
  },
48
48
  "napi": {
49
49
  "binaryName": "vize-vitrine",
@@ -40,8 +40,8 @@ export interface CompilerOptions {
40
40
  isTs?: boolean;
41
41
  /** Whether the template targets a custom renderer instead of the DOM. */
42
42
  customRenderer?: boolean;
43
- /** Enable Vue parser quirk compatibility for known edge cases. */
44
- vueParserQuirks?: boolean;
43
+ /** Template syntax compatibility mode. */
44
+ templateSyntax?: "standard" | "strict" | "quirks";
45
45
  /**
46
46
  * Script extension handling: "preserve" (keep TypeScript) or "downcompile" (transpile to JS)
47
47
  * Defaults to "downcompile"
package/types/sfc.d.ts CHANGED
@@ -5,7 +5,7 @@ export interface BatchCompileOptionsNapi {
5
5
  ssr?: boolean;
6
6
  vapor?: boolean;
7
7
  customRenderer?: boolean;
8
- vueParserQuirks?: boolean;
8
+ templateSyntax?: "standard" | "strict" | "quirks";
9
9
  /** Preserve TypeScript in output when true */
10
10
  isTs?: boolean;
11
11
  threads?: number;
@@ -105,7 +105,7 @@ export interface SfcCompileOptionsNapi {
105
105
  ssr?: boolean;
106
106
  vapor?: boolean;
107
107
  customRenderer?: boolean;
108
- vueParserQuirks?: boolean;
108
+ templateSyntax?: "standard" | "strict" | "quirks";
109
109
  /** Preserve TypeScript in output when true */
110
110
  isTs?: boolean;
111
111
  /** Scope ID for scoped CSS (e.g., "data-v-abc123") */