From cb647c003ee168afbd397584f72f1cd27ece15e4 Mon Sep 17 00:00:00 2001 From: XmiliaH Date: Tue, 19 Jul 2022 12:29:07 +0200 Subject: [PATCH] Clear up wording --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eb8a282..f3ee06a 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,7 @@ Unlike `VM`, `NodeVM` allows you to require modules in the same way that you wou * `require.import` - An array of modules to be loaded into NodeVM on start. * `require.resolve` - An additional lookup function in case a module wasn't found in one of the traditional node lookup paths. * `require.customRequire` - Use instead of the `require` function to load modules from the host. -* `require.strict` - `false` to disable loading modules in strict mode (default: `true`). +* `require.strict` - `false` to not force strict mode on modules loaded by require (default: `true`). * `nesting` - **WARNING**: Allowing this is a security risk as scripts can create a NodeVM which can require any host module. `true` to enable VMs nesting (default: `false`). * `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`.