update dist

This commit is contained in:
garronej 2022-10-11 18:34:31 +02:00
parent 3d848cb9e7
commit d5ac70675a

2
dist/index.js vendored
View file

@ -5420,7 +5420,7 @@ exports.NpmModuleVersion = void 0;
var NpmModuleVersion;
(function (NpmModuleVersion) {
function parse(versionStr) {
const match = versionStr.match(/^([0-9]+)\.([0-9]+)\.([0-9]+)(?:-rc.([0-9]+))?/);
const match = versionStr.match(/^([0-9]+)\.([0-9]+)\.([0-9]+)(?:-rc.([0-9]+))?$/);
if (!match) {
throw new Error(`${versionStr} is not a valid NPM version`);
}