Skip to content

Commit

Permalink
fix Opera 15 compat data mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Jul 28, 2022
1 parent a52a60a commit 602e567
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- Fixed detection of `@@species` support in `Promise` in some old engines
- `{ Array, %TypedArray% }.prototype.{ findLast, findLastIndex }` marked as shipped [in FF104](https://bugzilla.mozilla.org/show_bug.cgi?id=1775026)
- Added iOS Safari 15.6 compat data mapping
- Fixed Opera 15 compat data mapping

##### [3.24.0 - 2022.07.25](https://github.com/zloirock/core-js/releases/tag/v3.24.0)
- Recent updates of the [iterator helpers proposal](https://github.com/tc39/proposal-iterator-helpers), [#1101](https://github.com/zloirock/core-js/issues/1101):
Expand Down
3 changes: 1 addition & 2 deletions packages/core-js-compat/src/mapping.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,7 @@ export default {
],
// https://github.com/mdn/browser-compat-data/blob/main/browsers/opera.json
ChromeToOpera(chrome) {
return chrome <= 23 ? 15
: chrome <= 29 ? 16
return chrome <= 28 ? 15
: chrome <= 82 ? chrome - 13
: chrome - 14;
},
Expand Down

0 comments on commit 602e567

Please sign in to comment.