Bumps esbuild to 0.27.1 and updates ancestor dependencies esbuild, @sveltejs/vite-plugin-svelte, @vitejs/plugin-vue, @vitejs/plugin-vue-jsx, vite, vite-plugin-node-polyfills and vitest. These dependencies need to be updated together.
Updates esbuild from 0.21.5 to 0.27.1
Release notes
Sourced from esbuild's releases.
v0.27.1
-
Fix bundler bug with var nested inside if (#4348)
This release fixes a bug with the bundler that happens when importing an ES module using require (which causes it to be wrapped) and there's a top-level var inside an if statement without being wrapped in a { ... } block (and a few other conditions). The bundling transform needed to hoist these var declarations outside of the lazy ES module wrapper for correctness. See the issue for details.
-
Fix minifier bug with for inside try inside label (#4351)
This fixes an old regression from version v0.21.4. Some code was introduced to move the label inside the try statement to address a problem with transforming labeled for await loops to avoid the await (the transformation involves converting the for await loop into a for loop and wrapping it in a try statement). However, it introduces problems for cross-compiled JVM code that uses all three of these features heavily. This release restricts this transform to only apply to for loops that esbuild itself generates internally as part of the for await transform. Here is an example of some affected code:
// Original code
d: {
e: {
try {
while (1) { break d }
} catch { break e; }
}
}
// Old output (with --minify)
a:try{e:for(;;)break a}catch{break e}
// New output (with --minify)
a:e:try{for(;;)break a}catch{break e}
-
Inline IIFEs containing a single expression (#4354)
Previously inlining of IIFEs (immediately-invoked function expressions) only worked if the body contained a single return statement. Now it should also work if the body contains a single expression statement instead:
// Original code
const foo = () => {
const cb = () => {
console.log(x())
}
return cb()
}
// Old output (with --minify)
const foo=()=>(()=>{console.log(x())})();
// New output (with --minify)
const foo=()=>{console.log(x())};
-
The minifier now strips empty finally clauses (#4353)
This improvement means that finally clauses containing dead code can potentially cause the associated try statement to be removed from the output entirely in minified builds:
... (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 --define and import.meta (#4010, #4012, #4013)
The previous change in version 0.24.1 to use a more expression-like parser for define values to allow quoted property names introduced a regression that removed the ability to use --define:import.meta=.... Even though import is normally a keyword that can't be used as an identifier, ES modules special-case the import.meta expression to behave like an identifier anyway. This change fixes the regression.
This fix was contributed by @sapphi-red.
0.24.1
-
Allow es2024 as a target in tsconfig.json (#4004)
TypeScript recently added es2024 as a compilation target, so esbuild now supports this in the target field of tsconfig.json files, 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/set
This 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 --define and --pure (#4008)
The define and pure API 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 --define and --pure consistent with --global-name, which already supported quoted property names. For example, the following is now possible:
... (truncated)
Commits
5e0e56d publish 0.27.1 to npm
5a89732 fix #4354: improve IIFE inlining for expressions
b940218 minify: move unused expr simplification later
c46d498 fix #4353: remove empty try/finally clauses
7a72735 fix #4348: bundler bug with var inside if
4e4e177 fix #4351: label + try + for minifier bug
d6427c9 fix: deno release url wrong comment (#4326)
48e3e19 calling Symbol.for with a primitive never throws
4ff88d0 update decorator-tests.js snapshot
1877e60 calling Symbol with a primitive will never throw
- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for esbuild since your current version.
Updates @sveltejs/vite-plugin-svelte from 4.0.4 to 6.2.1
Release notes
Sourced from @sveltejs/vite-plugin-svelte's releases.
@sveltejs/vite-plugin-svelte@6.2.1
Patch Changes
-
fix: remove unscopable global styles warning (#1223)
-
Remove automatic configuration for rolldownOptions.optimization.inlineConst because latest version of rolldown-vite has it enabled by default. (#1225)
@sveltejs/vite-plugin-svelte@6.2.0
Minor Changes
- feat(rolldown-vite): enable
optimization.inlineConst by default to ensure treeshaking works with esm-env in svelte (#1207)
@sveltejs/vite-plugin-svelte@6.1.4
Patch Changes
-
fix: allow preprocess plugin to run twice (#1206)
-
fix(types): update urls to PreprocessorGroup and CompileOptions in type documention (#1203)
-
replace kleur dependency with builtin node:utils styleText (#1210)
@sveltejs/vite-plugin-svelte@6.1.3
Patch Changes
- fix(api): add
api.filter and deprecate api.idFilter to avoid confusing filter.id = idFilter.id assignments when used as hybrid filter in other plugins (#1199)
@sveltejs/vite-plugin-svelte@6.1.2
Patch Changes
- fix: ensure compiled css is returned when reloading during dev with ssr (e.g. SvelteKit) (#1194)
@sveltejs/vite-plugin-svelte@6.1.1
Patch Changes
- fix: ensure compiled svelte css is loaded correctly when rebuilding in
build --watch (#1189)
@sveltejs/vite-plugin-svelte@6.1.0
Minor Changes
- feat: add support for the new experimental.async option and apply dynamicCompileOptions when compiling Svelte modules (#1176)
Patch Changes
... (truncated)
Changelog
Sourced from @sveltejs/vite-plugin-svelte's changelog.
6.2.1
Patch Changes
-
fix: remove unscopable global styles warning (#1223)
-
Remove automatic configuration for rolldownOptions.optimization.inlineConst because latest version of rolldown-vite has it enabled by default. (#1225)
6.2.0
Minor Changes
- feat(rolldown-vite): enable
optimization.inlineConst by default to ensure treeshaking works with esm-env in svelte (#1207)
6.1.4
Patch Changes
-
fix: allow preprocess plugin to run twice (#1206)
-
fix(types): update urls to PreprocessorGroup and CompileOptions in type documention (#1203)
-
replace kleur dependency with builtin node:utils styleText (#1210)
6.1.3
Patch Changes
- fix(api): add
api.filter and deprecate api.idFilter to avoid confusing filter.id = idFilter.id assignments when used as hybrid filter in other plugins (#1199)
6.1.2
Patch Changes
- fix: ensure compiled css is returned when reloading during dev with ssr (e.g. SvelteKit) (#1194)
6.1.1
Patch Changes
- fix: ensure compiled svelte css is loaded correctly when rebuilding in
build --watch (#1189)
6.1.0
Minor Changes
- feat: add support for the new experimental.async option and apply dynamicCompileOptions when compiling Svelte modules (#1176)
... (truncated)
Commits
Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for @sveltejs/vite-plugin-svelte since your current version.
Updates @vitejs/plugin-vue from 4.6.2 to 6.0.3
Release notes
Sourced from @vitejs/plugin-vue's releases.
plugin-vue@6.0.3
Please refer to CHANGELOG.md for details.
plugin-vue@6.0.2
Please refer to CHANGELOG.md for details.
plugin-vue@6.0.1
Please refer to CHANGELOG.md for details.
plugin-vue@6.0.0
Please refer to CHANGELOG.md for details.
plugin-vue@6.0.0-beta.2
Please refer to CHANGELOG.md for details.
plugin-vue@6.0.0-beta.1
Please refer to CHANGELOG.md for details.
plugin-vue@6.0.0-beta.0
Please refer to CHANGELOG.md for details.
plugin-vue@5.2.4
Please refer to CHANGELOG.md for details.
plugin-vue@5.2.3
Please refer to CHANGELOG.md for details.
plugin-vue@5.2.2
Please refer to CHANGELOG.md for details.
plugin-vue@5.2.1
Please refer to CHANGELOG.md for details.
plugin-vue@5.2.0
Please refer to CHANGELOG.md for details.
plugin-vue@5.1.5
Please refer to CHANGELOG.md for details.
plugin-vue@5.1.4
Please refer to CHANGELOG.md for details.
plugin-vue@5.1.3
Please refer to CHANGELOG.md for details.
plugin-vue@5.1.2
Please refer to CHANGELOG.md for details.
plugin-vue-jsx@5.1.2
Please refer to CHANGELOG.md for details.
... (truncated)
Changelog
Sourced from @vitejs/plugin-vue's changelog.
6.0.3 (2025年12月12日)
Features
Bug Fixes
- deps: update all non-major dependencies (#707) (799f419)
- hmr: reload when components switch between vapor and vdom (#714) (6c45fe5)
Performance Improvements
Miscellaneous Chores
6.0.2 (2025年11月19日)
Bug Fixes
- deps: update all non-major dependencies (#643) (b702c1f)
- deps: update all non-major dependencies (#653) (c6bd324)
- deps: update all non-major dependencies (#663) (dbcd1d0)
- deps: update all non-major dependencies (#665) (428dde0)
- deps: update all non-major dependencies (#671) (59e0a51)
- deps: update all non-major dependencies (#679) (f226dab)
- deps: update all non-major dependencies (#685) (d990206)
- deps: update all non-major dependencies (#688) (46edd7e)
- deps: update all non-major dependencies (#692) (13accf3)
- deps: update all non-major dependencies (#694) (9c77f01)
- deps: update all non-major dependencies (#704) (ecb581a)
- fix hmr of dynamically loaded vue sfc modules in apps with tailwind (#702) (0a883f7)
Miscellaneous Chores
6.0.1 (2025年07月28日)
Bug Fixes
... (truncated)
Commits
3ae94c4 release: plugin-vue@6.0.3
6c45fe5 fix(hmr): reload when components switch between vapor and vdom (#714)
2080d41 feat: add Vite 8 support
037e540 chore: upgrade deps, setup tsgo
799f419 fix(deps): update all non-major dependencies (#707)
d910114 chore(deps): update upstream (#706)
684ac30 perf: replace debug with obug (#705)
eda09e9 release: plugin-vue@6.0.2
0a883f7 fix: fix hmr of dynamically loaded vue sfc modules in apps with tailwind (#702)
ecb581a fix(deps): update all non-major dependencies (#704)
- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for @vitejs/plugin-vue since your current version.
Updates @vitejs/plugin-vue-jsx from 3.1.0 to 5.1.2
Release notes
Sourced from @vitejs/plugin-vue-jsx's releases.
plugin-vue@5.1.2
Please refer to CHANGELOG.md for details.
plugin-vue-jsx@5.1.2
Please refer to CHANGELOG.md for details.
plugin-vue@5.1.1
Please refer to CHANGELOG.md for details.
plugin-vue-jsx@5.1.1
Please refer to CHANGELOG.md for details.
plugin-vue@5.1.0
Please refer to CHANGELOG.md for details.
plugin-vue-jsx@5.1.0
Please refer to CHANGELOG.md for details.
plugin-vue@5.0.5
Please refer to CHANGELOG.md for details.
plugin-vue@5.0.4
Please refer to CHANGELOG.md for details.
plugin-vue@5.0.3
Please refer to CHANGELOG.md for details.
plugin-vue@5.0.2
Please refer to CHANGELOG.md for details.
plugin-vue@5.0.1
Please refer to CHANGELOG.md for details.
plugin-vue-jsx@5.0.1
Please refer to CHANGELOG.md for details.
plugin-vue@5.0.0
Please refer to CHANGELOG.md for details.
plugin-vue-jsx@5.0.0
Please refer to CHANGELOG.md for details.
plugin-vue@5.0.0-beta.1
Please refer to CHANGELOG.md for details.
plugin-vue@5.0.0-beta.0
Please refer to CHANGELOG.md for details.
plugin-vue-jsx@5.0.0-beta.0
Please refer to CHANGELOG.md for details.
... (truncated)
Changelog
Sourced from @vitejs/plugin-vue-jsx's changelog.
5.1.2 (2025年11月19日)
Bug Fixes
- deps: update all non-major dependencies (#663) (dbcd1d0)
- deps: update all non-major dependencies (#665) (428dde0)
- deps: update all non-major dependencies (#671) (59e0a51)
- deps: update all non-major dependencies (#679) (f226dab)
- deps: update all non-major dependencies (#685) (d990206)
- deps: update all non-major dependencies (#688) (46edd7e)
- deps: update all non-major dependencies (#692) (13accf3)
- deps: update all non-major dependencies (#694) (9c77f01)
- deps: update all non-major dependencies (#704) (ecb581a)
- deps: update dependency
@vue/babel-plugin-jsx to v2 (#683) (dd247b5)
5.1.1 (2025年08月28日)
Bug Fixes
5.1.0 (2025年08月25日)
Features
- jsx: set
optimizeDeps.rolldownOptions.transform.jsx: 'preserve' (#650) (c4b9878)
- vue-jsx: allow esbuild to perform ts transformation (#621) (c453513)
Bug Fixes
- deps: update all non-major dependencies (#624) (fe03fa2)
- deps: update all non-major dependencies (#629) (b969637)
- deps: update all non-major dependencies (#633) (aa56ad1)
- deps: update all non-major dependencies (#636) (5f471a3)
- deps: update all non-major dependencies (#643) (b702c1f)
- deps: update all non-major dependencies (#653) (c6bd324)
Miscellaneous Chores
- group commits by category in changelog (#620) (1a32018)
Build System
5.0.1 (2025年07月03日)
Bug Fixes
- deps: update all non-major dependencies (#618) (46f6c99)
- vue-jsx: handle type asserted export default defineComponent (#615) (3602d4d)
5.0.0 (2025年06月24日)
Bug Fixes
... (truncated)
Commits
5d592cd chore(deps): update upstream (#432)
02a3edd chore(deps): update upstream (#416)
8cb2ea9 fix(deps): update all non-major dependencies (#412)
2b0bd89 release: plugin-vue-jsx@4.0.0
96c82e9 chore(deps): update upstream (#379)
0a484c7 fix(deps): update all non-major dependencies (#371)
997f9bb chore(deps): replace dependency eslint-plugin-node with eslint-plugin-n ^14.0...
2050ad3 chore(deps): update upstream (#367)
ed4970a fix(deps): update all non-major dependencies (#360)
a28c46e chore(deps): update upstream (#361)
- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for @vitejs/plugin-vue-jsx since your current version.
Updates vite from 5.4.21 to 7.3.0
Release notes
Sourced from vite's releases.
v7.3.0
Please refer to CHANGELOG.md for details.
v7.2.7
Please refer to CHANGELOG.md for details.
v7.2.6
Please refer to CHANGELOG.md for details.
v7.2.5
Please refer to CHANGELOG.md for details.
Note: 7.2.5 failed to publish so it is skipped on npm
v7.2.4
Please refer to CHANGELOG.md for details.
v7.2.3
Please refer to CHANGELOG.md for details.
v7.2.2
Please refer to CHANGELOG.md for details.
plugin-legacy@7.2.1
Please refer to CHANGELOG.md for details.
v7.2.1
Please refer to CHANGELOG.md for details.
plugin-legacy@7.2.0
Please refer to CHANGELOG.md for details.
v7.2.0
Please refer to CHANGELOG.md for details.
v7.2.0-beta.1
Please refer to CHANGELOG.md for details.
v7.2.0-beta.0
Please refer to CHANGELOG.md for details.
v7.1.12
Please refer to CHANGELOG.md for details.
v7.1.11
Please refer to CHANGELOG.md for details.
v7.1.10
Please refer to CHANGELOG.md for details.
... (truncated)
Changelog
Sourced from vite's changelog.
7.3.0 (2025年12月15日)
Features
7.2.7 (2025年12月08日)
Bug Fixes
7.2.6 (2025年12月01日)
7.2.5 (2025年12月01日)
Bug Fixes
Performance Improvements
Documentation
- clarify manifest.json
imports field is JS chunks only (#21136) (46d3077)
Miscellaneous Chores
7.2.4 (2025年11月20日)
Bug Fixes
7.2.3 (2025年11月20日)
Bug Fixes
- allow multiple
bindCLIShortcuts calls with shortcut merging (#21103) (5909efd)
- deps: update all non-major dependencies (#21096) (6a34ac3)
- deps: update all non-major dependencies (#21128) (4f8171e)
Performance Improvements
Miscellaneous Chores
... (truncated)
Commits
Updates vite-plugin-node-polyfills from 0.22.0 to 0.24.0
Release notes
Sourced from vite-plugin-node-polyfills's releases.
v0.24.0
- Add
rolldown-vite support
- Fix broken
v0.23.1 build
v0.23.1
- Allow installation in Vite v7 projects
v0.23.0
- Improve performance when not using globals
- Support Vite v6
Commits
Updates vitest from 0.34.6 to 4.0.16
Release notes
Sourced from vitest's releases.
v4.0.16
🐞 Bug Fixes
Bumps esbuild to 0.27.1 and updates ancestor dependencies esbuild, @sveltejs/vite-plugin-svelte, @vitejs/plugin-vue, @vitejs/plugin-vue-jsx, vite, vite-plugin-node-polyfills and vitest. These dependencies need to be updated together.
Updates
esbuildfrom 0.21.5 to 0.27.1Release notes
Sourced from esbuild's releases.
... (truncated)
Changelog
Sourced from esbuild's changelog.
... (truncated)
Commits
5e0e56dpublish 0.27.1 to npm5a89732fix #4354: improve IIFE inlining for expressionsb940218minify: move unused expr simplification laterc46d498fix #4353: remove emptytry/finallyclauses7a72735fix #4348: bundler bug withvarinsideif4e4e177fix #4351: label +try+forminifier bugd6427c9fix: deno release url wrong comment (#4326)48e3e19callingSymbol.forwith a primitive never throws4ff88d0updatedecorator-tests.jssnapshot1877e60callingSymbolwith a primitive will never throwMaintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for esbuild since your current version.
Updates
@sveltejs/vite-plugin-sveltefrom 4.0.4 to 6.2.1Release notes
Sourced from
@sveltejs/vite-plugin-svelte's releases.... (truncated)
Changelog
Sourced from
@sveltejs/vite-plugin-svelte's changelog.... (truncated)
Commits
1b50eb9Version Packages (#1224)b81ef40fix: remove automatic setting of rolldown inlineConst (#1225)bb4b033fix: remove unscopable global warning (#1223)e3c60c5fix(deps): update all non-major dependencies (#1218)2a623f2Version Packages (#1217)e1ffd09feat(rolldown-vite): enable optimization.inlineConst by default (#1207)2842159Version Packages (#1204)35121acrefactor: replace kleur with styleText (#1210)db12c90fix(deps): update all non-major dependencies (#1205)79a56c4fix: allow preprocess plugin to run twice (#1206)Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for
@sveltejs/vite-plugin-sveltesince your current version.Updates
@vitejs/plugin-vuefrom 4.6.2 to 6.0.3Release notes
Sourced from
@vitejs/plugin-vue's releases.... (truncated)
Changelog
Sourced from
@vitejs/plugin-vue's changelog.... (truncated)
Commits
3ae94c4release: plugin-vue@6.0.36c45fe5fix(hmr): reload when components switch between vapor and vdom (#714)2080d41feat: add Vite 8 support037e540chore: upgrade deps, setup tsgo799f419fix(deps): update all non-major dependencies (#707)d910114chore(deps): update upstream (#706)684ac30perf: replace debug with obug (#705)eda09e9release: plugin-vue@6.0.20a883f7fix: fix hmr of dynamically loaded vue sfc modules in apps with tailwind (#702)ecb581afix(deps): update all non-major dependencies (#704)Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for
@vitejs/plugin-vuesince your current version.Updates
@vitejs/plugin-vue-jsxfrom 3.1.0 to 5.1.2Release notes
Sourced from
@vitejs/plugin-vue-jsx's releases.... (truncated)
Changelog
Sourced from
@vitejs/plugin-vue-jsx's changelog.... (truncated)
Commits
5d592cdchore(deps): update upstream (#432)02a3eddchore(deps): update upstream (#416)8cb2ea9fix(deps): update all non-major dependencies (#412)2b0bd89release: plugin-vue-jsx@4.0.096c82e9chore(deps): update upstream (#379)0a484c7fix(deps): update all non-major dependencies (#371)997f9bbchore(deps): replace dependency eslint-plugin-node with eslint-plugin-n ^14.0...2050ad3chore(deps): update upstream (#367)ed4970afix(deps): update all non-major dependencies (#360)a28c46echore(deps): update upstream (#361)Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for
@vitejs/plugin-vue-jsxsince your current version.Updates
vitefrom 5.4.21 to 7.3.0Release notes
Sourced from vite's releases.
... (truncated)
Changelog
Sourced from vite's changelog.
... (truncated)
Commits
acf7e05release: v7.3.0cff26ecfeat(deps): update esbuild from ^0.25.0 to ^0.27.0 (#21183)317b3b2release: v7.2.7721f163fix: plugin shortcut support (#21211)bda5dbbrelease: v7.2.63aa7527release: v7.2.572e398afix(deps): update all non-major dependencies (#21175)3765f7bfix: shortcuts not rebound after server restart (#21166)5ef557afix: fixexternal: truemerging (#21164)74559c9chore(deps): update rolldown-related dependencies (#21174)Updates
vite-plugin-node-polyfillsfrom 0.22.0 to 0.24.0Release notes
Sourced from vite-plugin-node-polyfills's releases.
Commits
6df518bReleasev0.24.0ca49ba3Add rolldown-vite support (#128)001ec8aReleasev0.23.12f59f12Update package.json fixes #127 (#130)8d68d4fReleasev0.23.05f36379Avoid creating an inject plugin when there are no shims to inject (#101)c40a478Add support for Vite v6 (#114)ed544c3Make it possible to run CI manuallyUpdates
vitestfrom 0.34.6 to 4.0.16Release notes
Sourced from vitest's releases.