Bump esbuild, @vitejs/plugin-react and vite in /tasks/react/easy/react-easy
Type: Pull Request
State: Open
![dependabot[bot]](https://github.com/dependabot.png)
Association: Contributor
Comments: 0
(4 months ago)
(4 months ago)
dependencies javascript
Bumps esbuild to 0.25.5 and updates ancestor dependencies esbuild, @vitejs/plugin-react and vite. These dependencies need to be updated together.
Updates esbuild
from 0.18.20 to 0.25.5
Release notes
Sourced from esbuild's releases.
v0.25.5
Fix a regression with
browser
inpackage.json
(#4187)The fix to #4144 in version 0.25.3 introduced a regression that caused
browser
overrides specified inpackage.json
to fail to override relative path names that end in a trailing slash. That behavior change affected theaxios@0.30.0
package. This regression has been fixed, and now has test coverage.Add support for certain keywords as TypeScript tuple labels (#4192)
Previously esbuild could incorrectly fail to parse certain keywords as TypeScript tuple labels that are parsed by the official TypeScript compiler if they were followed by a
?
modifier. These labels includedfunction
,import
,infer
,new
,readonly
, andtypeof
. With this release, these keywords will now be parsed correctly. Here's an example of some affected code:type Foo = [ value: any, readonly?: boolean, // This is now parsed correctly ]
Add CSS prefixes for the
stretch
sizing value (#4184)This release adds support for prefixing CSS declarations such as
div { width: stretch }
. That CSS is now transformed into this depending on what the--target=
setting includes:div { width: -webkit-fill-available; width: -moz-available; width: stretch; }
v0.25.4
Add simple support for CORS to esbuild's development server (#4125)
Starting with version 0.25.0, esbuild's development server is no longer configured to serve cross-origin requests. This was a deliberate change to prevent any website you visit from accessing your running esbuild development server. However, this change prevented (by design) certain use cases such as "debugging in production" by having your production website load code from
localhost
where the esbuild development server is running.To enable this use case, esbuild is adding a feature to allow Cross-Origin Resource Sharing (a.k.a. CORS) for simple requests. Specifically, passing your origin to the new
cors
option will now set theAccess-Control-Allow-Origin
response header when the request has a matchingOrigin
header. Note that this currently only works for requests that don't send a preflightOPTIONS
request, as esbuild's development server doesn't currently supportOPTIONS
requests.Some examples:
CLI:
esbuild --servedir=. --cors-origin=https://example.com
JS:
const ctx = await esbuild.context({}) await ctx.serve({ servedir: '.', cors: {
... (truncated)
Changelog
Sourced from esbuild's changelog.
Changelog: 2023
This changelog documents all esbuild versions published in the year 2023 (versions 0.16.13 through 0.19.11).
0.19.11
Fix TypeScript-specific class transform edge case (#3559)
The previous release introduced an optimization that avoided transforming
super()
in the class constructor for TypeScript code compiled withuseDefineForClassFields
set tofalse
if all class instance fields have no initializers. The rationale was that in this case, all class instance fields are omitted in the output so no changes to the constructor are needed. However, if all of this is the case and there are#private
instance fields with initializers, those private instance field initializers were still being moved into the constructor. This was problematic because they were being inserted before the call tosuper()
(sincesuper()
is now no longer transformed in that case). This release introduces an additional optimization that avoids moving the private instance field initializers into the constructor in this edge case, which generates smaller code, matches the TypeScript compiler's output more closely, and avoids this bug:// Original code class Foo extends Bar { #private = 1; public: any; constructor() { super(); } }
// Old output (with esbuild v0.19.9)
class Foo extends Bar {
constructor() {
super();
this.#private = 1;
}
#private;
}// Old output (with esbuild v0.19.10)
class Foo extends Bar {
constructor() {
this.#private = 1;
super();
}
#private;
}// New output
class Foo extends Bar {
#private = 1;
constructor() {
super();
}
}
Minifier: allow reording a primitive past a side-effect (#3568)
The minifier previously allowed reordering a side-effect past a primitive, but didn't handle the case of reordering a primitive past a side-effect. This additional case is now handled:
... (truncated)
Commits
ea453bf
publish 0.25.5 to npm223ddc6
fix #4187: browserpackage.json
regressionb2c8251
fix #4192: typescript tuple label parser edge case28cf2f3
fix #4184: css prefixes forstretch
bee1b09
fix comment indents9ddfe5f
runmake update-compat-table
c339f34
fix a misplaced comment218d29e
publish 0.25.4 to npme66cd0b
dev server: simple support for CORS requests (#4171)8bf3368
js api: validate some options as arrays of strings- Additional commits viewable in compare view
Updates @vitejs/plugin-react
from 4.0.4 to 4.5.2
Release notes
Sourced from @vitejs/plugin-react
's releases.
plugin-react@4.5.2
Suggest
@vitejs/plugin-react-oxc
if rolldown-vite is detected #491Emit a log which recommends
@vitejs/plugin-react-oxc
whenrolldown-vite
is detected to improve performance and use Oxc under the hood. The warning can be disabled by settingdisableOxcRecommendation: false
in the plugin options.Use
optimizeDeps.rollupOptions
instead ofoptimizeDeps.esbuildOptions
for rolldown-vite #489This suppresses the warning about
optimizeDeps.esbuildOptions
being deprecated in rolldown-vite.Add Vite 7-beta to peerDependencies range #497
React plugins are compatible with Vite 7, this removes the warning when testing the beta.
plugin-react@4.5.1
Add explicit semicolon in preambleCode #485
This fixes an edge case when using HTML minifiers that strips line breaks aggressively.
plugin-react@4.5.0
Add
filter
for rolldown-vite #470Added
filter
so that it is more performant when running this plugin with rolldown-powered version of Vite.Skip HMR for JSX files with hooks #480
This removes the HMR warning for hooks with JSX.
plugin-react@4.4.1
Fix type issue when using
moduleResolution: "node"
in tsconfig #462plugin-react@4.4.0
Make compatible with rolldown-vite
This plugin is now compatible with rolldown-powered version of Vite. Note that currently the
__source
property value position might be incorrect. This will be fixed in the near future.plugin-react@4.4.0-beta.2
Add
reactRefreshHost
optionAdd
reactRefreshHost
option to set a React Fast Refresh runtime URL prefix. This is useful in a module federation context to enable HMR by specifying the host application URL in the Vite config of a remote application. See full discussion here: module-federation/vite#183export default defineConfig({ plugins: [react({ reactRefreshHost: 'http://localhost:3000' })], })
plugin-react@4.4.0-beta.1
... (truncated)
Changelog
Sourced from @vitejs/plugin-react
's changelog.
4.5.2 (2025-06-10)
Suggest
@vitejs/plugin-react-oxc
if rolldown-vite is detected #491Emit a log which recommends
@vitejs/plugin-react-oxc
whenrolldown-vite
is detected to improve performance and use Oxc under the hood. The warning can be disabled by settingdisableOxcRecommendation: false
in the plugin options.Use
optimizeDeps.rollupOptions
instead ofoptimizeDeps.esbuildOptions
for rolldown-vite #489This suppresses the warning about
optimizeDeps.esbuildOptions
being deprecated in rolldown-vite.Add Vite 7-beta to peerDependencies range #497
React plugins are compatible with Vite 7, this removes the warning when testing the beta.
4.5.1 (2025-06-03)
Add explicit semicolon in preambleCode #485
This fixes an edge case when using HTML minifiers that strips line breaks aggressively.
4.5.0 (2025-05-23)
Add
filter
for rolldown-vite #470Added
filter
so that it is more performant when running this plugin with rolldown-powered version of Vite.Skip HMR for JSX files with hooks #480
This removes the HMR warning for hooks with JSX.
4.4.1 (2025-04-19)
Fix type issue when using
moduleResolution: "node"
in tsconfig #4624.4.0 (2025-04-15)
Make compatible with rolldown-vite
This plugin is now compatible with rolldown-powered version of Vite. Note that currently the
__source
property value position might be incorrect. This will be fixed in the near future.4.4.0-beta.2 (2025-04-15)
Add
reactRefreshHost
optionAdd
reactRefreshHost
option to set a React Fast Refresh runtime URL prefix. This is useful in a module federation context to enable HMR by specifying the host application URL in the Vite config of a remote application. See full discussion here: module-federation/vite#183</tr></table>
... (truncated)
Commits
bfb45ad
release: plugin-react@4.5.26ea9398
feat: add Vite 7-beta to peerDependencies range (#497)6db7e7c
fix(deps): update all non-major dependencies (#469)c450133
feat: suggestvite-plugin-react-oxc
when usingrolldown-vite
(#491)4bec551
fix: useoptimizeDeps.rollupOptions
for rolldown-vite (#489)2f32052
release: plugin-react@4.5.188585db
fix: add explicit semicolon in preambleCode (#485)476e705
release: plugin-react@4.5.002b1ede
fix(hmr): skip HMR for JSX files with hooks (#480)5a94bd7
feat: add filter (#470)- Additional commits viewable in compare view
Updates vite
from 4.5.11 to 6.3.5
Release notes
Sourced from vite's releases.
v6.3.5
Please refer to CHANGELOG.md for details.
v6.3.4
Please refer to CHANGELOG.md for details.
v6.3.3
Please refer to CHANGELOG.md for details.
v6.3.2
Please refer to CHANGELOG.md for details.
create-vite@6.3.1
Please refer to CHANGELOG.md for details.
v6.3.1
Please refer to CHANGELOG.md for details.
create-vite@6.3.0
Please refer to CHANGELOG.md for details.
v6.3.0
Please refer to CHANGELOG.md for details.
v6.3.0-beta.2
Please refer to CHANGELOG.md for details.
v6.3.0-beta.1
Please refer to CHANGELOG.md for details.
v6.3.0-beta.0
Please refer to CHANGELOG.md for details.
v6.2.7
Please refer to CHANGELOG.md for details.
v6.2.6
Please refer to CHANGELOG.md for details.
v6.2.5
Please refer to CHANGELOG.md for details.
v6.2.4
Please refer to CHANGELOG.md for details.
v6.2.3
Please refer to CHANGELOG.md for details.
v6.2.2
Please refer to CHANGELOG.md for details.
... (truncated)
Changelog
Sourced from vite's changelog.
6.3.5 (2025-05-05)
6.3.4 (2025-04-30)
- fix: check static serve file inside sirv (#19965) (c22c43d), closes #19965
- fix(optimizer): return plain object when using
require
to import externals in optimized dependenci (efc5eab), closes #19940- refactor: remove duplicate plugin context type (#19935) (d6d01c2), closes #19935
6.3.3 (2025-04-24)
- fix: ignore malformed uris in tranform middleware (#19853) (e4d5201), closes #19853
- fix(assets): ensure ?no-inline is not included in the asset url in the production environment (#1949 (16a73c0), closes #19496
- fix(css): resolve relative imports in sass properly on Windows (#19920) (ffab442), closes #19920
- fix(deps): update all non-major dependencies (#19899) (a4b500e), closes #19899
- fix(ssr): fix execution order of re-export (#19841) (ed29dee), closes #19841
- fix(ssr): fix live binding of default export declaration and hoist exports getter (#19842) (80a91ff), closes #19842
- perf: skip sourcemap generation for renderChunk hook of import-analysis-build plugin (#19921) (55cfd04), closes #19921
- test(ssr): test
ssrTransform
re-export deps and test stacktrace with first line (#19629) (9399cda), closes #196296.3.2 (2025-04-18)
- fix: match default asserts case insensitive (#19852) (cbdab1d), closes #19852
- fix: open first url if host does not match any urls (#19886) (6abbdce), closes #19886
- fix(css): respect
css.lightningcss
option in css minification process (#19879) (b5055e0), closes #19879- fix(deps): update all non-major dependencies (#19698) (bab4cb9), closes #19698
- feat(css): improve lightningcss messages (#19880) (c713f79), closes #19880
6.3.1 (2025-04-17)
- fix: avoid using
Promise.allSettled
in preload function (#19805) (35c7f35), closes #19805- fix: backward compat for internal plugin
transform
calls (#19878) (a152b7c), closes #198786.3.0 (2025-04-16)
... (truncated)
Commits
84e4647
release: v6.3.5fd38d07
fix(ssr): handle uninitialized export access as undefined (#19959)b040d54
release: v6.3.4c22c43d
fix: check static serve file inside sirv (#19965)efc5eab
fix(optimizer): return plain object when usingrequire
to import externals ...d6d01c2
refactor: remove duplicate plugin context type (#19935)db9eb97
release: v6.3.3e4d5201
fix: ignore malformed uris in tranform middleware (#19853)55cfd04
perf: skip sourcemap generation for renderChunk hook of import-analysis-build...ffab442
fix(css): resolve relative imports in sass properly on Windows (#19920)- Additional commits viewable 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 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)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Pull Request Statistics
1
2
+867
-470
Package Dependencies
vite
npm
4.5.11 → 6.3.5
Major
/tasks/react/easy/react-easy
Technical Details
ID: | 1536314 |
UUID: | 2589759469 |
Node ID: | PR_kwDOJ8d4z86aXJft |
Host: | GitHub |
Repository: | fork-commit-merge/fork-commit-merge |
Merge State: | Unknown |