Packages

@esbuild/openharmony-arm64

0.28.2 · 8 Aug 2026MIT8M / weekRepositoryHomepagenpmAtom feed

Your version

0.27.7

2 Apr 2026Where it was published

0.28.2 is the newest release of 0.27.x.

In short

1 fixed

Release note

  • Fix lowering of define semantics for TypeScript parameter properties

    The previous release incorrectly generated class fields for TypeScript parameter properties even when the configured target environment does not support class fields. With this release, the generated class fields will now be correctly lowered in this case:

    // Original code
    class Foo {
      constructor(public x = 1) {}
      y = 2
    }
    
    // Old output (with --loader=ts --target=es2021)
    class Foo {
      constructor(x = 1) {
        this.x = x;
        __publicField(this, "y", 2);
      }
      x;
    }
    
    // New output (with --loader=ts --target=es2021)
    class Foo {
      constructor(x = 1) {
        __publicField(this, "x", x);
        __publicField(this, "y", 2);
      }
    }

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.