Written in 2022, 4 years ago. Tools and advice may have moved on since.
Have you tried npmpeer.dev? A super helpful tool for figuring out peer dependency compatibility, like what is the highest version of gatsby-plugin-image compatible with Gatsby v3?
All the best,
Queen Raae
