0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/src
Alex Aubuchon 15fb02a515 src: rename --loader to --experimental-loader
Renames the `--loader` cli argument to `--experimental-loader`.  This is
to clearly indicate the esm loader feature as experimental even after
esm is no longer experimental.

Also minorly alters the `--experimental-loader` docs to say that the
passed loader can be an esm module.

Refs: https://github.com/nodejs/modules/issues/351#issuecomment-535189524

PR-URL: https://github.com/nodejs/node/pull/29752
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2019-09-30 21:47:01 -07:00
..
api src: re-delete Atomics.wake 2019-09-18 16:09:20 -05:00
inspector inspector: new API - Session.connectToMainThread 2019-09-16 09:01:55 -07:00
large_pages src: add large page support for macOS 2019-08-20 11:43:47 -07:00
res build: update Windows icon to Feb 2016 rebrand 2019-07-09 19:54:17 +02:00
tracing src: expose TraceEventHelper with NODE_EXTERN 2019-07-21 12:21:23 -07:00
aliased_buffer.h src: remove util-inl.h from header files 2019-05-13 13:43:26 -07:00
async_wrap-inl.h src: do not reuse async resource in http parsers 2019-04-22 11:51:46 -07:00
async_wrap.cc src: allow generic C++ callables in SetImmediate() 2019-08-01 00:51:43 +02:00
async_wrap.h src: make ELDHistogram a HandleWrap 2019-09-07 20:57:35 -07:00
base64.h
base_object-inl.h http2: refactor ping + settings object lifetime management 2019-06-17 15:29:19 -07:00
base_object.h src: do not include partial AsyncWrap instances in heap dump 2019-07-22 16:41:22 -07:00
cares_wrap.cc src: allow generic C++ callables in SetImmediate() 2019-08-01 00:51:43 +02:00
connect_wrap.cc
connect_wrap.h
connection_wrap.cc
connection_wrap.h
debug_utils.cc src: fix OpenBSD build 2019-07-29 23:27:12 -07:00
debug_utils.h src: remove env-inl.h from header files 2019-05-23 08:51:41 -07:00
diagnosticfilename-inl.h src: move DiagnosticFilename inlines into a -inl.h 2019-05-26 17:09:45 +02:00
env-inl.h Revert "src: remove trace_sync_io_ from env" 2019-08-03 20:41:50 -07:00
env.cc worker: keep allocators for transferred SAB instances alive longer 2019-09-24 21:35:40 -07:00
env.h worker: keep allocators for transferred SAB instances alive longer 2019-09-24 21:35:40 -07:00
fs_event_wrap.cc src: apply clang-tidy rule modernize-use-equals-default 2019-04-24 13:32:43 -04:00
handle_wrap.cc src: fix closing weak HandleWraps on GC 2019-09-21 13:53:25 -07:00
handle_wrap.h src: make ELDHistogram a HandleWrap 2019-09-07 20:57:35 -07:00
heap_utils.cc src: move DiagnosticFilename inlines into a -inl.h 2019-05-26 17:09:45 +02:00
histogram-inl.h
histogram.h
inspector_agent.cc inspector: new API - Session.connectToMainThread 2019-09-16 09:01:55 -07:00
inspector_agent.h inspector: new API - Session.connectToMainThread 2019-09-16 09:01:55 -07:00
inspector_io.cc inspector: reduce InspectorIo API surface 2019-07-06 20:04:03 +02:00
inspector_io.h inspector: reduce InspectorIo API surface 2019-07-06 20:04:03 +02:00
inspector_js_api.cc inspector: new API - Session.connectToMainThread 2019-09-16 09:01:55 -07:00
inspector_profiler.cc src: fix compiler warning in inspector_profiler.cc 2019-09-26 06:09:55 +02:00
inspector_profiler.h process: initial SourceMap support via NODE_V8_COVERAGE 2019-09-22 00:39:41 +02:00
inspector_socket_server.cc inspector: added --inspect-publish-uid 2019-06-03 18:15:04 +03:00
inspector_socket_server.h inspector: reduce InspectorIo API surface 2019-07-06 20:04:03 +02:00
inspector_socket.cc http: remove legacy parser 2019-09-20 20:18:35 +02:00
inspector_socket.h src: remove util-inl.h from header files 2019-05-13 13:43:26 -07:00
js_native_api_types.h n-api: correct bug in napi_get_last_error 2019-07-17 12:11:36 -07:00
js_native_api_v8_internals.h src: prefer v8::Global over node::Persistent 2019-04-30 00:23:33 +02:00
js_native_api_v8.cc n-api: delete callback bundle via reference 2019-09-08 20:15:33 -07:00
js_native_api_v8.h n-api: add APIs for per-instance state management 2019-07-25 16:53:07 -07:00
js_native_api.h n-api: mark version 5 N-APIs as stable 2019-09-05 09:16:54 -07:00
js_stream.cc src: refactor uncaught exception handling 2019-06-19 16:16:37 +08:00
js_stream.h
memory_tracker-inl.h src: prefer v8::Global over node::Persistent 2019-04-30 00:23:33 +02:00
memory_tracker.h src: prefer v8::Global over node::Persistent 2019-04-30 00:23:33 +02:00
module_wrap.cc module: reintroduce package exports dot main 2019-09-17 18:54:44 -07:00
module_wrap.h src: prefer v8::Global over node::Persistent 2019-04-30 00:23:33 +02:00
node_api_types.h
node_api.cc src: allow generic C++ callables in SetImmediate() 2019-08-01 00:51:43 +02:00
node_api.h
node_binding.cc src: add buildflag to force context-aware addons 2019-09-24 22:49:33 -07:00
node_binding.h
node_buffer.cc util: add encodeInto to TextEncoder 2019-09-13 20:27:18 +02:00
node_buffer.h
node_code_cache_stub.cc build: improve embedded code-cache detection 2019-04-22 14:48:50 -04:00
node_config.cc src: remove memory_tracker-inl.h from header files 2019-05-23 08:51:39 -07:00
node_constants.cc src,lib: expose memory file mapping flag 2019-09-11 23:38:21 +01:00
node_constants.h
node_context_data.h
node_contextify.cc src: remove unused using declarations 2019-08-23 15:13:57 -07:00
node_contextify.h src: make CompiledFnEntry a BaseObject 2019-07-22 11:55:25 -07:00
node_credentials.cc src: use RAII in setgroups implementation 2019-06-06 13:31:58 -07:00
node_crypto_bio.cc src: remove TLS code for unsupported OpenSSLs 2019-06-10 18:23:12 +02:00
node_crypto_bio.h src: remove util-inl.h from header files 2019-05-13 13:43:26 -07:00
node_crypto_clienthello-inl.h src: remove util-inl.h from header files 2019-05-13 13:43:26 -07:00
node_crypto_clienthello.cc
node_crypto_clienthello.h
node_crypto_groups.h
node_crypto.cc tls: add option for private keys for OpenSSL engines 2019-09-27 15:50:56 -07:00
node_crypto.h tls: add option for private keys for OpenSSL engines 2019-09-27 15:50:56 -07:00
node_domain.cc
node_dtrace.cc src: remove util-inl.h from header files 2019-05-13 13:43:26 -07:00
node_dtrace.h
node_env_var.cc src: use libuv to get env vars 2019-09-18 23:24:46 +02:00
node_errors.cc src: try showing stack traces when process._fatalException is not set 2019-09-24 21:24:00 -07:00
node_errors.h src: add buildflag to force context-aware addons 2019-09-24 22:49:33 -07:00
node_file.cc module: error for CJS .js load within type: module 2019-09-19 15:24:50 -07:00
node_file.h fs: add *timeNs properties to BigInt Stats objects 2019-06-14 03:24:41 +08:00
node_http2_state.h http2: remove callback-based padding 2019-08-17 20:13:24 -07:00
node_http2.cc http2: send out pending data earlier 2019-09-06 21:03:06 -07:00
node_http2.h http2: remove callback-based padding 2019-08-17 20:13:24 -07:00
node_http_parser.cc http: remove legacy parser 2019-09-20 20:18:35 +02:00
node_i18n.cc src: add error codes to errors thrown in node_i18n.cc 2019-06-21 04:10:48 -06:00
node_i18n.h
node_internals.h src: re-delete Atomics.wake 2019-09-18 16:09:20 -05:00
node_main_instance.cc src: fix asan build for gcc/clang 2019-09-25 22:45:44 -07:00
node_main_instance.h src, tools: replace raw ptr with smart ptr 2019-07-12 21:59:36 -07:00
node_main.cc
node_messaging.cc worker: prevent event loop starvation through MessagePorts 2019-09-09 22:18:41 +02:00
node_messaging.h worker: make transfer list behave like web MessagePort 2019-09-06 06:12:47 +02:00
node_metadata.cc http: remove legacy parser 2019-09-20 20:18:35 +02:00
node_metadata.h http: remove legacy parser 2019-09-20 20:18:35 +02:00
node_mutex.h
node_native_module_env.cc src: fix typos 2019-05-09 06:31:02 +02:00
node_native_module_env.h build: improve embedded code-cache detection 2019-04-22 14:48:50 -04:00
node_native_module.cc
node_native_module.h tools: fix js2c regression 2019-06-02 12:03:40 +02:00
node_object_wrap.h src: apply clang-tidy modernize-deprecated-headers found by Jenkins CI 2019-04-26 08:14:04 +02:00
node_options-inl.h
node_options.cc src: rename --loader to --experimental-loader 2019-09-30 21:47:01 -07:00
node_options.h src: add buildflag to force context-aware addons 2019-09-24 22:49:33 -07:00
node_os.cc os: assume UTF-8 for hostname 2019-05-26 15:38:51 +02:00
node_perf_common.h perf_hooks: add HttpRequest statistics monitoring #28445 2019-07-12 00:36:27 +02:00
node_perf.cc src: make ELDHistogram a HandleWrap 2019-09-07 20:57:35 -07:00
node_perf.h src: make ELDHistogram a HandleWrap 2019-09-07 20:57:35 -07:00
node_platform.cc src: discard remaining foreground tasks on platform shutdown 2019-09-22 17:00:43 -07:00
node_platform.h src: unimplement deprecated v8-platform methods 2019-05-30 15:51:37 +02:00
node_postmortem_metadata.cc
node_process_events.cc
node_process_methods.cc process: expose uv_rusage on process.resourcesUsage() 2019-07-01 16:02:17 +02:00
node_process_object.cc doc, lib, src, test, tools: fix assorted typos 2019-08-12 16:00:22 -07:00
node_process.h src: inline ProcessCliArgs in the Environment constructor 2019-06-03 17:27:48 +02:00
node_provider.d
node_report_module.cc src: remove util-inl.h from header files 2019-05-13 13:43:26 -07:00
node_report_utils.cc src: move DiagnosticFilename inlines into a -inl.h 2019-05-26 17:09:45 +02:00
node_report.cc report: list envvars using uv_os_environ() 2019-08-11 14:18:36 -04:00
node_report.h src: extract common macro to util.h 2019-05-11 17:49:52 +08:00
node_revert.h http2: remove security revert flags 2019-08-18 16:09:28 -07:00
node_root_certs.h crypto: update root certificates 2019-07-24 10:56:04 -07:00
node_serdes.cc src: use ArrayBufferViewContents more frequently 2019-05-29 19:28:38 +02:00
node_snapshot_stub.cc src: use std::vector<size_t> instead of IndexArray 2019-04-23 11:26:09 +08:00
node_stat_watcher.cc src: remove memory_tracker-inl.h from header files 2019-05-23 08:51:39 -07:00
node_stat_watcher.h
node_symbols.cc src: remove util-inl.h from header files 2019-05-13 13:43:26 -07:00
node_task_queue.cc src: perform check before running in runMicrotasks() 2019-09-22 19:09:48 -07:00
node_trace_events.cc src: move DiagnosticFilename inlines into a -inl.h 2019-05-26 17:09:45 +02:00
node_types.cc
node_union_bytes.h src: simplify UnionBytes 2019-08-16 15:49:51 -07:00
node_url.cc src: remove util-inl.h from header files 2019-05-13 13:43:26 -07:00
node_url.h src: remove env-inl.h from header files 2019-05-23 08:51:41 -07:00
node_util.cc src: do not crash when accessing empty WeakRefs 2019-09-01 23:10:54 -07:00
node_v8_platform-inl.h src: apply clang-tidy rule modernize-use-equals-default 2019-04-24 13:32:43 -04:00
node_v8.cc src: use non-deprecated overload of V8::SetFlagsFromString 2019-08-01 12:56:53 +02:00
node_version.h n-api: mark version 5 N-APIs as stable 2019-09-05 09:16:54 -07:00
node_watchdog.cc src: do not use pointer for loop in node_watchdog 2019-06-12 20:55:25 -07:00
node_watchdog.h src: do not use pointer for loop in node_watchdog 2019-06-12 20:55:25 -07:00
node_win32_etw_provider-inl.h
node_win32_etw_provider.cc src : elevate v8 namespaces 2019-07-24 11:33:31 -07:00
node_win32_etw_provider.h
node_worker.cc worker: fix crash when SharedArrayBuffer outlives creating thread 2019-08-20 00:14:10 +02:00
node_worker.h worker: fix crash when SharedArrayBuffer outlives creating thread 2019-08-20 00:14:10 +02:00
node_zlib.cc src: remove memory_tracker-inl.h from header files 2019-05-23 08:51:39 -07:00
node.cc src: use non-deprecated overload of V8::SetFlagsFromString 2019-08-01 12:56:53 +02:00
node.d
node.h src: expose MaybeInitializeContext to allow existing contexts 2019-08-26 18:24:10 -07:00
node.stp
pipe_wrap.cc src: refactor deprecated UVException usage in pipe-wrap.cc 2019-05-10 17:36:27 +08:00
pipe_wrap.h
process_wrap.cc
req_wrap-inl.h src: remove util-inl.h from header files 2019-05-13 13:43:26 -07:00
req_wrap.h src: apply clang-tidy rule modernize-use-equals-default 2019-04-24 13:32:43 -04:00
sharedarraybuffer_metadata.cc worker: keep allocators for transferred SAB instances alive longer 2019-09-24 21:35:40 -07:00
sharedarraybuffer_metadata.h worker: keep allocators for transferred SAB instances alive longer 2019-09-24 21:35:40 -07:00
signal_wrap.cc
spawn_sync.cc src: remove util-inl.h from header files 2019-05-13 13:43:26 -07:00
spawn_sync.h src: apply clang-tidy rule modernize-use-equals-default 2019-04-24 13:32:43 -04:00
stream_base-inl.h
stream_base.cc net: allow reading data into a static buffer 2019-08-23 17:05:52 -04:00
stream_base.h net: allow reading data into a static buffer 2019-08-23 17:05:52 -04:00
stream_pipe.cc src: allow generic C++ callables in SetImmediate() 2019-08-01 00:51:43 +02:00
stream_pipe.h
stream_wrap.cc
stream_wrap.h
string_bytes.cc src: add error codes to errors thrown in C++ 2019-08-09 15:58:58 -07:00
string_bytes.h src: add error codes to errors thrown in C++ 2019-08-09 15:58:58 -07:00
string_decoder-inl.h
string_decoder.cc src: remove util-inl.h from header files 2019-05-13 13:43:26 -07:00
string_decoder.h
string_search.h
tcp_wrap.cc
tcp_wrap.h
threadpoolwork-inl.h src: move ThreadPoolWork inlines into a -inl.h 2019-05-23 08:51:33 -07:00
timers.cc src: remove util-inl.h from header files 2019-05-13 13:43:26 -07:00
tls_wrap.cc src: allow generic C++ callables in SetImmediate() 2019-08-01 00:51:43 +02:00
tls_wrap.h tls: group chunks into TLS segments 2019-05-29 20:44:24 +05:30
tty_wrap.cc src: move guessHandleType in the util binding 2019-04-20 13:25:41 +08:00
tty_wrap.h src: move guessHandleType in the util binding 2019-04-20 13:25:41 +08:00
udp_wrap.cc
udp_wrap.h
util-inl.h fs: allow int64 offset in fs.read/readSync/fd.read 2019-08-16 22:09:27 -07:00
util.cc src: remove env-inl.h from header files 2019-05-23 08:51:41 -07:00
util.h fs: allow int64 offset in fs.read/readSync/fd.read 2019-08-16 22:09:27 -07:00
uv.cc src: remove util-inl.h from header files 2019-05-13 13:43:26 -07:00
v8abbr.h src: update v8abbr.h for V8 7.7 2019-08-19 09:26:28 +02:00
v8ustack.d