David Sherret
7a3810195d
fix(node): support wildcards in package.json imports ( #24794 )
2024-07-30 17:14:07 +00:00
David Sherret
50fa4d7ef5
fix: actually add missing node:readline/promises
module ( #24772 )
...
Closes #24768
2024-07-28 15:41:10 -04:00
David Sherret
7907265590
fix(node): cjs pkg dynamically importing esm-only pkg fails ( #24730 )
2024-07-25 21:40:10 -04:00
David Sherret
52ababc4bf
fix(node): better detection for when to surface node resolution errors ( #24653 )
2024-07-24 00:22:24 +00:00
Divy Srivastava
3735a1a542
fix(ext/node): support stdin child_process IPC & fd stdout/stderr ( #24106 )
...
Add supports for "ipc" and fd options in child_process spawn API.
Internal changes: Adds a hidden rid and "ipc_for_internal_use" option to
Deno.Command. Used by `node:child_process`
Example:
```js
const out = fs.openSync("./logfile.txt", 'a')
const proc = spawn(process.execPath, ["./main.mjs", "child"], {
stdio: ["ipc", out, "inherit"]
});
```
Ref #16753
2024-06-07 22:51:32 +05:30
David Sherret
3d6ba1eaf1
perf: analyze cjs re-exports in parallel ( #23894 )
2024-05-21 10:35:51 -04:00
Divy Srivastava
88983fb3eb
fix(node): seperate worker module cache ( #23634 )
...
Construct a new module graph container for workers instead of sharing it
with the main worker.
Fixes #17248
Fixes #23461
---------
Co-authored-by: David Sherret <dsherret@gmail.com>
2024-05-16 07:09:35 +00:00
David Sherret
1a788b58a0
chore: fix flaky rejection_handled_web_process ( #23817 )
...
Closes https://github.com/denoland/deno/issues/23712
2024-05-14 23:51:51 +00:00
David Sherret
a9708037c9
fix(node): better cjs re-export handling ( #23760 )
...
Closes #23458
2024-05-10 09:55:20 -04:00
Satya Rohith
02d0ff58d2
refactor(tests): move worker_threads itests to spec tests ( #23648 )
2024-05-03 05:52:47 +00:00
Satya Rohith
b8444066ea
fix(ext/node): support NODE_DEBUG env ( #23583 )
2024-04-29 09:36:53 +00:00
Satya Rohith
455cf1743f
fix(ext/node): add support for MessagePort.removeListener/off ( #23598 )
...
Closes https://github.com/denoland/deno/issues/23564
2024-04-29 08:53:54 +00:00
David Sherret
9abc722cc3
feat(node): load ES modules defined as CJS ( #22945 )
...
Changes the behaviour in Deno to just always load ES modules in npm
packages even if they're defined as CJS.
Closes #22818
2024-03-21 11:35:51 -07:00