Skip to content
Myr

Fix: Use `node`-prefixed requires for builtins (#2170)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fixes and closes #2169 by using Node-prefixed imports.

authored by Sam Gammon · committed by GitHub · parent 1bdc749 · Browse files · 1 file+5 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Signed-off-by: Sam Gammon <sam@elide.dev>

Diff stats

1 file+5 added−5 removed

  • other:+5 added−5 removed

1 file+5 added−5 removed

modified:lib/command.js+5 added-5 removed
1const EventEmitter = require('events').EventEmitter;2const childProcess = require('child_process');3const path = require('path');4const fs = require('fs');5const process = require('process');1const EventEmitter = require('node:events').EventEmitter;2const childProcess = require('node:child_process');3const path = require('node:path');4const fs = require('node:fs');5const process = require('node:process');67const { Argument, humanReadableArgName } = require('./argument.js');8const { CommanderError } = require('./error.js');9const { Help } = require('./help.js');
2470 unmodified lines