From e17f47368047e7280de99bdfe002eb06b44907c9 Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Wed, 7 Jun 2023 01:31:58 +0700 Subject: [PATCH] add ff115 compat data --- CHANGELOG.md | 5 ++++- packages/core-js-compat/src/data.mjs | 9 +++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e03515a43eb..4de03bc5f1b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/packages/core-js-compat/src/data.mjs b/packages/core-js-compat/src/data.mjs index e24f9f33a3e2..d123b1f7ea07 100644 --- a/packages/core-js-compat/src/data.mjs +++ b/packages/core-js-compat/src/data.mjs @@ -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': { @@ -409,6 +412,7 @@ export const data = { 'es.array.with': { chrome: '110', deno: '1.27', + firefox: '115', safari: '16.0', }, 'es.array-buffer.constructor': { @@ -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': { @@ -1824,6 +1830,7 @@ export const data = { bun: '0.1.9', chrome: '110', deno: '1.27', + firefox: '115', safari: '16.4', }, 'es.unescape': { @@ -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` @@ -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': {