node
node copied to clipboard
Node.js JavaScript runtime ✨🐢🚀✨
This adds an API to dynamically enable built-in proxy support for all of fetch() and http.request()/https.request(), so that users do not have to be aware of them all and configure...
### Summary Adds an error message for ERR_AMBIGUOUS_MODULE_SYNTAX, which is used when a file mixes CommonJS and ES Module syntax. ### Changes - Registered ERR_AMBIGUOUS_MODULE_SYNTAX in lib/internal/errors.js with a clear...
### What is the problem this feature will solve? Sometimes we have internal-only methods/constants/classes unintentionally exposed to userland. After being exposed for a long enough time, they inevitably become used...
### Version v24.11.1 ### Platform ```text Darwin MacBook-Pro 23.6.0 Darwin Kernel Version 23.6.0: Wed May 14 13:51:39 PDT 2025; root:xnu-10063.141.1.705.2~2/RELEASE_ARM64_T6020 arm64 ``` ### Subsystem test runner ### What steps will...
Avoid checking up to 100 frames every time on functions like `require('node:url').parse`, when the user application never invokes them with `--disable-deprecation=DEP0169` is present (so `urlParseWarned` will never be true). Before...
JSX Support
### What is the problem this feature will solve? Following up on [nodejs/node#56322](https://github.com/nodejs/node/issues/56322) and [nodejs/node#56392](https://github.com/nodejs/node/pull/56392). JSX and its various flavors have undergone frequent configuration changes since their inception. While supporting...
This PR was generated by the [`find-inactive-collaborators.yml` workflow](https://github.com/nodejs/node/blob/main/.github/workflows/find-inactive-collaborators.yml). @nodejs/tsc Please follow up with the [offboarding tasks](https://github.com/nodejs/node/blob/main/doc/contributing/offboarding.md).
### Version All ### Platform ```text All ``` ### Subsystem console/util.inspect ### What steps will reproduce the bug? ```js const p = new Proxy({}, { ownKeys() { return ['a']; },...
Previously, createRequire() does not preserve the URL it gets passed in the mock parent module created, which can be observable if it's used together with module.registerHooks(). This patch adds preservation...
Removes `Environment::GetCurrent(isolate)` calls cc @nodejs/cpp-reviewers