esbuild
0.28.2 · 8 Aug 2026MIT443.2M / weekRepositoryHomepagenpmAtom feed
Your version
0.28.2 is the newest release of 0.18.x.
In short
1 fixed
Security
1 advisory affects 0.18.11
- Moderateesbuild enables any website to send any requests to the development server and read the responseGHSA-67mh-4wv8-2f99 · 10 Feb 2025No fix yet
Release note
Fix a TypeScript code generation edge case
This release fixes a regression in version 0.18.4 where using a TypeScript
namespacethat exports aclassdeclaration combined with--keep-namesand a--targetofes2021or earlier could cause esbuild to export the class from the namespace using an incorrect name (notice the assignment toX2._Yvs.X2.Y):// Original code // Old output (with --keep-names --target=es2021) var X; ((X2) => { const _Y = class _Y { }; __name(_Y, "Y"); let Y = _Y; X2._Y = _Y; })(X || (X = {})); // New output (with --keep-names --target=es2021) var X; ((X2) => { const _Y = class _Y { }; __name(_Y, "Y"); let Y = _Y; X2.Y = _Y; })(X || (X = {}));
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.