Skip to content

Update caniuse-lite database

Mark Florian requested to merge update-browserslist-db into master

What does this MR do and why?

Update caniuse-lite database.

This temporarily stop engineers from seeing 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"

See gitlab-org/frontend/renovate-gitlab-bot!661 (closed) for a failed attempt to automate this.

Screenshots or screen recordings

n/a

How to set up and validate locally

  1. Does the pipeline pass?

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Mark Florian

Merge request reports

Loading