Skip to content

feat(deps): upgrade upstream dependencies - #3588

Draft
voidzero-guard[bot] wants to merge 1 commit into
mainfrom
deps/upstream-update
Draft

voidzero-guard[bot] wants to merge 1 commit into
mainfrom
deps/upstream-update

Conversation

@voidzero-guard

Copy link
Copy Markdown
Contributor
  • Upgrade Rolldown to 1.3.4, Vite to 8.4.0, Vitest to 5.1.2, tsdown to 0.23.7, and oxc-node to 1.0.3; refresh lockfiles and generated NAPI bindings.
  • Replace the external yuku-parser dependency with consolidated yuku 0.28.1 and update core bundling, upgrade automation, Renovate configuration, and tests.
  • Sync Rolldown workspace dependency changes, adapt static-config parsing and binding rewriting to upstream APIs, preserve the @typescript/native-preview DTS fallback, and add the optional tsrs peer.
  • Add Vite's --bypass-lock static help entry, update the WebContainer fallback fixture and affected snapshots, and explicitly type the prompts tsdown config.

Dependency updates

Package From To
rolldown 1.2.19 (b9c75dd) v1.3.4 (7b6091d)
vite 8.3.8 (b39e6e6) v8.4.0 (841132e)
oxc-node 1.0.2 (16c0f34) v1.0.3 (9030d29)
vitest 5.1.1 5.1.2
@vitest/browser 5.1.1 5.1.2
@vitest/browser-playwright 5.1.1 5.1.2
@vitest/browser-preview 5.1.1 5.1.2
@vitest/mocker 5.1.1 5.1.2
@vitest/pretty-format 5.1.1 5.1.2
@vitest/snapshot 5.1.1 5.1.2
@vitest/spy 5.1.1 5.1.2
@vitest/utils 5.1.1 5.1.2
tsdown 0.23.4 0.23.7
@tsdown/css 0.23.4 0.23.7
@tsdown/exe 0.23.4 0.23.7
@oxc-node/cli 1.0.2 1.0.3
@oxc-node/core 1.0.2 1.0.3
VITEST_VERSION constant 5.1.1 5.1.2
yuku 0.19.0 0.28.1
postcss ^8.5.32 ^8.5.33
@voidzero-dev/vite-plus-core 8.3.8001 8.4.0
Unchanged dependencies
  • pnpm (installer): 10.34.9
  • lightningcss: ^1.33.0
  • lint-staged: 17.6.2
  • oxfmt: 0.80.0
  • oxlint: 1.95.0
  • @oxlint/plugins: 1.95.0
  • tsrs: 7.1.0-beta.tsrs5
  • @oxc-project/runtime: 0.160.0
  • @oxc-project/types: 0.160.0
  • oxc-parser: 0.160.0
  • Node.js: 24.22.3
  • fsevents: ~2.3.3

Code changes

  • Replace external yuku-parser with consolidated yuku in packages/core/build.ts and packages/core/package.json; teach .github/scripts/upgrade-deps-utils.ts and .github/scripts/upgrade-deps.ts to follow either package name, update .github/renovate.json, and add coverage in .github/scripts/__tests__/upgrade-deps.spec.ts and packages/core/__tests__/build-artifacts.spec.ts.
  • Patch bundled tsdown in packages/core/build.ts to preserve the @typescript/native-preview DTS fallback and its optional peer during package merging; add the optional tsrs peer in packages/core/package.json and update packages/core/__tests__/build-artifacts.spec.ts.
  • Handle pure-annotated Rolldown require calls and WebContainer version resolution in packages/core/build-support/rewrite-rolldown-binding.ts and packages/core/build.ts, with coverage in packages/core/__tests__/rewrite-rolldown-binding.spec.ts; refresh packages/core/__tests__/__snapshots__/build-artifacts.spec.ts.snap.
  • Sync Rolldown workspace dependency changes in Cargo.toml and Cargo.lock, including Oxc 0.160 crates and the inject plugin; use the new computed-property API and add a regression test in crates/vp_static_config/src/lib.rs.
  • Regenerate packages/cli/binding/index.cjs and packages/cli/binding/index.d.cts; add --bypass-lock to packages/cli/src/help.ts and update affected CLI snapshots under crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/.
  • Update the WASM binding mock in crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/rolldown_webcontainer_fallback/verify.mjs and refresh tsdown/Vitest snapshot output.
  • Add an explicit UserConfig annotation in packages/prompts/tsdown.config.ts.
  • Add the upstream devframe patch and napi-windows-process-start-time release-age exclusion in pnpm-workspace.yaml.

Build status

  • upgrade-and-sync: failure
  • build-upstream: failure
  • kimi-fixups: success

🤖 Generated with Kimi Code

- rolldown: b9c75dd -> v1.3.4 (7b6091d)
- vite: b39e6e6 -> v8.4.0 (841132e)
- oxc-node: 16c0f34 -> v1.0.3 (9030d29)
- vitest: 5.1.1 -> 5.1.2
- @vitest/browser: 5.1.1 -> 5.1.2
- @vitest/browser-playwright: 5.1.1 -> 5.1.2
- @vitest/browser-preview: 5.1.1 -> 5.1.2
- @vitest/mocker: 5.1.1 -> 5.1.2
- @vitest/pretty-format: 5.1.1 -> 5.1.2
- @vitest/snapshot: 5.1.1 -> 5.1.2
- @vitest/spy: 5.1.1 -> 5.1.2
- @vitest/utils: 5.1.1 -> 5.1.2
- tsdown: 0.23.4 -> 0.23.7
- @tsdown/css: 0.23.4 -> 0.23.7
- @tsdown/exe: 0.23.4 -> 0.23.7
- @oxc-node/cli: 1.0.2 -> 1.0.3
- @oxc-node/core: 1.0.2 -> 1.0.3
- VITEST_VERSION constant: 5.1.1 -> 5.1.2
- yuku: 0.19.0 -> 0.28.1
- postcss: ^8.5.32 -> ^8.5.33
- @voidzero-dev/vite-plus-core: 8.3.8001 -> 8.4.0

Code changes:
- Migrate the external DTS parser from `yuku-parser` to consolidated `yuku` in `packages/core/build.ts`, `packages/core/package.json`, `.github/scripts/upgrade-deps-utils.ts`, `.github/scripts/upgrade-deps.ts`, `.github/renovate.json`, and related tests.
- Preserve the `@typescript/native-preview` DTS fallback and optional peer metadata in `packages/core/build.ts`; add the optional `tsrs` peer in `packages/core/package.json`.
- Handle pure-annotated Rolldown require calls in `packages/core/build-support/rewrite-rolldown-binding.ts` and `packages/core/build.ts`.
- Sync Rolldown workspace dependencies in `Cargo.toml` and `Cargo.lock`; adapt the computed-property check in `crates/vp_static_config/src/lib.rs`.
- Add Vite's `--bypass-lock` option to `packages/cli/src/help.ts` and refresh affected snapshots under `crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/`.
- Regenerate `packages/cli/binding/index.cjs` and `packages/cli/binding/index.d.cts`; add an explicit config type in `packages/prompts/tsdown.config.ts`.
- Sync the upstream patch and release-age exclusion in `pnpm-workspace.yaml`.

Co-Authored-By: Kimi Code <noreply@anthropic.com>
@voidzero-guard

Copy link
Copy Markdown
Contributor Author

⚠️ Upstream CLI help changes detected

Compared normalized --help output for the upstream CLIs mirrored by Vite+.

⚠️ Vite: CLI help changed (8.3.8 → 8.4.0)
--- vite@8.3.8
+++ vite@8.4.0
@@ -28,11 +28,12 @@ Options:
   --base <path>            [string] public base path (default: /)
   -l, --logLevel <level>   [string] info | warn | error | silent
   --clearScreen            [boolean] allow/disable clear screen when logging
-  --configLoader <loader>  [string] use 'bundle' to bundle the config with Rolldown, or 'runner' (experimental) to process it on the fly, or 'native' (experimental) to load using the native runtime (default: bundle)
+  --configLoader <loader>  [string] use 'bundle' to bundle the config with Rolldown, or 'native' to load using the native runtime (default: bundle)
   --profile [name]         [boolean | string] start built-in Node.js inspector
   -d, --debug [feat]       [string | boolean] show debug logs
   -f, --filter <filter>    [string] filter debug logs
   -m, --mode <mode>        [string] set env mode
+  --bypass-lock            [boolean] disable process locks
   -h, --help               Display this message
   -v, --version            Display version number
 
@@ -59,11 +60,12 @@ Options:
   --base <path>                 [string] public base path (default: /)
   -l, --logLevel <level>        [string] info | warn | error | silent
   --clearScreen                 [boolean] allow/disable clear screen when logging
-  --configLoader <loader>       [string] use 'bundle' to bundle the config with Rolldown, or 'runner' (experimental) to process it on the fly, or 'native' (experimental) to load using the native runtime (default: bundle)
+  --configLoader <loader>       [string] use 'bundle' to bundle the config with Rolldown, or 'native' to load using the native runtime (default: bundle)
   --profile [name]              [boolean | string] start built-in Node.js inspector
   -d, --debug [feat]            [string | boolean] show debug logs
   -f, --filter <filter>         [string] filter debug logs
   -m, --mode <mode>             [string] set env mode
+  --bypass-lock                 [boolean] disable process locks
   -h, --help                    Display this message
 
 $ vite preview --help
@@ -82,9 +84,10 @@ Options:
   --base <path>            [string] public base path (default: /)
   -l, --logLevel <level>   [string] info | warn | error | silent
   --clearScreen            [boolean] allow/disable clear screen when logging
-  --configLoader <loader>  [string] use 'bundle' to bundle the config with Rolldown, or 'runner' (experimental) to process it on the fly, or 'native' (experimental) to load using the native runtime (default: bundle)
+  --configLoader <loader>  [string] use 'bundle' to bundle the config with Rolldown, or 'native' to load using the native runtime (default: bundle)
   --profile [name]         [boolean | string] start built-in Node.js inspector
   -d, --debug [feat]       [string | boolean] show debug logs
   -f, --filter <filter>    [string] filter debug logs
   -m, --mode <mode>        [string] set env mode
+  --bypass-lock            [boolean] disable process locks
   -h, --help               Display this message
✅ Vitest: no CLI help changes (5.1.1 → 5.1.2)

The version was updated, but the normalized CLI help output has no differences.

➖ Oxlint: no version update (1.95.0)

No version update was detected, so there is no CLI help diff.

➖ Oxfmt: no version update (0.80.0)

No version update was detected, so there is no CLI help diff.

✅ tsdown: no CLI help changes (0.23.4 → 0.23.7)

The version was updated, but the normalized CLI help output has no differences.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://deps-upstream-update-viteplus-dev.voidzero-docs.workers.dev (commit 279be2d)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://fc5b012f-viteplus-dev.voidzero-docs.workers.dev 279be2d 2026-11-27T01:27:35.875Z Visit the dashboard ↗

@github-actions

Copy link
Copy Markdown
Contributor

✅ Staging deployment successful!

Preview: https://viteplus-staging.void.app/
Commit: 279be2d

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​playwright-chromium@​1.65.0 ⏵ 1.65.1901006699100
Updatedcargo/​nix@​0.31.3 ⏵ 0.31.4791009310070
Updatedcargo/​pgp@​0.21.0 ⏵ 0.21.110010010010070
Updatednpm/​@​vitejs/​devtools@​0.8.2 ⏵ 0.8.398 +110072 +197 +1100
Addednpm/​@​vitest/​spy@​5.1.21001007398100
Addednpm/​@​rolldown/​notify@​0.2.0731008595100
Updatednpm/​@​tsdown/​exe@​0.23.4 ⏵ 0.23.797 +91007398 +1100
Addednpm/​@​vitest/​pretty-format@​5.1.21001007398100
Addednpm/​@​vitest/​utils@​5.1.21001007598100
Addednpm/​@​vitest/​mocker@​5.1.21001007598100
Updatednpm/​@​oxc-node/​core@​1.0.2 ⏵ 1.0.39510077 +195100
Addednpm/​@​vitest/​browser@​5.1.2991007898100
Addednpm/​vitest@​5.1.2981007998100
Updatednpm/​@​tsdown/​css@​0.23.4 ⏵ 0.23.7100 +110080 +198 +1100
Updatedcargo/​anyhow@​1.0.104 ⏵ 1.0.1058110093100100
Updatedcargo/​napi@​3.14.2 ⏵ 3.16.38110093100100
Addednpm/​@​vitest/​browser-preview@​5.1.21001008498100
Addednpm/​@​vitest/​browser-playwright@​5.1.2991008698100
Updatednpm/​rollup-plugin-license@​3.7.1 ⏵ 3.7.299 +110010088 +7100
Updatednpm/​tsdown@​0.23.4 ⏵ 0.23.798 +110088 +197 +1100
Updatedcargo/​webpki-root-certs@​1.0.10 ⏵ 1.0.121001009310090
Updatednpm/​yuku@​0.25.0 ⏵ 0.28.1100 +310092 -795 +1100
Updatednpm/​postcss-modules@​9.0.1 ⏵ 9.1.498100100 +192 +1100
Updatedcargo/​ast-grep-config@​0.51.0 ⏵ 0.51.310010093100100
Updatedcargo/​ast-grep-core@​0.51.0 ⏵ 0.51.310010093100100
Updatedcargo/​ast-grep-language@​0.51.0 ⏵ 0.51.310010093100100
Updatedcargo/​bstr@​1.13.1 ⏵ 1.14.09810093100100
Updatedcargo/​clap@​4.6.7 ⏵ 4.6.109910093100100
Updatedcargo/​clap_complete@​4.6.11 ⏵ 4.6.129710093100100
Updatedcargo/​ctrlc@​3.5.2 ⏵ 3.5.310010093100100
Updatedcargo/​flate2@​1.1.10 ⏵ 1.1.1110010093100100
Updatedcargo/​ignore@​0.4.33 ⏵ 0.4.359810093100100
See 19 more rows in the dashboard

View full report

@github-actions

Copy link
Copy Markdown
Contributor

CLI artifact sizes (279be2d)

Final release artifacts built by the canonical build-upstream and build-windows-cli actions.
The dist rows use the Linux build. The core total excludes .node files to match the release artifact.

Artifact Format Base PR Change
packages/cli/dist Directory total 2.40 MiB 2.40 MiB +742 B (+0.03%)
packages/core/dist Directory total 4.11 MiB 4.21 MiB +102.48 KiB (+2.43%)
Combined package dist Directory total 6.51 MiB 6.61 MiB +103.20 KiB (+1.55%)
vp (Linux x64) Binary 9.11 MiB 9.31 MiB +199.98 KiB (+2.14%)
vp (Linux x64) gzip -9 4.18 MiB 4.25 MiB +79.67 KiB (+1.86%)
NAPI (Linux x64) Binary 37.34 MiB 38.84 MiB +1.50 MiB (+4.02%)
NAPI (Linux x64) gzip -9 14.93 MiB 15.56 MiB +641.73 KiB (+4.20%)
vp (macOS ARM64) Binary 5.99 MiB 6.12 MiB +130.50 KiB (+2.13%)
vp (macOS ARM64) gzip -9 3.57 MiB 3.65 MiB +78.39 KiB (+2.14%)
NAPI (macOS ARM64) Binary 43.86 MiB 44.92 MiB +1.06 MiB (+2.41%)
NAPI (macOS ARM64) gzip -9 19.06 MiB 19.66 MiB +619.53 KiB (+3.17%)
vp (Windows x64) Binary 7.11 MiB 7.27 MiB +164.50 KiB (+2.26%)
vp (Windows x64) gzip -9 3.26 MiB 3.32 MiB +65.19 KiB (+1.95%)
NAPI (Windows x64) Binary 33.28 MiB 34.73 MiB +1.45 MiB (+4.36%)
NAPI (Windows x64) gzip -9 13.65 MiB 14.28 MiB +637.91 KiB (+4.56%)
Trampoline (Windows x64) Binary 13.50 KiB 13.50 KiB 0 B (0.00%)
Trampoline (Windows x64) gzip -9 7.09 KiB 7.09 KiB 0 B (0.00%)
Installer (Windows x64) Binary 4.69 MiB 4.78 MiB +89.00 KiB (+1.85%)
Installer (Windows x64) gzip -9 2.25 MiB 2.29 MiB +45.49 KiB (+1.98%)

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants