Skip to content

Commit

Permalink
fix(deps): update dependency @vitejs/plugin-react to v4.2.1 (#9626)
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.2.0` ->
`4.2.1`](https://renovatebot.com/diffs/npm/@vitejs%2fplugin-react/4.2.0/4.2.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitejs%2fplugin-react/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitejs%2fplugin-react/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitejs%2fplugin-react/4.2.0/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitejs%2fplugin-react/4.2.0/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v4.2.1`](https://togithub.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#421-2023-12-04)

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

Remove generic parameter on `Plugin` to avoid type error with Rollup
4/Vite 5 and `skipLibCheck: false`.

I expect very few people to currently use this feature, but if you are
extending the React plugin via `api` object, you can get back the typing
of the hook by importing `ViteReactPluginApi`:

```ts
import type { Plugin } from 'vite'
import type { ViteReactPluginApi } from '@&#8203;vitejs/plugin-react'

export const somePlugin: Plugin = {
  name: 'some-plugin',
  api: {
    reactBabel: (babelConfig) => {
      babelConfig.plugins.push('some-babel-plugin')
    },
  } satisfies ViteReactPluginApi,
}
```

</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/redwoodjs/redwood).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Dec 5, 2023
1 parent 6ea17c9 commit 35191c7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion packages/studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"@types/split2": "4.2.3",
"@types/uuid": "9.0.7",
"@types/yargs": "17.0.31",
"@vitejs/plugin-react": "4.2.0",
"@vitejs/plugin-react": "4.2.1",
"autoprefixer": "10.4.16",
"aws-lambda": "1.0.7",
"buffer": "6.0.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"@redwoodjs/project-config": "6.0.7",
"@redwoodjs/web": "6.0.7",
"@swc/core": "1.3.60",
"@vitejs/plugin-react": "4.2.0",
"@vitejs/plugin-react": "4.2.1",
"@whatwg-node/server": "0.9.18",
"acorn-loose": "8.3.0",
"buffer": "6.0.3",
Expand Down
20 changes: 10 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,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.18.9, @babel/core@npm:^7.21.3, @babel/core@npm:^7.22.20, @babel/core@npm:^7.23.0, @babel/core@npm:^7.23.2, @babel/core@npm:^7.23.3":
"@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.18.9, @babel/core@npm:^7.21.3, @babel/core@npm:^7.22.20, @babel/core@npm:^7.23.0, @babel/core@npm:^7.23.2, @babel/core@npm:^7.23.5":
version: 7.23.5
resolution: "@babel/core@npm:7.23.5"
dependencies:
Expand Down Expand Up @@ -9184,7 +9184,7 @@ __metadata:
"@types/split2": 4.2.3
"@types/uuid": 9.0.7
"@types/yargs": 17.0.31
"@vitejs/plugin-react": 4.2.0
"@vitejs/plugin-react": 4.2.1
ansi-colors: 4.1.3
autoprefixer: 10.4.16
aws-lambda: 1.0.7
Expand Down Expand Up @@ -9316,7 +9316,7 @@ __metadata:
"@types/express": 4
"@types/react": 18.2.37
"@types/yargs-parser": 21.0.3
"@vitejs/plugin-react": 4.2.0
"@vitejs/plugin-react": 4.2.1
"@whatwg-node/server": 0.9.18
acorn-loose: 8.3.0
buffer: 6.0.3
Expand Down Expand Up @@ -11117,7 +11117,7 @@ __metadata:
languageName: node
linkType: hard

"@types/babel__core@npm:*, @types/babel__core@npm:^7.0.0, @types/babel__core@npm:^7.1.14, @types/babel__core@npm:^7.18.0, @types/babel__core@npm:^7.20.4":
"@types/babel__core@npm:*, @types/babel__core@npm:^7.0.0, @types/babel__core@npm:^7.1.14, @types/babel__core@npm:^7.18.0, @types/babel__core@npm:^7.20.5":
version: 7.20.5
resolution: "@types/babel__core@npm:7.20.5"
dependencies:
Expand Down Expand Up @@ -12472,18 +12472,18 @@ __metadata:
languageName: node
linkType: hard

"@vitejs/plugin-react@npm:4.2.0":
version: 4.2.0
resolution: "@vitejs/plugin-react@npm:4.2.0"
"@vitejs/plugin-react@npm:4.2.1":
version: 4.2.1
resolution: "@vitejs/plugin-react@npm:4.2.1"
dependencies:
"@babel/core": ^7.23.3
"@babel/core": ^7.23.5
"@babel/plugin-transform-react-jsx-self": ^7.23.3
"@babel/plugin-transform-react-jsx-source": ^7.23.3
"@types/babel__core": ^7.20.4
"@types/babel__core": ^7.20.5
react-refresh: ^0.14.0
peerDependencies:
vite: ^4.2.0 || ^5.0.0
checksum: b6bd9b2a49d58e96bd2576abc4d816c862a51e3d394c8a42ea507cac434279193529a567fce7026e16a65ca2cdb3e6f1cdfeb3ec9751fde235e74564de693939
checksum: de1eec44d703f32e5b58e776328ca20793657fe991835d15b290230b19a2a08be5d31501d424279ae13ecfed28044c117b69d746891c8d9b92c69e8a8907e989
languageName: node
linkType: hard

Expand Down

0 comments on commit 35191c7

Please sign in to comment.