node
node copied to clipboard
Node.js JavaScript runtime ✨🐢🚀✨
When using `structuredClone` with and transferring the original in Node.js, the resulting clone's prototype is not the same as the original's. However, in other environments, the prototype remains consistent. ```js...
The `structuredClone` function in JavaScript behaves differently in Node.js and web browsers when cloning a `Blob` object with the `transfer` option. In Node.js, the `Blob` is cloned successfully, while in...
Refs: https://github.com/nodejs/node/pull/44498 Refs: https://github.com/nodejs/node/issues/53382 Key sizes were increased to 2048 in PR 44498 including the configuration file for the generation of ca2-cert.pem. However, it seems like updating ca2-cert.pem and related...
This gives a class prototype for AsyncContextFrame that contains the required methods, so that when we swap the prototype, ActiveAsyncContextFrame methods are used instead. Previously, the methods were defined in...
This PR includes two commits. One adds a helper mixin `node::CppgcMixin` to `src/cppgc_helpers.h` along with some documentation in `src/README.md` to facilitate migration from `BaseObject` to `cppgc`-based memory management ([Oilpan](https://v8.dev/blog/oilpan-library)), and...
I am working on updating the Web Platform Tests in #54468, but ran into an issue occuring with `AbortSignal`. I narrowed down the issue to a minimal reproduction, with leads...
This patch adds the following API for tools to enable compile cache dynamically and query its status. - module.enableCompileCache(cacheDir) - module.getCompileCacheDir() In addition this adds a NODE_DISABLE_COMPILE_CACHE environment variable to...
V8 Backport of https://github.com/v8/v8/commit/f320600cd1f48ba6bb57c0395823fe0c5e5ec52e Fixes CVE-2024-4761, which has been tagged by CISA as KEV.
V8 Backport of https://github.com/v8/v8/commit/f320600cd1f48ba6bb57c0395823fe0c5e5ec52e Fixes https://github.com/advisories/GHSA-8q82-45v9-cmr9, which has been tagged by CISA as KEV.
The synchronous CJS translator can handle entrypoints now, this can be hit when --import is used, so lift the bogus assertions and added tests. Fixes: https://github.com/nodejs/node/issues/54577