@vizejs/native 0.525.0 → 0.527.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 +16 -0
- package/package.json +9 -9
package/index.d.ts
CHANGED
|
@@ -553,12 +553,28 @@ export interface FormatOptionsNapi {
|
|
|
553
553
|
useTabs?: boolean;
|
|
554
554
|
semi?: boolean;
|
|
555
555
|
singleQuote?: boolean;
|
|
556
|
+
/** Use single quotes in JSX attributes independently of JavaScript strings. */
|
|
557
|
+
jsxSingleQuote?: boolean;
|
|
558
|
+
/** Change when object properties are quoted. */
|
|
559
|
+
quoteProps?: "as-needed" | "consistent" | "preserve";
|
|
560
|
+
/** Change where trailing commas are printed. */
|
|
561
|
+
trailingComma?: "all" | "es5" | "none";
|
|
556
562
|
/** Layout line endings; auto follows the first source terminator. */
|
|
557
563
|
endOfLine?: EndOfLineNapi;
|
|
558
564
|
sortAttributes?: boolean;
|
|
559
565
|
singleAttributePerLine?: boolean;
|
|
560
566
|
maxAttributesPerLine?: number;
|
|
561
567
|
normalizeDirectiveShorthands?: boolean;
|
|
568
|
+
/** Re-quote CSS, SCSS and Less strings with the singleQuote preference. */
|
|
569
|
+
normalizeCssQuotes?: boolean;
|
|
570
|
+
/** Normalize one-line static style attributes. */
|
|
571
|
+
normalizeInlineStyles?: boolean;
|
|
572
|
+
/** Parenthesize v-for aliases when more than one alias is present. */
|
|
573
|
+
normalizeVForParens?: boolean;
|
|
574
|
+
/** Close HTML void elements with `/>`. */
|
|
575
|
+
selfCloseVoidElements?: boolean;
|
|
576
|
+
/** Re-indent SCSS and Less blocks by nesting depth. */
|
|
577
|
+
reindentPreprocessorStyles?: boolean;
|
|
562
578
|
}
|
|
563
579
|
|
|
564
580
|
/** Format result for NAPI. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizejs/native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.527.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.
|
|
40
|
-
"@vizejs/native-darwin-x64": "0.
|
|
41
|
-
"@vizejs/native-linux-arm64-gnu": "0.
|
|
42
|
-
"@vizejs/native-linux-arm64-musl": "0.
|
|
43
|
-
"@vizejs/native-linux-x64-gnu": "0.
|
|
44
|
-
"@vizejs/native-linux-x64-musl": "0.
|
|
45
|
-
"@vizejs/native-win32-arm64-msvc": "0.
|
|
46
|
-
"@vizejs/native-win32-x64-msvc": "0.
|
|
39
|
+
"@vizejs/native-darwin-arm64": "0.527.0",
|
|
40
|
+
"@vizejs/native-darwin-x64": "0.527.0",
|
|
41
|
+
"@vizejs/native-linux-arm64-gnu": "0.527.0",
|
|
42
|
+
"@vizejs/native-linux-arm64-musl": "0.527.0",
|
|
43
|
+
"@vizejs/native-linux-x64-gnu": "0.527.0",
|
|
44
|
+
"@vizejs/native-linux-x64-musl": "0.527.0",
|
|
45
|
+
"@vizejs/native-win32-arm64-msvc": "0.527.0",
|
|
46
|
+
"@vizejs/native-win32-x64-msvc": "0.527.0"
|
|
47
47
|
},
|
|
48
48
|
"napi": {
|
|
49
49
|
"binaryName": "vize-vitrine",
|