v0.0.6
Pre-release
Pre-release
- Add support for typescript, jsx, tsx, and coffeescript (autodetected based on file extension, or
--langflag when using the repl or--eval) - Add
isnamespace which contains utility functions for checking the types of various values - Add
pipefunction (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.enableLogginghas been removed in favor of a newtraceoption) - add
clearfunction (prints ansi control code to stdout) importnow works in the repl and in--eval(by way of a simple ESM-to-CJS transform)- Add
--print-typesCLI flag to print out theyavascript.d.tsthat 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