Releases: leebyron/async-to-gen
Releases · leebyron/async-to-gen
v1.4.0
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
Fixed:
- Node and V8 options provided to
async-node
are now utilized (22767c4)
v1.3.2
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
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
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
Fixes:
- Adds proper support for for-await-of loops and
AsyncIterable
s (#33)
- Better syntax error messages (#32)
v1.1.5
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
Fixes:
- Removes memory leak for async functions with await within loops (#26)
- Fix transform bug for nested super assignments (b1976f2)
v1.1.3
Fixes:
- Fixed issue where transformer could break for holey-destructuring (#22)
- Only relevant files included in npm package
v1.1.1
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)