Skip to content

Commit

Permalink
add ff115 compat data
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Jun 6, 2023
1 parent 8b4627c commit e17f473
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@
- Fixed some cases of increasing buffer size in `ArrayBuffer.prototype.{ transfer, transferToFixedLength }` polyfills
- Fixed awaiting async `AsyncDisposableStack.prototype.adopt` callback, [#1258](https://github.com/zloirock/core-js/issues/1258)
- Compat data improvements:
- `Set.prototype.difference` that was missed in Bun because of [a bug](https://github.com/oven-sh/bun/issues/2309) added in 0.6.0
- [`Set.prototype.difference`](https://github.com/tc39/proposal-set-methods) that was missed in Bun because of [a bug](https://github.com/oven-sh/bun/issues/2309) added in 0.6.0
- `Array.prototype.{ group, groupToMap }` marked as no longer supported in WebKit runtimes because of the mentioned above web compat issue. For example, it's disabled from Bun 0.6.2
- Methods from the [change `Array` by copy proposal](https://github.com/tc39/proposal-change-array-by-copy) marked as supported from FF115
- [`Array.fromAsync`](https://github.com/tc39/proposal-array-from-async) marked as supported from FF115
- [`URL.canParse`](https://url.spec.whatwg.org/#dom-url-canparse) marked as supported from FF115
- Added Deno 1.34 compat data mapping
- Added Electron 26 compat data mapping
- Added Samsung Internet 22 compat data mapping
Expand Down
9 changes: 9 additions & 0 deletions packages/core-js-compat/src/data.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -376,16 +376,19 @@ export const data = {
'es.array.to-reversed': {
chrome: '110',
deno: '1.27',
firefox: '115',
safari: '16.0',
},
'es.array.to-sorted': {
chrome: '110',
deno: '1.27',
firefox: '115',
safari: '16.0',
},
'es.array.to-spliced': {
chrome: '110',
deno: '1.27',
firefox: '115',
safari: '16.0',
},
'es.array.unscopables.flat': {
Expand All @@ -409,6 +412,7 @@ export const data = {
'es.array.with': {
chrome: '110',
deno: '1.27',
firefox: '115',
safari: '16.0',
},
'es.array-buffer.constructor': {
Expand Down Expand Up @@ -1806,11 +1810,13 @@ export const data = {
'es.typed-array.to-reversed': {
chrome: '110',
deno: '1.27',
firefox: '115',
safari: '16.0',
},
'es.typed-array.to-sorted': {
chrome: '110',
deno: '1.27',
firefox: '115',
safari: '16.0',
},
'es.typed-array.to-string': {
Expand All @@ -1824,6 +1830,7 @@ export const data = {
bun: '0.1.9',
chrome: '110',
deno: '1.27',
firefox: '115',
safari: '16.4',
},
'es.unescape': {
Expand Down Expand Up @@ -1860,6 +1867,7 @@ export const data = {
},
'esnext.array.from-async': {
bun: '0.3.0',
firefox: '115',
safari: '16.4',
},
// TODO: Remove from `core-js@4`
Expand Down Expand Up @@ -2480,6 +2488,7 @@ export const data = {
},
'web.url.can-parse': {
deno: '1.33.2',
firefox: '115',
node: '20.1.0',
},
'web.url.to-json': {
Expand Down

0 comments on commit e17f473

Please sign in to comment.