Skip to content

Bump @vitejs/plugin-react from 4.6.0 to 4.7.0#388

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/vitejs/plugin-react-4.7.0
Closed

Bump @vitejs/plugin-react from 4.6.0 to 4.7.0#388
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/vitejs/plugin-react-4.7.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 28, 2025

Bumps @vitejs/plugin-react from 4.6.0 to 4.7.0.

Release notes

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

plugin-react@4.7.0

Add HMR support for compound components (#518)

HMR now works for compound components like this:

const Root = () => <div>Accordion Root</div>
const Item = () => <div>Accordion Item</div>
export const Accordion = { Root, Item }

Return Plugin[] instead of PluginOption[] (#537)

The return type has changed from react(): PluginOption[] to more specialized type react(): Plugin[]. This allows for type-safe manipulation of plugins, for example:

// previously this causes type errors
react({ babel: { plugins: ['babel-plugin-react-compiler'] } })
  .map(p => ({ ...p, applyToEnvironment: e => e.name === 'client' }))
Changelog

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

4.7.0 (2025-07-18)

Add HMR support for compound components (#518)

HMR now works for compound components like this:

const Root = () => <div>Accordion Root</div>
const Item = () => <div>Accordion Item</div>
export const Accordion = { Root, Item }

Return Plugin[] instead of PluginOption[] (#537)

The return type has changed from react(): PluginOption[] to more specialized type react(): Plugin[]. This allows for type-safe manipulation of plugins, for example:

// previously this causes type errors
react({ babel: { plugins: ['babel-plugin-react-compiler'] } })
  .map(p => ({ ...p, applyToEnvironment: e => e.name === 'client' }))
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)

Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 4.6.0 to 4.7.0.
- [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/plugin-react@4.7.0/packages/plugin-react)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 4.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 28, 2025
@vercel
Copy link

vercel bot commented Jul 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
my_site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 28, 2025 6:53pm

@github-actions
Copy link

📊 Package size report   -0.01%↓

File Before After
pnpm-lock.yaml 195.0 kB -0.02%↓194.9 kB
Total (Includes all files) 580.5 kB -0.01%↓580.5 kB
Tarball size 409.0 kB -0.01%↓408.9 kB
Unchanged files
File Size
__tests__/__snapshots__/Page.snap.html 10.7 kB
__tests__/Page.test.tsx 1.1 kB
.gitattributes 66 B
.github/CODEOWNERS 9 B
.github/dependabot.yml 1.1 kB
.github/greeting.yml 330 B
.github/ISSUE_TEMPLATE/bug_report.md 318 B
.github/ISSUE_TEMPLATE/feature-request.md 317 B
.github/pull_request_template.md 178 B
.github/workflows/ci.yml 1.6 kB
.github/workflows/dependency-review.yml 296 B
.github/workflows/package-size-report.yaml 493 B
.husky/pre-commit 183 B
.husky/pre-push 161 B
.nvmrc 2 B
.prettierignore 27 B
.prettierrc.json 87 B
app/globals.css 4.5 kB
app/layout.tsx 2.5 kB
app/page.tsx 624 B
app/sitemap.ts 250 B
components/about.tsx 1.5 kB
components/footer.tsx 792 B
components/header.tsx 2.1 kB
components/intro.tsx 3.7 kB
components/section-divider.tsx 190 B
components/section-heading.tsx 283 B
components/skills.tsx 1.1 kB
components/theme-switch.tsx 640 B
components/VerticalHistory.tsx 1.9 kB
components/VerticalTimeline.tsx 1.8 kB
context/active-section-context.tsx 1.4 kB
context/theme-context.tsx 1.6 kB
eslint.config.js 273 B
lib/data.ts 5.1 kB
lib/hooks.ts 637 B
lib/types.ts 91 B
LICENSE 1.1 kB
package.json 1.5 kB
postcss.config.js 68 B
public/googleff4a67b4bd70486b.html 54 B
public/profile.webp 163.9 kB
public/Resume.pdf 137.5 kB
public/s.webp 32.5 kB
README.md 78 B
tsconfig.json 641 B
vitest-setup.js 36 B
vitest.config.js 514 B

🤖 This report was automatically generated by pkg-size-action

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 11, 2025

Superseded by #397.

@dependabot dependabot bot closed this Aug 11, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/vitejs/plugin-react-4.7.0 branch August 11, 2025 23:22
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants