From ea035fe332d68603e134546b70080d1c15f8776a Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Fri, 6 Aug 2021 15:13:48 +0700 Subject: [PATCH] use `7.1` instead of `8.0` for safari versions in compat data since it's a backported version with the same results --- CHANGELOG.md | 1 + packages/core-js-compat/src/data.mjs | 14 +++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c56c80bfc2f5..10db1407a83e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## Changelog ##### Unreleased - Fixed microtask implementation on iOS Pebble, [#967](https://github.com/zloirock/core-js/issues/967) +- Improved old Safari compat data ##### 3.16.0 - 2021.07.30 - [`Array` find from last proposal](https://github.com/tc39/proposal-array-find-from-last) moved to the stage 3, [July 2021 TC39 meeting](https://github.com/tc39/proposal-array-find-from-last/pull/47) diff --git a/packages/core-js-compat/src/data.mjs b/packages/core-js-compat/src/data.mjs index 7b2067d97b47..ead29f675554 100644 --- a/packages/core-js-compat/src/data.mjs +++ b/packages/core-js-compat/src/data.mjs @@ -114,7 +114,7 @@ export const data = { chrome: '26', firefox: '4', ie: '9', - safari: '8.0', + safari: '7.1', rhino: '1.7.13', }, 'es.array.fill': { @@ -155,7 +155,7 @@ export const data = { chrome: '26', firefox: '4', ie: '9', - safari: '8.0', + safari: '7.1', rhino: '1.7.13', }, 'es.array.from': { @@ -175,7 +175,7 @@ export const data = { chrome: '51', firefox: '4', ie: '9', - safari: '8.0', + safari: '7.1', rhino: '1.7.13', }, 'es.array.is-array': { @@ -203,7 +203,7 @@ export const data = { chrome: '51', firefox: '4', ie: '9', - safari: '8.0', + safari: '7.1', rhino: '1.7.13', }, 'es.array.map': { @@ -224,7 +224,7 @@ export const data = { firefox: '4', ie: '9', node: '6.0', // ^^^ - safari: '8.0', + safari: '7.1', rhino: '1.7.13', }, 'es.array.reduce-right': { @@ -232,7 +232,7 @@ export const data = { firefox: '4', ie: '9', node: '6.0', // ^^^ - safari: '8.0', + safari: '7.1', rhino: '1.7.13', }, 'es.array.reverse': { @@ -254,7 +254,7 @@ export const data = { chrome: '26', firefox: '4', ie: '9', - safari: '8.0', + safari: '7.1', rhino: '1.7.13', }, 'es.array.sort': {