From 77e0c532a25a17e9c989c88bd72e8a1e4e41909f Mon Sep 17 00:00:00 2001 From: Adam Kudrna Date: Fri, 4 Aug 2023 17:59:32 +0200 Subject: [PATCH] Narrow down supported browsers in Browserslist config according to the docs --- .browserslistrc | 15 ++++++++++++--- package-lock.json | 16 ++++++++++------ 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/.browserslistrc b/.browserslistrc index 426ba935..119611a7 100644 --- a/.browserslistrc +++ b/.browserslistrc @@ -1,5 +1,14 @@ # Browsers that we support -defaults -not ie > 1 -not ie_mob > 1 +# Blink/Chromium based +last 1 ChromeAndroid versions +last 2 Chrome versions +last 2 Edge versions + +# Gecko based +last 1 FirefoxAndroid versions +last 2 Firefox versions + +# WebKit based +last 1 iOS major versions +last 1 Safari major versions diff --git a/package-lock.json b/package-lock.json index 405e4dac..45f649df 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5255,9 +5255,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001431", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001431.tgz", - "integrity": "sha512-zBUoFU0ZcxpvSt9IU66dXVT/3ctO1cy4y9cscs1szkPlcWb6pasYM144GqrUygUbT+k7cmUCW61cvskjcv0enQ==", + "version": "1.0.30001519", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001519.tgz", + "integrity": "sha512-0QHgqR+Jv4bxHMp8kZ1Kn8CH55OikjKJ6JmKkZYP1F3D7w+lnFXF70nG5eNfsZS89jadi5Ywy5UCSKLAglIRkg==", "dev": true, "funding": [ { @@ -5267,6 +5267,10 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ] }, @@ -18483,9 +18487,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001431", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001431.tgz", - "integrity": "sha512-zBUoFU0ZcxpvSt9IU66dXVT/3ctO1cy4y9cscs1szkPlcWb6pasYM144GqrUygUbT+k7cmUCW61cvskjcv0enQ==", + "version": "1.0.30001519", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001519.tgz", + "integrity": "sha512-0QHgqR+Jv4bxHMp8kZ1Kn8CH55OikjKJ6JmKkZYP1F3D7w+lnFXF70nG5eNfsZS89jadi5Ywy5UCSKLAglIRkg==", "dev": true }, "chalk": {