File tree 1 file changed +7
-1
lines changed 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 13
13
'constants' ,
14
14
'crypto' ,
15
15
'dgram' ,
16
+ 'diagnostics_channel' ,
16
17
'dns' ,
17
18
'dns/promises' ,
18
19
'domain' ,
22
23
'http' ,
23
24
'http2' ,
24
25
'https' ,
26
+ 'inspector' ,
25
27
'module' ,
26
28
'net' ,
27
29
'os' ,
34
36
'repl' ,
35
37
'stream' ,
36
38
'stream/promises' ,
39
+ 'stream/web' ,
37
40
'string_decoder' ,
38
41
'sys' ,
42
+ 'test' ,
39
43
'timers' ,
40
44
'timers/promises' ,
41
45
'tls' ,
49
53
'worker_threads' ,
50
54
'zlib' ,
51
55
}
52
- NODE_CORE_MODULES_TEMPLATE = "https://github.com/nodejs/node/blob/master /lib/{}.js"
56
+ NODE_CORE_MODULES_TEMPLATE = "https://github.com/nodejs/node/blob/main /lib/{}.js"
53
57
54
58
SASS_CORE_MODULES = {
55
59
'sass:color' ,
@@ -141,6 +145,8 @@ def resolve(self):
141
145
# Core modules
142
146
if self .str_path in NODE_CORE_MODULES :
143
147
return NODE_CORE_MODULES_TEMPLATE .format (self .str_path )
148
+ if self .str_path .startswith ('node:' ):
149
+ return NODE_CORE_MODULES_TEMPLATE .format (self .str_path [5 :])
144
150
145
151
if self .scope_is_sass :
146
152
# Core modules
You can’t perform that action at this time.
0 commit comments