"use strict";var e=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.validateVersion=void 0;const r=e(require("semver/functions/valid")),t=require("../../../common/message");exports.validateVersion=function(e){if(!(0,r.default)(e))throw new Error((0,t.format)(t.Messages.Validator.InvalidVersion,{version:`${e}`}))};