SIGN IN SIGN UP
denoland / deno UNCLAIMED

A modern runtime for JavaScript and TypeScript.

0 0 3 Rust

fix(ext/node): handle -p flag in spawn, fix "from dependency" check in windows (#29611)

This PR updates `op_node_call_is_from_dependency` op, which now detects
node_modules path on windows correctly.

This PR also updates the handling of
`child_process.spawn(process.execPath, ["-p", souceCode])`. It runs the
given string as source code, and prints the last evaluated value. This
PR adds wrapper for simulating that behavior.
Y
Yoshiya Hinosawa committed
8e69075889c0569c0736cd856d182c7c26bcecac
Parent: 15beca3
Committed by GitHub <noreply@github.com> on 6/6/2025, 2:53:04 AM