Skip to content

Commit 439b398

Browse files
authoredNov 4, 2024··
Add Iterator to ES2025 (#272)
1 parent dd0a502 commit 439b398

File tree

5 files changed

+7
-9
lines changed

5 files changed

+7
-9
lines changed
 

‎data/browser.mjs

-1
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,6 @@ export default {
445445
IntersectionObserver: false,
446446
IntersectionObserverEntry: false,
447447
isSecureContext: false,
448-
Iterator: false,
449448
Keyboard: false,
450449
KeyboardEvent: false,
451450
KeyboardLayoutMap: false,

‎data/es2025.mjs

+6-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
export {default} from './es2024.mjs';
1+
import {mergeGlobals} from '../utilities.mjs';
2+
import es2024Globals from './es2024.mjs';
3+
4+
export default mergeGlobals(es2024Globals, {
5+
Iterator: false,
6+
});

‎data/nodeBuiltin.mjs

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ export default {
3030
FormData: false,
3131
global: false,
3232
Headers: false,
33-
Iterator: false,
3433
MessageChannel: false,
3534
MessageEvent: false,
3635
MessagePort: false,

‎data/worker.mjs

-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ export default {
133133
importScripts: false,
134134
indexedDB: false,
135135
isSecureContext: false,
136-
Iterator: false,
137136
location: false,
138137
Lock: false,
139138
LockManager: false,

‎globals.json

+1-5
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,6 @@
470470
"IntersectionObserver": false,
471471
"IntersectionObserverEntry": false,
472472
"isSecureContext": false,
473-
"Iterator": false,
474473
"Keyboard": false,
475474
"KeyboardEvent": false,
476475
"KeyboardLayoutMap": false,
@@ -1896,6 +1895,7 @@
18961895
"Intl": false,
18971896
"isFinite": false,
18981897
"isNaN": false,
1898+
"Iterator": false,
18991899
"JSON": false,
19001900
"Map": false,
19011901
"Math": false,
@@ -2213,7 +2213,6 @@
22132213
"FormData": false,
22142214
"global": false,
22152215
"Headers": false,
2216-
"Iterator": false,
22172216
"MessageChannel": false,
22182217
"MessageEvent": false,
22192218
"MessagePort": false,
@@ -2287,7 +2286,6 @@
22872286
"FormData": false,
22882287
"global": false,
22892288
"Headers": false,
2290-
"Iterator": false,
22912289
"MessageChannel": false,
22922290
"MessageEvent": false,
22932291
"MessagePort": false,
@@ -2580,7 +2578,6 @@
25802578
"File": false,
25812579
"FormData": false,
25822580
"Headers": false,
2583-
"Iterator": false,
25842581
"MessageChannel": false,
25852582
"MessageEvent": false,
25862583
"MessagePort": false,
@@ -2792,7 +2789,6 @@
27922789
"importScripts": false,
27932790
"indexedDB": false,
27942791
"isSecureContext": false,
2795-
"Iterator": false,
27962792
"location": false,
27972793
"Lock": false,
27982794
"LockManager": false,

0 commit comments

Comments
 (0)
Please sign in to comment.