Compatible version numbers of packages?

Hi everyone, I have a question about dependencies update into my strapi project, can I update this packages?:

“pg”: “8.8.0” → 8.12.0
“react-router-dom”: “5.3.4”, → 6.25.1
“styled-components”: “5.3.3” → 5.3.11 or 6.1.12

I ask this because I’m updating to 4.25.5 version but those packages have a fixed version, I’m not sure and I couldn’t find any info about the recommended versions of these packages

Thanks in advance

This topic has been created from a Discord post (1265734259243483206) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

AFAIK As for “pg” - yes. As for react’s - no. Updating this packs would ruin you admin ui during to breaking changes between RRD 5* and RRD 6* versions. Strapi v5 will be updated with newer versions of react’s packages