1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/tests/specs/run/node_builtin_modules/mod.js
David Sherret 560ad0331b
fix(node/byonm): do not accidentally resolve bare node built-ins (#25543)
This was accidentally enabled in byonm, but it requires the
`--unstable-bare-node-builtins` flag.

Closes #25358
2024-09-09 21:35:41 +00:00

5 lines
166 B
JavaScript

import { createRequire } from "node:module";
console.log(createRequire);
import process from "node:process";
console.log(process.version);
console.log(process.argv);