Closed
Description
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
> semver.diff('foo', '1.2.3')
Uncaught TypeError: Invalid Version: null
now
> 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 #549 (comment)
Metadata
Metadata
Assignees
Labels
No labels