node
node copied to clipboard
Node.js JavaScript runtime ✨🐢🚀✨
E.g. for `tracker.calls([fn][, exact])` from `doc/api/assert.md` we currently have:  The `return.desc` doesn't explain return type. So I made a change: ```diff - * Returns: {Function} that wraps `fn`. +...
### Version 20.3.0 ### Platform Linux *** 6.5.0-15-generic #15~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 12 18:54:30 UTC 2 x86_64 x86_64 x86_64 GNU/Linux ### Subsystem _No response_ ### What steps will reproduce...
The v8 simulator can help we run test for non-x64 backend on x64 machine. So I add a flag to build v8 smulator.
### Test `async-hooks.test-emit-after-on-destroyed` ### Platform Other ### Console output ```console not ok 32 async-hooks/test-emit-after-on-destroyed --- duration_ms: 403.10800 severity: fail exitcode: 1 stack: |- node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]:...
### What is the problem this feature will solve? (summary from https://github.com/vercel/next.js/pull/50357#issuecomment-1920297413) In a project that exports many vendored packages, it is not feasible to copy every `"main"` from each...
Previously we wrapped the embedder entry point callback into a binding and then invoke the binding from JS land which was a bit convoluted. Now we just call it directly...
Delay access at run time otherwise the value is captured at build time and always false.
### Test sequential.test-watch-mode-inspect ### Platform Linux ARMv7 ### Console output ```console Error Message fail (-15) Stacktrace --- duration_ms: 360029.938 exitcode: -15 severity: fail ... ``` ### Build links - https://ci.nodejs.org/job/node-test-binary-armv7l/7719/RUN_SUBSET=js,nodes=ubuntu2004-armv7l/...
### Test test-http-upload-timeout ### Platform Linux s390x ### Console output ```console Error Message fail (1) Stacktrace --- duration_ms: 1576.312 exitcode: 1 severity: fail ... ``` ### Build links - https://ci.nodejs.org/job/node-test-commit-linuxone/nodes=rhel8-s390x/42001...
This PR refactors the `install` and `build_addons` scripts so they can be reused by [node-ci](https://chromium.googlesource.com/v8/node-ci/) and electron projects to build the addons tests. In detail, this PR does following things:...