Skip to content

Commit 5bd627d

Browse files
feat(deps): upgrade upstream dependencies (#1435)
## Summary - Automated daily upgrade of upstream dependencies. - Bumps vite to v8.0.9, vitest to 4.1.5, and the oxc toolchain (oxfmt 0.46.0, oxlint 1.61.0, `@oxc-project/*` and `oxc-*` 0.127.0). - Re-points the `dotenv-expand` patch from 12.0.3 to 13.0.0 to match the new vite dependency graph. - Refreshes CLI help snapshots to capture new oxfmt/vite/vitest options exposed by the upgrades. ## Dependency updates | Package | From | To | | --- | --- | --- | | `vite` | `6e585dc` | `v8.0.9 (ce729f5)` | | `vitest` | `4.1.4` | `4.1.5` | | `oxfmt` | `0.45.0` | `0.46.0` | | `oxlint` | `1.60.0` | `1.61.0` | | `@oxc-project/runtime` | `0.126.0` | `0.127.0` | | `@oxc-project/types` | `0.126.0` | `0.127.0` | | `oxc-minify` | `0.126.0` | `0.127.0` | | `oxc-parser` | `0.126.0` | `0.127.0` | | `oxc-transform` | `0.126.0` | `0.127.0` | <details><summary>Unchanged dependencies</summary> - `rolldown`: `v1.0.0-rc.16 (edec4fa)` - `tsdown`: `0.21.9` - `@oxc-node/cli`: `0.1.0` - `@oxc-node/core`: `0.1.0` - `oxlint-tsgolint`: `0.21.1` - `@vitejs/devtools`: `0.1.14` </details> ## Code changes - Re-point the `dotenv-expand` patched dependency from `12.0.3` to `13.0.0` in `pnpm-workspace.yaml`. - Update `packages/cli/snap-tests/bin-oxfmt-wrapper/snap.txt` for the new oxfmt `--disable-nested-config` flag. - Update `packages/cli/snap-tests/command-helper/snap.txt` for the oxfmt `--disable-nested-config` flag, vite's new `oxc` minifier default, and vitest's new `minimal` reporter. ## Build status - `sync-remote-and-build`: success - `build-upstream`: success <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > Primarily dependency bumps (Vite/Vitest/OXC toolchain) plus regenerated CLI help snapshots; risk is moderate due to potential behavior changes in build/test tooling despite no core logic changes. > > **Overview** > **Upgrades upstream toolchain dependencies** across the workspace: Vite to `8.0.9`, Vitest to `4.1.5`, and the OXC toolchain (`@oxc-project/*`, `oxc-*`, `oxfmt`, `oxlint`) to `0.127.0` / `0.46.0` / `1.61.0`, with corresponding `package.json` bundled version bumps and a large `pnpm-lock.yaml` refresh. > > **Aligns patching and CLI expectations** by repointing the patched `dotenv-expand` version (to match Vite’s updated graph) and regenerating CLI help snapshots to capture new flags/options like `oxfmt --disable-nested-config`, Vite’s `--minify oxc` default, and Vitest’s `minimal` reporter. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 416e604. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent fc96932 commit 5bd627d

7 files changed

Lines changed: 905 additions & 671 deletions

File tree

packages/cli/snap-tests/bin-oxfmt-wrapper/snap.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Output Options:
2424
Config Options
2525
-c, --config=PATH Path to the configuration file (.json, .jsonc, .ts, .mts, .cts, .js,
2626
.mjs, .cjs)
27+
--disable-nested-config Do not search for configuration files in subdirectories
2728

2829
Ignore Options
2930
--ignore-path=PATH Path to ignore file(s). Can be specified multiple times. If not
@@ -64,6 +65,7 @@ Output Options:
6465
Config Options
6566
-c, --config=PATH Path to the configuration file (.json, .jsonc, .ts, .mts, .cts, .js,
6667
.mjs, .cjs)
68+
--disable-nested-config Do not search for configuration files in subdirectories
6769

6870
Ignore Options
6971
--ignore-path=PATH Path to ignore file(s). Can be specified multiple times. If not

packages/cli/snap-tests/command-helper/snap.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ Output Options:
9595
Config Options
9696
-c, --config=PATH Path to the configuration file (.json, .jsonc, .ts, .mts, .cts, .js,
9797
.mjs, .cjs)
98+
--disable-nested-config Do not search for configuration files in subdirectories
9899

99100
Ignore Options
100101
--ignore-path=PATH Path to ignore file(s). Can be specified multiple times. If not
@@ -234,7 +235,7 @@ Options:
234235
--assetsInlineLimit <number> [number] static asset base64 inline threshold in bytes (default: 4096)
235236
--ssr [entry] [string] build specified entry for server-side rendering
236237
--sourcemap [output] [boolean | "inline" | "hidden"] output source maps for build (default: false)
237-
--minify [minifier] [boolean | "terser" | "esbuild"] enable/disable minification, or specify minifier to use (default: esbuild)
238+
--minify [minifier] [boolean | "oxc" | "terser" | "esbuild"] enable/disable minification, or specify minifier to use (default: oxc)
238239
--manifest [name] [boolean | string] emit build manifest json
239240
--ssrManifest [name] [boolean | string] emit ssr manifest json
240241
--emptyOutDir [boolean] force empty outDir when it's outside of root
@@ -293,7 +294,7 @@ Options:
293294
--api [port] Specify server port. Note if the port is already being used, Vite will automatically try the next available port so this may not be the actual port the server ends up listening on. If true will be set to 51204. Use '--help --api' for more info.
294295
--silent [value] Silent console output from tests. Use 'passed-only' to see logs from failing tests only.
295296
--hideSkippedTests Hide logs for skipped tests
296-
--reporter <name> Specify reporters (default, agent, blob, verbose, dot, json, tap, tap-flat, junit, tree, hanging-process, github-actions)
297+
--reporter <name> Specify reporters (default, agent, minimal, blob, verbose, dot, json, tap, tap-flat, junit, tree, hanging-process, github-actions)
297298
--outputFile <filename/-s> Write test results to a file when supporter reporter is also specified, use cac's dot notation for individual outputs of multiple reporters (example: --outputFile.tap=./tap.txt)
298299
--coverage Enable coverage report. Use '--help --coverage' for more info.
299300
--mode <name> Override Vite mode (default: test or benchmark)

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217
"node": "^20.19.0 || >=22.12.0"
218218
},
219219
"bundledVersions": {
220-
"vite": "8.0.8",
220+
"vite": "8.0.9",
221221
"rolldown": "1.0.0-rc.16",
222222
"tsdown": "0.21.9"
223223
}

packages/test/package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -293,17 +293,17 @@
293293
"@blazediff/core": "1.9.1",
294294
"@oxc-node/cli": "catalog:",
295295
"@oxc-node/core": "catalog:",
296-
"@vitest/browser": "4.1.4",
297-
"@vitest/browser-playwright": "4.1.4",
298-
"@vitest/browser-preview": "4.1.4",
299-
"@vitest/browser-webdriverio": "4.1.4",
300-
"@vitest/expect": "4.1.4",
301-
"@vitest/mocker": "4.1.4",
302-
"@vitest/pretty-format": "4.1.4",
303-
"@vitest/runner": "4.1.4",
304-
"@vitest/snapshot": "4.1.4",
305-
"@vitest/spy": "4.1.4",
306-
"@vitest/utils": "4.1.4",
296+
"@vitest/browser": "4.1.5",
297+
"@vitest/browser-playwright": "4.1.5",
298+
"@vitest/browser-preview": "4.1.5",
299+
"@vitest/browser-webdriverio": "4.1.5",
300+
"@vitest/expect": "4.1.5",
301+
"@vitest/mocker": "4.1.5",
302+
"@vitest/pretty-format": "4.1.5",
303+
"@vitest/runner": "4.1.5",
304+
"@vitest/snapshot": "4.1.5",
305+
"@vitest/spy": "4.1.5",
306+
"@vitest/utils": "4.1.5",
307307
"chai": "^6.2.1",
308308
"convert-source-map": "^2.0.0",
309309
"estree-walker": "^3.0.3",
@@ -316,16 +316,16 @@
316316
"rolldown": "workspace:*",
317317
"rolldown-plugin-dts": "catalog:",
318318
"tinyrainbow": "^3.1.0",
319-
"vitest-dev": "^4.1.4",
319+
"vitest-dev": "^4.1.5",
320320
"why-is-node-running": "^2.3.0"
321321
},
322322
"peerDependencies": {
323323
"@edge-runtime/vm": "*",
324324
"@opentelemetry/api": "^1.9.0",
325325
"@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0",
326-
"@vitest/coverage-istanbul": "4.1.4",
327-
"@vitest/coverage-v8": "4.1.4",
328-
"@vitest/ui": "4.1.4",
326+
"@vitest/coverage-istanbul": "4.1.5",
327+
"@vitest/coverage-v8": "4.1.5",
328+
"@vitest/ui": "4.1.5",
329329
"happy-dom": "*",
330330
"jsdom": "*",
331331
"vite": "^6.0.0 || ^7.0.0 || ^8.0.0"
@@ -363,6 +363,6 @@
363363
"node": "^20.0.0 || ^22.0.0 || >=24.0.0"
364364
},
365365
"bundledVersions": {
366-
"vitest": "4.1.4"
366+
"vitest": "4.1.5"
367367
}
368368
}

packages/tools/.upstream-versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
"vite": {
88
"repo": "https://github.com/vitejs/vite.git",
99
"branch": "main",
10-
"hash": "6e585dcb05a3b159fba7ae57f7faf0b1eca7a390"
10+
"hash": "ce729f5fa1a5adca373b2adcb0e1b18099164a14"
1111
}
1212
}

0 commit comments

Comments
 (0)