Skip to content

Commit

Permalink
chore(deps): update dependency @vitejs/plugin-react to ^4.3.1 (#2707)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@vitejs/plugin-react](https://togithub.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#readme)
([source](https://togithub.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react))
| [`^4.3.0` ->
`^4.3.1`](https://renovatebot.com/diffs/npm/@vitejs%2fplugin-react/4.3.0/4.3.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitejs%2fplugin-react/4.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitejs%2fplugin-react/4.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitejs%2fplugin-react/4.3.0/4.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitejs%2fplugin-react/4.3.0/4.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitejs/vite-plugin-react
(@&#8203;vitejs/plugin-react)</summary>

###
[`v4.3.1`](https://togithub.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#431-2024-06-10)

[Compare
Source](https://togithub.com/vitejs/vite-plugin-react/compare/v4.3.0...v4.3.1)

##### Fix support for React Compiler with React 18

The previous version made this assumption that the compiler was only
usable with React 19, but it's possible to use it with React 18 and a
custom `runtimeModule`:
https://gist.github.com/poteto/37c076bf112a07ba39d0e5f0645fec43

When using a custom `runtimeModule`, the plugin will not try to
pre-optimize `react/compiler-runtime` dependency.

Reminder: Vite expect code outside of `node_modules` to be ESM, so you
will need to update the gist with `import React from 'react'`.

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/fwouts/previewjs).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Jun 15, 2024
1 parent 183f24f commit 9358496
Show file tree
Hide file tree
Showing 4 changed files with 250 additions and 876 deletions.
2 changes: 1 addition & 1 deletion analyzer/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@previewjs/storybook-helpers": "^5.0.8",
"@previewjs/type-analyzer": "^10.1.3",
"@previewjs/vfs": "^2.1.2",
"@vitejs/plugin-react": "^4.3.0",
"@vitejs/plugin-react": "^4.3.1",
"typescript": "^5.4.5"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion framework-plugins/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"dependencies": {
"@previewjs/analyzer-react": "^0.1.8",
"@vitejs/plugin-react": "^4.3.0"
"@vitejs/plugin-react": "^4.3.1"
},
"devDependencies": {
"@playwright/test": "^1.43.1",
Expand Down
Loading

0 comments on commit 9358496

Please sign in to comment.