1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-11 18:17:48 -05:00
denoland-deno/tests/registry/npm/@denotest/exec-file/1.0.0/exec-child.js
Yoshiya Hinosawa 105d27bc7d
fix(ext/node): improve shelljs compat with managed npm execution (#24912)
This change improves the Node.js compatibility in managed npm resolution
mode by disabling the discovery of `node_modules` when the
main specifier is inside of `DENO_DIR`.

closes #22732
closes #24589
2024-08-16 12:48:48 +09:00

2 lines
92 B
JavaScript

const { Buffer } = require("buffer");
console.log(Buffer.from("Hello, world!").toString());