node
node copied to clipboard
Node.js JavaScript runtime ✨🐢🚀✨
Failing test case: ``` js var common = require('../common'); var assert = require('assert'); var vm = require('vm'); var sandbox = {}; sandbox.document = { defaultView: sandbox }; vm.createContext(sandbox); vm.runInContext('var result...
## Description Improves the error message when `process.cwd()` fails because the current working directory no longer exists (e.g., was deleted). ## Before ``` Error: ENOENT: no such file or directory,...
### 🛠 Fix: Add defensive try/catch around `stat()` in Windows symlink logic This PR adds a small defensive wrapper around the `stat()` call used during symlink creation on Windows. In...
Fixes https://github.com/nodejs/node/issues/58947. This implements the errorOnExists check for onDir, which we previously had only for onFile.
### Version 23.7.0 ### Platform ```text Darwin Apples-MacBook-Pro.local 24.3.0 Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:16 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6000 arm64 ``` ### Subsystem _No response_ ### What steps will...
### Version v24.11.1 ### Platform ```text Linux cc96c567cc46 6.12.53 #1 SMP PREEMPT_DYNAMIC Tue Oct 28 18:05:29 UTC 2025 x86_64 GNU/Linux ``` ### Subsystem _No response_ ### What steps will reproduce...
Nominating someone currently involves quite a number of manual steps, providing a script lowers the effort for nominating someone, which is IMO too high atm. It doesn't seem to be...
### Summary This PR increases the default value of `http.Server.keepAliveTimeout` from **5000ms (5s)** to **65000ms (65s)**. This change aligns Node.js with the keep-alive timeout expectations of most browsers, proxies, and...
This PR improves the error message for ERR_AMBIGUOUS_MODULE_SYNTAX by dynamically identifying the CommonJS global that caused the ambiguity, instead of hardcoding 'require()'. Fixes #60322