/* Socket Lib - Built with esbuild */
var r=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var d=(e,a)=>{for(var i in a)r(e,i,{get:a[i],enumerable:!0})},l=(e,a,i,o)=>{if(a&&typeof a=="object"||typeof a=="function")for(let t of c(a))!g.call(e,t)&&t!==i&&r(e,t,{get:()=>a[t],enumerable:!(o=s(a,t))||o.enumerable});return e};var k=e=>l(r({},"__esModule",{value:!0}),e);var N={};d(N,{isBlessedPackageName:()=>u,isRegistryFetcherType:()=>f,isValidPackageName:()=>m});module.exports=k(N);let n;function p(){return n===void 0&&(n=require("../external/validate-npm-package-name")),n}function u(e){return typeof e=="string"&&(e==="sfw"||e==="socket"||e.startsWith("@socketoverride/")||e.startsWith("@socketregistry/")||e.startsWith("@socketsecurity/"))}function f(e){return e==="alias"||e==="range"||e==="tag"||e==="version"}function m(e){return p()(e).validForOldPackages}0&&(module.exports={isBlessedPackageName,isRegistryFetcherType,isValidPackageName});
//# sourceMappingURL=validation.js.map
