Skip to content

Hackmud Script Manager 0.15

Compare
Choose a tag to compare
@samualtnorman samualtnorman released this 18 Feb 15:04
· 310 commits to main since this release

Added

  • support for SC$ and other unsafe things in regexes
  • // in strings and regexes automatically has a backslash inserted to stop hackmud from treating it like a comment
  • preprocessor syntax looking strings in strings and regexes automatically have backslashes inserted to stop hackmud from treating it like preprocessor syntax
  • hsm push can now be passed a --skip-minify option

Changes

  • the compile export from hackmud-script-manager/processScript is now called transform
  • hsm push now requires the dir arg
  • removed srcLength from the object returned by processScript() - it's quite difficult to maintain at this point
  • _TIMEOUT and _START are only shortened to _TO and _ST when minifying the script

Fixed

  • "could not find module Proxy treating as external module" message
  • _SCRIPT_USER and _FULL_SCRIPT_NAME not being replaced properly in some cases
  • _TIMEOUT not being shortened to _TO