worsier 2.8.0 → 2.8.1
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/README.md +1 -1
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ pnpm exec worsier --write .
|
|
|
16
16
|
|
|
17
17
|
The CLI uses its defaults when no configuration file is present. Run `pnpm exec worsier --init` to create a complete typed `worsier.jsonc`.
|
|
18
18
|
|
|
19
|
-
For `.vue` files, Worsier formats inline `<script>` and `<script setup>` blocks using JavaScript, JSX, TypeScript, or TSX. Templates, styles, custom blocks, external `src` scripts, and unknown languages remain byte-for-byte unchanged.
|
|
19
|
+
For `.vue` files, Worsier formats inline `<script>` and `<script setup>` blocks using JavaScript, JSX, TypeScript, or TSX while preserving their existing top-level indentation. Templates, styles, custom blocks, external `src` scripts, and unknown languages remain byte-for-byte unchanged.
|
|
20
20
|
|
|
21
21
|
## Programmatic API
|
|
22
22
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "worsier",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.1",
|
|
4
4
|
"description": "A focused JavaScript, TypeScript, and Vue SFC script formatter powered by Rust",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -49,14 +49,14 @@
|
|
|
49
49
|
]
|
|
50
50
|
},
|
|
51
51
|
"optionalDependencies": {
|
|
52
|
-
"worsier-darwin-arm64": "2.8.
|
|
53
|
-
"worsier-win32-arm64-msvc": "2.8.
|
|
54
|
-
"worsier-linux-arm64-gnu": "2.8.
|
|
55
|
-
"worsier-linux-arm64-musl": "2.8.
|
|
56
|
-
"worsier-darwin-x64": "2.8.
|
|
57
|
-
"worsier-win32-x64-msvc": "2.8.
|
|
58
|
-
"worsier-linux-x64-gnu": "2.8.
|
|
59
|
-
"worsier-linux-x64-musl": "2.8.
|
|
52
|
+
"worsier-darwin-arm64": "2.8.1",
|
|
53
|
+
"worsier-win32-arm64-msvc": "2.8.1",
|
|
54
|
+
"worsier-linux-arm64-gnu": "2.8.1",
|
|
55
|
+
"worsier-linux-arm64-musl": "2.8.1",
|
|
56
|
+
"worsier-darwin-x64": "2.8.1",
|
|
57
|
+
"worsier-win32-x64-msvc": "2.8.1",
|
|
58
|
+
"worsier-linux-x64-gnu": "2.8.1",
|
|
59
|
+
"worsier-linux-x64-musl": "2.8.1"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@types/node": "26.2.0",
|