Skip to main content

Changelog: swc v1.1.26

· One min read


recursive function reference within a method property (#679)#

Previously, codes like below can crash swc.

({  foo() {    function bar() {      bar;    }  }});

This is fixed with @v1.1.26.

await-for loop#

swc emits identical code as babel when it meets an await-for loop.

for await (const row of stream) {}