node
node copied to clipboard
Node.js JavaScript runtime ✨🐢🚀✨
This implements reusing the single esm loader hooks thread for all the subsequent workers. It started as a trial to solve the test contributed by @GeoffreyBooth from [#50752](https://github.com/nodejs/node/pull/50752). The test...
Tooling in the ecosystem have been using the __esModule property to recognize transpiled ESM in consuming code. For example, a 'log' package written in ESM: ``` export function log(val) {...
This resolves a known limitation of the permission model by using the new PathResolve method from the C++ side. Therefore, we don't need to resolve all paths on `lib/fs.js` when...
The changes on this PR: - Add a local `N` variable to let the backporter specify which version is targeted. - Use `upstream/main` instead of `main` for the base branch...
### What is the problem this feature will solve? With the #51977 having landed, we're moving to a world where the logical graph will cross freely to and from CJS...
### Version v22.0.0 ### Platform Darwin Kernel Version 23.4.0 ### Subsystem test_runner ### What steps will reproduce the bug? run the following code with node 22.0.0. ```javascript import assert from...
Updates undici to v6.15.0 by running tools/dep_updaters/update-undici.sh and fixes test failures.
### What is the problem this feature will solve? In this MR https://github.com/nodejs/node/pull/51977 it's being proposed to allow *CJS* to `require(esm)` with the goal of helping people stuck in CJS...
### Version v22.0.0-pre ### Platform _No response_ ### Subsystem _No response_ ### What steps will reproduce the bug? V8 is deprecating `v8::ObjectTemplate::SetAccessor(..)` (see https://crbug.com/336325111) which is used by node::StreamBase for...
With a6b80c72678, `simdjson.h` got exposed to public headers (via `env.h` -> `inspector_profiler.h`), and the `simdjson` should be listed as a public dep to make it's header available to libnode's dependents.