Skip to content

chore(deps-dev): bump @vitejs/plugin-react-swc from 4.1.0 to 4.2.0 in the vite-minors group across 1 directory#75

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/vite-minors-5bc19303f1
Closed

chore(deps-dev): bump @vitejs/plugin-react-swc from 4.1.0 to 4.2.0 in the vite-minors group across 1 directory#75
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/vite-minors-5bc19303f1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 30, 2025

Bumps the vite-minors group with 1 update in the / directory: @vitejs/plugin-react-swc.

Updates @vitejs/plugin-react-swc from 4.1.0 to 4.2.0

Release notes

Sourced from @​vitejs/plugin-react-swc's releases.

plugin-react@4.2.0

Update peer dependency range to target Vite 5

There were no breaking change that impacted this plugin, so any combination of React plugins and Vite core version will work.

Align jsx runtime for optimized dependencies

This will only affect people using internal libraries that contains untranspiled JSX. This change aligns the optimizer with the source code and avoid issues when the published source don't have React in the scope.

Reminder: While being partially supported in Vite, publishing TS & JSX outside of internal libraries is highly discouraged.

plugin-react-swc@4.2.0

Add @vitejs/plugin-react-swc/preamble virtual module for SSR HMR (#890)

SSR applications can now initialize HMR runtime by importing @vitejs/plugin-react-swc/preamble at the top of their client entry instead of manually calling transformIndexHtml. This simplifies SSR setup for applications that don't use the transformIndexHtml API.

Use SWC when useAtYourOwnRisk_mutateSwcOptions is provided (#951)

Previously, this plugin did not use SWC if plugins were not provided even if useAtYourOwnRisk_mutateSwcOptions was provided. This is now fixed.

plugin-react@4.1.1

  • Enable retainLines to get correct line numbers for jsxDev (fix #235)
Changelog

Sourced from @​vitejs/plugin-react-swc's changelog.

4.2.0 (2025-10-24)

Add @vitejs/plugin-react-swc/preamble virtual module for SSR HMR (#890)

SSR applications can now initialize HMR runtime by importing @vitejs/plugin-react-swc/preamble at the top of their client entry instead of manually calling transformIndexHtml. This simplifies SSR setup for applications that don't use the transformIndexHtml API.

Use SWC when useAtYourOwnRisk_mutateSwcOptions is provided (#951)

Previously, this plugin did not use SWC if plugins were not provided even if useAtYourOwnRisk_mutateSwcOptions was provided. This is now fixed.

Commits
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for @​vitejs/plugin-react-swc since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot added the deps Updates to project dependencies (auto-tagged by Dependabot). label Oct 30, 2025
@netlify
Copy link

netlify bot commented Oct 30, 2025

Deploy Preview for app-sameboat ready!

Name Link
🔨 Latest commit 953c022
🔍 Latest deploy log https://app.netlify.com/projects/app-sameboat/deploys/6904573782846600086022fe
😎 Deploy Preview https://deploy-preview-75--app-sameboat.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vite-minors-5bc19303f1 branch from 55d1081 to 9289dcd Compare October 30, 2025 05:33
Bumps the vite-minors group with 1 update in the / directory: [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react-swc).


Updates `@vitejs/plugin-react-swc` from 4.1.0 to 4.2.0
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/v4.2.0/packages/plugin-react-swc)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react-swc"
  dependency-version: 4.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: vite-minors
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vite-minors-5bc19303f1 branch from 9289dcd to 953c022 Compare October 31, 2025 06:29
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 6, 2025

Looks like @vitejs/plugin-react-swc is updatable in another way, so this is no longer needed.

@dependabot dependabot bot closed this Nov 6, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/vite-minors-5bc19303f1 branch November 6, 2025 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deps Updates to project dependencies (auto-tagged by Dependabot).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants