- Added
runCodeandrunCodeWithDatamethods 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
runandrunWithData, which were previously missing. - Updated various dependencies.