esbuild
0.28.2 · 8 Aug 2026MIT443.2M / weekRepositoryHomepagenpmAtom feed
Your version
0.28.2 is the newest release of 0.27.x.
In short
1 fixed
Security
1 advisory affects 0.27.7; 0.28.1 fixes them
- Lowesbuild allows arbitrary file read when running the development server on WindowsGHSA-g7r4-m6w7-qqqr · 12 Jun 2026Fixed in 0.28.1
Release note
Fix lowering of define semantics for TypeScript parameter properties
The previous release incorrectly generated class fields for TypeScript parameter properties even when the configured target environment does not support class fields. With this release, the generated class fields will now be correctly lowered in this case:
// Original code class Foo { constructor(public x = 1) {} y = 2 } // Old output (with --loader=ts --target=es2021) class Foo { constructor(x = 1) { this.x = x; __publicField(this, "y", 2); } x; } // New output (with --loader=ts --target=es2021) class Foo { constructor(x = 1) { __publicField(this, "x", x); __publicField(this, "y", 2); } }
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.