Skip to content

Commit

Permalink
mark sync Iterator helpers proposal features as supported from V8 ~…
Browse files Browse the repository at this point in the history
… Chrome 117
  • Loading branch information
zloirock committed Jul 26, 2023
1 parent 19ff49d commit 1d9c9fc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -40,6 +40,7 @@
- Used strict mode in some missed cases, [#1269](https://github.com/zloirock/core-js/issues/1269)
- Fixed and exposed [`AsyncIteratorPrototype` `core-js/configurator` option](https://github.com/zloirock/core-js#asynciterator-helpers), [#1268](https://github.com/zloirock/core-js/issues/1268)
- Compat data improvements:
- Sync [`Iterator` helpers proposal](https://github.com/tc39/proposal-iterator-helpers) features marked as [supported](https://chromestatus.com/feature/5102502917177344) from V8 ~ Chrome 117
- [NodeJS 20.4.0 add `Symbol.{ dispose, asyncDispose }`](https://github.com/nodejs/node/pull/48518), but [with incorrect property descriptors](https://github.com/nodejs/node/issues/48699)
- Added Electron 27 compat data mapping

Expand Down
13 changes: 13 additions & 0 deletions packages/core-js-compat/src/data.mjs
Expand Up @@ -1997,39 +1997,52 @@ export const data = {
// TODO: Remove from `core-js@4`
'esnext.global-this': null,
'esnext.iterator.constructor': {
chrome: '117',
},
// TODO: Remove from `core-js@4`
'esnext.iterator.as-indexed-pairs': {
},
'esnext.iterator.dispose': {
},
'esnext.iterator.drop': {
chrome: '117',
},
'esnext.iterator.every': {
chrome: '117',
},
'esnext.iterator.filter': {
chrome: '117',
},
'esnext.iterator.find': {
chrome: '117',
},
'esnext.iterator.flat-map': {
chrome: '117',
},
'esnext.iterator.for-each': {
chrome: '117',
},
'esnext.iterator.from': {
chrome: '117',
},
'esnext.iterator.indexed': {
},
'esnext.iterator.map': {
chrome: '117',
},
'esnext.iterator.range': {
},
'esnext.iterator.reduce': {
chrome: '117',
},
'esnext.iterator.some': {
chrome: '117',
},
'esnext.iterator.take': {
chrome: '117',
},
'esnext.iterator.to-array': {
chrome: '117',
},
'esnext.iterator.to-async': {
},
Expand Down

0 comments on commit 1d9c9fc

Please sign in to comment.