diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-04-24 17:17:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-24 16:17:28 +0000 |
commit | b424959d3e2554a83dd6a7a9c8837805a3d9ae65 (patch) | |
tree | e65881529cdcb8d51ecee52ef8706047e98cb982 /ext/fetch/23_request.js | |
parent | 5294885a5a411e6b2e9674ce9d8f951c9c011988 (diff) |
fix(ext/node): worker_threads copies env object (#23536)
Most common argument to `env` option for `worker_threads.Worker` will be
`process.env`.
In Deno `process.env` is a `Proxy` which can't be cloned using
structured clone algorithm.
So to be safe, I'm creating a copy of actual object before it's sent to
the worker thread.
Ref #23522
Diffstat (limited to 'ext/fetch/23_request.js')
0 files changed, 0 insertions, 0 deletions