UNPKG

@cyclonedx/yarn-plugin-cyclonedx

Version:

Create CycloneDX Software Bill of Materials (SBOM) from yarn projects.

6 lines 663 kB
/* eslint-disable */ //prettier-ignore module.exports = { name: "@yarnpkg/plugin-cyclonedx", factory: function (require) { "use strict";var plugin=(()=>{var PE=Object.create;var ss=Object.defineProperty;var DE=Object.getOwnPropertyDescriptor;var IE=Object.getOwnPropertyNames;var FE=Object.getPrototypeOf,RE=Object.prototype.hasOwnProperty;var Re=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var _=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ME=(t,e)=>{for(var r in e)ss(t,r,{get:e[r],enumerable:!0})},M_=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of IE(e))!RE.call(t,i)&&i!==r&&ss(t,i,{get:()=>e[i],enumerable:!(n=DE(e,i))||n.enumerable});return t};var er=(t,e,r)=>(r=t!=null?PE(FE(t)):{},M_(e||!t||!t.__esModule?ss(r,"default",{value:t,enumerable:!0}):r,t)),kE=t=>M_(ss({},"__esModule",{value:!0}),t);var k_=_((pU,qE)=>{qE.exports={self:{name:"@cyclonedx/yarn-plugin-cyclonedx",author:{name:"Jan Kowalleck",url:"https://github.com/jkowalleck"},description:"Create CycloneDX Software Bill of Materials (SBOM) from yarn projects.",version:"3.0.0",homepage:"https://github.com/CycloneDX/cyclonedx-node-yarn#readme",repository:{type:"git",url:"git+https://github.com/CycloneDX/cyclonedx-node-yarn.git"},bugs:{url:"https://github.com/CycloneDX/cyclonedx-node-yarn/issues"},license:"Apache-2.0"},cdxLib:{name:"@cyclonedx/cyclonedx-library",version:"8.0.0",homepage:"https://github.com/CycloneDX/cyclonedx-javascript-library#readme",license:"Apache-2.0"}}});var q_=_(uf=>{"use strict";Object.defineProperty(uf,"__esModule",{value:!0});uf.splitNameGroup=zE;function zE(t){let e=t.startsWith("@")?t.indexOf("/",2):0;return e>0?[t.slice(e+1),t.slice(0,e)]:[t,void 0]}});var cs=_(us=>{"use strict";Object.defineProperty(us,"__esModule",{value:!0});us.ComponentType=void 0;var z_;(function(t){t.Application="application",t.Framework="framework",t.Library="library",t.Container="container",t.Platform="platform",t.OperatingSystem="operating-system",t.Device="device",t.DeviceDriver="device-driver",t.Firmware="firmware",t.File="file",t.MachineLearningModel="machine-learning-model",t.Data="data",t.CryptographicAsset="cryptographic-asset"})(z_||(us.ComponentType=z_={}))});var st=_(rt=>{"use strict";Object.defineProperty(rt,"__esModule",{value:!0});rt.SortableNumbers=rt.SortableStringables=rt.SortableComparables=rt.SortableSet=rt.compareObjectsSymbol=void 0;rt.compareObjectsSymbol=Symbol("internal compare function");var mi=class extends Set{sorted(){return Array.from(this).sort(this[rt.compareObjectsSymbol])}compare(e){let r=e.sorted(),n=this.sorted();if(n.length!==r.length)return n.length-r.length;for(let i=n.length-1;i>=0;--i){let o=this[rt.compareObjectsSymbol](n[i],r[i]);if(o!==0)return o}return 0}};rt.SortableSet=mi;var cf=class extends mi{[rt.compareObjectsSymbol](e,r){return e.constructor===r.constructor?e.compare(r):e.constructor.name.localeCompare(r.constructor.name)}};rt.SortableComparables=cf;var ff=class extends mi{[rt.compareObjectsSymbol](e,r){return e.toString().localeCompare(r.toString())}};rt.SortableStringables=ff;var df=class extends mi{[rt.compareObjectsSymbol](e,r){return e-r}};rt.SortableNumbers=df});var _i=_(fs=>{"use strict";Object.defineProperty(fs,"__esModule",{value:!0});fs.treeIteratorSymbol=void 0;fs.treeIteratorSymbol=Symbol("iterator of a tree/nesting-like structure")});var B_=_(pf=>{"use strict";Object.defineProperty(pf,"__esModule",{value:!0});pf.isCPE=jE;var BE=/^([c][pP][eE]:\/[AHOaho]?(:[A-Za-z0-9\._\-~%]*){0,6})$|^(cpe:2\.3:[aho\*\-](:(((\?*|\*?)([a-zA-Z0-9\-\._]|(\\[\\\*\?!"#$$%&'\(\)\+,\/:;<=>@\[\]\^`\{\|}~]))+(\?*|\*?))|[\*\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[\*\-]))(:(((\?*|\*?)([a-zA-Z0-9\-\._]|(\\[\\\*\?!"#$$%&'\(\)\+,\/:;<=>@\[\]\^`\{\|}~]))+(\?*|\*?))|[\*\-])){4})$/;function jE(t){return typeof t=="string"&&BE.test(t)}});var Ao=_(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});vi.BomRefRepository=vi.BomRef=void 0;var hf=class{value;constructor(e){this.value=e}compare(e){return this.toString().localeCompare(e.toString())}toString(){return this.value??""}};vi.BomRef=hf;var mf=class extends Set{};vi.BomRefRepository=mf});var vf=_(ds=>{"use strict";Object.defineProperty(ds,"__esModule",{value:!0});ds.CopyrightRepository=void 0;var GE=st(),_f=class extends GE.SortableStringables{};ds.CopyrightRepository=_f});var Oo=_(ps=>{"use strict";Object.defineProperty(ps,"__esModule",{value:!0});ps.HashDictionary=void 0;var yf=class t extends Map{static#e([e,r],[n,i]){return e.localeCompare(n)||r.localeCompare(i)}sorted(){return Array.from(this.entries()).sort(t.#e)}};ps.HashDictionary=yf});var Dn=_(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.ExternalReferenceRepository=yi.ExternalReference=void 0;var UE=st(),HE=Oo(),gf=class{url;type;hashes;comment;constructor(e,r,n={}){this.url=e,this.type=r,this.hashes=n.hashes??new HE.HashDictionary,this.comment=n.comment}compare(e){return this.type.localeCompare(e.type)||this.url.toString().localeCompare(e.url.toString())}};yi.ExternalReference=gf;var bf=class extends UE.SortableComparables{};yi.ExternalReferenceRepository=bf});var Ar=_(pr=>{"use strict";Object.defineProperty(pr,"__esModule",{value:!0});pr.LicenseRepository=pr.SpdxLicense=pr.NamedLicense=pr.LicenseExpression=void 0;var Sf=class{#e;acknowledgement;constructor(e){this.expression=e}get expression(){return this.#e}set expression(e){if(e==="")throw new RangeError("value is empty string");this.#e=e}compare(e){return this.#e.localeCompare(e.#e)}};pr.LicenseExpression=Sf;var hs=class{acknowledgement;text;#e;constructor(e={}){this.acknowledgement=e.acknowledgement,this.text=e.text,this.url=e.url}get url(){return this.#e}set url(e){this.#e=e===""?void 0:e}},wf=class extends hs{name;constructor(e,r={}){super(r),this.name=e}compare(e){return this.name.localeCompare(e.name)}};pr.NamedLicense=wf;var xf=class extends hs{#e;constructor(e,r={}){super(r),this.id=e}get id(){return this.#e}set id(e){if(e==="")throw new RangeError("value is empty string");this.#e=e}compare(e){return this.#e.localeCompare(e.#e)}};pr.SpdxLicense=xf;var Ef=class t extends Set{static#e(e,r){return e.constructor===r.constructor?e.compare(r):e.constructor.name.localeCompare(r.constructor.name)}sorted(){return Array.from(this).sort(t.#e)}};pr.LicenseRepository=Ef});var bi=_(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.PropertyRepository=gi.Property=void 0;var $E=st(),Nf=class{name;value;constructor(e,r){this.name=e,this.value=r}compare(e){return this.name.localeCompare(e.name)||this.value.localeCompare(e.value)}};gi.Property=Nf;var Cf=class extends $E.SortableComparables{};gi.PropertyRepository=Cf});var Lo=_(Zr=>{"use strict";Object.defineProperty(Zr,"__esModule",{value:!0});Zr.ComponentEvidence=Zr.ComponentRepository=Zr.Component=void 0;var WE=st(),j_=_i(),VE=B_(),G_=Ao(),XE=vf(),YE=Dn(),KE=Oo(),U_=Ar(),JE=bi(),Af=class{type;name;author;copyright;description;externalReferences;group;hashes;licenses;publisher;purl;scope;supplier;swid;version;components;properties;evidence;#e;#t;dependencies;constructor(e,r,n={}){this.#e=new G_.BomRef(n.bomRef),this.type=e,this.name=r,this.supplier=n.supplier,this.author=n.author,this.copyright=n.copyright,this.externalReferences=n.externalReferences??new YE.ExternalReferenceRepository,this.group=n.group,this.hashes=n.hashes??new KE.HashDictionary,this.licenses=n.licenses??new U_.LicenseRepository,this.publisher=n.publisher,this.purl=n.purl,this.scope=n.scope,this.swid=n.swid,this.version=n.version,this.description=n.description,this.components=n.components??new ms,this.cpe=n.cpe,this.properties=n.properties??new JE.PropertyRepository,this.evidence=n.evidence,this.dependencies=n.dependencies??new G_.BomRefRepository}get bomRef(){return this.#e}get cpe(){return this.#t}set cpe(e){if(e!==void 0&&!(0,VE.isCPE)(e))throw new TypeError("Not CPE nor undefined");this.#t=e}compare(e){let r=this.bomRef.compare(e.bomRef);return r!==0?r:this.purl!==void 0&&e.purl!==void 0?this.purl.toString().localeCompare(e.purl.toString()):this.#t!==void 0&&e.#t!==void 0?this.#t.localeCompare(e.#t):(this.group??"").localeCompare(e.group??"")||this.name.localeCompare(e.name)||(this.version??"").localeCompare(e.version??"")}};Zr.Component=Af;var ms=class extends WE.SortableComparables{*[j_.treeIteratorSymbol](){for(let e of this)yield e,yield*e.components[j_.treeIteratorSymbol]()}};Zr.ComponentRepository=ms;var Of=class{licenses;copyright;constructor(e={}){this.licenses=e.licenses??new U_.LicenseRepository,this.copyright=e.copyright??new XE.CopyrightRepository}};Zr.ComponentEvidence=Of});var vs=_(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.ServiceRepository=Si.Service=void 0;var QE=st(),H_=_i(),$_=Ao(),ZE=Dn(),eN=Ar(),tN=bi(),Lf=class{provider;group;name;version;description;licenses;externalReferences;services;properties;#e;dependencies;constructor(e,r={}){this.#e=new $_.BomRef(r.bomRef),this.provider=r.provider,this.group=r.group,this.name=e,this.version=r.version,this.description=r.description,this.licenses=r.licenses??new eN.LicenseRepository,this.externalReferences=r.externalReferences??new ZE.ExternalReferenceRepository,this.services=r.services??new _s,this.properties=r.properties??new tN.PropertyRepository,this.dependencies=r.dependencies??new $_.BomRefRepository}get bomRef(){return this.#e}compare(e){let r=this.bomRef.compare(e.bomRef);return r!==0?r:(this.group??"").localeCompare(e.group??"")||this.name.localeCompare(e.name)||(this.version??"").localeCompare(e.version??"")}};Si.Service=Lf;var _s=class extends QE.SortableComparables{*[H_.treeIteratorSymbol](){for(let e of this)yield e,yield*e.services[H_.treeIteratorSymbol]()}};Si.ServiceRepository=_s});var wi=_(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});en.Tools=en.ToolRepository=en.Tool=void 0;var rN=st(),nN=Lo(),iN=Dn(),oN=Oo(),aN=vs(),Tf=class t{vendor;name;version;hashes;externalReferences;constructor(e={}){this.vendor=e.vendor,this.name=e.name,this.version=e.version,this.hashes=e.hashes??new oN.HashDictionary,this.externalReferences=e.externalReferences??new iN.ExternalReferenceRepository}compare(e){return(this.vendor??"").localeCompare(e.vendor??"")||(this.name??"").localeCompare(e.name??"")||(this.version??"").localeCompare(e.version??"")}static fromComponent(e){return new t({vendor:e.group,name:e.name,version:e.version,hashes:e.hashes,externalReferences:e.externalReferences})}static fromService(e){return new t({vendor:e.group,name:e.name,version:e.version,externalReferences:e.externalReferences})}};en.Tool=Tf;var ys=class extends rN.SortableComparables{};en.ToolRepository=ys;var Pf=class{components;services;tools;constructor(e={}){this.components=e.components??new nN.ComponentRepository,this.services=e.services??new aN.ServiceRepository,this.tools=e.tools??new ys}get size(){return this.components.size+this.services.size+this.tools.size}};en.Tools=Pf});var X_=_(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.ComponentBuilder=xi.ToolBuilder=void 0;var W_=q_(),sN=cs(),lN=Lo(),V_=Dn(),uN=Ar(),cN=wi(),Df=class{#e;constructor(e){this.#e=e}get extRefFactory(){return this.#e}makeTool(e){let[r,n]=typeof e.name=="string"?(0,W_.splitNameGroup)(e.name):[];return new cN.Tool({vendor:n,name:r,version:typeof e.version=="string"?e.version:void 0,externalReferences:new V_.ExternalReferenceRepository(this.#e.makeExternalReferences(e))})}};xi.ToolBuilder=Df;var If=class{#e;#t;constructor(e,r){this.#e=e,this.#t=r}get extRefFactory(){return this.#e}get licenseFactory(){return this.#t}makeComponent(e,r=sN.ComponentType.Library){if(typeof e.name!="string")return;let[n,i]=(0,W_.splitNameGroup)(e.name);if(n.length<=0)return;let o=typeof e.author=="string"?e.author:typeof e.author?.name=="string"?e.author.name:void 0,a=typeof e.description=="string"?e.description:void 0,s=typeof e.version=="string"?e.version:void 0,l=this.#e.makeExternalReferences(e),u=new uN.LicenseRepository;if(typeof e.license=="string"&&u.add(this.#t.makeFromString(e.license)),Array.isArray(e.licenses)){for(let c of e.licenses)if(typeof c.type=="string"){let f=this.#t.makeDisjunctive(c.type);f.url=typeof c.url=="string"?c.url:void 0,u.add(f)}}return new lN.Component(r,n,{author:o,description:a,externalReferences:new V_.ExternalReferenceRepository(l),group:i,licenses:u,version:s})}};xi.ComponentBuilder=If});var Y_=_(hr=>{"use strict";var fN=hr&&hr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),dN=hr&&hr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),pN=hr&&hr.__importStar||function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&fN(r,e,n[i]);return dN(r,e),r}}();Object.defineProperty(hr,"__esModule",{value:!0});hr.FromNodePackageJson=void 0;hr.FromNodePackageJson=pN(X_())});var J_=_(gs=>{"use strict";Object.defineProperty(gs,"__esModule",{value:!0});gs.AttachmentEncoding=void 0;var K_;(function(t){t.Base64="base64"})(K_||(gs.AttachmentEncoding=K_={}))});var Z_=_(bs=>{"use strict";Object.defineProperty(bs,"__esModule",{value:!0});bs.ComponentScope=void 0;var Q_;(function(t){t.Required="required",t.Optional="optional",t.Excluded="excluded"})(Q_||(bs.ComponentScope=Q_={}))});var To=_(Ss=>{"use strict";Object.defineProperty(Ss,"__esModule",{value:!0});Ss.ExternalReferenceType=void 0;var ev;(function(t){t.VCS="vcs",t.IssueTracker="issue-tracker",t.Website="website",t.Advisories="advisories",t.BOM="bom",t.MailingList="mailing-list",t.Social="social",t.Chat="chat",t.Documentation="documentation",t.Support="support",t.SourceDistribution="source-distribution",t.Distribution="distribution",t.DistributionIntake="distribution-intake",t.License="license",t.BuildMeta="build-meta",t.BuildSystem="build-system",t.ReleaseNotes="release-notes",t.SecurityContact="security-contact",t.ModelCard="model-card",t.Log="log",t.Configuration="configuration",t.Evidence="evidence",t.Formulation="formulation",t.Attestation="attestation",t.ThreatModel="threat-model",t.AdversaryModel="adversary-model",t.RiskAssessment="risk-assessment",t.VulnerabilityAssertion="vulnerability-assertion",t.ExploitabilityStatement="exploitability-statement",t.PentestReport="pentest-report",t.StaticAnalysisReport="static-analysis-report",t.DynamicAnalysisReport="dynamic-analysis-report",t.RuntimeAnalysisReport="runtime-analysis-report",t.ComponentAnalysisReport="component-analysis-report",t.MaturityReport="maturity-report",t.CertificationReport="certification-report",t.CodifiedInfrastructure="codified-infrastructure",t.QualityMetrics="quality-metrics",t.POAM="poam",t.ElectronicSignature="electronic-signature",t.DigitalSignature="digital-signature",t.RFC9116="rfc-9116",t.Other="other"})(ev||(Ss.ExternalReferenceType=ev={}))});var Ff=_(ws=>{"use strict";Object.defineProperty(ws,"__esModule",{value:!0});ws.HashAlgorithm=void 0;var tv;(function(t){t.MD5="MD5",t["SHA-1"]="SHA-1",t["SHA-256"]="SHA-256",t["SHA-384"]="SHA-384",t["SHA-512"]="SHA-512",t["SHA3-256"]="SHA3-256",t["SHA3-384"]="SHA3-384",t["SHA3-512"]="SHA3-512",t["BLAKE2b-256"]="BLAKE2b-256",t["BLAKE2b-384"]="BLAKE2b-384",t["BLAKE2b-512"]="BLAKE2b-512",t.BLAKE3="BLAKE3"})(tv||(ws.HashAlgorithm=tv={}))});var nv=_(xs=>{"use strict";Object.defineProperty(xs,"__esModule",{value:!0});xs.LicenseAcknowledgement=void 0;var rv;(function(t){t.Declared="declared",t.Concluded="concluded"})(rv||(xs.LicenseAcknowledgement=rv={}))});var ov=_(Es=>{"use strict";Object.defineProperty(Es,"__esModule",{value:!0});Es.LifecyclePhase=void 0;var iv;(function(t){t.Design="design",t.PreBuild="pre-build",t.Build="build",t.PostBuild="post-build",t.Operations="operations",t.Discovery="discovery",t.Decommission="decommission"})(iv||(Es.LifecyclePhase=iv={}))});var sv=_(Ns=>{"use strict";Object.defineProperty(Ns,"__esModule",{value:!0});Ns.AffectStatus=void 0;var av;(function(t){t.Affected="affected",t.Unaffected="unaffected",t.Unknown="unknown"})(av||(Ns.AffectStatus=av={}))});var uv=_(Cs=>{"use strict";Object.defineProperty(Cs,"__esModule",{value:!0});Cs.AnalysisJustification=void 0;var lv;(function(t){t.CodeNotPresent="code_not_present",t.CodeNotReachable="code_not_reachable",t.RequiresConfiguration="requires_configuration",t.RequiresDependency="requires_dependency",t.RequiresEnvironment="requires_environment",t.ProtectedByCompiler="protected_by_compiler",t.ProtectedAtRuntime="protected_at_runtime",t.ProtectedAtPerimeter="protected_at_perimeter",t.ProtectedByMitigatingControl="protected_by_mitigating_control"})(lv||(Cs.AnalysisJustification=lv={}))});var Mf=_(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});Ei.AnalysisResponseRepository=Ei.AnalysisResponse=void 0;var hN=st(),cv;(function(t){t.CanNotFix="can_not_fix",t.WillNotFix="will_not_fix",t.Update="update",t.Rollback="rollback",t.WorkaroundAvailable="workaround_available"})(cv||(Ei.AnalysisResponse=cv={}));var Rf=class extends hN.SortableStringables{};Ei.AnalysisResponseRepository=Rf});var dv=_(As=>{"use strict";Object.defineProperty(As,"__esModule",{value:!0});As.AnalysisState=void 0;var fv;(function(t){t.Resolved="resolved",t.ResolvedWithPedigree="resolved_with_pedigree",t.Exploitable="exploitable",t.InTriage="in_triage",t.FalsePositive="false_positive",t.NotAffected="not_affected"})(fv||(As.AnalysisState=fv={}))});var kf=_(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});Os.RatingMethod=void 0;var pv;(function(t){t.CVSSv2="CVSSv2",t.CVSSv3="CVSSv3",t.CVSSv31="CVSSv31",t.CVSSv4="CVSSv4",t.OWASP="OWASP",t.SSVC="SSVC",t.Other="other"})(pv||(Os.RatingMethod=pv={}))});var mv=_(Ls=>{"use strict";Object.defineProperty(Ls,"__esModule",{value:!0});Ls.Severity=void 0;var hv;(function(t){t.Critical="critical",t.High="high",t.Medium="medium",t.Low="low",t.Info="info",t.None="none",t.Unknown="unknown"})(hv||(Ls.Severity=hv={}))});var _v=_(Gt=>{"use strict";var mN=Gt&&Gt.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Ni=Gt&&Gt.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&mN(e,t,r)};Object.defineProperty(Gt,"__esModule",{value:!0});Ni(sv(),Gt);Ni(uv(),Gt);Ni(Mf(),Gt);Ni(dv(),Gt);Ni(kf(),Gt);Ni(mv(),Gt)});var qf=_(He=>{"use strict";var vv=He&&He.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),_N=He&&He.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),In=He&&He.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&vv(e,t,r)},vN=He&&He.__importStar||function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&vv(r,e,n[i]);return _N(r,e),r}}();Object.defineProperty(He,"__esModule",{value:!0});He.Vulnerability=void 0;In(J_(),He);In(Z_(),He);In(cs(),He);In(To(),He);In(Ff(),He);In(nv(),He);In(ov(),He);He.Vulnerability=vN(_v())});var Ts=_(($U,yN)=>{yN.exports=["0BSD","3D-Slicer-1.0","AAL","ADSL","AFL-1.1","AFL-1.2","AFL-2.0","AFL-2.1","AFL-3.0","AGPL-1.0-only","AGPL-1.0-or-later","AGPL-3.0-only","AGPL-3.0-or-later","AMD-newlib","AMDPLPA","AML","AML-glslang","AMPAS","ANTLR-PD","ANTLR-PD-fallback","APAFML","APL-1.0","APSL-1.0","APSL-1.1","APSL-1.2","APSL-2.0","ASWF-Digital-Assets-1.0","ASWF-Digital-Assets-1.1","Abstyles","AdaCore-doc","Adobe-2006","Adobe-Display-PostScript","Adobe-Glyph","Adobe-Utopia","Afmparse","Aladdin","Apache-1.0","Apache-1.1","Apache-2.0","App-s2p","Arphic-1999","Artistic-1.0","Artistic-1.0-Perl","Artistic-1.0-cl8","Artistic-2.0","BSD-1-Clause","BSD-2-Clause","BSD-2-Clause-Darwin","BSD-2-Clause-Patent","BSD-2-Clause-Views","BSD-2-Clause-first-lines","BSD-3-Clause","BSD-3-Clause-Attribution","BSD-3-Clause-Clear","BSD-3-Clause-HP","BSD-3-Clause-LBNL","BSD-3-Clause-Modification","BSD-3-Clause-No-Military-License","BSD-3-Clause-No-Nuclear-License","BSD-3-Clause-No-Nuclear-License-2014","BSD-3-Clause-No-Nuclear-Warranty","BSD-3-Clause-Open-MPI","BSD-3-Clause-Sun","BSD-3-Clause-acpica","BSD-3-Clause-flex","BSD-4-Clause","BSD-4-Clause-Shortened","BSD-4-Clause-UC","BSD-4.3RENO","BSD-4.3TAHOE","BSD-Advertising-Acknowledgement","BSD-Attribution-HPND-disclaimer","BSD-Inferno-Nettverk","BSD-Protection","BSD-Source-Code","BSD-Source-beginning-file","BSD-Systemics","BSD-Systemics-W3Works","BSL-1.0","BUSL-1.1","Baekmuk","Bahyph","Barr","Beerware","BitTorrent-1.0","BitTorrent-1.1","Bitstream-Charter","Bitstream-Vera","BlueOak-1.0.0","Boehm-GC","Boehm-GC-without-fee","Borceux","Brian-Gladman-2-Clause","Brian-Gladman-3-Clause","C-UDA-1.0","CAL-1.0","CAL-1.0-Combined-Work-Exception","CATOSL-1.1","CC-BY-1.0","CC-BY-2.0","CC-BY-2.5","CC-BY-2.5-AU","CC-BY-3.0","CC-BY-3.0-AT","CC-BY-3.0-AU","CC-BY-3.0-DE","CC-BY-3.0-IGO","CC-BY-3.0-NL","CC-BY-3.0-US","CC-BY-4.0","CC-BY-NC-1.0","CC-BY-NC-2.0","CC-BY-NC-2.5","CC-BY-NC-3.0","CC-BY-NC-3.0-DE","CC-BY-NC-4.0","CC-BY-NC-ND-1.0","CC-BY-NC-ND-2.0","CC-BY-NC-ND-2.5","CC-BY-NC-ND-3.0","CC-BY-NC-ND-3.0-DE","CC-BY-NC-ND-3.0-IGO","CC-BY-NC-ND-4.0","CC-BY-NC-SA-1.0","CC-BY-NC-SA-2.0","CC-BY-NC-SA-2.0-DE","CC-BY-NC-SA-2.0-FR","CC-BY-NC-SA-2.0-UK","CC-BY-NC-SA-2.5","CC-BY-NC-SA-3.0","CC-BY-NC-SA-3.0-DE","CC-BY-NC-SA-3.0-IGO","CC-BY-NC-SA-4.0","CC-BY-ND-1.0","CC-BY-ND-2.0","CC-BY-ND-2.5","CC-BY-ND-3.0","CC-BY-ND-3.0-DE","CC-BY-ND-4.0","CC-BY-SA-1.0","CC-BY-SA-2.0","CC-BY-SA-2.0-UK","CC-BY-SA-2.1-JP","CC-BY-SA-2.5","CC-BY-SA-3.0","CC-BY-SA-3.0-AT","CC-BY-SA-3.0-DE","CC-BY-SA-3.0-IGO","CC-BY-SA-4.0","CC-PDDC","CC-PDM-1.0","CC-SA-1.0","CC0-1.0","CDDL-1.0","CDDL-1.1","CDL-1.0","CDLA-Permissive-1.0","CDLA-Permissive-2.0","CDLA-Sharing-1.0","CECILL-1.0","CECILL-1.1","CECILL-2.0","CECILL-2.1","CECILL-B","CECILL-C","CERN-OHL-1.1","CERN-OHL-1.2","CERN-OHL-P-2.0","CERN-OHL-S-2.0","CERN-OHL-W-2.0","CFITSIO","CMU-Mach","CMU-Mach-nodoc","CNRI-Jython","CNRI-Python","CNRI-Python-GPL-Compatible","COIL-1.0","CPAL-1.0","CPL-1.0","CPOL-1.02","CUA-OPL-1.0","Caldera","Caldera-no-preamble","Catharon","ClArtistic","Clips","Community-Spec-1.0","Condor-1.1","Cornell-Lossless-JPEG","Cronyx","Crossword","CrystalStacker","Cube","D-FSL-1.0","DEC-3-Clause","DL-DE-BY-2.0","DL-DE-ZERO-2.0","DOC","DRL-1.0","DRL-1.1","DSDP","DocBook-Schema","DocBook-Stylesheet","DocBook-XML","Dotseqn","ECL-1.0","ECL-2.0","EFL-1.0","EFL-2.0","EPICS","EPL-1.0","EPL-2.0","EUDatagrid","EUPL-1.0","EUPL-1.1","EUPL-1.2","Elastic-2.0","Entessa","ErlPL-1.1","Eurosym","FBM","FDK-AAC","FSFAP","FSFAP-no-warranty-disclaimer","FSFUL","FSFULLR","FSFULLRWD","FTL","Fair","Ferguson-Twofish","Frameworx-1.0","FreeBSD-DOC","FreeImage","Furuseth","GCR-docs","GD","GFDL-1.1-invariants-only","GFDL-1.1-invariants-or-later","GFDL-1.1-no-invariants-only","GFDL-1.1-no-invariants-or-later","GFDL-1.1-only","GFDL-1.1-or-later","GFDL-1.2-invariants-only","GFDL-1.2-invariants-or-later","GFDL-1.2-no-invariants-only","GFDL-1.2-no-invariants-or-later","GFDL-1.2-only","GFDL-1.2-or-later","GFDL-1.3-invariants-only","GFDL-1.3-invariants-or-later","GFDL-1.3-no-invariants-only","GFDL-1.3-no-invariants-or-later","GFDL-1.3-only","GFDL-1.3-or-later","GL2PS","GLWTPL","GPL-1.0-only","GPL-1.0-or-later","GPL-2.0-only","GPL-2.0-or-later","GPL-3.0-only","GPL-3.0-or-later","Giftware","Glide","Glulxe","Graphics-Gems","Gutmann","HIDAPI","HP-1986","HP-1989","HPND","HPND-DEC","HPND-Fenneberg-Livingston","HPND-INRIA-IMAG","HPND-Intel","HPND-Kevlin-Henney","HPND-MIT-disclaimer","HPND-Markus-Kuhn","HPND-Netrek","HPND-Pbmplus","HPND-UC","HPND-UC-export-US","HPND-doc","HPND-doc-sell","HPND-export-US","HPND-export-US-acknowledgement","HPND-export-US-modify","HPND-export2-US","HPND-merchantability-variant","HPND-sell-MIT-disclaimer-xserver","HPND-sell-regexpr","HPND-sell-variant","HPND-sell-variant-MIT-disclaimer","HPND-sell-variant-MIT-disclaimer-rev","HTMLTIDY","HaskellReport","Hippocratic-2.1","IBM-pibs","ICU","IEC-Code-Components-EULA","IJG","IJG-short","IPA","IPL-1.0","ISC","ISC-Veillard","ImageMagick","Imlib2","Info-ZIP","Inner-Net-2.0","InnoSetup","Intel","Intel-ACPI","Interbase-1.0","JPL-image","JPNIC","JSON","Jam","JasPer-2.0","Kastrup","Kazlib","Knuth-CTAN","LAL-1.2","LAL-1.3","LGPL-2.0-only","LGPL-2.0-or-later","LGPL-2.1-only","LGPL-2.1-or-later","LGPL-3.0-only","LGPL-3.0-or-later","LGPLLR","LOOP","LPD-document","LPL-1.0","LPL-1.02","LPPL-1.0","LPPL-1.1","LPPL-1.2","LPPL-1.3a","LPPL-1.3c","LZMA-SDK-9.11-to-9.20","LZMA-SDK-9.22","Latex2e","Latex2e-translated-notice","Leptonica","LiLiQ-P-1.1","LiLiQ-R-1.1","LiLiQ-Rplus-1.1","Libpng","Linux-OpenIB","Linux-man-pages-1-para","Linux-man-pages-copyleft","Linux-man-pages-copyleft-2-para","Linux-man-pages-copyleft-var","Lucida-Bitmap-Fonts","MIPS","MIT","MIT-0","MIT-CMU","MIT-Click","MIT-Festival","MIT-Khronos-old","MIT-Modern-Variant","MIT-Wu","MIT-advertising","MIT-enna","MIT-feh","MIT-open-group","MIT-testregex","MITNFA","MMIXware","MPEG-SSG","MPL-1.0","MPL-1.1","MPL-2.0","MPL-2.0-no-copyleft-exception","MS-LPL","MS-PL","MS-RL","MTLL","Mackerras-3-Clause","Mackerras-3-Clause-acknowledgment","MakeIndex","Martin-Birgmeier","McPhee-slideshow","Minpack","MirOS","Motosoto","MulanPSL-1.0","MulanPSL-2.0","Multics","Mup","NAIST-2003","NASA-1.3","NBPL-1.0","NCBI-PD","NCGL-UK-2.0","NCL","NCSA","NGPL","NICTA-1.0","NIST-PD","NIST-PD-fallback","NIST-Software","NLOD-1.0","NLOD-2.0","NLPL","NOSL","NPL-1.0","NPL-1.1","NPOSL-3.0","NRL","NTP","NTP-0","Naumen","NetCDF","Newsletr","Nokia","Noweb","O-UDA-1.0","OAR","OCCT-PL","OCLC-2.0","ODC-By-1.0","ODbL-1.0","OFFIS","OFL-1.0","OFL-1.0-RFN","OFL-1.0-no-RFN","OFL-1.1","OFL-1.1-RFN","OFL-1.1-no-RFN","OGC-1.0","OGDL-Taiwan-1.0","OGL-Canada-2.0","OGL-UK-1.0","OGL-UK-2.0","OGL-UK-3.0","OGTSL","OLDAP-1.1","OLDAP-1.2","OLDAP-1.3","OLDAP-1.4","OLDAP-2.0","OLDAP-2.0.1","OLDAP-2.1","OLDAP-2.2","OLDAP-2.2.1","OLDAP-2.2.2","OLDAP-2.3","OLDAP-2.4","OLDAP-2.5","OLDAP-2.6","OLDAP-2.7","OLDAP-2.8","OLFL-1.3","OML","OPL-1.0","OPL-UK-3.0","OPUBL-1.0","OSET-PL-2.1","OSL-1.0","OSL-1.1","OSL-2.0","OSL-2.1","OSL-3.0","OpenPBS-2.3","OpenSSL","OpenSSL-standalone","OpenVision","PADL","PDDL-1.0","PHP-3.0","PHP-3.01","PPL","PSF-2.0","Parity-6.0.0","Parity-7.0.0","Pixar","Plexus","PolyForm-Noncommercial-1.0.0","PolyForm-Small-Business-1.0.0","PostgreSQL","Python-2.0","Python-2.0.1","QPL-1.0","QPL-1.0-INRIA-2004","Qhull","RHeCos-1.1","RPL-1.1","RPL-1.5","RPSL-1.0","RSA-MD","RSCPL","Rdisc","Ruby","Ruby-pty","SAX-PD","SAX-PD-2.0","SCEA","SGI-B-1.0","SGI-B-1.1","SGI-B-2.0","SGI-OpenGL","SGP4","SHL-0.5","SHL-0.51","SISSL","SISSL-1.2","SL","SMAIL-GPL","SMLNJ","SMPPL","SNIA","SPL-1.0","SSH-OpenSSH","SSH-short","SSLeay-standalone","SSPL-1.0","SWL","Saxpath","SchemeReport","Sendmail","Sendmail-8.23","Sendmail-Open-Source-1.1","SimPL-2.0","Sleepycat","Soundex","Spencer-86","Spencer-94","Spencer-99","SugarCRM-1.1.3","Sun-PPP","Sun-PPP-2000","SunPro","Symlinks","TAPR-OHL-1.0","TCL","TCP-wrappers","TGPPL-1.0","TMate","TORQUE-1.1","TOSL","TPDL","TPL-1.0","TTWL","TTYP0","TU-Berlin-1.0","TU-Berlin-2.0","TermReadKey","ThirdEye","TrustedQSL","UCAR","UCL-1.0","UMich-Merit","UPL-1.0","URT-RLE","Ubuntu-font-1.0","Unicode-3.0","Unicode-DFS-2015","Unicode-DFS-2016","Unicode-TOU","UnixCrypt","Unlicense","VOSTROM","VSL-1.0","Vim","W3C","W3C-19980720","W3C-20150513","WTFPL","Watcom-1.0","Widget-Workshop","Wsuipa","X11","X11-distribute-modifications-variant","X11-swapped","XFree86-1.1","XSkat","Xdebug-1.03","Xerox","Xfig","Xnet","YPL-1.0","YPL-1.1","ZPL-1.1","ZPL-2.0","ZPL-2.1","Zed","Zeeff","Zend-2.0","Zimbra-1.3","Zimbra-1.4","Zlib","any-OSI","any-OSI-perl-modules","bcrypt-Solar-Designer","blessing","bzip2-1.0.6","check-cvs","checkmk","copyleft-next-0.3.0","copyleft-next-0.3.1","curl","cve-tou","diffmark","dtoa","dvipdfm","eGenix","etalab-2.0","fwlw","gSOAP-1.3b","generic-xts","gnuplot","gtkbook","hdparm","iMatix","libpng-2.0","libselinux-1.0","libtiff","libutil-David-Nugent","lsof","magaz","mailprio","metamail","mpi-permissive","mpich2","mplus","pkgconf","pnmstitch","psfrag","psutils","python-ldap","radvd","snprintf","softSurfer","ssh-keyscan","swrule","threeparttable","ulem","w3m","wwl","xinetd","xkeyboard-config-Zinoviev","xlock","xpp","xzoom","zlib-acknowledgement"]});var zf=_((WU,gN)=>{gN.exports=["AGPL-1.0","AGPL-3.0","BSD-2-Clause-FreeBSD","BSD-2-Clause-NetBSD","GFDL-1.1","GFDL-1.2","GFDL-1.3","GPL-1.0","GPL-2.0","GPL-2.0-with-GCC-exception","GPL-2.0-with-autoconf-exception","GPL-2.0-with-bison-exception","GPL-2.0-with-classpath-exception","GPL-2.0-with-font-exception","GPL-3.0","GPL-3.0-with-GCC-exception","GPL-3.0-with-autoconf-exception","LGPL-2.0","LGPL-2.1","LGPL-3.0","Net-SNMP","Nunit","StandardML-NJ","bzip2-1.0.5","eCos-2.0","wxWindows"]});var Bf=_((VU,bN)=>{bN.exports=["389-exception","Asterisk-exception","Autoconf-exception-2.0","Autoconf-exception-3.0","Autoconf-exception-generic","Autoconf-exception-generic-3.0","Autoconf-exception-macro","Bison-exception-1.24","Bison-exception-2.2","Bootloader-exception","Classpath-exception-2.0","CLISP-exception-2.0","cryptsetup-OpenSSL-exception","DigiRule-FOSS-exception","eCos-exception-2.0","Fawkes-Runtime-exception","FLTK-exception","fmt-exception","Font-exception-2.0","freertos-exception-2.0","GCC-exception-2.0","GCC-exception-2.0-note","GCC-exception-3.1","Gmsh-exception","GNAT-exception","GNOME-examples-exception","GNU-compiler-exception","gnu-javamail-exception","GPL-3.0-interface-exception","GPL-3.0-linking-exception","GPL-3.0-linking-source-exception","GPL-CC-1.0","GStreamer-exception-2005","GStreamer-exception-2008","i2p-gpl-java-exception","KiCad-libraries-exception","LGPL-3.0-linking-exception","libpri-OpenH323-exception","Libtool-exception","Linux-syscall-note","LLGPL","LLVM-exception","LZMA-exception","mif-exception","OCaml-LGPL-linking-exception","OCCT-exception-1.0","OpenJDK-assembly-exception-1.0","openvpn-openssl-exception","PS-or-PDF-font-exception-20170817","QPL-1.0-INRIA-2004-exception","Qt-GPL-exception-1.0","Qt-LGPL-exception-1.1","Qwt-exception-1.0","SANE-exception","SHL-2.0","SHL-2.1","stunnel-exception","SWI-exception","Swift-exception","Texinfo-exception","u-boot-exception-2.0","UBDL-exception","Universal-FOSS-exception-1.0","vsftpd-openssl-exception","WxWindows-exception-3.1","x11vnc-openssl-exception"]});var gv=_((XU,yv)=>{"use strict";var SN=[].concat(Ts()).concat(zf()),wN=Bf();yv.exports=function(t){var e=0;function r(){return e<t.length}function n(h){if(h instanceof RegExp){var m=t.slice(e),y=m.match(h);if(y)return e+=y[0].length,y[0]}else if(t.indexOf(h,e)===e)return e+=h.length,h}function i(){n(/[ ]*/)}function o(){for(var h,m=[/^WITH/i,/^AND/i,/^OR/i,"(",")",":","+"],y=0;y<m.length&&(h=n(m[y]),!h);y++);if(h==="+"&&e>1&&t[e-2]===" ")throw new Error("Space before `+`");return h&&{type:"OPERATOR",string:h.toUpperCase()}}function a(){return n(/[A-Za-z0-9-.]+/)}function s(){var h=a();if(!h)throw new Error("Expected idstring at offset "+e);return h}function l(){if(n("DocumentRef-")){var h=s();return{type:"DOCUMENTREF",string:h}}}function u(){if(n("LicenseRef-")){var h=s();return{type:"LICENSEREF",string:h}}}function c(){var h=e,m=a();if(SN.indexOf(m)!==-1)return{type:"LICENSE",string:m};if(wN.indexOf(m)!==-1)return{type:"EXCEPTION",string:m};e=h}function f(){return o()||l()||u()||c()}for(var d=[];r()&&(i(),!!r());){var p=f();if(!p)throw new Error("Unexpected `"+t[e]+"` at offset "+e);d.push(p)}return d}});var Sv=_((YU,bv)=>{"use strict";bv.exports=function(t){var e=0;function r(){return e<t.length}function n(){return r()?t[e]:null}function i(){if(!r())throw new Error;e++}function o(m){var y=n();if(y&&y.type==="OPERATOR"&&m===y.string)return i(),y.string}function a(){if(o("WITH")){var m=n();if(m&&m.type==="EXCEPTION")return i(),m.string;throw new Error("Expected exception after `WITH`")}}function s(){var m=e,y="",g=n();if(g.type==="DOCUMENTREF"&&(i(),y+="DocumentRef-"+g.string+":",!o(":")))throw new Error("Expected `:` after `DocumentRef-...`");if(g=n(),g.type==="LICENSEREF")return i(),y+="LicenseRef-"+g.string,{license:y};e=m}function l(){var m=n();if(m&&m.type==="LICENSE"){i();var y={license:m.string};o("+")&&(y.plus=!0);var g=a();return g&&(y.exception=g),y}}function u(){var m=o("(");if(m){var y=p();if(!o(")"))throw new Error("Expected `)`");return y}}function c(){return u()||s()||l()}function f(m,y){return function g(){var b=y();if(b){if(!o(m))return b;var v=g();if(!v)throw new Error("Expected expression");return{left:b,conjunction:m.toLowerCase(),right:v}}}}var d=f("AND",c),p=f("OR",d),h=p();if(!h||r())throw new Error("Syntax error");return h}});var xv=_((KU,wv)=>{"use strict";var xN=gv(),EN=Sv();wv.exports=function(t){return EN(xN(t))}});var Ev=_((JU,NN)=>{NN.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://cyclonedx.org/schema/spdx.schema.json",$comment:"v1.0-3.24.0",type:"string",enum:["0BSD","3D-Slicer-1.0","AAL","Abstyles","AdaCore-doc","Adobe-2006","Adobe-Display-PostScript","Adobe-Glyph","Adobe-Utopia","ADSL","AFL-1.1","AFL-1.2","AFL-2.0","AFL-2.1","AFL-3.0","Afmparse","AGPL-1.0","AGPL-1.0-only","AGPL-1.0-or-later","AGPL-3.0","AGPL-3.0-only","AGPL-3.0-or-later","Aladdin","AMD-newlib","AMDPLPA","AML","AML-glslang","AMPAS","ANTLR-PD","ANTLR-PD-fallback","any-OSI","Apache-1.0","Apache-1.1","Apache-2.0","APAFML","APL-1.0","App-s2p","APSL-1.0","APSL-1.1","APSL-1.2","APSL-2.0","Arphic-1999","Artistic-1.0","Artistic-1.0-cl8","Artistic-1.0-Perl","Artistic-2.0","ASWF-Digital-Assets-1.0","ASWF-Digital-Assets-1.1","Baekmuk","Bahyph","Barr","bcrypt-Solar-Designer","Beerware","Bitstream-Charter","Bitstream-Vera","BitTorrent-1.0","BitTorrent-1.1","blessing","BlueOak-1.0.0","Boehm-GC","Borceux","Brian-Gladman-2-Clause","Brian-Gladman-3-Clause","BSD-1-Clause","BSD-2-Clause","BSD-2-Clause-Darwin","BSD-2-Clause-first-lines","BSD-2-Clause-FreeBSD","BSD-2-Clause-NetBSD","BSD-2-Clause-Patent","BSD-2-Clause-Views","BSD-3-Clause","BSD-3-Clause-acpica","BSD-3-Clause-Attribution","BSD-3-Clause-Clear","BSD-3-Clause-flex","BSD-3-Clause-HP","BSD-3-Clause-LBNL","BSD-3-Clause-Modification","BSD-3-Clause-No-Military-License","BSD-3-Clause-No-Nuclear-License","BSD-3-Clause-No-Nuclear-License-2014","BSD-3-Clause-No-Nuclear-Warranty","BSD-3-Clause-Open-MPI","BSD-3-Clause-Sun","BSD-4-Clause","BSD-4-Clause-Shortened","BSD-4-Clause-UC","BSD-4.3RENO","BSD-4.3TAHOE","BSD-Advertising-Acknowledgement","BSD-Attribution-HPND-disclaimer","BSD-Inferno-Nettverk","BSD-Protection","BSD-Source-beginning-file","BSD-Source-Code","BSD-Systemics","BSD-Systemics-W3Works","BSL-1.0","BUSL-1.1","bzip2-1.0.5","bzip2-1.0.6","C-UDA-1.0","CAL-1.0","CAL-1.0-Combined-Work-Exception","Caldera","Caldera-no-preamble","Catharon","CATOSL-1.1","CC-BY-1.0","CC-BY-2.0","CC-BY-2.5","CC-BY-2.5-AU","CC-BY-3.0","CC-BY-3.0-AT","CC-BY-3.0-AU","CC-BY-3.0-DE","CC-BY-3.0-IGO","CC-BY-3.0-NL","CC-BY-3.0-US","CC-BY-4.0","CC-BY-NC-1.0","CC-BY-NC-2.0","CC-BY-NC-2.5","CC-BY-NC-3.0","CC-BY-NC-3.0-DE","CC-BY-NC-4.0","CC-BY-NC-ND-1.0","CC-BY-NC-ND-2.0","CC-BY-NC-ND-2.5","CC-BY-NC-ND-3.0","CC-BY-NC-ND-3.0-DE","CC-BY-NC-ND-3.0-IGO","CC-BY-NC-ND-4.0","CC-BY-NC-SA-1.0","CC-BY-NC-SA-2.0","CC-BY-NC-SA-2.0-DE","CC-BY-NC-SA-2.0-FR","CC-BY-NC-SA-2.0-UK","CC-BY-NC-SA-2.5","CC-BY-NC-SA-3.0","CC-BY-NC-SA-3.0-DE","CC-BY-NC-SA-3.0-IGO","CC-BY-NC-SA-4.0","CC-BY-ND-1.0","CC-BY-ND-2.0","CC-BY-ND-2.5","CC-BY-ND-3.0","CC-BY-ND-3.0-DE","CC-BY-ND-4.0","CC-BY-SA-1.0","CC-BY-SA-2.0","CC-BY-SA-2.0-UK","CC-BY-SA-2.1-JP","CC-BY-SA-2.5","CC-BY-SA-3.0","CC-BY-SA-3.0-AT","CC-BY-SA-3.0-DE","CC-BY-SA-3.0-IGO","CC-BY-SA-4.0","CC-PDDC","CC0-1.0","CDDL-1.0","CDDL-1.1","CDL-1.0","CDLA-Permissive-1.0","CDLA-Permissive-2.0","CDLA-Sharing-1.0","CECILL-1.0","CECILL-1.1","CECILL-2.0","CECILL-2.1","CECILL-B","CECILL-C","CERN-OHL-1.1","CERN-OHL-1.2","CERN-OHL-P-2.0","CERN-OHL-S-2.0","CERN-OHL-W-2.0","CFITSIO","check-cvs","checkmk","ClArtistic","Clips","CMU-Mach","CMU-Mach-nodoc","CNRI-Jython","CNRI-Python","CNRI-Python-GPL-Compatible","COIL-1.0","Community-Spec-1.0","Condor-1.1","copyleft-next-0.3.0","copyleft-next-0.3.1","Cornell-Lossless-JPEG","CPAL-1.0","CPL-1.0","CPOL-1.02","Cronyx","Crossword","CrystalStacker","CUA-OPL-1.0","Cube","curl","cve-tou","D-FSL-1.0","DEC-3-Clause","diffmark","DL-DE-BY-2.0","DL-DE-ZERO-2.0","DOC","Dotseqn","DRL-1.0","DRL-1.1","DSDP","dtoa","dvipdfm","ECL-1.0","ECL-2.0","eCos-2.0","EFL-1.0","EFL-2.0","eGenix","Elastic-2.0","Entessa","EPICS","EPL-1.0","EPL-2.0","ErlPL-1.1","etalab-2.0","EUDatagrid","EUPL-1.0","EUPL-1.1","EUPL-1.2","Eurosym","Fair","FBM","FDK-AAC","Ferguson-Twofish","Frameworx-1.0","FreeBSD-DOC","FreeImage","FSFAP","FSFAP-no-warranty-disclaimer","FSFUL","FSFULLR","FSFULLRWD","FTL","Furuseth","fwlw","GCR-docs","GD","GFDL-1.1","GFDL-1.1-invariants-only","GFDL-1.1-invariants-or-later","GFDL-1.1-no-invariants-only","GFDL-1.1-no-invariants-or-later","GFDL-1.1-only","GFDL-1.1-or-later","GFDL-1.2","GFDL-1.2-invariants-only","GFDL-1.2-invariants-or-later","GFDL-1.2-no-invariants-only","GFDL-1.2-no-invariants-or-later","GFDL-1.2-only","GFDL-1.2-or-later","GFDL-1.3","GFDL-1.3-invariants-only","GFDL-1.3-invariants-or-later","GFDL-1.3-no-invariants-only","GFDL-1.3-no-invariants-or-later","GFDL-1.3-only","GFDL-1.3-or-later","Giftware","GL2PS","Glide","Glulxe","GLWTPL","gnuplot","GPL-1.0","GPL-1.0+","GPL-1.0-only","GPL-1.0-or-later","GPL-2.0","GPL-2.0+","GPL-2.0-only","GPL-2.0-or-later","GPL-2.0-with-autoconf-exception","GPL-2.0-with-bison-exception","GPL-2.0-with-classpath-exception","GPL-2.0-with-font-exception","GPL-2.0-with-GCC-exception","GPL-3.0","GPL-3.0+","GPL-3.0-only","GPL-3.0-or-later","GPL-3.0-with-autoconf-exception","GPL-3.0-with-GCC-exception","Graphics-Gems","gSOAP-1.3b","gtkbook","Gutmann","HaskellReport","hdparm","Hippocratic-2.1","HP-1986","HP-1989","HPND","HPND-DEC","HPND-doc","HPND-doc-sell","HPND-export-US","HPND-export-US-acknowledgement","HPND-export-US-modify","HPND-export2-US","HPND-Fenneberg-Livingston","HPND-INRIA-IMAG","HPND-Intel","HPND-Kevlin-Henney","HPND-Markus-Kuhn","HPND-merchantability-variant","HPND-MIT-disclaimer","HPND-Pbmplus","HPND-sell-MIT-disclaimer-xserver","HPND-sell-regexpr","HPND-sell-variant","HPND-sell-variant-MIT-disclaimer","HPND-sell-variant-MIT-disclaimer-rev","HPND-UC","HPND-UC-export-US","HTMLTIDY","IBM-pibs","ICU","IEC-Code-Components-EULA","IJG","IJG-short","ImageMagick","iMatix","Imlib2","Info-ZIP","Inner-Net-2.0","Intel","Intel-ACPI","Interbase-1.0","IPA","IPL-1.0","ISC","ISC-Veillard","Jam","JasPer-2.0","JPL-image","JPNIC","JSON","Kastrup","Kazlib","Knuth-CTAN","LAL-1.2","LAL-1.3","Latex2e","Latex2e-translated-notice","Leptonica","LGPL-2.0","LGPL-2.0+","LGPL-2.0-only","LGPL-2.0-or-later","LGPL-2.1","LGPL-2.1+","LGPL-2.1-only","LGPL-2.1-or-later","LGPL-3.0","LGPL-3.0+","LGPL-3.0-only","LGPL-3.0-or-later","LGPLLR","Libpng","libpng-2.0","libselinux-1.0","libtiff","libutil-David-Nugent","LiLiQ-P-1.1","LiLiQ-R-1.1","LiLiQ-Rplus-1.1","Linux-man-pages-1-para","Linux-man-pages-copyleft","Linux-man-pages-copyleft-2-para","Linux-man-pages-copyleft-var","Linux-OpenIB","LOOP","LPD-document","LPL-1.0","LPL-1.02","LPPL-1.0","LPPL-1.1","LPPL-1.2","LPPL-1.3a","LPPL-1.3c","lsof","Lucida-Bitmap-Fonts","LZMA-SDK-9.11-to-9.20","LZMA-SDK-9.22","Mackerras-3-Clause","Mackerras-3-Clause-acknowledgment","magaz","mailprio","MakeIndex","Martin-Birgmeier","McPhee-slideshow","metamail","Minpack","MirOS","MIT","MIT-0","MIT-advertising","MIT-CMU","MIT-enna","MIT-feh","MIT-Festival","MIT-Khronos-old","MIT-Modern-Variant","MIT-open-group","MIT-testregex","MIT-Wu","MITNFA","MMIXware","Motosoto","MPEG-SSG","mpi-permissive","mpich2","MPL-1.0","MPL-1.1","MPL-2.0","MPL-2.0-no-copyleft-exception","mplus","MS-LPL","MS-PL","MS-RL","MTLL","MulanPSL-1.0","MulanPSL-2.0","Multics","Mup","NAIST-2003","NASA-1.3","Naumen","NBPL-1.0","NCBI-PD","NCGL-UK-2.0","NCL","NCSA","Net-SNMP","NetCDF","Newsletr","NGPL","NICTA-1.0","NIST-PD","NIST-PD-fallback","NIST-Software","NLOD-1.0","NLOD-2.0","NLPL","Nokia","NOSL","Noweb","NPL-1.0","NPL-1.1","NPOSL-3.0","NRL","NTP","NTP-0","Nunit","O-UDA-1.0","OAR","OCCT-PL","OCLC-2.0","ODbL-1.0","ODC-By-1.0","OFFIS","OFL-1.0","OFL-1.0-no-RFN","OFL-1.0-RFN","OFL-1.1","OFL-1.1-no-RFN","OFL-1.1-RFN","OGC-1.0","OGDL-Taiwan-1.0","OGL-Canada-2.0","OGL-UK-1.0","OGL-UK-2.0","OGL-UK-3.0","OGTSL","OLDAP-1.1","OLDAP-1.2","OLDAP-1.3","OLDAP-1.4","OLDAP-2.0","OLDAP-2.0.1","OLDAP-2.1","OLDAP-2.2","OLDAP-2.2.1","OLDAP-2.2.2","OLDAP-2.3","OLDAP-2.4","OLDAP-2.5","OLDAP-2.6","OLDAP-2.7","OLDAP-2.8","OLFL-1.3","OML","OpenPBS-2.3","OpenSSL","OpenSSL-standalone","OpenVision","OPL-1.0","OPL-UK-3.0","OPUBL-1.0","OSET-PL-2.1","OSL-1.0","OSL-1.1","OSL-2.0","OSL-2.1","OSL-3.0","PADL","Parity-6.0.0","Parity-7.0.0","PDDL-1.0","PHP-3.0","PHP-3.01","Pixar","pkgconf","Plexus","pnmstitch","PolyForm-Noncommercial-1.0.0","PolyForm-Small-Business-1.0.0","PostgreSQL","PPL","PSF-2.0","psfrag","psutils","Python-2.0","Python-2.0.1","python-ldap","Qhull","QPL-1.0","QPL-1.0-INRIA-2004","radvd","Rdisc","RHeCos-1.1","RPL-1.1","RPL-1.5","RPSL-1.0","RSA-MD","RSCPL","Ruby","SAX-PD","SAX-PD-2.0","Saxpath","SCEA","SchemeReport","Sendmail","Sendmail-8.23","SGI-B-1.0","SGI-B-1.1","SGI-B-2.0","SGI-OpenGL","SGP4","SHL-0.5","SHL-0.51","SimPL-2.0","SISSL","SISSL-1.2","SL","Sleepycat","SMLNJ","SMPPL","SNIA","snprintf","softSurfer","Soundex","Spencer-86","Spencer-94","Spencer-99","SPL-1.0","ssh-keyscan","SSH-OpenSSH","SSH-short","SSLeay-standalone","SSPL-1.0","StandardML-NJ","SugarCRM-1.1.3","Sun-PPP","Sun-PPP-2000","SunPro","SWL","swrule","Symlinks","TAPR-OHL-1.0","TCL","TCP-wrappers","TermReadKey","TGPPL-1.0","threeparttable","TMate","TORQUE-1.1","TOSL","TPDL","TPL-1.0","TTWL","TTYP0","TU-Berlin-1.0","TU-Berlin-2.0","UCAR","UCL-1.0","ulem","UMich-Merit","Unicode-3.0","Unicode-DFS-2015","Unicode-DFS-2016","Unicode-TOU","UnixCrypt","Unlicense","UPL-1.0","URT-RLE","Vim","VOSTROM","VSL-1.0","W3C","W3C-19980720","W3C-20150513","w3m","Watcom-1.0","Widget-Workshop","Wsuipa","WTFPL","wxWindows","X11","X11-distribute-modifications-variant","Xdebug-1.03","Xerox","Xfig","XFree86-1.1","xinetd","xkeyboard-config-Zinoviev","xlock","Xnet","xpp","XSkat","xzoom","YPL-1.0","YPL-1.1","Zed","Zeeff","Zend-2.0","Zimbra-1.3","Zimbra-1.4","Zlib","zlib-acknowledgement","ZPL-1.1","ZPL-2.0","ZPL-2.1","389-exception","Asterisk-exception","Asterisk-linking-protocols-exception","Autoconf-exception-2.0","Autoconf-exception-3.0","Autoconf-exception-generic","Autoconf-exception-generic-3.0","Autoconf-exception-macro","Bison-exception-1.24","Bison-exception-2.2","Bootloader-exception","Classpath-exception-2.0","CLISP-exception-2.0","cryptsetup-OpenSSL-exception","DigiRule-FOSS-exception","eCos-exception-2.0","Fawkes-Runtime-exception","FLTK-exception","fmt-exception","Font-exception-2.0","freertos-exception-2.0","GCC-exception-2.0","GCC-exception-2.0-note","GCC-exception-3.1","Gmsh-exception","GNAT-exception","GNOME-examples-exception","GNU-compiler-exception","gnu-javamail-exception","GPL-3.0-interface-exception","GPL-3.0-linking-exception","GPL-3.0-linking-source-exception","GPL-CC-1.0","GStreamer-exception-2005","GStreamer-exception-2008","i2p-gpl-java-exception","KiCad-libraries-exception","LGPL-3.0-linking-exception","libpri-OpenH323-exception","Libtool-exception","Linux-syscall-note","LLGPL","LLVM-exception","LZMA-exception","mif-exception","Nokia-Qt-exception-1.1","OCaml-LGPL-linking-exception","OCCT-exception-1.0","OpenJDK-assembly-exception-1.0","openvpn-openssl-exception","PCRE2-exception","PS-or-PDF-font-exception-20170817","QPL-1.0-INRIA-2004-exception","Qt-GPL-exception-1.0","Qt-LGPL-exception-1.1","Qwt-exception-1.0","RRDtool-FLOSS-exception-2.0","SANE-exception","SHL-2.0","SHL-2.1","stunnel-exception","SWI-exception","Swift-exception","Texinfo-exception","u-boot-exception-2.0","UBDL-exception","Universal-FOSS-exception-1.0","vsftpd-openssl-exception","WxWindows-exception-3.1","x11vnc-openssl-exception"]}});var Ps=_(Fn=>{"use strict";var CN=Fn&&Fn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Fn,"__esModule",{value:!0});Fn.isSupportedSpdxId=TN;Fn.fixupSpdxId=PN;Fn.isValidSpdxLicenseExpression=DN;var AN=CN(xv()),Nv=Ev(),ON=new Set(Nv.enum),LN=Object.freeze(Object.fromEntries(Nv.enum.map(t=>[t.toLowerCase(),t])));function TN(t){return ON.has(t)}function PN(t){return typeof t=="string"&&t.length>0?LN[t.toLowerCase()]:void 0}function DN(t){if(typeof t!="string")return!1;try{(0,AN.default)(t)}catch{return!1}return!0}});var Av=_(Ds=>{"use strict";Object.defineProperty(Ds,"__esModule",{value:!0});Ds.LicenseFactory=void 0;var jf=Ar(),Cv=Ps(),Gf=class{makeFromString(e){try{return this.makeSpdxLicense(e)}catch{}try{return this.makeExpression(e)}catch{}return this.makeNamedLicense(e)}makeExpression(e){let r=String(e);if((0,Cv.isValidSpdxLicenseExpression)(r))return new jf.LicenseExpression(r);throw new RangeError("Invalid SPDX license expression")}makeDisjunctive(e){try{return this.makeSpdxLicense(e)}catch{return this.makeNamedLicense(e)}}makeSpdxLicense(e){let r=(0,Cv.fixupSpdxId)(String(e));if(r===void 0)throw new RangeError("Unsupported SPDX license ID");return new jf.SpdxLicense(r)}makeNamedLicense(e){return new jf.NamedLicense(String(e))}};Ds.LicenseFactory=Gf});var Po=_((e3,Lv)=>{"use strict";function Ov(t=""){let{length:e}=t,r="";if(e){let n=t.charCodeAt(0);r=n>=65||n<=90?`${t[0].toLowerCase()}${t.slice(1)}`:t,e>1&&t.charCodeAt(e-1)===46&&t.charCodeAt(e-2)!==46&&(r=r.slice(0,-1))}return`Invalid purl: ${r}`}var Uf=class extends Error{constructor(e){super(Ov(e))}};Lv.exports={formatPurlErrorMessage:Ov,PurlError:Uf}});var Pv=_((t3,Tv)=>{"use strict";var{PurlError:IN}=Po(),{decodeURIComponent:FN}=globalThis;function RN(t,e){try{return FN(e)}catch{}throw new IN(`unable to decode "${t}" component`)}Tv.exports={decodePurlComponent:RN}});var Hf=_((r3,Dv)=>{"use strict";var MN=new URLSearchParams,kN="_",qN=2;Dv.exports={LOOP_SENTINEL:1e6,REUSED_SEARCH_PARAMS:MN,REUSED_SEARCH_PARAMS_KEY:kN,REUSED_SEARCH_PARAMS_OFFSET:qN}});var Is=_((n3,Iv)=>{"use strict";var{LOOP_SENTINEL:zN}=Hf();function BN(t){return t!==null&&typeof t=="object"}function jN(t){if(t===null||!(typeof t=="object"||typeof t=="function")||Object.isFrozen(t))return t;let e=[t],{length:r}=e,n=0;for(;n<r;){if(n===zN)throw new Error("Detected infinite loop in object crawl of recursiveFreeze");let i=e[n++];if(Object.freeze(i),Array.isArray(i))for(let o=0,{length:a}=i;o<a;o+=1){let s=i[o];s!==null&&(typeof s=="object"||typeof s=="function")&&!Object.isFrozen(s)&&(e[r++]=s)}else{let o=Reflect.ownKeys(i);for(let a=0,{length:s}=o;a<s;a+=1){let l=i[o[a]];l!==null&&(typeof l=="object"||typeof l=="function")&&!Object.isFrozen(l)&&(e[r++]=l)}}}return t}Iv.exports={isObject:BN,recursiveFreeze:jN}});var Rn=_((i3,Fv)=>{"use strict";var{compare:GN}=new Intl.Collator,UN=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;function HN(t){for(let e=0,{length:r}=t;e<r;e+=1){let n=t.charCodeAt(e);if(!(n===32||n===9||n===10||n===11||n===12||n===13||n===160||n===5760||n===8192||n===8193||n===8194||n===8195||n===8196||n===8197||n===8198||n===8199||n===8200||n===8201||n===8202||n===8232||n===8233||n===8239||n===8287||n===12288||n===65279))return!1}return!0}function $N(t){return typeof t=="string"&&t.length>0}function WN(t){return typeof t=="string"&&UN.test(t)}function VN(t){t.name=t.name.toLowerCase()}function XN(t){let{namespace:e}=t;typeof e=="string"&&(t.namespace=e.toLowerCase())}function YN(t){let{version:e}=t;typeof e=="string"&&(t.version=e.toLowerCase())}function KN(t){let e="",r=0,n=0;for(;(n=t.indexOf("-",r))!==-1;)e=e+t.slice(r,n)+"_",r=n+1;return r?e+t.slice(r):t}function JN(t){let e="",r=0,n=0;for(;(n=t.indexOf("_",r))!==-1;)e=e+t.slice(r,n)+"-",r=n+1;return r?e+t.slice(r):t}function QN(t){let e=0;for(;t.charCodeAt(e)===47;)e+=1;return e===0?t:t.slice(e)}Fv.exports={isBlank:HN,isNonEmptyString:$N,isSemverString:WN,localeCompare:GN,lowerName:VN,lowerNamespace:XN,lowerVersion:YN,replaceDashesWithUnderscores:KN,replaceUnderscoresWithDashes:JN,trimLeadingSlashes:QN}});var qv=_((o3,kv)=>{"use strict";var{REUSED_SEARCH_PARAMS:Rv,REUSED_SEARCH_PARAMS_KEY:ZN,REUSED_SEARCH_PARAMS_OFFSET:eC}=Hf(),{isObject:tC}=Is(),{isNonEmptyString:Fs}=Rn(),{encodeURIComponent:Rs}=globalThis;function rC(t){return Fs(t)?Rs(t).replace(/%3A/g,":").replace(/%2F/g,"/"):""}function nC(t){return Fs(t)?(Rv.set(ZN,t),Mv(Rv.toString().slice(eC))):""}function iC(t){if(tC(t)){let e=Object.keys(t).sort(),r=new URLSearchParams;for(let n=0,{length:i}=e;n<i;n+=1){let o=e[n];r.set(o,t[o])}return Mv(r.toString())}return""}function oC(t){return Fs(t)?Rs(t).replace(/%2F/g,"/"):""}function aC(t){return Fs(t)?Rs(t).replace(/%3A/g,":").replace(/%2B/g,"+"):""}functio