mirror of
https://github.com/denoland/deno.git
synced 2025-02-06 22:45:03 -05:00
![Yoshiya Hinosawa](/assets/img/avatar_default.png)
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
2 lines
92 B
JavaScript
2 lines
92 B
JavaScript
const { Buffer } = require("buffer");
|
|
console.log(Buffer.from("Hello, world!").toString());
|