File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 65
65
# disabled with --without-intl build flag.
66
66
- name : Intl
67
67
message : Use `const { Intl } = globalThis;` instead of the global.
68
+ - name : Iterator
69
+ message : Use `const { Iterator } = globalThis;` instead of the global.
68
70
- name : MessageChannel
69
71
message : Use `const { MessageChannel } = require('internal/worker/io');` instead of the global.
70
72
- name : MessageEvent
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ const intrinsics = new Set([
63
63
'SharedArrayBuffer' ,
64
64
'Atomics' ,
65
65
'WebAssembly' ,
66
+ 'Iterator' ,
66
67
] ) ;
67
68
68
69
if ( global . gc ) {
Original file line number Diff line number Diff line change @@ -632,6 +632,7 @@ const builtins = [
632
632
'Int32Array' ,
633
633
'Int8Array' ,
634
634
...( common . hasIntl ? [ 'Intl' ] : [ ] ) ,
635
+ 'Iterator' ,
635
636
'inspector' ,
636
637
'isFinite' ,
637
638
'isNaN' ,
You can’t perform that action at this time.
0 commit comments