Double checking #547 and I see a problem where it would have thrown with a good warning, now it throws w/ an unexpected error `v7.4.0` ```javascript > semver.diff('foo', '1.2.3') Uncaught TypeError: Invalid Version: null ``` now ```javascript > semver.diff('foo', '1.2.3') Uncaught TypeError: Cannot read properties of null (reading 'compare') ``` Need to fix this before releasing _Originally posted by @wraithgar in https://github.com/npm/node-semver/issues/549#issuecomment-1508887338_