Commit a78c94c
authored
chore: bump prettier-plugin-svelte 3.5.2 -> 4.0.0 (#234)
The 4.0.0 plugin crashes during `prettier --check` when an `{@const}`
contains a ternary whose expressions involve a `BinaryExpression`
(`Error: unknown node type: BinaryExpression`). Move the `totalProgress`
computation out of the `{@const}` in SendButton.svelte into a script-level
`$derived` so prettier can format the file again, then take the major bump.
Breaking-change audit for 4.0.0:
- Requires Svelte 5 (have ^5.55.9).
- Drops `svelteBracketNewLine` and `svelteStrictMode` options — repo uses
neither in `package.json#prettier`.
Verified locally: `npm run lint`, `svelte-check`, `npm run build` clean.1 parent 84633aa commit a78c94c
3 files changed
Lines changed: 18 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
311 | 320 | | |
312 | 321 | | |
313 | 322 | | |
| |||
337 | 346 | | |
338 | 347 | | |
339 | 348 | | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | 349 | | |
348 | 350 | | |
349 | 351 | | |
| |||
0 commit comments