Skip to content

1.2.0

Latest

Choose a tag to compare

@kethinov kethinov released this 10 Aug 14:37
bae4b4b
  • Added runCode and runCodeWithData methods so PHP code can be executed from memory instead of from a file.
  • Hardened input handling to prevent command injection.
  • Altered thrown error message to include PHP error output instead of being written directly to stderr.
  • Altered error thrown when failing to start PHP at all. It now reports the underlying spawn error instead of PHP process exited with code undefined.
  • Added TypeScript definitions for run and runWithData, which were previously missing.
  • Updated various dependencies.