Minor Changes
-
#136
ecd5eb7Thanks @jjloneman! - Add zsh dialect support by rebuilding the WASM against a newermvdan/sh:- Rebuild
main.wasmagainstmvdan/shv3.13.1 (was v3.11.0) and expose thezshLangVariant. - Valid zsh such as
${0:A:h:h}now parses and prints instead of erroring withternary operator missing ? before :.
Breaking:
LangVariantis now a bit-flag enum (1 << iota) to matchmvdan/shv3.13, so every numeric value changed. Code using the exportedLangVariantconstants is unaffected; only code passing raw variant numbers needs updating:LangBash:0→1LangPOSIX:1→2LangMirBSDKorn:2→4LangBats:3→8LangZsh: (new) →16LangAuto:4→32
- Rebuild
Patch Changes
-
#138
2aa922bThanks @JounQin! - FixFile.StmtsJSON field name to match themvdan/shsyntax library, correcting a serialization mismatch between the WASM runtime and TypeScript types. -
#139
eea166dThanks @JounQin! - Remove unusedtslibfrom dependencies.
New Contributors
- @jjloneman made their first contribution in #136
Full Changelog: v0.5.8...v0.6.0