Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump @vitejs/plugin-react from 4.3.1 to 4.3.3 #5160

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 21, 2024

Bumps @vitejs/plugin-react from 4.3.1 to 4.3.3.

Release notes

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

v4.3.3

React Compiler runtimeModule option removed

React Compiler was updated to accept a target option and runtimeModule was removed. vite-plugin-react will still detect runtimeModule for backwards compatibility.

When using a custom runtimeModule or target !== '19', the plugin will not try to pre-optimize react/compiler-runtime dependency.

The react-compiler-runtime is now available on npm can be used instead of the local shim for people using the compiler with React < 19.

Here is the configuration to use the compiler with React 18 and correct source maps in development:

npm install babel-plugin-react-compiler react-compiler-runtime @babel/plugin-transform-react-jsx-development
export default defineConfig(({ command }) => {
  const babelPlugins = [['babel-plugin-react-compiler', { target: '18' }]]
  if (command === 'serve') {
    babelPlugins.push(['@babel/plugin-transform-react-jsx-development', {}])
  }
return {
plugins: [react({ babel: { plugins: babelPlugins } })],
}
})

v4.3.2

Ignore directive sourcemap error #369

Changelog

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

4.3.3 (2024-10-19)

React Compiler runtimeModule option removed

React Compiler was updated to accept a target option and runtimeModule was removed. vite-plugin-react will still detect runtimeModule for backwards compatibility.

When using a custom runtimeModule or target !== '19', the plugin will not try to pre-optimize react/compiler-runtime dependency.

The react-compiler-runtime is now available on npm can be used instead of the local shim for people using the compiler with React < 19.

Here is the configuration to use the compiler with React 18 and correct source maps in development:

npm install babel-plugin-react-compiler react-compiler-runtime @babel/plugin-transform-react-jsx-development
export default defineConfig(({ command }) => {
  const babelPlugins = [['babel-plugin-react-compiler', { target: '18' }]]
  if (command === 'serve') {
    babelPlugins.push(['@babel/plugin-transform-react-jsx-development', {}])
  }
return {
plugins: [react({ babel: { plugins: babelPlugins } })],
}
})

4.3.2 (2024-09-29)

Ignore directive sourcemap error #369

Commits

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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot requested a review from a team as a code owner October 21, 2024 02:31
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 21, 2024
@dependabot dependabot bot requested a review from joshblack October 21, 2024 02:31
@dependabot dependabot bot added the skip changeset This change does not need a changelog label Oct 21, 2024
Copy link

changeset-bot bot commented Oct 21, 2024

⚠️ No Changeset found

Latest commit: 31b317e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot temporarily deployed to storybook-preview-5160 October 21, 2024 02:33 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-4.3.3 branch from f4dc24e to abebbbc Compare October 21, 2024 15:16
@github-actions github-actions bot temporarily deployed to storybook-preview-5160 October 21, 2024 15:18 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-4.3.3 branch from abebbbc to 0896667 Compare October 21, 2024 16:19
@github-actions github-actions bot temporarily deployed to storybook-preview-5160 October 21, 2024 16:22 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-4.3.3 branch 2 times, most recently from 5b00b3e to 28ab733 Compare October 21, 2024 20:57
@joshblack
Copy link
Member

I believe this might be blocked by: https://github.com/github/primer/issues/4155 due to the hoisted eslint dependency (at least that's my first guess!)

@github-actions github-actions bot temporarily deployed to storybook-preview-5160 October 21, 2024 20:59 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-4.3.3 branch from 28ab733 to 515cb54 Compare October 21, 2024 21:10
@github-actions github-actions bot temporarily deployed to storybook-preview-5160 October 21, 2024 21:12 Inactive
@joshblack joshblack removed their request for review October 24, 2024 15:55
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-4.3.3 branch from 515cb54 to 40993fc Compare October 29, 2024 18:11
@github-actions github-actions bot temporarily deployed to storybook-preview-5160 October 29, 2024 18:13 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-4.3.3 branch from 40993fc to 542ea40 Compare October 29, 2024 18:25
@github-actions github-actions bot temporarily deployed to storybook-preview-5160 October 29, 2024 18:28 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-4.3.3 branch from 542ea40 to 718e0a0 Compare October 31, 2024 19:42
@github-actions github-actions bot temporarily deployed to storybook-preview-5160 October 31, 2024 19:44 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-4.3.3 branch from 718e0a0 to 14f2b98 Compare November 4, 2024 03:11
@github-actions github-actions bot temporarily deployed to storybook-preview-5160 November 4, 2024 03:13 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-4.3.3 branch from 14f2b98 to ae6e859 Compare November 4, 2024 13:41
@github-actions github-actions bot temporarily deployed to storybook-preview-5160 November 4, 2024 13:44 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-4.3.3 branch 2 times, most recently from afd7648 to 999018b Compare November 4, 2024 16:19
@github-actions github-actions bot temporarily deployed to storybook-preview-5160 November 4, 2024 16:22 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-4.3.3 branch from 999018b to 46bd3e3 Compare November 4, 2024 20:43
@github-actions github-actions bot temporarily deployed to storybook-preview-5160 November 4, 2024 20:45 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-4.3.3 branch from 46bd3e3 to 765cebd Compare November 5, 2024 15:36
@github-actions github-actions bot temporarily deployed to storybook-preview-5160 November 5, 2024 15:39 Inactive
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 4.3.1 to 4.3.3.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/v4.3.3/packages/plugin-react)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file skip changeset This change does not need a changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant