Skip to content
This repository was archived by the owner on Jun 11, 2020. It is now read-only.

Commit 50dd062

Browse files
committed
Add dependencies for nodeBuiltins
1 parent dd69e3b commit 50dd062

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/lib/definition-parser.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -397,10 +397,9 @@ function calculateDependencies(
397397
}
398398

399399
const nodeBuiltins: ReadonlySet<string> = new Set([
400-
"assert", "async_hooks", "buffer", "child_process", "cluster", "console", "constants", "crypto",
401-
"dgram", "dns", "domain", "events", "fs", "http", "http2", "https", "module", "net", "os",
402-
"path", "perf_hooks", "process", "punycode", "querystring", "readline", "repl", "stream",
403-
"string_decoder", "timers", "tls", "tty", "url", "util", "v8", "vm", "zlib",
400+
"assert",
401+
"events",
402+
"punycode",
404403
]);
405404

406405
function parseDependencyVersionFromPath(packageName: string, dependencyName: string, dependencyPath: string): TypingVersion {

0 commit comments

Comments
 (0)