Skip to content

v0.0.6

Pre-release
Pre-release
Compare
Choose a tag to compare
@suchipi suchipi released this 09 Nov 04:08
· 541 commits to main since this 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 new trace 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 the yavascript.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