@vizejs/native 0.700.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 +13 -2
  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 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizejs/native",
3
- "version": "0.700.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.700.0",
42
- "@vizejs/native-darwin-x64": "0.700.0",
43
- "@vizejs/native-linux-arm64-gnu": "0.700.0",
44
- "@vizejs/native-linux-arm64-musl": "0.700.0",
45
- "@vizejs/native-linux-x64-gnu": "0.700.0",
46
- "@vizejs/native-linux-x64-musl": "0.700.0",
47
- "@vizejs/native-win32-arm64-msvc": "0.700.0",
48
- "@vizejs/native-win32-x64-msvc": "0.700.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",