Skip to content

Releases: leebyron/async-to-gen

v1.4.0

15 Feb 22:09
Compare
Choose a tag to compare

New:

  • Supports transforming of .mjs files, which allows use along with @std/esm and esmodule based bundlers (be56e02)
  • Uses pirates for async-to-gen/register which allows for interoperation with @std/esm, the latest version of Babel's require hook, and others!

Fixes:

  • Fixed a case where parenthetic expressions were not being transformed correctly (#53)
  • Now always explicitly writes UTF8 files, regardless of platform (special note for Windows users) (#54)

v1.3.3

01 May 20:16
Compare
Choose a tag to compare

Fixed:

  • Node and V8 options provided to async-node are now utilized (22767c4)

v1.3.2

26 Jan 19:36
Compare
Choose a tag to compare

New:

  • Pass -q or --quiet to silence information about successful progress.

Fixed:

  • Information about successful progress is emitted on stderr, reserving stdout for output only.

v1.3.1

26 Jan 19:03
Compare
Choose a tag to compare

New:

  • Source maps are now on by default when using the register hook.
  • Register hook includes/excludes can be provided as a simple glob-string in addition to RegExps.
  • Register hook accepts include/exclude as alias for includes/excludes.

Fixes:

  • Fixed typos around includes/include.

v1.3.0

09 Dec 02:57
Compare
Choose a tag to compare

New:

  • Support for --sourcemaps in async-to-gen for outputting sourcemap files alongside transformed files.
  • Support for sourceMaps to the node require hook for tools that consume it (like ava).
  • Support for includes and excludes options to the node require hook.

Fixes:

  • No longer creates syntax error for async arrow functions with no whitespace.
  • Require hook is less aggressive, working with tools like nyc or ava.

v1.2.0

20 Nov 21:09
Compare
Choose a tag to compare

Fixes:

  • Adds proper support for for-await-of loops and AsyncIterables (#33)
  • Better syntax error messages (#32)

v1.1.5

20 Nov 16:27
Compare
Choose a tag to compare

Fixes:

  • No longer causes syntax error in strict-mode when referencing arguments (#28)
  • Allow use of for-await loops in normal async functions (#30)

v1.1.4

07 Oct 09:41
Compare
Choose a tag to compare

Fixes:

  • Removes memory leak for async functions with await within loops (#26)
  • Fix transform bug for nested super assignments (b1976f2)

v1.1.3

16 Sep 15:18
Compare
Choose a tag to compare

Fixes:

  • Fixed issue where transformer could break for holey-destructuring (#22)
  • Only relevant files included in npm package

v1.1.1

15 Sep 02:19
Compare
Choose a tag to compare

New:

  • Adds support for Jest testing library

Fixed:

  • Correctly creates missing directories when transforming over a directory (#19)
  • Fix a case where missing whitespace could result in a syntax error after transform (bd19f6e)