Releases: facebookarchive/flow-remove-types
Releases · facebookarchive/flow-remove-types
v1.2.3
18 Oct 05:32
Compare
Sorry, something went wrong.
No results found
Simultaneously publish this package as flow-remove-types and under the alias flow-node.
v1.2.2
18 Oct 05:10
Compare
Sorry, something went wrong.
No results found
Fixed:
Do not remove the @flow pragma outside comment. (#54 )
Support esm module extension - .mjs (#53 )
Fix using --all when running script with flow-node (#47 )
Ensure the --all argument is printed in --help (#46 )
v1.2.1
01 May 20:17
Compare
Sorry, something went wrong.
No results found
Fixed:
Node and V8 options provided to async-node are now utilized (c80a734 )
Fixed a bug with parsing holey array-destructuring (#36 )
v1.2.0
27 Jan 02:14
Compare
Sorry, something went wrong.
No results found
New:
-q or --quiet will silence progress output during successful operation, and this progress output occurs on stderr #30
Register hook now accepts string paths as a convenience 6c4a4cc
Support for flow inline type imports #32
Pretty mode now removes excess surrounding whitespace and new lines #31 #33 #34
Fixes:
No longer fail when converting using --pretty #26
v1.1.2
09 Dec 03:20
Compare
Sorry, something went wrong.
No results found
New:
Pass includes or excludes options to the require hook.
v1.1.1
09 Dec 01:55
Compare
Sorry, something went wrong.
No results found
New :
Support for inline source maps!
v1.1.0
08 Dec 20:21
Compare
Sorry, something went wrong.
No results found
Breaking:
The JavaScript API no longer returns strings, instead returns an object with a .toString() method.
The checkPragma option has been replaced with the all option.
New:
Pass --all or -a to transform all files, not just those which have @flow comments.
Pass --pretty or -p to remove flow types without replacing them with spaces, may require using source maps.
Pass --sourcemaps or -m to generate source map files alongside flow files.
Fixes:
The node require hook, flow-remove-types/register, has been rewritten to not conflict with nyc or ava.
Only necessary files are published to npm.
v1.0.5
04 Nov 20:35
Compare
Sorry, something went wrong.
No results found
Fixes:
Adds a newline after printing when running --version (#14 )
Creates subdirectories when generating into a non-existent directory (#16 )
v1.0.4
07 Sep 18:05
Compare
Sorry, something went wrong.
No results found
Fixes:
flow-node now works with existing require.extensions usage such as babel-register or async-to-gen.
v1.0.3
13 Aug 21:19
Compare
Sorry, something went wrong.
No results found
New:
Fixed:
Whitespace and interior comments near tokens could cause binary search to return undefined.
Visitor was visiting unnecessary values