@vizejs/native 0.430.1 → 0.432.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 +5 -0
- package/index.js +1 -0
- package/package.json +9 -9
package/index.d.ts
CHANGED
|
@@ -493,6 +493,9 @@ export interface DynamicImportAliasRuleNapi {
|
|
|
493
493
|
toPrefix: string;
|
|
494
494
|
}
|
|
495
495
|
|
|
496
|
+
/** Existing formatter line-ending modes, validated at the Node boundary. */
|
|
497
|
+
export type EndOfLineNapi = "lf" | "crlf" | "cr" | "auto";
|
|
498
|
+
|
|
496
499
|
export declare function extractSfcCustomBlocks(
|
|
497
500
|
source: string,
|
|
498
501
|
filename?: string | undefined | null,
|
|
@@ -543,6 +546,8 @@ export interface FormatOptionsNapi {
|
|
|
543
546
|
useTabs?: boolean;
|
|
544
547
|
semi?: boolean;
|
|
545
548
|
singleQuote?: boolean;
|
|
549
|
+
/** Layout line endings; auto follows the first source terminator. */
|
|
550
|
+
endOfLine?: EndOfLineNapi;
|
|
546
551
|
sortAttributes?: boolean;
|
|
547
552
|
singleAttributePerLine?: boolean;
|
|
548
553
|
maxAttributesPerLine?: number;
|
package/index.js
CHANGED
|
@@ -28,6 +28,7 @@ module.exports.createViteBareImportCandidates = nativeBinding.createViteBareImpo
|
|
|
28
28
|
module.exports.createViteVirtualId = nativeBinding.createViteVirtualId;
|
|
29
29
|
module.exports.detectViteHmrUpdateType = nativeBinding.detectViteHmrUpdateType;
|
|
30
30
|
module.exports.diffVitePrecompileFiles = nativeBinding.diffVitePrecompileFiles;
|
|
31
|
+
module.exports.EndOfLineNapi = nativeBinding.EndOfLineNapi;
|
|
31
32
|
module.exports.extractSfcCustomBlocks = nativeBinding.extractSfcCustomBlocks;
|
|
32
33
|
module.exports.extractSfcSrcInfo = nativeBinding.extractSfcSrcInfo;
|
|
33
34
|
module.exports.extractSfcStyleBlocks = nativeBinding.extractSfcStyleBlocks;
|
package/package.json
CHANGED
|
@@ -47,14 +47,14 @@
|
|
|
47
47
|
]
|
|
48
48
|
},
|
|
49
49
|
"optionalDependencies": {
|
|
50
|
-
"@vizejs/native-darwin-arm64": "0.
|
|
51
|
-
"@vizejs/native-darwin-x64": "0.
|
|
52
|
-
"@vizejs/native-linux-arm64-gnu": "0.
|
|
53
|
-
"@vizejs/native-linux-arm64-musl": "0.
|
|
54
|
-
"@vizejs/native-linux-x64-gnu": "0.
|
|
55
|
-
"@vizejs/native-linux-x64-musl": "0.
|
|
56
|
-
"@vizejs/native-win32-arm64-msvc": "0.
|
|
57
|
-
"@vizejs/native-win32-x64-msvc": "0.
|
|
50
|
+
"@vizejs/native-darwin-arm64": "0.432.0",
|
|
51
|
+
"@vizejs/native-darwin-x64": "0.432.0",
|
|
52
|
+
"@vizejs/native-linux-arm64-gnu": "0.432.0",
|
|
53
|
+
"@vizejs/native-linux-arm64-musl": "0.432.0",
|
|
54
|
+
"@vizejs/native-linux-x64-gnu": "0.432.0",
|
|
55
|
+
"@vizejs/native-linux-x64-musl": "0.432.0",
|
|
56
|
+
"@vizejs/native-win32-arm64-msvc": "0.432.0",
|
|
57
|
+
"@vizejs/native-win32-x64-msvc": "0.432.0"
|
|
58
58
|
},
|
|
59
59
|
"publishConfig": {
|
|
60
60
|
"access": "public"
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"url": "https://github.com/ubugeeei-prod/vize"
|
|
66
66
|
},
|
|
67
67
|
"types": "index.d.ts",
|
|
68
|
-
"version": "0.
|
|
68
|
+
"version": "0.432.0",
|
|
69
69
|
"scripts": {
|
|
70
70
|
"build": "node ./scripts/build-local.mjs --release",
|
|
71
71
|
"build:ci": "napi build --platform --profile ci --manifest-path ../../crates/vize_vitrine/Cargo.toml -p vize_vitrine --features napi,legacy --output-dir . && node ./scripts/sync-entrypoint.mjs",
|