Skip to content

Bump dependencies - #20381

Merged
RobinMalfait merged 16 commits into
mainfrom
chore/bump-dependencies
Aug 4, 2026
Merged

Bump dependencies#20381
RobinMalfait merged 16 commits into
mainfrom
chore/bump-dependencies

Conversation

@RobinMalfait

Copy link
Copy Markdown
Member

This PR bumps dependencies and dev dependencies and applies required changes due to version bumps.

  • Moved @parcel/watcher related dependencies to the pnpm-workflow.yaml catalog
  • Bumped Lightning CSS + updated tests with improvements
  • Bumped napi related dependencies
  • Tackled a Vitest warning

Test plan

All tests should still pass on all platforms [ci-all]

```
pnpm dlx @turbo/codemod@latest update
```
- Handles unknown at-rules correctly now
- Keeps significant whitespace between at-rules
- Optimizes `light-dark(red, red);` to just `red`
- Improves handling `calc(infinity * 1px)`
  ```diff
  - border-radius: 3.40282e38px;
  + border-radius: 2147483647px;
  ```
```
(!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
  - ESM syntax in a file loaded as CommonJS (vitest.config.ts:1:1). Use a `.mjs` extension or set `"type": "module"` in the closest package.json
Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
```

Since we're dealing with TypeScript here, and would like to keep it that
way, these files are renamed to `mts` which is the TypeScript equivalent
of `mjs`.
@RobinMalfait
RobinMalfait requested a review from a team as a code owner August 4, 2026 10:30
@greptile-apps

greptile-apps Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains; the WASI package now declares the Node versions required by its upgraded runtime dependency.

Reviews (5): Last reviewed commit: "try using macOS 15" | Re-trigger Greptile

Comment thread crates/node/npm/wasm32-wasi/package.json
@coderabbitai

coderabbitai Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

This change refreshes Rust, Node, workspace, and package dependency versions. It updates native package loading for platform and libc selection. It adds Vitest project configurations and test discovery rules. It updates snapshots for CSS compilation, utility migration, theme resolution, path formatting, and border-radius output. It also updates the Turborepo schema reference and ignores a generated WASI declaration file.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title accurately summarizes the primary dependency updates in the pull request.
Description check ✅ Passed The description relates directly to the dependency updates, platform changes, test updates, and Vitest warning fix.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
vitest.config.mts (1)

6-6: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick win

Preserve Vitest defaults in all three configurations.

Each custom exclude array replaces Vitest's default exclusions. Use configDefaults.exclude as the base, then append the project-specific patterns. (v4.vitest.dev)

  • vitest.config.mts#L6-L6: preserve defaults, then add the spec-file and integration patterns.
  • packages/@tailwindcss-browser/vitest.config.mts#L5-L5: preserve defaults, then add the spec-file pattern.
  • packages/tailwindcss/vitest.config.mts#L10-L10: preserve defaults, then add the spec-file and integration patterns.
Proposed fix
-import { defineConfig } from 'vitest/config'
+import { configDefaults, defineConfig } from 'vitest/config'

-    exclude: ['**/*.spec.?(c|m)[jt]s?(x)', 'integrations/**/*'],
+    exclude: [...configDefaults.exclude, '**/*.spec.?(c|m)[jt]s?(x)', 'integrations/**/*'],

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: a9978531-4ee7-4826-aa10-a25a5a8636db

📥 Commits

Reviewing files that changed from the base of the PR and between 50daebd and adeaee1.

⛔ Files ignored due to path filters (2)
  • Cargo.lock is excluded by !**/*.lock
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (24)
  • crates/node/.gitignore
  • crates/node/Cargo.toml
  • crates/node/npm/wasm32-wasi/package.json
  • crates/node/package.json
  • integrations/vitest.config.mts
  • package.json
  • packages/@tailwindcss-browser/package.json
  • packages/@tailwindcss-browser/vitest.config.mts
  • packages/@tailwindcss-cli/package.json
  • packages/@tailwindcss-node/package.json
  • packages/@tailwindcss-postcss/src/postcss-fix-relative-paths/index.test.ts
  • packages/@tailwindcss-standalone/package.json
  • packages/@tailwindcss-upgrade/package.json
  • packages/@tailwindcss-upgrade/src/codemods/css/migrate-at-layer-utilities.test.ts
  • packages/tailwindcss/package.json
  • packages/tailwindcss/src/compat/config.test.ts
  • packages/tailwindcss/src/index.test.ts
  • packages/tailwindcss/src/utilities.test.ts
  • packages/tailwindcss/vitest.config.mts
  • patches/@parcel__watcher@2.6.0.patch
  • patches/lightningcss@1.33.0.patch
  • pnpm-workspace.yaml
  • turbo.json
  • vitest.config.mts

Comment thread pnpm-workspace.yaml
This is still a version bump compared to what we had, but @napi-rs/cli
from version 3.8.x, starts relying on `@emnapi/runtime@2.0.0-alpha.3`
versions.
This is required because of our patches. If newer versions match, then
the patches might not be compatible.
This is now aligned with napi ranges, aligned with Lightning CSS, and
more importantly aligned with supported Node.js versions.

Node 14 was last updated in 2023 and contains critical vulnerabilities.

More info: https://nodejs.org/en/about/eol#eol-versions
We can safely drop this since the bumped Lightning CSS version includes
this fix.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renames to fix Vitest warnings

Comment on lines -71 to -77
// Ignore warnings about unknown at-rules.
//
// TODO: drop `@position-try` once https://github.com/parcel-bundler/lightningcss/pull/1238 lands
if (/Unknown at rule: @position-try/.test(warning.message)) {
return false
}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lightning CSS doesn't warn on unknown at-rules anymore, so we can drop this.

"
:root, :host {
--color-what: light-dark(red, red);
--color-what: red;

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes are introduced by improvements in Lightning CSS

}
`

// TODO: once Lightning CSS properly supports it, then we can drop this section:

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More cleanup because of Lightning CSS improvements

Comment thread turbo.json
@@ -1,5 +1,5 @@
{
"$schema": "https://turbo.build/schema.json",
"$schema": "https://v2-10-8.turborepo.dev/schema.json",

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The turbo codemod updated this to pin the schema

@RobinMalfait
RobinMalfait merged commit 05c3a87 into main Aug 4, 2026
24 checks passed
@RobinMalfait
RobinMalfait deleted the chore/bump-dependencies branch August 4, 2026 11:55
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.

1 participant