Skip to content

Update caniuse-lite database for GitLab

Mark Florian requested to merge bump-browserlist-caniuse-lite into main

Update caniuse-lite database for GitLab.

This should help reduce how often engineers see logs like this when working on GitLab:

Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme

Running npx update-browserslist-db@latest locally in GitLab ends up with this diff:

$ npx update-browserslist-db@latest
Latest version:     1.0.30001478
Installed version:  1.0.30001466
Removing old caniuse-lite from lock file
Installing new caniuse-lite version
$ yarn add -W caniuse-lite

[...snip...]

Cleaning package.json dependencies from caniuse-lite
$ yarn remove -W caniuse-lite

[...snip...]

caniuse-lite has been successfully updated

No target browser changes

$ git diff
diff --git a/yarn.lock b/yarn.lock
index 53609f1517fa..c86cd7e788cc 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3657,9 +3657,9 @@ camelcase@^6.2.0:
   integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==
 
 caniuse-lite@^1.0.30001370:
-  version "1.0.30001466"
-  resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001466.tgz#c1e6197c540392e09709ecaa9e3e403428c53375"
-  integrity sha512-ewtFBSfWjEmxUgNBSZItFSmVtvk9zkwkl1OfRZlKA8slltRN+/C/tuGVrF9styXkN36Yu3+SeJ1qkXxDEyNZ5w==
+  version "1.0.30001478"
+  resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001478.tgz"
+  integrity sha512-gMhDyXGItTHipJj2ApIvR+iVB5hd0KP3svMWWXDvZOmjzJJassGLMfxRkQCSYgGd2gtdL/ReeiyvMSFD1Ss6Mw==
 
 canvas-confetti@^1.4.0:
   version "1.4.0"

So I think this change should do basically the same thing.

Edited by Mark Florian

Merge request reports