Bump esbuild, vite and @vitejs/plugin-vue in /playground
Bumps esbuild to 0.25.8 and updates ancestor dependencies esbuild, vite and @vitejs/plugin-vue. These dependencies need to be updated together.
Updates esbuild from 0.21.5 to 0.25.8
Release notes
Sourced from esbuild's releases.
v0.25.8
Fix another TypeScript parsing edge case (#4248)
This fixes a regression with a change in the previous release that tries to more accurately parse TypeScript arrow functions inside the
?:operator. The regression specifically involves parsing an arrow function containing a#privateidentifier inside the middle of a?:ternary operator inside a class body. This was fixed by propagating private identifier state into the parser clone used to speculatively parse the arrow function body. Here is an example of some affected code:class CachedDict { #has = (a: string) => dict.has(a); has = window ? (word: string): boolean => this.#has(word) : this.#has; }Fix a regression with the parsing of source phase imports
The change in the previous release to parse source phase imports failed to properly handle the following cases:
import source from 'bar' import source from from 'bar' import source type foo from 'bar'Parsing for these cases should now be fixed. The first case was incorrectly treated as a syntax error because esbuild was expecting the second case. And the last case was previously allowed but is now forbidden. TypeScript hasn't added this feature yet so it remains to be seen whether the last case will be allowed, but it's safer to disallow it for now. At least Babel doesn't allow the last case when parsing TypeScript, and Babel was involved with the source phase import specification.
v0.25.7
Parse and print JavaScript imports with an explicit phase (#4238)
This release adds basic syntax support for the
deferandsourceimport phases in JavaScript:
deferThis is a stage 3 proposal for an upcoming JavaScript feature that will provide one way to eagerly load but lazily initialize imported modules. The imported module is automatically initialized on first use. Support for this syntax will also be part of the upcoming release of TypeScript 5.9. The syntax looks like this:
import defer * as foo from "<specifier>"; const bar = await import.defer("<specifier>");Note that this feature deliberately cannot be used with the syntax
import defer foo from "<specifier>"orimport defer { foo } from "<specifier>".
sourceThis is a stage 3 proposal for an upcoming JavaScript feature that will provide another way to eagerly load but lazily initialize imported modules. The imported module is returned in an uninitialized state. Support for this syntax may or may not be a part of TypeScript 5.9 (see this issue for details). The syntax looks like this:
import source foo from "<specifier>"; const bar = await import.source("<specifier>");
... (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
8c71947publish 0.25.8 to npm0508f24some parsing fixes for source phase imports6e4be2fjs parser: recover from bad#privateidentifiersc9c6357fix #4248:#privateids in arrow fn body in?:9b42f68publish 0.25.7 to npm9ba01d1abs-paths: js api and testsca196c9fix for parser backtracking crash2979b84fix #4241: ts arrow function type backtrack (hack)1180410fix an unused variable warningfc3da57fix #4238: adddeferandsourceimport phases- Additional commits viewable in compare view
Updates vite from 5.4.10 to 7.0.6
Release notes
Sourced from vite's releases.
v7.0.6
Please refer to CHANGELOG.md for details.
v7.0.5
Please refer to CHANGELOG.md for details.
v7.0.4
Please refer to CHANGELOG.md for details.
v7.0.3
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
v7.0.2
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
v7.0.1
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
v7.0.0
Please refer to CHANGELOG.md for details.
v7.0.0-beta.2
Please refer to CHANGELOG.md for details.
v7.0.0-beta.1
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
... (truncated)
Changelog
Sourced from vite's changelog.
7.0.6 (2025-07-24)
Bug Fixes
- deps: update all non-major dependencies (#20442) (e49f505)
- dev: incorrect sourcemap when optimized CJS is imported (#20458) (ead2dec)
- module-runner: normalize file:// on windows (#20449) (1c9cb49)
- respond with correct headers and status code for HEAD requests (#20421) (23d04fc)
Miscellaneous Chores
- deps: update rolldown-related dependencies (#20441) (f689d61)
- remove some files from prettier ignore (#20459) (8403f69)
Code Refactoring
7.0.5 (2025-07-17)
Bug Fixes
- deps: update all non-major dependencies (#20406) (1a1cc8a)
- remove special handling for
Accept: text/html(#20376) (c9614b9)- watch assets referenced by
new URL(, import.meta.url)(#20382) (6bc8bf6)Miscellaneous Chores
Code Refactoring
7.0.4 (2025-07-10)
Bug Fixes
Build System
7.0.3 (2025-07-08)
Bug Fixes
- client: protect against window being defined but addEv undefined (#20359) (31d1467)
- define: replace optional values (#20338) (9465ae1)
- deps: update all non-major dependencies (#20366) (43ac73d)
Miscellaneous Chores
... (truncated)
Commits
bdde0f9release: v7.0.623d04fcfix: respond with correct headers and status code for HEAD requests (#20421)ead2decfix(dev): incorrect sourcemap when optimized CJS is imported (#20458)e49f505fix(deps): update all non-major dependencies (#20442)f689d61chore(deps): update rolldown-related dependencies (#20441)8403f69chore: remove some files from prettier ignore (#20459)1c9cb49fix(module-runner): normalize file:// on windows (#20449)24e6a0crefactor: use environment transform request (#20430)832f687release: v7.0.5c9614b9fix: remove special handling forAccept: text/html(#20376)- Additional commits viewable in compare view
Updates @vitejs/plugin-vue from 5.1.4 to 5.2.4
Release notes
Sourced from @​vitejs/plugin-vue's releases.
[email protected]
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
Changelog
Sourced from @​vitejs/plugin-vue's changelog.
5.2.4 (2025-05-09)
Features
Bug Fixes
- plugin-vue: handle sourcemap with empty script code (#585) (7f73970)
- plugin-vue: when the resource path contains chinese characters, dev/build is inconsistent (#550) (5f6affe)
Miscellaneous Chores
- deps: update upstream (#542) (ef446fc)
- deps: update upstream (#569) (98381b2)
- fix types with Vite 6.3 (#559) (8002511)
- use rollup types exposed from Vite (#583) (2e1287f)
5.2.3 (2025-03-17)
5.2.2 (2025-03-17)
Features
- css: tree shake scoped styles (#533) (333094f)
- pass descriptor vapor flag to compileTemplte (219e007)
Bug Fixes
- deps: update all non-major dependencies (#482) (cdbae68)
- deps: update all non-major dependencies (#488) (5d39582)
- generate unique component id (#538) (2704e85)
- index: move the if check earlier to avoid creating unnecessary ssr when entering return block (#523) (2135c84)
- plugin-vue: default value for compile time flags (#495) (ae9d948)
- plugin-vue: ensure HMR updates styles when SFC is treated as a type dependency (#541) (4abe3be)
- plugin-vue: resolve sourcemap conflicts in build watch mode with cached modules (#505) (906cebb)
- plugin-vue: support external import URLs for monorepos (#524) (cdd4922)
- plugin-vue: support vapor template-only component (#529) (95be153)
- plugin-vue: suppress warnings for non-recognized pseudo selectors form lightningcss (#521) (15c0eb0)
- properly interpret boolean values in
define(#545) (46d3d65)Miscellaneous Chores
- deps: update dependency rollup to ^4.27.4 (#479) (428320d)
- deps: update dependency rollup to ^4.28.1 (#484) (388403f)
- deps: update dependency rollup to ^4.29.1 (#493) (b092bc8)
- deps: update upstream (#503) (8c12b9f)
- deps: update upstream (#511) (d057351)
- deps: update upstream (#526) (59946d3)
- plugin-vue: simplify
resolveddeclaration (7288a59)5.2.1 (2024-11-26)
Miscellaneous Chores
... (truncated)
Commits
6027d40release: [email protected]98381b2chore(deps): update upstream (#569)6ac8e3afeat(plugin-vue): usetransformWithOxcifrolldown-viteis detected (#584)7f73970fix(plugin-vue): handle sourcemap with empty script code (#585)2e1287fchore: use rollup types exposed from Vite (#583)ef446fcchore(deps): update upstream (#542)5f6affefix(plugin-vue): when the resource path contains chinese characters, dev/buil...8002511chore: fix types with Vite 6.3 (#559)b733b91release: [email protected]4bc5517Revert "fix: generate unique component id" (#548)- Additional commits viewable in compare view
You can trigger a rebase of this PR 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.
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.