Commit 342bebf
authored
feat(deps): upgrade upstream dependencies (#2670)
Upgrade Rolldown to `1.2.8`, Vite to `8.3.0`, Oxlint to `1.82.0`, and
Oxfmt to `0.67.0`.
Update the Rust parser for the Oxc `fatal_error` field. Add a test for
invalid configuration files and keep the generated NAPI updates. Isolate
the missing-dependency test from pnpm’s `NODE_PATH` and the Bun fixture
from old `bun x` caches.
## Dependency updates
| Package | From | To |
| --- | --- | --- |
| `rolldown` | `1.2.7`
([`26b4c6e`](rolldown/rolldown@26b4c6e))
| [`1.2.8`](https://github.com/rolldown/rolldown/releases/tag/v1.2.8)
([`9704b56`](rolldown/rolldown@9704b56))
|
| `vite` | `8.2.2`
([`de1111a`](vitejs/vite@de1111a))
| [`8.3.0`](https://github.com/vitejs/vite/releases/tag/v8.3.0)
([`434e8e9`](vitejs/vite@434e8e9))
|
| `oxfmt` | `0.66.0` |
[`0.67.0`](https://github.com/oxc-project/oxc/releases/tag/apps_v1.82.0)
|
| `oxlint` | `1.81.0` |
[`1.82.0`](https://github.com/oxc-project/oxc/releases/tag/apps_v1.82.0)
|
| `@oxc-project/runtime` | `0.148.0` |
[`0.149.0`](https://github.com/oxc-project/oxc/releases/tag/crates_v0.149.0)
|
| `@oxc-project/types` | `0.148.0` |
[`0.149.0`](https://github.com/oxc-project/oxc/releases/tag/crates_v0.149.0)
|
| `oxc-minify` | `0.148.0` |
[`0.149.0`](https://github.com/oxc-project/oxc/releases/tag/crates_v0.149.0)
|
| `oxc-parser` | `0.148.0` |
[`0.149.0`](https://github.com/oxc-project/oxc/releases/tag/crates_v0.149.0)
|
| `oxc-transform` | `0.148.0` |
[`0.149.0`](https://github.com/oxc-project/oxc/releases/tag/crates_v0.149.0)
|
| `@vitejs/devtools` development range | `^0.4.12` | `^0.7.1` |
| `@vitejs/devtools` peer range | `^0.4.0 \|\| ^0.5.0` | `^0.7.1` |
| `@napi-rs/cli` catalog | `^3.8.2` | `^3.9.0` |
| `web-tree-sitter` catalog | `^0.26.0` | `^0.27.0` |
| Rust Oxc crates | `0.148.0` |
[`0.149.0`](https://github.com/oxc-project/oxc/releases/tag/crates_v0.149.0)
|
| `jsonschema` workspace range | `0.46.5` | `0.55.0` |
| `smallvec` workspace range | `1.15.1` | `1.16.0` |
<details><summary>Unchanged dependencies</summary>
- `vitest`: `4.1.11`
- `@vitest/browser`: `4.1.11`
- `@vitest/browser-playwright`: `4.1.11`
- `@vitest/browser-preview`: `4.1.11`
- `@vitest/browser-webdriverio`: `4.1.11`
- `@vitest/expect`: `4.1.11`
- `@vitest/mocker`: `4.1.11`
- `@vitest/pretty-format`: `4.1.11`
- `@vitest/runner`: `4.1.11`
- `@vitest/snapshot`: `4.1.11`
- `@vitest/spy`: `4.1.11`
- `@vitest/utils`: `4.1.11`
- `tsdown`: `0.23.0`
- `@tsdown/css`: `0.23.0`
- `@tsdown/exe`: `0.23.0`
- `lightningcss`: `^1.33.0`
- `@oxc-node/cli`: `0.1.0`
- `@oxc-node/core`: `0.1.0`
- `oxlint-tsgolint`: `7.0.2001`
- `VITEST_VERSION constant`: `4.1.11`
- `README vitest pins`: `4.1.11`
</details>
## Code changes
- `crates/vp_static_config/src/lib.rs`: use `ParserReturn.fatal_error`
and test runtime fallback for invalid syntax.
- `packages/cli/src/__tests__/resolve-core.spec.ts`: run the
missing-dependency test without global Node search paths.
-
`crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/command_dlx_bun/`:
isolate `TMPDIR` and update the recorded command headings.
- `Cargo.toml`: match the changed Rolldown workspace dependencies.
- `packages/core/package.json`: sync the Vite DevTools ranges and
bundled versions.
- `pnpm-workspace.yaml`: exempt Vite DevTools packages from the minimum
release age, as with other bundled upstream packages.
- `packages/cli/binding/index.cjs` and
`packages/cli/binding/index.d.cts`: keep the regenerated loader and
declarations.
## Build status
- `sync-remote-and-build`: passed.
- `build-upstream`: passed on `aarch64-apple-darwin`.
- `just build`, Rust checks, lint, and unit tests: passed.
- Full CLI snapshots: passed, with 819 cases and one ignored case.1 parent e992de3 commit 342bebf
12 files changed
Lines changed: 1847 additions & 1766 deletions
File tree
- crates
- vp_cli_snapshots/tests/cli_snapshots/fixtures/command_dlx_bun
- snapshots
- vp_static_config/src
- packages
- cli
- binding
- src/__tests__
- core
- tools
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 | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
| 273 | + | |
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | | - | |
| 322 | + | |
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | | - | |
9 | | - | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
1320 | 1320 | | |
1321 | 1321 | | |
1322 | 1322 | | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
1323 | 1336 | | |
1324 | 1337 | | |
1325 | 1338 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| 309 | + | |
309 | 310 | | |
310 | 311 | | |
311 | 312 | | |
| |||
332 | 333 | | |
333 | 334 | | |
334 | 335 | | |
| 336 | + | |
335 | 337 | | |
336 | 338 | | |
337 | 339 | | |
| |||
610 | 612 | | |
611 | 613 | | |
612 | 614 | | |
| 615 | + | |
613 | 616 | | |
614 | 617 | | |
615 | 618 | | |
| |||
919 | 922 | | |
920 | 923 | | |
921 | 924 | | |
| 925 | + | |
922 | 926 | | |
923 | 927 | | |
924 | 928 | | |
| |||
929 | 933 | | |
930 | 934 | | |
931 | 935 | | |
| 936 | + | |
932 | 937 | | |
933 | 938 | | |
934 | 939 | | |
| |||
1604 | 1609 | | |
1605 | 1610 | | |
1606 | 1611 | | |
| 1612 | + | |
1607 | 1613 | | |
1608 | 1614 | | |
1609 | 1615 | | |
| |||
2180 | 2186 | | |
2181 | 2187 | | |
2182 | 2188 | | |
| 2189 | + | |
2183 | 2190 | | |
2184 | 2191 | | |
2185 | 2192 | | |
| |||
2705 | 2712 | | |
2706 | 2713 | | |
2707 | 2714 | | |
| 2715 | + | |
2708 | 2716 | | |
2709 | 2717 | | |
2710 | 2718 | | |
| |||
3434 | 3442 | | |
3435 | 3443 | | |
3436 | 3444 | | |
| 3445 | + | |
3437 | 3446 | | |
3438 | 3447 | | |
3439 | 3448 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
116 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
117 | 130 | | |
118 | 131 | | |
119 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
227 | | - | |
| 226 | + | |
| 227 | + | |
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
0 commit comments