Skip to content

Commit

Permalink
mark Symbol.dispose, Symbol.asyncDispose and `Iterator.prototype[@@…
Browse files Browse the repository at this point in the history
…dispose]` as shipped from FF134
  • Loading branch information
zloirock committed Nov 14, 2024
1 parent c4b93e4 commit 743f9e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
- Compat data improvements:
- [`RegExp.escape`](https://github.com/tc39/proposal-regex-escaping) marked as shipped from Safari 18.2
- [`Promise.try`](https://github.com/tc39/proposal-promise-try) marked as shipped from Safari 18.2
- [`Promise.try`](https://github.com/tc39/proposal-promise-try) marked as shipped from FF134
- [`Math.f16round` and `DataView.prototype.{ getFloat16, setFloat16 }`](https://github.com/tc39/proposal-float16array) marked as shipped from Safari 18.2
- [`Uint8Array` to / from base64 and hex proposal](https://github.com/tc39/proposal-arraybuffer-base64) methods marked as shipped from Safari 18.2
- [`Promise.try`](https://github.com/tc39/proposal-promise-try) marked as shipped from FF134
- [`Symbol.dispose`, `Symbol.asyncDispose` and `Iterator.prototype[@@dispose]`](https://github.com/tc39/proposal-explicit-resource-management) marked as shipped from FF134
- Fixed NodeJS version where `URL.parse` was added - 22.1 instead of 22.0

##### [3.39.0 - 2024.10.31](https://github.com/zloirock/core-js/releases/tag/v3.39.0)
Expand Down
3 changes: 3 additions & 0 deletions packages/core-js-compat/src/data.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2256,6 +2256,7 @@ export const data = {
'esnext.iterator.concat': {
},
'esnext.iterator.dispose': {
firefox: '134',
},
// TODO: Remove from `core-js@4`
'esnext.iterator.drop': null,
Expand Down Expand Up @@ -2532,6 +2533,7 @@ export const data = {
bun: '1.0.23',
chrome: '127',
deno: '1.38',
firefox: '134',
// Node 20.4.0 add `Symbol.asyncDispose`, but with incorrect descriptor
// https://github.com/nodejs/node/issues/48699
node: '20.5.0',
Expand All @@ -2542,6 +2544,7 @@ export const data = {
bun: '1.0.23',
chrome: '125',
deno: '1.38',
firefox: '134',
// Node 20.4.0 add `Symbol.dispose`, but with incorrect descriptor
// https://github.com/nodejs/node/issues/48699
node: '20.5.0',
Expand Down

0 comments on commit 743f9e6

Please sign in to comment.