Skip to content

Releases: domenic/throw-catch-cancel-syntax

1.0.4

Choose a tag to compare

@domenic domenic released this 18 May 21:17

Fix overzealous transformation of class methods named catch that took a single parameter, e.g. class C { catch(e) { } }. These cases are now left alone.

1.0.3

Choose a tag to compare

@domenic domenic released this 18 May 19:18

Fixed the generated logic to correctly handle throw undefined, throw null, throw cancel undefined, and throw cancel null.

1.0.2

Choose a tag to compare

@domenic domenic released this 18 May 19:17

Fixed bad output (containing references to nonexistant variables) when using both catch and catch cancel in response to a single try.

1.0.1

Choose a tag to compare

@domenic domenic released this 18 May 19:16

Fixed overzealous transformation of calls to methods named catch, e.g. p.catch(onRejected). These cases are now left alone.

1.0.0

Choose a tag to compare

@domenic domenic released this 18 May 19:15

Initial release