node
node copied to clipboard
Node.js JavaScript runtime ✨🐢🚀✨
### Version 22.11.0 ### Platform ```text Linux OpenWrt 6.12 #0 SMP Mon Nov 18 09:07:00 2024 x86_64 GNU/Linux ``` ### Subsystem _No response_ ### What steps will reproduce the bug?...
TC39 proposal [source phase imports](https://github.com/tc39/proposal-source-phase-imports) reached to stage 3 and has been implemented in V8 (starting from M131). ```js import source FooModule from "./foo.wasm"; FooModule instanceof WebAssembly.Module; // true ```...
### What is the problem this feature will solve? When running tests concurrently (the default setting in the Node test runner), it's common practice to split concurrent test runs across...
I'm opening this PR in draft to collect feedback on a potential refactor of the `runner.js` file. I was planning to do some work related to the introduction of a...
During the snapshot building process, the `process.env` and `process.execArgv` can be queried and captured in the snapshot, which may not match what the environment variables or CLI arguments actually are...
Getting the idea from @jasnell on https://github.com/nodejs/node/pull/56059, let's use std::ranges::sort and spaceship operator to sort with std::ranges::sort which is available on C++20.
Refs: #55350 Fixes: #55350 The error is incorrectly reported because the `traceSync` call is on the stack frame. The code that computes the message was getting the first frame expecting...
I want to add a `Writable.write(sourceBuf, sourceOffset, sourceLength)` API to `Writable` to get a bit of extra performance in the following case: ```js writable.write(buf.subarray(offset, length)) ``` The `subarray` call (particularly...
### Version v24.0.0-pre ### Platform ```text Darwin prot-2.local 24.1.0 Darwin Kernel Version 24.1.0: Thu Oct 10 21:05:23 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T6031 arm64 ``` ### Subsystem _No response_ ### What steps will...