node/lib/internal/bootstrap
Jason Zhang 50b4ada551
lib: convert transfer sequence to array in js
This commit lets `tranfer` passed to `structuredClone` get validated at
JS layer by doing webidl conversion. This avoids the C++ to JS function
call overhead in the native implementaiton of `structuredClone`

PR-URL: https://github.com/nodejs/node/pull/55317
Fixes: https://github.com/nodejs/node/issues/55280
Refs: https://github.com/nodejs/node/pull/50330
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
2024-10-13 18:11:21 +00:00
..
switches lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
web lib: convert transfer sequence to array in js 2024-10-13 18:11:21 +00:00
node.js process: fix process.features.typescript when Amaro is unavailable 2024-10-11 11:27:16 +00:00
realm.js lib,src,test,doc: add node:sqlite module 2024-07-09 20:33:38 +00:00
shadow_realm.js