From 0039c33c0a41a6e34423ab6efabc14e5323f3fbf Mon Sep 17 00:00:00 2001 From: jorg-vr Date: Fri, 18 Aug 2023 10:21:59 +0200 Subject: [PATCH] Update browserlist --- .browserslistrc | 8 ++++---- babel.config.js | 3 ++- package.json | 1 + 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.browserslistrc b/.browserslistrc index 8fddac98e4..fa76a1fc4d 100644 --- a/.browserslistrc +++ b/.browserslistrc @@ -1,6 +1,6 @@ >= 1% and last 2 major versions and not dead -Chrome >= 86 -Firefox >= 81 +Chrome >= 94 +Firefox >= 92 Firefox ESR -iOS >= 14 -Safari >= 14 +iOS >= 15 +Safari >= 15 diff --git a/babel.config.js b/babel.config.js index c8df1b3b40..7b7618c8f2 100644 --- a/babel.config.js +++ b/babel.config.js @@ -53,7 +53,8 @@ module.exports = function (api) { regenerator: true, corejs: false }], - ["@babel/plugin-transform-regenerator", { async: false }] + ["@babel/plugin-transform-regenerator", { async: false }], + "@babel/plugin-transform-class-properties" ].filter(Boolean) }; }; diff --git a/package.json b/package.json index 5a73ebd8d2..3325788604 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "@babel/core": "^7.22.10", "@babel/plugin-proposal-decorators": "^7.22.10", "@babel/plugin-proposal-object-rest-spread": "^7.20.7", + "@babel/plugin-transform-class-properties": "^7.22.5", "@babel/plugin-transform-runtime": "^7.22.10", "@babel/preset-env": "^7.22.10", "@babel/preset-typescript": "^7.22.5",