Bump esbuild and vite in /Content/minimal
Bumps esbuild to 0.25.3 and updates ancestor dependency vite. These dependencies need to be updated together.
Updates esbuild from 0.21.5 to 0.25.3
Release notes
Sourced from esbuild's releases.
v0.25.3
Fix lowered
asyncarrow functions beforesuper()(#4141, #4142)This change makes it possible to call an
asyncarrow function in a constructor before callingsuper()when targeting environments withoutasyncsupport, as long as the function body doesn't referencethis. Here's an example (notice the change fromthistonull):// Original code class Foo extends Object { constructor() { (async () => await foo())() super() } }// Old output (with --target=es2016)
class Foo extends Object {
constructor() {
(() => __async(this, null, function* () {
return yield foo();
}))();
super();
}
}// New output (with --target=es2016)
class Foo extends Object {
constructor() {
(() => __async(null, null, function* () {
return yield foo();
}))();
super();
}
}
Some background: Arrow functions with the
asynckeyword are transformed into generator functions for older language targets such as--target=es2016. Since arrow functions capturethis, the generated code forwardsthisinto the body of the generator function. However, JavaScript class syntax forbids usingthisin a constructor before callingsuper(), and this forwarding was problematic since previously happened even when the function body doesn't usethis. Starting with this release, esbuild will now only forwardthisif it's used within the function body.This fix was contributed by
@magic-akari.Fix memory leak with
--watch=true(#4131, #4132)This release fixes a memory leak with esbuild when
--watch=trueis used instead of--watch. Previously using--watch=truecaused esbuild to continue to use more and more memory for every rebuild, but--watch=trueshould now behave like--watchand not leak memory.This bug happened because esbuild disables the garbage collector when it's not run as a long-lived process for extra speed, but esbuild's checks for which arguments cause esbuild to be a long-lived process weren't updated for the new
--watch=truestyle of boolean command-line flags. This has been an issue since this boolean flag syntax was added in version 0.14.24 in 2022. These checks are unfortunately separate from the regular argument parser because of how esbuild's internals are organized (the command-line interface is exposed as a separate Go API so you can build your own custom esbuild CLI).This fix was contributed by
@mxschmitt.More concise output for repeated legal comments (#4139)
Some libraries have many files and also use the same legal comment text in all files. Previously esbuild would copy each legal comment to the output file. Starting with this release, legal comments duplicated across separate files will now be grouped in the output file by unique comment content.
... (truncated)
Changelog
Sourced from esbuild's changelog.
Changelog: 2024
This changelog documents all esbuild versions published in the year 2024 (versions 0.19.12 through 0.24.2).
0.24.2
Fix regression with
--defineandimport.meta(#4010, #4012, #4013)The previous change in version 0.24.1 to use a more expression-like parser for
definevalues to allow quoted property names introduced a regression that removed the ability to use--define:import.meta=.... Even thoughimportis normally a keyword that can't be used as an identifier, ES modules special-case theimport.metaexpression to behave like an identifier anyway. This change fixes the regression.This fix was contributed by
@sapphi-red.0.24.1
Allow
es2024as a target intsconfig.json(#4004)TypeScript recently added
es2024as a compilation target, so esbuild now supports this in thetargetfield oftsconfig.jsonfiles, such as in the following configuration file:{ "compilerOptions": { "target": "ES2024" } }As a reminder, the only thing that esbuild uses this field for is determining whether or not to use legacy TypeScript behavior for class fields. You can read more in the documentation.
This fix was contributed by
@billyjanitsch.Allow automatic semicolon insertion after
get/setThis change fixes a grammar bug in the parser that incorrectly treated the following code as a syntax error:
class Foo { get *x() {} set *y() {} }The above code will be considered valid starting with this release. This change to esbuild follows a similar change to TypeScript which will allow this syntax starting with TypeScript 5.7.
Allow quoted property names in
--defineand--pure(#4008)The
defineandpureAPI options now accept identifier expressions containing quoted property names. Previously all identifiers in the identifier expression had to be bare identifiers. This change now makes--defineand--pureconsistent with--global-name, which already supported quoted property names. For example, the following is now possible:
... (truncated)
Commits
677910bpublish 0.25.3 to npma41040efix #4110: support custom non-IPhostvaluesdfe0e1cfix #4114: add a limit to css nesting expansiona54916bfix #4139: deduplicate repeated legal commentsdc60e60runmake update-compat-tabled917038fix #4144: node path resolution edge case7ed1684fix #4141: Avoid redundantthisaccess during async function lowering (#4142)edc3a23docs(dev): update alias command formake test-go(#4113)1ee8b67workaroundprocess.exit()not exiting in node5c56e07changelog note with credit for the fix- Additional commits viewable in compare view
Updates vite from 5.4.11 to 6.3.3
Release notes
Sourced from vite's releases.
v6.3.3
Please refer to CHANGELOG.md for details.
v6.3.2
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
v6.3.1
Please refer to CHANGELOG.md for details.
[email protected]
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.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.
[email protected]
Please refer to CHANGELOG.md for details.
v6.2.1
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
... (truncated)
Changelog
Sourced from vite's changelog.
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
ssrTransformre-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.lightningcssoption 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.allSettledin preload function (#19805) (35c7f35), closes #19805- fix: backward compat for internal plugin
transformcalls (#19878) (a152b7c), closes #198786.3.0 (2025-04-16)
- fix(hmr): avoid infinite loop happening with
hot.invalidatein circular deps (#19870) (d4ee5e8), closes #19870- fix(preview): use host url to open browser (#19836) (5003434), closes #19836
6.3.0-beta.2 (2025-04-11)
- fix: addWatchFile doesn't work if base is specified (fixes #19792) (#19794) (8bed1de), closes #19792 #19794
- fix: correct the behavior when multiple transform filter options are specified (#19818) (7200dee), closes #19818
- fix: fs check with svg and relative paths (#19782) (62d7e81), closes #19782
- fix: keep entry asset files imported by other files (#19779) (2fa1495), closes #19779
- fix: reject requests with
#in request-target (#19830) (175a839), closes #19830- fix: unbundle
fdirto fixcommonjsOptions.dynamicRequireTargets(#19791) (71227be), closes #19791- fix(css): remove empty chunk imports correctly when chunk file name contained special characters (#1 (b125172), closes #19814
- fix(dev): make query selector regexes more inclusive (fix #19213) (#19767) (f530a72), closes #19213 #19767
- fix(hmr): run HMR handler sequentially (#19793) (380c10e), closes #19793
- fix(module-runner): allow already resolved id as entry (#19768) (e2e11b1), closes #19768
- fix(types): remove the
keepProcessEnvfrom theDefaultEnvironmentOptionstype (#19796) (36935b5), closes #19796
... (truncated)
Commits
db9eb97release: v6.3.3e4d5201fix: ignore malformed uris in tranform middleware (#19853)55cfd04perf: skip sourcemap generation for renderChunk hook of import-analysis-build...ffab442fix(css): resolve relative imports in sass properly on Windows (#19920)16a73c0fix(assets): ensure ?no-inline is not included in the asset url in the produc...9399cdatest(ssr): testssrTransformre-export deps and test stacktrace with first ...ed29deefix(ssr): fix execution order of re-export (#19841)80a91fffix(ssr): fix live binding of default export declaration and hoist exports ge...a4b500efix(deps): update all non-major dependencies (#19899)4bc17b4release: v6.3.2- 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 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) You can disable automated security fix PRs for this repo from the Security Alerts page.
Dependabot couldn't find a package.json. Because of this, Dependabot cannot update this pull request.
Dependabot couldn't find a package.json. Because of this, Dependabot cannot update this pull request.
Dependabot couldn't find a package.json. Because of this, Dependabot cannot update this pull request.