0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib/internal
Jan Krems d12d5ef3ef 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>
2020-05-27 16:38:38 -07:00
..
assert
bootstrap
child_process
cluster
console
crypto
dns
fs
http2
main
modules module: remove dynamicInstantiate loader hook 2020-05-27 16:38:38 -07:00
per_context
policy
process
readline
repl
source_map
streams
test
util
vm
worker
assert.js
async_hooks.js
buffer.js
child_process.js
cli_table.js
constants.js
dgram.js
dtrace.js
encoding.js
error-serdes.js
errors.js module: remove dynamicInstantiate loader hook 2020-05-27 16:38:38 -07:00
fixed_queue.js
freelist.js
freeze_intrinsics.js
heap_utils.js
histogram.js
http.js
idna.js
inspector_async_hook.js
js_stream_socket.js
linkedlist.js
net.js
options.js
priority_queue.js
querystring.js
readme.md
repl.js
socket_list.js
stream_base_commons.js
timers.js
tls.js
trace_events_async_hooks.js
tty.js
url.js
util.js
v8_prof_polyfill.js
v8_prof_processor.js
validators.js
watchdog.js
worker.js

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.