Switched to using peer dependencies because this is a plugin.

Also, version range specified is now >=2.5.10 to <3.9.0 because the needed isNew checks finally made it into the 3.9.x releases.