Skip to content

Commit ea6515c

Browse files
MylesBorinsrichardlaukanongil
authored
lib: add new globals from Node.js 15.x (#997)
Co-authored-by: Richard Lau <rlau@redhat.com> Co-authored-by: Gil Pedersen <git@gpost.dk>
1 parent 741b8fb commit ea6515c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

lib/modules/leaks.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ const internals = {
1313
'clearInterval',
1414
'clearImmediate',
1515
'console',
16+
'AbortController',
17+
'AbortSignal',
18+
'AggregateError',
1619
'Buffer',
1720
'process',
1821
'global',
@@ -33,6 +36,9 @@ const internals = {
3336
'DataView',
3437
'__$$labCov',
3538
'gc',
39+
'MessageChannel',
40+
'MessageEvent',
41+
'MessagePort',
3642

3743
// Non-Enumerable globals
3844

@@ -42,6 +48,8 @@ const internals = {
4248
'Number',
4349
'RangeError',
4450
'EvalError',
51+
'Event',
52+
'EventTarget',
4553
'FinalizationRegistry',
4654
'Function',
4755
'isFinite',

0 commit comments

Comments
 (0)