From 2c095f2b196cf73b6f2abb7255987849608c41dc Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 15 Nov 2023 04:50:12 +0000
Subject: [PATCH] fix(deps): update dependency @vitejs/plugin-react to v4.1.1
(#9456)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend Renovate logo
banner](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)) | [`4.0.4` ->
`4.1.1`](https://renovatebot.com/diffs/npm/@vitejs%2fplugin-react/4.0.4/4.1.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitejs%2fplugin-react/4.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitejs%2fplugin-react/4.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitejs%2fplugin-react/4.0.4/4.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitejs%2fplugin-react/4.0.4/4.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
vitejs/vite-plugin-react
(@vitejs/plugin-react)
###
[`v4.1.1`](https://togithub.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#411-2023-11-02)
[Compare
Source](https://togithub.com/vitejs/vite-plugin-react/compare/v4.1.0...v4.1.1)
- Enable retainLines to get correct line numbers for jsxDev (fix
[#235](https://togithub.com/vitejs/vite-plugin-react/issues/235))
###
[`v4.1.0`](https://togithub.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#410-2023-09-24)
[Compare
Source](https://togithub.com/vitejs/vite-plugin-react/compare/v4.0.4...v4.1.0)
- Add `@types/babel__cores` to dependencies (fix
[#211](https://togithub.com/vitejs/vite-plugin-react/issues/211))
- Improve build perf when not using Babel plugins by lazy loading
`@babel/core`
[#212](https://togithub.com/vitejs/vite-plugin-react/pull/212)
- Better invalidation message when an export is added & fix HMR for
export of nullish values
[#215](https://togithub.com/vitejs/vite-plugin-react/pull/215)
- Include non-dev jsx runtime in optimizeDeps & support HMR for JS files
using the non dev runtime
[#224](https://togithub.com/vitejs/vite-plugin-react/pull/224)
- The build output now contains a `index.d.cts` file so you don't get
types errors when setting `moduleResolution` to `node16` or `nodenext`
in your tsconfig (we recommend using `bundler` which is more close to
how Vite works)
---
### 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.
---
- [ ] 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/redwoodjs/redwood).
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dominic Saadi
---
packages/studio/package.json | 2 +-
packages/vite/package.json | 2 +-
yarn.lock | 32 +++++++++++++++++++++++---------
3 files changed, 25 insertions(+), 11 deletions(-)
diff --git a/packages/studio/package.json b/packages/studio/package.json
index 66422abab11d..148a7daad769 100644
--- a/packages/studio/package.json
+++ b/packages/studio/package.json
@@ -78,7 +78,7 @@
"@types/split2": "4.2.0",
"@types/uuid": "9.0.2",
"@types/yargs": "17.0.24",
- "@vitejs/plugin-react": "4.0.4",
+ "@vitejs/plugin-react": "4.1.1",
"autoprefixer": "10.4.14",
"aws-lambda": "1.0.7",
"buffer": "6.0.3",
diff --git a/packages/vite/package.json b/packages/vite/package.json
index edfd9b39fe50..086daaeb86f6 100644
--- a/packages/vite/package.json
+++ b/packages/vite/package.json
@@ -68,7 +68,7 @@
"@redwoodjs/project-config": "6.0.7",
"@redwoodjs/web": "6.0.7",
"@swc/core": "1.3.60",
- "@vitejs/plugin-react": "4.0.4",
+ "@vitejs/plugin-react": "4.1.1",
"@whatwg-node/server": "0.9.14",
"acorn-loose": "8.3.0",
"buffer": "6.0.3",
diff --git a/yarn.lock b/yarn.lock
index 4e60fc7653ed..7ee9a25d64dd 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -415,7 +415,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/core@npm:^7.11.1, @babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.12.9, @babel/core@npm:^7.13.16, @babel/core@npm:^7.14.0, @babel/core@npm:^7.21.3, @babel/core@npm:^7.22.0, @babel/core@npm:^7.22.20, @babel/core@npm:^7.22.9, @babel/core@npm:^7.7.5":
+"@babel/core@npm:^7.11.1, @babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.12.9, @babel/core@npm:^7.13.16, @babel/core@npm:^7.14.0, @babel/core@npm:^7.21.3, @babel/core@npm:^7.22.0, @babel/core@npm:^7.22.20, @babel/core@npm:^7.22.9, @babel/core@npm:^7.23.2, @babel/core@npm:^7.7.5":
version: 7.23.3
resolution: "@babel/core@npm:7.23.3"
dependencies:
@@ -9105,7 +9105,7 @@ __metadata:
"@types/split2": 4.2.0
"@types/uuid": 9.0.2
"@types/yargs": 17.0.24
- "@vitejs/plugin-react": 4.0.4
+ "@vitejs/plugin-react": 4.1.1
ansi-colors: 4.1.3
autoprefixer: 10.4.14
aws-lambda: 1.0.7
@@ -9237,7 +9237,7 @@ __metadata:
"@types/express": 4
"@types/react": 18.2.14
"@types/yargs-parser": 21.0.0
- "@vitejs/plugin-react": 4.0.4
+ "@vitejs/plugin-react": 4.1.1
"@whatwg-node/server": 0.9.14
acorn-loose: 8.3.0
buffer: 6.0.3
@@ -11174,7 +11174,20 @@ __metadata:
languageName: node
linkType: hard
-"@types/babel__core@npm:*, @types/babel__core@npm:7.20.2, @types/babel__core@npm:^7.0.0, @types/babel__core@npm:^7.1.14":
+"@types/babel__core@npm:*, @types/babel__core@npm:^7.0.0, @types/babel__core@npm:^7.1.14, @types/babel__core@npm:^7.20.3":
+ version: 7.20.4
+ resolution: "@types/babel__core@npm:7.20.4"
+ dependencies:
+ "@babel/parser": ^7.20.7
+ "@babel/types": ^7.20.7
+ "@types/babel__generator": "*"
+ "@types/babel__template": "*"
+ "@types/babel__traverse": "*"
+ checksum: 2adc7ec49de5f922271ce087cedee000de468a3e13f92b7b6254016bd8357298cb98e6d2b3c9defc69bb6e38e0c134ffe80776a8ce4e9fb167bbffcb4d7613b7
+ languageName: node
+ linkType: hard
+
+"@types/babel__core@npm:7.20.2":
version: 7.20.2
resolution: "@types/babel__core@npm:7.20.2"
dependencies:
@@ -12502,17 +12515,18 @@ __metadata:
languageName: node
linkType: hard
-"@vitejs/plugin-react@npm:4.0.4":
- version: 4.0.4
- resolution: "@vitejs/plugin-react@npm:4.0.4"
+"@vitejs/plugin-react@npm:4.1.1":
+ version: 4.1.1
+ resolution: "@vitejs/plugin-react@npm:4.1.1"
dependencies:
- "@babel/core": ^7.22.9
+ "@babel/core": ^7.23.2
"@babel/plugin-transform-react-jsx-self": ^7.22.5
"@babel/plugin-transform-react-jsx-source": ^7.22.5
+ "@types/babel__core": ^7.20.3
react-refresh: ^0.14.0
peerDependencies:
vite: ^4.2.0
- checksum: ca687dfe5e1b29822194cbfdde5cc75fe329dbee107489ab35e5e75911eca1cf5d38d3fe52886d50bf5249975948a8f4098c5fa23652afb7275d5aa79a5300b7
+ checksum: f0374e5242da7e97ac7be5bec9bfe34c1fde50b2e3b5178cebbec76caa1f21b3c7d23d43a9a54ec18403164aa2b1a2ae7c3f5912c0371327f95a3278e39db05e
languageName: node
linkType: hard