Packages

esbuild-linux-riscv64

0.15.18 · 5 Dec 2022MIT627.3k / weekRepositoryHomepagenpmAtom feed

Your version

0.14.38

21 Apr 2022Where it was published

0.15.18 is the newest release of 0.14.x.

In short

1 changed

Release note

  • Further fixes to TypeScript 4.7 instantiation expression parsing

    This release fixes some additional edge cases with parsing instantiation expressions from the upcoming version 4.7 of TypeScript. Previously it was allowed for an instantiation expression to precede a binary operator but with this release, that's no longer allowed. This was sometimes valid in the TypeScript 4.7 beta but is no longer allowed in the latest version of TypeScript 4.7. Fixing this also fixed a regression that was introduced by the previous release of esbuild:

    CodeTS 4.6.3TS 4.7.0 betaTS 4.7.0 nightlyesbuild 0.14.36esbuild 0.14.37esbuild 0.14.38
    a<b> == c<d>Invalida == cInvalida == ca == cInvalid
    a<b> in c<d>InvalidInvalidInvalidInvalida in cInvalid
    a<b>>=c<d>InvalidInvalidInvalidInvalida >= cInvalid
    a<b>=c<d>Invalida < b >= ca = ca < b >= ca = ca = c
    a<b>>c<d>a < b >> ca < b >> ca < b >> ca < b >> ca > ca < b >> c

    This table illustrates some of the more significant changes between all of these parsers. The most important part is that esbuild 0.14.38 now matches the behavior of the latest TypeScript compiler for all of these cases.

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.