1
1
import zlib from 'node:zlib' ;
2
2
import vm from 'node:vm' ;
3
+ import v8 from 'node:v8' ;
3
4
import util from 'node:util' ;
4
5
import url from 'node:url' ;
6
+ import tty from 'node:tty' ;
5
7
import tls from 'node:tls' ;
6
8
import timers from 'node:timers' ;
7
9
import stringDecoder from 'node:string_decoder' ;
8
10
import stream from 'node:stream' ;
9
11
import readline from 'node:readline' ;
10
12
import querystring from 'node:querystring' ;
13
+ import punycode from 'node:punycode' ;
11
14
import path from 'node:path' ;
12
15
import os from 'node:os' ;
13
16
import net from 'node:net' ;
14
17
import https from 'node:https' ;
15
18
import http from 'node:http' ;
16
19
import fs from 'node:fs' ;
17
20
import events from 'node:events' ;
21
+ import domain from 'node:domain' ;
18
22
import dns from 'node:dns' ;
19
23
import dgram from 'node:dgram' ;
20
24
import crypto from 'node:crypto' ;
21
25
import cluster from 'node:cluster' ;
26
+ import childProcess from 'node:child_process' ;
22
27
import buffer from 'node:buffer' ;
23
28
import assert from 'node:assert' ;
24
29
@@ -32,10 +37,14 @@ export const staticNodeModulesForVM = {
32
37
'node:zlib' : zlib ,
33
38
vm,
34
39
'node:vm' : vm ,
40
+ v8,
41
+ 'node:v8' : v8 ,
35
42
util,
36
43
'node:util' : util ,
37
44
url,
38
45
'node:url' : url ,
46
+ tty,
47
+ 'node:tty' : tty ,
39
48
tls,
40
49
'node:tls' : tls ,
41
50
timers,
@@ -48,6 +57,8 @@ export const staticNodeModulesForVM = {
48
57
'node:readline' : readline ,
49
58
querystring,
50
59
'node:querystring' : querystring ,
60
+ punycode,
61
+ 'node:punycode' : punycode ,
51
62
path,
52
63
'node:path' : path ,
53
64
os,
@@ -62,6 +73,8 @@ export const staticNodeModulesForVM = {
62
73
'node:fs' : fs ,
63
74
events,
64
75
'node:events' : events ,
76
+ domain,
77
+ 'node:domain' : domain ,
65
78
dns,
66
79
'node:dns' : dns ,
67
80
dgram,
@@ -70,6 +83,8 @@ export const staticNodeModulesForVM = {
70
83
'node:crypto' : crypto ,
71
84
cluster,
72
85
'node:cluster' : cluster ,
86
+ 'child_process' : childProcess ,
87
+ 'node:child_process' : childProcess ,
73
88
buffer,
74
89
'node:buffer' : buffer ,
75
90
assert,
0 commit comments