@vizejs/native 0.526.0 → 0.528.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 +12 -0
  2. package/package.json +9 -9
package/index.d.ts CHANGED
@@ -553,6 +553,18 @@ 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";
562
+ /** Change parentheses around a sole arrow function parameter. */
563
+ arrowParens?: "always" | "avoid";
564
+ /** Print spaces inside object literal braces. */
565
+ bracketSpacing?: boolean;
566
+ /** Put the closing bracket of a multi-line tag on its last attribute line. */
567
+ bracketSameLine?: boolean;
556
568
  /** Layout line endings; auto follows the first source terminator. */
557
569
  endOfLine?: EndOfLineNapi;
558
570
  sortAttributes?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizejs/native",
3
- "version": "0.526.0",
3
+ "version": "0.528.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.526.0",
40
- "@vizejs/native-darwin-x64": "0.526.0",
41
- "@vizejs/native-linux-arm64-gnu": "0.526.0",
42
- "@vizejs/native-linux-arm64-musl": "0.526.0",
43
- "@vizejs/native-linux-x64-gnu": "0.526.0",
44
- "@vizejs/native-linux-x64-musl": "0.526.0",
45
- "@vizejs/native-win32-arm64-msvc": "0.526.0",
46
- "@vizejs/native-win32-x64-msvc": "0.526.0"
39
+ "@vizejs/native-darwin-arm64": "0.528.0",
40
+ "@vizejs/native-darwin-x64": "0.528.0",
41
+ "@vizejs/native-linux-arm64-gnu": "0.528.0",
42
+ "@vizejs/native-linux-arm64-musl": "0.528.0",
43
+ "@vizejs/native-linux-x64-gnu": "0.528.0",
44
+ "@vizejs/native-linux-x64-musl": "0.528.0",
45
+ "@vizejs/native-win32-arm64-msvc": "0.528.0",
46
+ "@vizejs/native-win32-x64-msvc": "0.528.0"
47
47
  },
48
48
  "napi": {
49
49
  "binaryName": "vize-vitrine",