Use npx expo install --check
to review and upgrade your dependencies.
If any outdated dependencies are found, you will be prompted with the question, Fix dependencies?
Type Yes
and the tool will automatically handle the rest of the process for you.