node
node copied to clipboard
Node.js JavaScript runtime β¨π’πβ¨
# Feature Request: Add `--test-coverage-exclude-empty-lines` option to test runner ## Summary The Node.js test runner's coverage reporter (`--experimental-test-coverage`) reports empty lines and certain non-executable lines as "uncovered", leading to inaccurate...
Refs [#58013](https://github.com/nodejs/node/issues/58013) Update `util.isArray` to eol
While working on https://github.com/nodejs/node/issues/40786 I happened to notice that the current BaseObject management comes with a significant overhead from global handle creation and incidentally migrating these objects to Oilpan gives...
Fixes: #60952 Reset prevRows for multiline prompts during tab completion so the refresh doesnβt wipe the completion list, and add a regression test that simulates a multiline prompt to verify...
This is an automated update of the WPT for url to https://github.com/web-platform-tests/wpt/commit/593c46cf18ee325a8740d3f0f4c447840fb9919a.
Does the same optimization as https://github.com/nodejs/node/pull/59873 for `queueMicrotask` branch: ```sh ./node benchmark/run.js --filter queue-microtask process process/queue-microtask-breadth.js process/queue-microtask-breadth.js n=400000: 18,938,347.488090977 process/queue-microtask-depth.js process/queue-microtask-depth.js n=1200000: 35,862,646.06556887 ``` main ```sh ./node benchmark/run.js --filter queue-microtask...
This patch prevents Node.js from attempting to load V8 tool scripts under `internal/deps/v8/tools/` as builtin modules. These files are part of V8βs internal tooling and are not valid Node.js builtins....
Tests should be explicit regarding whether a promise is expected to settle, and the test should fail when the behavior does not meet expectations.
After the change the body parameter for all created QuicStreams can take a ReadableStream of Uint8Array, Arraybuffers etc.. We introduce a DataQueueFeeder class that may be also used for other...
## Description This PR introduces `process.locksCounters()` to provide real time visibility into [Web Locks API](https://nodejs.org/docs/latest/api/globals.html#navigatorlocks) usage and contention metrics across the Node.js process. ## Motivation Lock contention can be difficult...