node/lib
Joyee Cheung 8ab31402c1
module: simplify --inspect-brk handling
Previously in the CommonJS loader, --inspect-brk is implemented
checking whether the module points to the result of re-resolving
process.argv[1] to determine whether the module is the entry point.
This is unnecessarily complex, especially now that we store that
information in the module as kIsMainSymbol. This patch updates
it to simply check that symbol property instead.

PR-URL: https://github.com/nodejs/node/pull/55679
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
2024-11-03 17:11:34 +00:00
..
assert
dns
fs
inspector
internal module: simplify --inspect-brk handling 2024-11-03 17:11:34 +00:00
path
readline lib: remove Symbol[Async]Dispose polyfills 2024-10-07 09:47:44 +00:00
stream
test
timers
util
_http_agent.js lib: remove startsWith/endsWith primordials for char checks 2024-10-19 10:18:10 +00:00
_http_client.js http: add diagnostic channel http.client.request.created 2024-10-31 13:04:25 +00:00
_http_common.js
_http_incoming.js
_http_outgoing.js http: don't emit error after destroy 2024-10-28 12:57:58 +00:00
_http_server.js http: add diagnostic channel http.server.response.created 2024-11-02 13:46:20 +00:00
_stream_duplex.js
_stream_passthrough.js
_stream_readable.js
_stream_transform.js
_stream_wrap.js
_stream_writable.js
_tls_common.js lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
_tls_wrap.js lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
assert.js lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
async_hooks.js lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
buffer.js lib: runtime deprecate SlowBuffer 2024-10-15 21:24:39 +00:00
child_process.js lib: replace createDeferredPromise util with Promise.withResolvers 2024-10-19 10:13:58 +02:00
cluster.js
console.js
constants.js
crypto.js
dgram.js lib: add UV_UDP_REUSEPORT for udp 2024-10-21 10:25:10 +00:00
diagnostics_channel.js diagnostics_channel: fix unsubscribe during publish 2024-10-14 10:55:39 +00:00
dns.js dns: honor the order option 2024-10-17 13:18:28 +00:00
domain.js
eslint.config_partial.mjs
events.js lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
fs.js Revert "fs,win: fix bug in paths with trailing slashes" 2024-11-02 16:24:29 +00:00
http2.js
http.js
https.js lib: remove Symbol[Async]Dispose polyfills 2024-10-07 09:47:44 +00:00
inspector.js lib: remove Symbol[Async]Dispose polyfills 2024-10-07 09:47:44 +00:00
module.js module: add findPackageJSON util 2024-10-25 20:40:54 +00:00
net.js net: add UV_TCP_REUSEPORT for tcp 2024-10-21 13:10:53 +00:00
os.js os: improve path check with direct index access 2024-11-02 15:11:44 +00:00
path.js Revert "path: fix bugs and inconsistencies" 2024-10-21 07:10:47 +00:00
perf_hooks.js
process.js
punycode.js
querystring.js lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
readline.js lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
repl.js lib: remove startsWith/endsWith primordials for char checks 2024-10-19 10:18:10 +00:00
sea.js
sqlite.js
stream.js
string_decoder.js
sys.js
test.js
timers.js lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
tls.js
trace_events.js
tty.js
url.js url: runtime deprecate url.parse 2024-10-20 19:01:37 +00:00
util.js util: fix util.getCallSites plurality 2024-11-02 15:24:56 +00:00
v8.js v8: out of bounds copy 2024-10-07 11:11:29 +00:00
vm.js
wasi.js
worker_threads.js worker: add markAsUncloneable api 2024-10-04 07:09:37 +00:00
zlib.js