module: document parentURL
in register options
PR-URL: https://github.com/nodejs/node/pull/51039 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
This commit is contained in:
parent
ac9e594e32
commit
342ddb0e3d
@ -103,6 +103,10 @@ changes:
|
||||
URL, such as `import.meta.url`, you can pass that URL here. **Default:**
|
||||
`'data:'`
|
||||
* `options` {Object}
|
||||
* `parentURL` {string|URL} If you want to resolve `specifier` relative to a
|
||||
base URL, such as `import.meta.url`, you can pass that URL here. This
|
||||
property is ignored if the `parentURL` is supplied as the second argument.
|
||||
**Default:** `'data:'`
|
||||
* `data` {any} Any arbitrary, cloneable JavaScript value to pass into the
|
||||
[`initialize`][] hook.
|
||||
* `transferList` {Object\[]} [transferrable objects][] to be passed into the
|
||||
|
Loading…
x
Reference in New Issue
Block a user