Skip to content

Upgrade indirect dependency caniuse-lite

Chad Woolley requested to merge upgrade-indirect-dependency-caniuse-lite into master

What

Upgrade caniuse-lite indirect dependency.

Why

When the caniuse-lite dependency is more than 6 months old, it starts showing a warning that it is outdated.

This related MR avoids this in some cases, but not others (e.g. RubyMine linting integration).

To avoid the warning in all cases, we need to update it every six months.

How

But, it's an indirect dependency, so the upgrade can't be done via a straightforward yarn upgrade

Instead, in order upgrade it, you must use this approach:

  1. Delete the caniuse-lite entry from yarn.lock
  2. Re-run yarn install
Edited by Chad Woolley

Merge request reports