v0.0.6
Pre-release
Pre-release
- Add support for typescript, jsx, tsx, and coffeescript (autodetected based on file extension, or
--lang
flag when using the repl or--eval
) - Add
is
namespace which contains utility functions for checking the types of various values - Add
pipe
function (wip; converts some byte source (file, typedarray, string) into some other byte representation) - improve glob (also, its arguments changed, which is a breaking change)
- better inspection of FILE objects (from quickjs std/os modules)
- unify trace logging stuff (breaking:
exec.enableLogging
has been removed in favor of a newtrace
option) - add
clear
function (prints ansi control code to stdout) import
now works in the repl and in--eval
(by way of a simple ESM-to-CJS transform)- Add
--print-types
CLI flag to print out theyavascript.d.ts
that corresponds to a given binary, so the binary can be distributed on its own without losing the types - And some other misc changes
Full Changelog: v0.0.5...v0.0.6