feat(deps): upgrade upstream dependencies#2214
Conversation
- rolldown: f09947a -> v1.2.0 (03e1e34)
- vite: a477454 -> v8.1.5 (5e7fe12)
- tsdown: 0.22.7 -> 0.22.13
- @tsdown/css: 0.22.7 -> 0.22.13
- @tsdown/exe: 0.22.7 -> 0.22.13
- lightningcss: ^1.32.0 -> ^1.33.0
- oxfmt: 0.58.0 -> 0.60.0
- oxlint: 1.73.0 -> 1.75.0
- oxlint-tsgolint: 0.24.0 -> 7.0.2001
- @oxc-project/runtime: 0.139.0 -> 0.141.0
- @oxc-project/types: 0.139.0 -> 0.141.0
- oxc-minify: 0.139.0 -> 0.141.0
- oxc-parser: 0.139.0 -> 0.141.0
- oxc-transform: 0.139.0 -> 0.141.0
- @vitejs/devtools: 0.4.0 -> 0.4.2
Code changes:
- Cargo.toml: bump oxc crates 0.139.0 -> 0.140.0, oxc_resolver 11.23.0 -> 11.24.2, itertools 0.14 -> 0.15, phf 0.13 -> 0.14, sugar_path 2 -> 3.
- pnpm-workspace.yaml: bump @napi-rs/cli -> ^3.7.3 and rolldown-plugin-dts -> ^0.27.0, add @jridgewell/trace-mapping catalog entry, drop the postcss-modules@9.0.0 override and patch.
- packages/core/build.ts: add ensureAnsisImports helper so the branded tsdown logger imports bold/red after newer rolldown chunking splits them out, and drop redundant @tsdown/css chunks now emitted as their own generated chunk.
- packages/cli/binding/index.d.cts: regenerate NAPI type definitions for the updated rolldown dev-engine binding API (registerClient/notifyPayloadDelivered, BindingLazyChunkOutput, BindingHmrUpdate changes).
- crates/vite_cli_snapshots/tests/cli_snapshots/fixtures/**: update PTY snapshots for the new clap help alias rendering ("list [alias: ls]") and pnpm approve-builds output.
✅ Deploy Preview for viteplus-preview canceled.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Native binary sizes (
|
| Artifact | Format | Base | PR | Change |
|---|---|---|---|---|
vp (Linux x64) |
Binary | 10.32 MiB | 10.31 MiB | -12.01 KiB (-0.11%) |
vp (Linux x64) |
gzip -9 | 4.42 MiB | 4.43 MiB | +7.38 KiB (+0.16%) |
| NAPI (Linux x64) | Binary | 33.46 MiB | 33.06 MiB | -410.44 KiB (-1.20%) |
| NAPI (Linux x64) | gzip -9 | 12.80 MiB | 12.72 MiB | -80.54 KiB (-0.61%) |
vp (macOS ARM64) |
Binary | 7.65 MiB | 7.64 MiB | -16.08 KiB (-0.21%) |
vp (macOS ARM64) |
gzip -9 | 3.83 MiB | 3.84 MiB | +4.22 KiB (+0.11%) |
| NAPI (macOS ARM64) | Binary | 40.73 MiB | 40.50 MiB | -244.05 KiB (-0.59%) |
| NAPI (macOS ARM64) | gzip -9 | 17.03 MiB | 16.97 MiB | -59.57 KiB (-0.34%) |
vp (Windows x64) |
Binary | 8.37 MiB | 8.35 MiB | -14.50 KiB (-0.17%) |
vp (Windows x64) |
gzip -9 | 3.64 MiB | 3.64 MiB | -165 B (-0.00%) |
| NAPI (Windows x64) | Binary | 27.78 MiB | 27.50 MiB | -281.00 KiB (-0.99%) |
| NAPI (Windows x64) | gzip -9 | 10.74 MiB | 10.69 MiB | -49.86 KiB (-0.45%) |
| Trampoline (Windows x64) | Binary | 203.00 KiB | 203.00 KiB | 0 B (0.00%) |
| Trampoline (Windows x64) | gzip -9 | 97.91 KiB | 97.91 KiB | 0 B (0.00%) |
| Installer (Windows x64) | Binary | 4.46 MiB | 4.44 MiB | -15.00 KiB (-0.33%) |
| Installer (Windows x64) | gzip -9 | 2.08 MiB | 2.08 MiB | -1.02 KiB (-0.05%) |
## Summary - disable pnpm and Yarn package-age gates in the create approval-flow fixtures - regenerate snapshots around stable build-script approval behavior - avoid wall-clock failures when pinned upstream dependencies mature Fixes the cross-platform snapshot failures blocking #2217. ## Motivation While preparing v0.2.6 in #2217, the three `create_approve_builds` snapshots failed on Linux, macOS, and Windows. The release branch inherited the dependency upgrade from #2214, including OXC 0.141.0. When #2214 recorded these snapshots, the OXC packages were still inside the package-manager age window. The pnpm snapshots therefore included temporary `minimumReleaseAgeExclude` entries. The Yarn fixture stopped at an OXC quarantine error before it reached the `core-js` build-approval behavior that the fixture was meant to test. By the time release CI ran, the same OXC packages were old enough to install normally. No Vite+ behavior had changed, but pnpm no longer generated the temporary exclusions and Yarn completed installation. The resulting output was correct, but it no longer matched snapshots captured under the earlier registry state. Simply accepting the new snapshots would leave the fixtures dependent on package publication time. A future dependency upgrade could make them fail again while the new package is inside the age window. These fixtures should only test whether `vp create` detects, reports, and approves blocked build scripts. Disabling age gates in the three fixture environments makes that behavior deterministic without changing Vite+ or package-manager defaults for users. The regenerated snapshots now cover pnpm `allowBuilds`, Yarn `dependenciesMeta.built`, and the guidance shown when a build remains unapproved. ## Validation - `pnpm build` - `UPDATE_SNAPSHOTS=1 just snapshot-test create_approve_builds` - `just snapshot-test create_approve_builds`
…2217) Release vite-plus v0.2.6: Stable type-aware linting and a refreshed toolchain. This release moves Vite+'s type-aware linting to the [stable tsgolint 7 engine](https://oxc.rs/blog/2026-07-22-type-aware-linting-stable), refreshes the bundled build and formatting tools, strengthens `vp run` caching and workspace discovery, and removes the redundant `vp build` startup banner. ### Highlights - Move bundled type-aware linting to stable tsgolint 7 with 59 of 61 typescript-eslint type-aware rules, and update Vite `8.1.4` -> `8.1.5`, Rolldown `1.1.5` -> `1.2.0`, tsdown `0.22.7` -> `0.22.13`, Oxlint `1.73.0` -> `1.75.0`, oxlint-tsgolint `0.24.0` -> `7.0.2001`, and Oxfmt `0.58.0` -> `0.60.0` ([#2214](#2214)), by @voidzero-guard[bot] - Improve `vp run` reliability by caching much larger automatically tracked input sets, discovering npm workspaces whose patterns start with `./`, and reporting output-forwarding failures accurately ([vite-task#554](voidzero-dev/vite-task#554), [vite-task#547](voidzero-dev/vite-task#547), [vite-task#552](voidzero-dev/vite-task#552), [#2215](#2215)), by @wan9chi and @liangmiQwQ - Remove the redundant Vite startup banner from `vp build` output and fail fast when upstream Vite changes invalidate Vite+ branding patches ([#2200](#2200), [#2205](#2205)), by @liangmiQwQ ### Refactor - Deduplicate package-manager version gates in migration catalog handling ([#2216](#2216)), by @jong-kyung - Unify static and generated CLI help under one document model and renderer ([#2211](#2211)), by @jong-kyung - Reuse shared subprocess exit-status handling across global CLI command paths ([#2196](#2196)), by @jong-kyung ### Docs - Fix broken documentation anchors and add Migration Rules to the Migrate sidebar ([#2203](#2203)), by @charpeni ### Chore - Stabilize `vp create` build-approval snapshots by removing package-age timing from those fixtures ([#2224](#2224)), by @wan9chi - Remove the temporary release workflow dispatch used for the previous release ([#2193](#2193)), by @wan9chi - Share package-manager fixtures across CLI tests ([#2197](#2197)), by @jong-kyung - Remove stale raw Oxlint and Oxfmt development dependencies that bypassed repository editor configuration ([#2187](#2187)), by @liangmiQwQ ### Bundled Versions | Tool | Version | Source | | --------------- | ------- | ----------------------------------------------------------------------- | | vite | `8.1.5` | [`5e7fe12`](vitejs/vite@5e7fe12) | | rolldown | `1.2.0` | [`03e1e34`](rolldown/rolldown@03e1e34) | | tsdown | `0.22.13` | [npm](https://npmx.dev/package/tsdown/v/0.22.13) | | vitest | `4.1.10` | [npm](https://npmx.dev/package/vitest/v/4.1.10) | | oxlint | `1.75.0` | [npm](https://npmx.dev/package/oxlint/v/1.75.0) | | oxlint-tsgolint | `7.0.2001` | [npm](https://npmx.dev/package/oxlint-tsgolint/v/7.0.2001) | | oxfmt | `0.60.0` | [npm](https://npmx.dev/package/oxfmt/v/0.60.0) | ### Upgrade ```bash vp upgrade ``` ### New Contributors Welcome @charpeni. **Full Changelog**: v0.2.5...v0.2.6 --- Merging this PR will trigger the release workflow. --------- Co-authored-by: voidzero-guard[bot] <278573678+voidzero-guard[bot]@users.noreply.github.com> Co-authored-by: wan9chi <dk4rest@gmail.com>
Summary
v1.2.0and vite tov8.1.5.0.22.13and the oxc toolchain (oxlint1.75.0, oxfmt0.60.0, oxc crates0.141.0/0.140.0, oxc_resolver11.24.2).@tsdown/csschunk cleanup) and regenerates the NAPI binding types for the updated dev-engine API.Dependency updates
rolldownf09947av1.2.0 (03e1e34)vitea477454v8.1.5 (5e7fe12)tsdown0.22.70.22.13@tsdown/css0.22.70.22.13@tsdown/exe0.22.70.22.13lightningcss^1.32.0^1.33.0oxfmt0.58.00.60.0oxlint1.73.01.75.0oxlint-tsgolint0.24.07.0.2001@oxc-project/runtime0.139.00.141.0@oxc-project/types0.139.00.141.0oxc-minify0.139.00.141.0oxc-parser0.139.00.141.0oxc-transform0.139.00.141.0@vitejs/devtools0.4.00.4.2oxc(Rust)0.139.00.140.0oxc_resolver(Rust)11.23.011.24.2itertools(Rust)0.140.15phf(Rust)0.130.14sugar_path(Rust)23@napi-rs/cli^3.7.2^3.7.3rolldown-plugin-dts^0.26.0^0.27.0Unchanged dependencies
vitestand@vitest/*:4.1.10@vitest/browserand browser providers:4.1.10@oxc-node/cli:0.1.0@oxc-node/core:0.1.0VITEST_VERSION constant:4.1.10README vitest pins:4.1.10Code changes
packages/core/build.ts: added anensureAnsisImportshelper so the branded tsdown logger chunk importsbold/redfrom the shared chunk after newer rolldown chunking splits them out, and drop the now-redundant@tsdown/csschunk rolldown emits as its own generated chunk.packages/cli/binding/index.d.cts: regenerated NAPI type definitions for the updated rolldown dev-engine binding API (registerClient/notifyPayloadDelivered,BindingLazyChunkOutput,BindingHmrUpdatechangedIds/seq,BindingRebuildStrategyvariants).pnpm-workspace.yaml: bumped@napi-rs/cliandrolldown-plugin-dts, added the@jridgewell/trace-mappingcatalog entry, and removed thepostcss-modules@9.0.0override and patch.Cargo.toml/Cargo.lock/pnpm-lock.yaml: version bumps and lockfile updates.crates/vite_cli_snapshots/tests/cli_snapshots/fixtures/**: updated PTY snapshots for the new clap help alias rendering (list [alias: ls]) and pnpm approve-builds output.Build status
sync-remote-and-build: failurebuild-upstream: failure