@esbuild/linux-loong64
0.28.2 · 8 Aug 2026MIT12.3M / weekRepositoryHomepagenpmAtom feed
Your version
0.28.2 is the newest release of 0.15.x.
In short
1 fixed
Release note
Fix various edge cases regarding template tags and
thisThis release fixes some bugs where the value of
thiswasn't correctly preserved when evaluating template tags in a few edge cases. These edge cases are listed below:async function test() { class Foo { foo() { return this } } class Bar extends Foo { a = async () => super.foo`` b = async () => super['foo']`` c = async (foo) => super[foo]`` } function foo() { return this } const obj = { foo } const bar = new Bar console.log( (await bar.a()) === bar, (await bar.b()) === bar, (await bar.c('foo')) === bar, { foo }.foo``.foo === foo, (true && obj.foo)`` !== obj, (false || obj.foo)`` !== obj, (null ?? obj.foo)`` !== obj, ) } test()Each edge case in the code above previously incorrectly printed
falsewhen run through esbuild with--minify --target=es6but now correctly printstrue. These edge cases are unlikely to have affected real-world code.
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.