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 test_runner: do not expose internal loader 2024-08-13 15:17:50 +02:00
timers timers: document ref option for scheduler.wait 2024-09-02 06:57:02 +00:00
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 lib: prefer optional chaining 2024-09-24 19:48:15 +00:00
_http_incoming.js lib: prefer optional chaining 2024-09-24 19:48:15 +00:00
_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 crypto: runtime deprecate crypto.fips 2024-09-25 22:31:03 +00:00
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 lib: the REPL should survive deletion of Array.prototype methods 2024-09-17 15:08:43 +00:00
eslint.config_partial.mjs zlib: remove prototype primordials usage 2024-09-19 03:16:20 +00:00
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 http2: add server handshake utility 2024-01-12 16:09:48 +00:00
http.js http: expose websockets 2024-07-08 15:55:43 +00:00
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 sea: support sea.getRawAsset() 2024-02-02 15:25:34 +01:00
sqlite.js lib,src,test,doc: add node:sqlite module 2024-07-09 20:33:38 +00:00
stream.js stream: change stream to use index instead of for...of 2024-08-23 07:31:55 +00:00
string_decoder.js string_decoder: refactor encoding validation 2024-09-23 22:49:53 +00:00
sys.js lib: add note about removing node:sys module 2024-09-05 21:53:52 +02:00
test.js test_runner: add snapshot testing 2024-05-30 09:07:17 -04:00
timers.js lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
tls.js tls: remove prototype primordials 2024-07-07 00:56:04 +00:00
trace_events.js trace_events: use private fields instead of symbols for Tracing 2023-12-28 23:20:22 +00:00
tty.js tty: initialize winSize array with values 2024-08-11 06:32:13 +00:00
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 vm: introduce vanilla contexts via vm.constants.DONT_CONTEXTIFY 2024-08-29 09:05:03 +00:00
wasi.js
worker_threads.js worker: add markAsUncloneable api 2024-10-04 07:09:37 +00:00
zlib.js zlib: remove zlib.bytesRead 2024-09-28 23:46:21 +00:00