diff --git a/dist/index.js b/dist/index.js index 0f1b717..0dd1f01 100644 --- a/dist/index.js +++ b/dist/index.js @@ -9487,7 +9487,7 @@ class SemVer { version = version.version } } else if (typeof version !== 'string') { - throw new TypeError(`Invalid Version: ${(__nccwpck_require__(3837).inspect)(version)}`) + throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`) } if (version.length > MAX_LENGTH) {