@esbuild/darwin-arm64
0.28.2 · 8 Aug 2026MIT20.6M / weekRepositoryHomepagenpmAtom feed
Your version
0.28.2 is the newest release of 0.16.x.
In short
1 fixed
Release note
Fix a regression caused by comment preservation
The new comment preservation behavior that was added in 0.16.14 introduced a regression where comments in certain locations could cause esbuild to omit certain necessary parentheses in the output. The outermost parentheses were incorrectly removed for the following syntax forms, which then introduced syntax errors:
(/* comment */ { x: 0 }).x; (/* comment */ function () { })(); (/* comment */ class { }).prototype;This regression 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.