[Snyk] Security upgrade @vitejs/plugin-react from 4.3.0 to 6.0.0 - #49
[Snyk] Security upgrade @vitejs/plugin-react from 4.3.0 to 6.0.0#49snyk-io[bot] wants to merge 1 commit into
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-BROWSERSLIST-18854715 - https://snyk.io/vuln/SNYK-JS-BROWSERSLIST-18856271
|
This major version upgrade from v4 to v6 of Key Breaking Change (in v6.0.0):
Recommendation: If your project relies on custom Babel plugins (including the React Compiler), you must refactor your Vite configuration. The required action is to explicitly add Example Migration: Before (v4.x): // vite.config.js
import react from '@vitejs/plugin-react';
export default {
plugins: [
react({
babel: { plugins: ['my-babel-plugin'] },
}),
],
}; After (v6.0.0): // vite.config.js
import react from '@vitejs/plugin-react';
import babel from '@rolldown/plugin-babel';
export default {
plugins: [
babel({ plugins: ['my-babel-plugin'] }),
react(),
],
}; If you were not using the Source: CHANGELOG
|
⛔ Snyk checks have failed. 6 issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Snyk has created this PR to fix 2 vulnerabilities in the pnpm dependencies of this project.
Snyk changed the following file(s):
packages/sample/package.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-BROWSERSLIST-18854715
SNYK-JS-BROWSERSLIST-18856271
Breaking Change Risk
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Prototype Pollution
🦉 Allocation of Resources Without Limits or Throttling