chatbot-sdk
chatbot-sdk copied to clipboard
build(deps): bump @vitejs/plugin-react from 4.3.2 to 4.3.4
Bumps @vitejs/plugin-react from 4.3.2 to 4.3.4.
Release notes
Sourced from @vitejs/plugin-react's releases.
v4.3.4
Add Vite 6 to peerDependencies range
Vite 6 is highly backward compatible, not much to add!
Force Babel to output spec compliant import attributes #386
The default was an old spec (
with type: "json"). We now enforce spec compliant (with { type: "json" })v4.3.3
React Compiler runtimeModule option removed
React Compiler was updated to accept a
targetoption andruntimeModulewas removed. vite-plugin-react will still detectruntimeModulefor backwards compatibility.When using a custom
runtimeModuleortarget !== '19', the plugin will not try to pre-optimizereact/compiler-runtimedependency.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-developmentexport 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 } })], } })
Changelog
Sourced from @vitejs/plugin-react's changelog.
4.3.4 (2024-11-26)
Add Vite 6 to peerDependencies range
Vite 6 is highly backward compatible, not much to add!
Force Babel to output spec compliant import attributes #386
The default was an old spec (
with type: "json"). We now enforce spec compliant (with { type: "json" })4.3.3 (2024-10-19)
React Compiler runtimeModule option removed
React Compiler was updated to accept a
targetoption andruntimeModulewas removed. vite-plugin-react will still detectruntimeModulefor backwards compatibility.When using a custom
runtimeModuleortarget !== '19', the plugin will not try to pre-optimizereact/compiler-runtimedependency.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-developmentexport 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 } })], } })
Commits
2e368a6release: [email protected]bde1ad6feat: add Vite 6 to peerDependencies range (#390)45a727cfix(deps): update all non-major dependencies (#373)5d2b6c6fix: force non-legacy import attributes babel output (#386)b61592arelease: [email protected]e8a923ffix: addreact-dominoptimizeOpsto handle CJS script. (#375)7a7e339feat: support new React Compiler target option (#374)- See full diff in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| sdk-website | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 27, 2024 0:05am |
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
| Package | New capabilities | Transitives | Size | Publisher |
|---|---|---|---|---|
| npm/@vitejs/[email protected] | Transitive: environment, filesystem, unsafe | +42 |
11.4 MB | antfu, patak, soda, ...2 more |
🚮 Removed packages: npm/@vitejs/[email protected]