chore(deps): update dependency @vitejs/plugin-react-swc to v3.8.0 #51

Merged
bizcochito merged 1 commits from renovate/vitejs-plugin-react-swc-3.x into main 2025-02-12 09:42:23 +00:00
Owner

This PR contains the following updates:

Package Type Update Change
@vitejs/plugin-react-swc devDependencies minor 3.7.2 -> 3.8.0

Release Notes

vitejs/vite-plugin-react-swc (@​vitejs/plugin-react-swc)

v3.8.0

Compare Source

Add useAtYourOwnRisk_mutateSwcOptions option

The future of Vite is with OXC, and from the beginning this was a design choice to not exposed too many specialties from SWC so that Vite React users can move to another transformer later.
Also debugging why some specific version of decorators with some other unstable/legacy feature doesn't work is not fun, so we won't provide support for it, hence the name useAtYourOwnRisk.

react({
  useAtYourOwnRisk_mutateSwcOptions(options) {
    options.jsc.parser.decorators = true;
    options.jsc.transform.decoratorVersion = "2022-03";
  },
});

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) | devDependencies | minor | [`3.7.2` -> `3.8.0`](https://renovatebot.com/diffs/npm/@vitejs%2fplugin-react-swc/3.7.2/3.8.0) | --- ### Release Notes <details> <summary>vitejs/vite-plugin-react-swc (@&#8203;vitejs/plugin-react-swc)</summary> ### [`v3.8.0`](https://github.com/vitejs/vite-plugin-react-swc/blob/HEAD/CHANGELOG.md#380) [Compare Source](https://github.com/vitejs/vite-plugin-react-swc/compare/v3.7.2...v3.8.0) ##### Add useAtYourOwnRisk_mutateSwcOptions option The future of Vite is with OXC, and from the beginning this was a design choice to not exposed too many specialties from SWC so that Vite React users can move to another transformer later. Also debugging why some specific version of decorators with some other unstable/legacy feature doesn't work is not fun, so we won't provide support for it, hence the name `useAtYourOwnRisk`. ```ts react({ useAtYourOwnRisk_mutateSwcOptions(options) { options.jsc.parser.decorators = true; options.jsc.transform.decoratorVersion = "2022-03"; }, }); ``` </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
bizcochito added 1 commit 2025-02-09 00:02:50 +00:00
bizcochito merged commit e04dbdce01 into main 2025-02-12 09:42:23 +00:00
bizcochito deleted branch renovate/vitejs-plugin-react-swc-3.x 2025-02-12 09:42:23 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: bizcochito/bot-image-moderation-fe#51
No description provided.