From 72152d257eb5ca8c53e3d2e6f463baf940b0ce5d Mon Sep 17 00:00:00 2001 From: XmiliaH Date: Wed, 21 Apr 2021 19:03:20 +0200 Subject: [PATCH] Update readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 6439024..ee80503 100644 --- a/README.md +++ b/README.md @@ -144,6 +144,7 @@ Unlike `VM`, `NodeVM` lets you require modules same way like in regular Node's c * `wrapper` - `commonjs` (default) to wrap script into CommonJS wrapper, `none` to retrieve value returned by the script. * `argv` - Array to be passed to `process.argv`. * `env` - Object to be passed to `process.env`. +* `strict` - `true` to loaded modules in strict mode (default: `false`). **IMPORTANT**: Timeout is not effective for NodeVM so it is not immune to `while (true) {}` or similar evil.