/* Socket Lib - Built with esbuild */
var a=Object.create;var s=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var f=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty;var g=(r,n)=>{for(var t in n)s(r,t,{get:n[t],enumerable:!0})},u=(r,n,t,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of d(n))!c.call(r,i)&&i!==t&&s(r,i,{get:()=>n[i],enumerable:!(o=p(n,i))||o.enumerable});return r};var m=(r,n,t)=>(t=r!=null?a(f(r)):{},u(n||!r||!r.__esModule?s(t,"default",{value:r,enumerable:!0}):t,r)),l=r=>u(s({},"__esModule",{value:!0}),r);var w={};g(w,{coerceVersion:()=>x,compareVersions:()=>b,filterVersions:()=>V,getMajorVersion:()=>h,getMinorVersion:()=>j,getPatchVersion:()=>y,incrementVersion:()=>q,isEqual:()=>v,isGreaterThan:()=>T,isGreaterThanOrEqual:()=>E,isLessThan:()=>D,isLessThanOrEqual:()=>G,isValidVersion:()=>L,maxVersion:()=>M,minVersion:()=>O,parseVersion:()=>S,satisfiesVersion:()=>A,sortVersions:()=>P,sortVersionsDesc:()=>R,versionDiff:()=>k});module.exports=l(w);var e=m(require("./external/semver"));function x(r){return e.default.coerce(r)?.version}function b(r,n){try{return e.default.compare(r,n)}catch{return}}function V(r,n){return r.filter(t=>e.default.satisfies(t,n))}function h(r){return e.default.parse(r)?.major}function j(r){return e.default.parse(r)?.minor}function y(r){return e.default.parse(r)?.patch}function q(r,n,t){return e.default.inc(r,n,t)||void 0}function v(r,n){return e.default.eq(r,n)}function T(r,n){return e.default.gt(r,n)}function E(r,n){return e.default.gte(r,n)}function D(r,n){return e.default.lt(r,n)}function G(r,n){return e.default.lte(r,n)}function L(r){return e.default.valid(r)!==null}function M(r){return e.default.maxSatisfying(r,"*")||void 0}function O(r){return e.default.minSatisfying(r,"*")||void 0}function S(r){const n=e.default.parse(r);if(n)return{major:n.major,minor:n.minor,patch:n.patch,prerelease:n.prerelease,build:n.build}}function A(r,n){return e.default.satisfies(r,n)}function P(r){return e.default.sort([...r])}function R(r){return e.default.rsort([...r])}function k(r,n){return e.default.diff(r,n)||void 0}0&&(module.exports={coerceVersion,compareVersions,filterVersions,getMajorVersion,getMinorVersion,getPatchVersion,incrementVersion,isEqual,isGreaterThan,isGreaterThanOrEqual,isLessThan,isLessThanOrEqual,isValidVersion,maxVersion,minVersion,parseVersion,satisfiesVersion,sortVersions,sortVersionsDesc,versionDiff});
//# sourceMappingURL=versions.js.map
