@vizejs/native 0.699.0 → 0.701.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.
Files changed (2) hide show
  1. package/index.d.ts +14 -3
  2. package/package.json +9 -9
package/index.d.ts CHANGED
@@ -938,9 +938,15 @@ export interface MacroArtifactNapi {
938
938
  /**
939
939
  * The emitted module's shape, so the JS plugins do not re-parse it (#3425).
940
940
  *
941
- * Absent when the module did not parse, in which case the consumer falls back
942
- * to its own analysis — the behaviour before this field existed.
941
+ * Absent when the module did not parse, in which case consumers retain their
942
+ * established fallback or fail closed.
943
943
  */
944
+ export interface ModuleImportNapi {
945
+ source: string;
946
+ local: string;
947
+ namespace: boolean;
948
+ }
949
+
944
950
  export interface ModuleShapeNapi {
945
951
  hasDefaultExport: boolean;
946
952
  hasSfcMainDefined: boolean;
@@ -950,6 +956,11 @@ export interface ModuleShapeNapi {
950
956
  defaultExportKeywordEnd?: number;
951
957
  defaultExportEnd?: number;
952
958
  defaultExportIsSfcMain: boolean;
959
+ defaultExportLocal?: string;
960
+ imports: Array<ModuleImportNapi>;
961
+ hasSideEffectImport: boolean;
962
+ hasReexport: boolean;
963
+ hasDynamicImport: boolean;
953
964
  }
954
965
 
955
966
  /** No-mutating-props options for NAPI */
@@ -1128,7 +1139,7 @@ export interface PatinaLintOptionsNapi {
1128
1139
  corsaPath?: string;
1129
1140
  /** Casing for `vue/component-name-in-template-casing`: "PascalCase" or "kebab-case" */
1130
1141
  componentNameInTemplateCasing?: string;
1131
- /** Casing for `script/custom-event-name-casing`: "camelCase" or "kebab-case" */
1142
+ /** Casing for `script/custom-event-name-casing`: "lowercase", "camelCase", or "kebab-case" */
1132
1143
  customEventNameCasing?: string;
1133
1144
  /** Options for `vue/no-mutating-props` */
1134
1145
  noMutatingProps?: NoMutatingPropsOptionsNapi;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizejs/native",
3
- "version": "0.699.0",
3
+ "version": "0.701.0",
4
4
  "description": "High-performance Vue.js compiler - Native bindings",
5
5
  "keywords": [
6
6
  "compiler",
@@ -38,14 +38,14 @@
38
38
  "@napi-rs/cli": "3.6.2"
39
39
  },
40
40
  "optionalDependencies": {
41
- "@vizejs/native-darwin-arm64": "0.699.0",
42
- "@vizejs/native-darwin-x64": "0.699.0",
43
- "@vizejs/native-linux-arm64-gnu": "0.699.0",
44
- "@vizejs/native-linux-arm64-musl": "0.699.0",
45
- "@vizejs/native-linux-x64-gnu": "0.699.0",
46
- "@vizejs/native-linux-x64-musl": "0.699.0",
47
- "@vizejs/native-win32-arm64-msvc": "0.699.0",
48
- "@vizejs/native-win32-x64-msvc": "0.699.0"
41
+ "@vizejs/native-darwin-arm64": "0.701.0",
42
+ "@vizejs/native-darwin-x64": "0.701.0",
43
+ "@vizejs/native-linux-arm64-gnu": "0.701.0",
44
+ "@vizejs/native-linux-arm64-musl": "0.701.0",
45
+ "@vizejs/native-linux-x64-gnu": "0.701.0",
46
+ "@vizejs/native-linux-x64-musl": "0.701.0",
47
+ "@vizejs/native-win32-arm64-msvc": "0.701.0",
48
+ "@vizejs/native-win32-x64-msvc": "0.701.0"
49
49
  },
50
50
  "napi": {
51
51
  "binaryName": "vize-vitrine",