@@ -91,6 +91,7 @@ const subSystemLabelsMap = new Map([
91
91
[ / ^ l i b \/ .* h t t p 2 / , [ 'http2' , 'dont-land-on-v6.x' ] ] ,
92
92
[ / ^ l i b \/ w o r k e r _ t h r e a d s .j s $ / , [ 'worker' ] ] ,
93
93
[ / ^ l i b \/ i n t e r n a l \/ u r l \. j s $ / , [ 'url-whatwg' ] ] ,
94
+ [ / ^ l i b \/ i n t e r n a l \/ m o d u l e s \/ e s m / , 'ES Modules' ] ,
94
95
// All other lib/ files map directly
95
96
[ / ^ l i b \/ _ ( \w + ) _ \w + \. j s ? $ / , '$1' ] , // e.g. _(stream)_wrap
96
97
[ / ^ l i b ( \/ i n t e r n a l ) ? \/ ( \w + ) \. j s ? $ / , '$2' ] , // other .js files
@@ -99,7 +100,7 @@ const subSystemLabelsMap = new Map([
99
100
100
101
const jsSubsystemList = [
101
102
'debugger' , 'assert' , 'async_hooks' , 'buffer' , 'child_process' , 'cluster' ,
102
- 'console' , 'crypto' , 'dgram' , 'dns' , 'domain' , 'events' , 'fs' , 'http' ,
103
+ 'console' , 'crypto' , 'dgram' , 'dns' , 'domain' , 'events' , 'esm' , ' fs', 'http' ,
103
104
'https' , 'http2' , 'module' , 'net' , 'os' , 'path' , 'process' , 'querystring' ,
104
105
'readline' , 'repl' , 'report' , 'stream' , 'string_decoder' , 'timers' , 'tls' ,
105
106
'tty' , 'url' , 'util' , 'v8' , 'vm' , 'worker' , 'zlib'
@@ -118,11 +119,15 @@ const exclusiveLabelsMap = new Map([
118
119
[ / ^ t e s t \/ a d d o n s - n a p i \/ / , [ 'test' , 'n-api' ] ] ,
119
120
[ / ^ t e s t \/ a s y n c - h o o k s \/ / , [ 'test' , 'async_hooks' ] ] ,
120
121
[ / ^ t e s t \/ r e p o r t \/ / , [ 'test' , 'report' ] ] ,
122
+ [ / ^ t e s t \/ f i x t u r e s \/ e s - m o d u l e / , [ 'test' , 'ES Modules' ] ] ,
123
+ [ / ^ t e s t \/ e s - m o d u l e \/ / , [ 'test' , 'ES Modules' ] ] ,
121
124
122
125
[ / ^ t e s t \/ / , 'test' ] ,
123
126
124
127
// specific map for modules.md as it should be labeled 'module' not 'modules'
125
128
[ / ^ d o c \/ a p i \/ m o d u l e s .m d $ / , [ 'doc' , 'module' ] ] ,
129
+ // specific map for esm.md as it should be labeled 'ES Modules' not 'esm'
130
+ [ / ^ d o c \/ a p i \/ e s m .m d $ / , [ 'doc' , 'ES Modules' ] ] ,
126
131
// n-api is treated separately since it is not a JS core module but is still
127
132
// considered a subsystem of sorts
128
133
[ / ^ d o c \/ a p i \/ n - a p i .m d $ / , [ 'doc' , 'n-api' ] ] ,
0 commit comments