Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Krems <jan.krems@gmail.com>2020-05-21 19:40:29 +0300
committerJan Krems <jan.krems@gmail.com>2020-05-28 02:38:38 +0300
commitd12d5ef3ef8e5d9f6a755d72c4b8ddc82658dee9 (patch)
tree6c7b333e848cd3f7d9eb61f0cc14b03e48763c22 /doc/api/errors.md
parent54b36e401d2b72d95e5f1dbbc787f6beed639347 (diff)
module: remove dynamicInstantiate loader hook
The dynamicInstantiate loader hook requires that the hooks run in the same global scope as the code being loaded. We don't want to commit to this being true in the future. It stops us from sharing hooks between multiple worker threads or isolating loader hook from the application code. Using `getSource` and `getGlobalPreloadCode` the same use cases should be covered. PR-URL: https://github.com/nodejs/node/pull/33501 Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com> Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Diffstat (limited to 'doc/api/errors.md')
-rw-r--r--doc/api/errors.md14
1 files changed, 0 insertions, 14 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md
index 17c0a9e7c60..d9e142bcd09 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -1575,14 +1575,6 @@ strict compliance with the API specification (which in some cases may accept
`func(undefined)` and `func()` are treated identically, and the
[`ERR_INVALID_ARG_TYPE`][] error code may be used instead.
-<a id="ERR_MISSING_DYNAMIC_INSTANTIATE_HOOK"></a>
-### `ERR_MISSING_DYNAMIC_INSTANTIATE_HOOK`
-
-> Stability: 1 - Experimental
-
-An [ES Module][] loader hook specified `format: 'dynamic'` but did not provide
-a `dynamicInstantiate` hook.
-
<a id="ERR_MISSING_OPTION"></a>
### `ERR_MISSING_OPTION`
@@ -2526,12 +2518,6 @@ while trying to read and parse it.
The `--entry-type=...` flag is not compatible with the Node.js REPL.
-<a id="ERR_MISSING_DYNAMIC_INSTANTIATE_HOOK"></a>
-#### `ERR_MISSING_DYNAMIC_INSTANTIATE_HOOK`
-
-Used when an [ES Module][] loader hook specifies `format: 'dynamic'` but does
-not provide a `dynamicInstantiate` hook.
-
<a id="ERR_FEATURE_UNAVAILABLE_ON_PLATFORM"></a>
#### `ERR_FEATURE_UNAVAILABLE_ON_PLATFORM`