Writing

yarn upgrade-interactive

Yarn has a built-in interactive way to upgrade dependencies showing a bunch of important information about the package

yarn-interactive

tip: using --latest flag tells yarn to ignore the specified version ranges in package.json and instead use the version tagged latest in the registry.

more info: https://yarnpkg.com/lang/en/docs/cli/upgrade-interactive/ where I found it: https://twitter.com/geddski/status/1093637252922503169