@esbuild/linux-x64
0.28.2 · 8 Aug 2026MIT396.1M / weekRepositoryHomepagenpmAtom feed
0.28.2 is the newest release of 0.17.x.
In short
2 fixed1 changed
Release note
Parse rest bindings in TypeScript types
Previously esbuild was unable to parse the following valid TypeScript code:
let tuple: (...[e1, e2, ...es]: any) => any
This release includes support for parsing code like this.
Fix TypeScript code translation for certain computed
declareclass fieldsIn TypeScript, the key of a computed
declareclass field should only be preserved if there are no decorators for that field. Previously esbuild always preserved the key, but esbuild will now remove the key to match the output of the TypeScript compiler:// Original code declare function dec(a: any, b: any): any declare const removeMe: unique symbol declare const keepMe: unique symbol class X { declare [removeMe]: any @dec declare [keepMe]: any } // Old output var _a; class X { } removeMe, _a = keepMe; __decorateClass([ dec ], X.prototype, _a, 2); // New output var _a; class X { } _a = keepMe; __decorateClass([ dec ], X.prototype, _a, 2);Fix a crash with path resolution error generation
In certain situations, a module containing an invalid import path could previously cause esbuild to crash when it attempts to generate a more helpful error message. This crash has been fixed.
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.