node
node copied to clipboard
Node.js JavaScript runtime ✨🐢🚀✨
This PR makes snapshot testing slightly more flexible so that embedders can run smoke tests against it. Previous similar PRs: * https://github.com/nodejs/node/pull/36489 * https://github.com/nodejs/node/pull/54375
### Affected URL(s) https://nodejs.org/docs/latest/api/util.html ### Description of the problem Hi! Small issue: `isBigIntObject` seems to be present in nodejs (22.9.0) via `'node:util/types'`, but missing from the [documentation](https://nodejs.org/docs/latest/api/util.html) and it is...
Some test was making assumptions about the path no containing `'` char, we can simplify it by relying on `JSON.stringify` to escape chars.
### Version v23.0.0-pre ### Platform ```text Linux USR-PC2HD4AD 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux ``` ### Subsystem _No response_ ### What steps will...
Refs: https://github.com/nodejs/admin/issues/917 Refs: https://github.com/nodejs/package-examples/pull/1 Refs: https://github.com/nodejs/node/pull/54648
@addaleax @nodejs/n-api @nodejs/workers ... Currently there is no way for userland code to define their own cloneable/transferable objects that work with the MessageChannel/MessagePort API. For instance, ```js class Foo {...
Previously we have been using the variant of SnapshotCreator that only passes the external references instead of v8::Isolate::CreateParams and it's about to be deprecated. Switch to using the new constructor...
This PR should address #55383.
Fixes: https://github.com/nodejs/node/issues/54945 Wanted to give a quick mention why [checking object modes at the start of the pipe function](https://github.com/nodejs/node/issues/54945#issuecomment-2351385474) wouldn't work (even though I liked the idea). Because if the...
### Version 20.18.0 ### Platform ```text AIX hostname 1 7 00********00 ``` ### Subsystem _No response_ ### What steps will reproduce the bug? 1. Login to AIX and download node-v20.18.0...