Module swc_ecma_transforms_compat::bugfixes[][src]

Functions

async_arrows_in_class

Safari 10.3 had an issue where async arrow function expressions within any class method would throw. After an initial fix, any references to the instance via this within those methods would also throw. This is fixed by converting arrow functions in class methods into equivalent function expressions. See https://bugs.webkit.org/show_bug.cgi?id=166879

bugfixes
edge_default_param

Converts destructured parameters with default values to non-shorthand syntax. This fixes the only arguments-related bug in ES Modules-supporting browsers (Edge 16 & 17). Use this plugin instead of @babel/plugin-transform-parameters when targeting ES Modules.

template_literal_caching