node
node copied to clipboard
Node.js JavaScript runtime ✨🐢🚀✨
### Version 18,x 20.x, 22 ### Platform macos ### Subsystem test_runner ### What steps will reproduce the bug? ```index.js throw new Error('') ``` ### How often does it reproduce? Is...
### Version v20.12.2 ### Platform Darwin Laurents-MacBook-Air.local 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:59:33 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T8112 arm64 ### Subsystem vm ### What steps will reproduce the bug?...
`console.log("%s", o)` invokes the `inspect `method to retrieve the object. This results in `console.log("%s", { [Symbol.toPrimitive]: () => "hello" })` displaying the object itself, rather than 'hello'. Fixes: #50909
v21.2.0 ``` $ node Welcome to Node.js v21.2.0. Type ".help" for more information. > /x/dg /x/dgram ^ Uncaught SyntaxError: Invalid regular expression flags > ``` IOW, the REPL autocompletes `/x/dg`...
This PR changes the path functions to support File URLs. Related to #41521 Related to #49273 Successor of #52497
This is an automated update of simdutf to 5.2.6.
Following https://github.com/nodejs/node/issues/49148 Add documentation for environment variables specifications
Follow up to https://github.com/nodejs/node/issues/47472 . Some items that can be investigated: - [ ] Exposing an API for user code to control the caching https://github.com/nodejs/node/pull/52535#issuecomment-2059390083 - [ ] Idle-time cache...
# Summary This PR introduces an overhauled REPL for Node.js, inspired by the groundwork laid by @devsnek and their team on [nodejs/repl](https://github.com/nodejs/repl). While significant changes have been made to the...