v7.3.0
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.