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