Skip to content

Commit

Permalink
Clear up wording
Browse files Browse the repository at this point in the history
  • Loading branch information
XmiliaH committed Jul 19, 2022
1 parent a34b167 commit cb647c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit cb647c0

Please sign in to comment.