Skip to content

v7.3.0

  • v7.3.0
  • 12d28dc
  • Verified

    This commit was signed with the committer’s verified signature.
    laat Sigurd Fosseng
  • Choose a tag to compare

  • v7.3.0
  • 12d28dc
  • Choose a tag to compare

  • Verified

    This commit was signed with the committer’s verified signature.
    laat Sigurd Fosseng
@laat laat tagged this 12 Apr 10:24
When the expression is an AwaitExpression, throws/Error assertions are
promoted to async rejects — await converts rejection to throw, so
assert.throws with a sync callback would be a syntax error.

Top-level await in a code block now overrides CJS detection, ensuring
the generated file uses ESM (.mjs) since top-level await requires it.
Assets 2
Loading