cargo-semver-checks/dist/index.js

201 lines
1.6 MiB
JavaScript
Raw Normal View History

2023-01-09 00:46:08 +01:00
(()=>{var __webpack_modules__={4103:function(e,t,a){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,a,i){if(i===undefined)i=a;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[a]}})}:function(e,t,a,i){if(i===undefined)i=a;e[i]=t[a]});var r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a))i(t,e,a);r(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.annotate=t.escapeProperty=t.escapeData=void 0;const s=o(a(2037));function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}function escapeData(e){return toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}t.escapeData=escapeData;function escapeProperty(e){return toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}t.escapeProperty=escapeProperty;const n="::";function render(e,t,a){let i=n+e;if(a&&Object.keys(a).length>0){i+=" ";let e=true;for(const[t,r]of Object.entries(a)){if(r){if(e){e=false}else{i+=","}i+=`${t}=${escapeProperty(r)}`}}}i+=`${n}${escapeData(t)}`;return i}function annotate(e){let t;switch(e.annotation_level){case"notice":case"warning":t="warning";break;case"failure":t="error";break}const a=render(t,e.message,{file:e.path,line:e.start_line,col:e.start_column});process.stdout.write(a+s.EOL)}t.annotate=annotate},4460:function(e,t,a){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,a,i){if(i===undefined)i=a;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[a]}})}:function(e,t,a,i){if(i===undefined)i=a;e[i]=t[a]});var r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a))i(t,e,a);r(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.CheckReporter=void 0;const s=o(a(5276));class CheckReporter{constructor(e,t){this.client=e;this.checkName=t;this.checkId=undefined}async startCheck(e){const{owner:t,repo:a}=s.context.repo;const i=await this.client.checks.create({owner:t,repo:a,name:this.checkName,head_sha:s.context.sha,status:e?e:"in_progress"});this.checkId=i.data.id;return this.checkId}async finishCheck(e,t){const{owner:a,repo:i}=s.context.repo;await this.client.checks.update({owner:a,repo:i,name:this.checkName,check_run_id:this.checkId,status:"completed",conclusion:e,completed_at:(new Date).toISOString(),output:t});return}async cancelCheck(){const{owner:e,repo:t}=s.context.repo;await this.client.checks.update({owner:e,repo:t,name:this.checkName,check_run_id:this.checkId,status:"completed",conclusion:"cancelled",completed_at:(new Date).toISOString(),output:{title:this.checkName,summary:"Unhandled error",text:"Check was cancelled due to unhandled error. Check the Action logs for details."}});return}}t.CheckReporter=CheckReporter},2009:function(e,t,a){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,a,i){if(i===undefined)i=a;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[a]}})}:function(e,t,a,i){if(i===undefined)i=a;e[i]=t[a]});var r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a))i(t,e,a);r(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.Cargo=t.resolveVersion=void 0;const s=o(a(5545));const n=o(a(8864));const p
/*!
* Copyright (c) 2015-2020, Salesforce.com, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. Neither the name of Salesforce.com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/const i=a(1057);const r=a(1201);const o=a(9622);const s=a(4561).y;const n=a(688).m;const p=a(425).U;const l=a(4645);const c=a(2239);const{fromCallback:d}=a(6112);const{getCustomInspectSymbol:u}=a(246);const m=/^[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]+$/;const h=/[\x00-\x1F]/;const g=["\n","\r","\0"];const y=/[\x20-\x3A\x3C-\x7E]+/;const b=/[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/;const v={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11};const w=2147483647e3;const x=0;const S='Invalid sameSiteContext option for getCookies(); expected one of "strict", "lax", or "none"';function checkSameSiteContext(e){l.validate(l.isNonEmptyString(e),e);const t=String(e).toLowerCase();if(t==="none"||t==="lax"||t==="strict"){return t}else{return null}}const E=Object.freeze({SILENT:"silent",STRICT:"strict",DISABLED:"unsafe-disabled"});const k=/(?:^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$)|(?:^(?:(?:[a-f\d]{1,4}:){7}(?:[a-f\d]{1,4}|:)|(?:[a-f\d]{1,4}:){6}(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|:[a-f\d]{1,4}|:)|(?:[a-f\d]{1,4}:){5}(?::(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,2}|:)|(?:[a-f\d]{1,4}:){4}(?:(?::[a-f\d]{1,4}){0,1}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,3}|:)|(?:[a-f\d]{1,4}:){3}(?:(?::[a-f\d]{1,4}){0,2}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,4}|:)|(?:[a-f\d]{1,4}:){2}(?:(?::[a-f\d]{1,4}){0,3}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,5}|:)|(?:[a-f\d]{1,4}:){1}(?:(?::[a-f\d]{1,4}){0,4}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,6}|:)|(?::(?:(?::[a-f\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,7}|:)))$)/;const T=`\n\\[?(?:\n(?:[a-fA-F\\d]{1,4}:){7}(?:[a-fA-F\\d]{1,4}|:)|\n(?:[a-fA-F\\d]{1,4}:){6}(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|:[a-fA-F\\d]{1,4}|:)|\n(?:[a-fA-F\\d]{1,4}:){5}(?::(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,2}|:)|\n(?:[a-fA-F\\d]{1,4}:){4}(?:(?::[a-fA-F\\d]{1,4}){0,1}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,3}|:)|\n(?:[a-fA-F\\d]{1,4}:){3}(?:(?::[a-fA-F\\d]{1,4}){0,2}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,4}|:)|\n(?:[a-fA-F\\d]{1,4}:){2}(?:(?::[a-fA-F\\d]{1,4}){0,3}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,5}|:)|\n(?:[a-fA-F\\d]{1,4}:){1}(?:(?::[a-fA-F\\d]{1,4}){0,4}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,6}|:)|\n(?::(?:(?::[a-fA-F\\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,7}|:))\n)(?:%[0-9a-zA-Z]{1,})?\\]?\n`.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim();const N=new RegExp(`^${T}$`);function parseDigits(e,t,a,i){let r=0;while(r<e.length){const t=e.charCodeAt(r);if(t<=47||t>=58){break}r++}if(r<t||r>a){return null}if(!i&&r!=e.length){return null}return parseInt(e.substr(0,r),10)}function parseTime(e){const t=e.split(":");const a=[0,0,0];if(t.length!==3){return null}for(let e=0;e<3;e++){const i=e==2;const r=parseDigits(t[e],1,2,i);if(r===null){return null}a[e]=r}return a}function parseMonth(e){e=String(e).substr(0,3).toLowerCase();const t=v[e];return t>=0?t:null}function parseDate(e){if(!e){return}const t=e.split(b);if(!t){return}let a=null;let i=null;let r=null;let o=null;let s=null;let n=null;for(let e=0;e<t.length;e++){const p=t[e].trim();if(!p.length){continue}let l
/*!
* Copyright (c) 2015, Salesforce.com, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. Neither the name of Salesforce.com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/const{fromCallback:r}=a(6112);const o=a(4561).y;const s=a(8006).permuteDomain;const n=a(425).U;const{getCustomInspectSymbol:p,getUtilInspect:l}=a(246);class MemoryCookieStore extends o{constructor(){super();this.synchronous=true;this.idx={};const e=p();if(e){this[e]=this.inspect}}inspect(){const e={inspect:l(inspectFallback)};return`{ idx: ${e.inspect(this.idx,false,2)} }`}findCookie(e,t,a,i){if(!this.idx[e]){return i(null,undefined)}if(!this.idx[e][t]){return i(null,undefined)}return i(null,this.idx[e][t][a]||null)}findCookies(e,t,a,i){const r=[];if(typeof a==="function"){i=a;a=true}if(!e){return i(null,[])}let o;if(!t){o=function matchAll(e){for(const t in e){const a=e[t];for(const e in a){r.push(a[e])}}}}else{o=function matchRFC(e){Object.keys(e).forEach((a=>{if(n(t,a)){const t=e[a];for(const e in t){r.push(t[e])}}}))}}const p=s(e,a)||[e];const l=this.idx;p.forEach((e=>{const t=l[e];if(!t){return}o(t)}));i(null,r)}putCookie(e,t){if(!this.idx[e.domain]){this.idx[e.domain]={}}if(!this.idx[e.domain][e.path]){this.idx[e.domain][e.path]={}}this.idx[e.domain][e.path][e.key]=e;t(null)}updateCookie(e,t,a){this.putCookie(t,a)}removeCookie(e,t,a,i){if(this.idx[e]&&this.idx[e][t]&&this.idx[e][t][a]){delete this.idx[e][t][a]}i(null)}removeCookies(e,t,a){if(this.idx[e]){if(t){delete this.idx[e][t]}else{delete this.idx[e]}}return a(null)}removeAllCookies(e){this.idx={};return e(null)}getAllCookies(e){const t=[];const a=this.idx;const i=Object.keys(a);i.forEach((e=>{const i=Object.keys(a[e]);i.forEach((i=>{const r=Object.keys(a[e][i]);r.forEach((r=>{if(r!==null){t.push(a[e][i][r])}}))}))}));t.sort(((e,t)=>(e.creationIndex||0)-(t.creationIndex||0)));e(null,t)}}["findCookie","findCookies","putCookie","updateCookie","removeCookie","removeCookies","removeAllCookies","getAllCookies"].forEach((e=>{MemoryCookieStore.prototype[e]=r(MemoryCookieStore.prototype[e])}));t.m=MemoryCookieStore;function inspectFallback(e){const t=Object.keys(e);if(t.length===0){return"{}"}let a="{\n";Object.keys(e).forEach(((i,r)=>{a+=formatDomain(i,e[i]);if(r<t.length-1){a+=","}a+="\n"}));a+="}";return a}function formatDomain(e,t){const a=" ";let i=`${a}'${e}': {\n`;Object.keys(t).forEach(((e,a,r)=>{i+=formatPath(e,t[e]);if(a<r.length-1){i+=","}i+="\n"}));i+=`${a}}`;return i}function formatPath(e,t){const a=" ";let i=`${a}'${e}': {\n`;Object.keys(t).forEach(((e,a,r)=>{const o=t[e];i+=` ${e}: ${o.inspect()}`;if(a<r.length-1){i+=","}i+="\n"}));i+=`${a}}`;return i}i=inspectFallback},425:(e,t)=>{"use strict";
/*!
* Copyright (c) 2015, Salesforce.com, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. Neither the name of Salesforce.com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/function pathMatch(e,t){if(t===e){return true}const a=e.indexOf(t);if(a===0){if(t.substr(-1)==="/"){return true}if(e.substr(t.length,1)==="/"){return true}}return false}t.U=pathMatch},8006:(e,t,a)=>{"use strict";
/*!
* Copyright (c) 2015, Salesforce.com, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. Neither the name of Salesforce.com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/const i=a(9622);function permuteDomain(e,t){const a=i.getPublicSuffix(e,{allowSpecialUseDomain:t});if(!a){return null}if(a==e){return[e]}if(e.slice(-1)=="."){e=e.slice(0,-1)}const r=e.slice(0,-(a.length+1));const o=r.split(".").reverse();let s=a;const n=[s];while(o.length){s=`${o.shift()}.${s}`;n.push(s)}return n}t.permuteDomain=permuteDomain},9622:(e,t,a)=>{"use strict";
/*!
* Copyright (c) 2018, Salesforce.com, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. Neither the name of Salesforce.com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/const i=a(8540);const r=["local","example","invalid","localhost","test"];const o=["localhost","invalid"];function getPublicSuffix(e,t={}){const a=e.split(".");const s=a[a.length-1];const n=!!t.allowSpecialUseDomain;const p=!!t.ignoreError;if(n&&r.includes(s)){if(a.length>1){const e=a[a.length-2];return`${e}.${s}`}else if(o.includes(s)){return`${s}`}}if(!p&&r.includes(s)){throw new Error(`Cookie has domain set to the public suffix "${s}" which is a special use domain. To allow this, configure your CookieJar with {allowSpecialUseDomain:true, rejectPublicSuffixes: false}.`)}return i.get(e)}t.getPublicSuffix=getPublicSuffix},4561:(e,t)=>{"use strict";
/*!
* Copyright (c) 2015, Salesforce.com, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. Neither the name of Salesforce.com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/class Store{constructor(){this.synchronous=false}findCookie(e,t,a,i){throw new Error("findCookie is not implemented")}findCookies(e,t,a,i){throw new Error("findCookies is not implemented")}putCookie(e,t){throw new Error("putCookie is not implemented")}updateCookie(e,t,a){throw new Error("updateCookie is not implemented")}removeCookie(e,t,a,i){throw new Error("removeCookie is not implemented")}removeCookies(e,t,a){throw new Error("removeCookies is not implemented")}removeAllCookies(e){throw new Error("removeAllCookies is not implemented")}getAllCookies(e){throw new Error("getAllCookies is not implemented (therefore jar cannot be serialized)")}}t.y=Store},246:(e,t,a)=>{function requireUtil(){try{return a(3837)}catch(e){return null}}function lookupCustomInspectSymbol(){return Symbol.for("nodejs.util.inspect.custom")}function tryReadingCustomSymbolFromUtilInspect(e){const t=e.requireUtil||requireUtil;const a=t();return a?a.inspect.custom:null}t.getUtilInspect=function getUtilInspect(e,t={}){const a=t.requireUtil||requireUtil;const i=a();return function inspect(t,a,r){return i?i.inspect(t,a,r):e(t)}};t.getCustomInspectSymbol=function getCustomInspectSymbol(e={}){const t=e.lookupCustomInspectSymbol||lookupCustomInspectSymbol;return t()||tryReadingCustomSymbolFromUtilInspect(e)}},4645:(e,t)=>{"use strict";function isFunction(e){return typeof e==="function"}function isNonEmptyString(e){return isString(e)&&e!==""}function isDate(e){return isInstanceStrict(e,Date)&&isInteger(e.getTime())}function isEmptyString(e){return e===""||e instanceof String&&e.toString()===""}function isString(e){return typeof e==="string"||e instanceof String}function isObject(e){return toString.call(e)==="[object Object]"}function isInstanceStrict(e,t){try{return e instanceof t}catch(e){return false}}function isInteger(e){return typeof e==="number"&&e%1===0}function validate(e,t,a){if(!isFunction(t)){a=t;t=null}if(!isObject(a))a={Error:"Failed Check"};if(!e){if(t){t(new ParameterError(a))}else{throw new ParameterError(a)}}}class ParameterError extends Error{constructor(...e){super(...e)}}t.ParameterError=ParameterError;t.isFunction=isFunction;t.isNonEmptyString=isNonEmptyString;t.isDate=isDate;t.isEmptyString=isEmptyString;t.isString=isString;t.isObject=isObject;t.validate=validate},2239:e=>{e.exports="4.1.2"},7817:e=>{var t;var a;var i;var r;var o;var s;var n;var p;var l;var c;var d;var u;var m;var h;var g;var y;var b;var v;var w;var x;var S;var E;var k;var T;var N;(function(t){var a=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(e){t(createExporter(a,createExporter(e)))}))}else if(true&&typeof e.exports==="object"){t(createExporter(a,createExporter(e.exports)))}else{t(createExporter(a))}function createExporter(e,t){if(e!==a){if(typeof Object.create==="function"){Object.defineProperty(e,"__esModule",{value:true})}else{e.__esModule=true}}return function(a,i){return e[a]=t?t(a,i):i}}})((function(e){var _=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]};t=function(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");_(e,t);function __(){this.constructor=e}e.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new __)};a=Object.assign||function(e){for(var t,a=1,i=arguments.length;a<i;a++){t=arguments[a];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]}return e};i=function(e,t){var a={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0)a[i]=e[i];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++){if(t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r]))a[i[r]]=e[i[r]]}return a};r=function(e,t,a,i){var r=arguments.length,o=r<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,a):i,s;if(typeof Reflect==="obj
/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/function isObject(e){return Object.prototype.toString.call(e)==="[object Object]"}function isPlainObject(e){var t,a;if(isObject(e)===false)return false;t=e.constructor;if(t===undefined)return true;a=t.prototype;if(isObject(a)===false)return false;if(a.hasOwnProperty("isPrototypeOf")===false){return false}return true}t.isPlainObject=isPlainObject},8710:(e,t,a)=>{"use strict";const i=a(7908);const r=Symbol("max");const o=Symbol("length");const s=Symbol("lengthCalculator");const n=Symbol("allowStale");const p=Symbol("maxAge");const l=Symbol("dispose");const c=Symbol("noDisposeOnSet");const d=Symbol("lruList");const u=Symbol("cache");const m=Symbol("updateAgeOnGet");const naiveLength=()=>1;class LRUCache{constructor(e){if(typeof e==="number")e={max:e};if(!e)e={};if(e.max&&(typeof e.max!=="number"||e.max<0))throw new TypeError("max must be a non-negative number");const t=this[r]=e.max||Infinity;const a=e.length||naiveLength;this[s]=typeof a!=="function"?naiveLength:a;this[n]=e.stale||false;if(e.maxAge&&typeof e.maxAge!=="number")throw new TypeError("maxAge must be a number");this[p]=e.maxAge||0;this[l]=e.dispose;this[c]=e.noDisposeOnSet||false;this[m]=e.updateAgeOnGet||false;this.reset()}set max(e){if(typeof e!=="number"||e<0)throw new TypeError("max must be a non-negative number");this[r]=e||Infinity;trim(this)}get max(){return this[r]}set allowStale(e){this[n]=!!e}get allowStale(){return this[n]}set maxAge(e){if(typeof e!=="number")throw new TypeError("maxAge must be a non-negative number");this[p]=e;trim(this)}get maxAge(){return this[p]}set lengthCalculator(e){if(typeof e!=="function")e=naiveLength;if(e!==this[s]){this[s]=e;this[o]=0;this[d].forEach((e=>{e.length=this[s](e.value,e.key);this[o]+=e.length}))}trim(this)}get lengthCalculator(){return this[s]}get length(){return this[o]}get itemCount(){return this[d].length}rforEach(e,t){t=t||this;for(let a=this[d].tail;a!==null;){const i=a.prev;forEachStep(this,e,a,t);a=i}}forEach(e,t){t=t||this;for(let a=this[d].head;a!==null;){const i=a.next;forEachStep(this,e,a,t);a=i}}keys(){return this[d].toArray().map((e=>e.key))}values(){return this[d].toArray().map((e=>e.value))}reset(){if(this[l]&&this[d]&&this[d].length){this[d].forEach((e=>this[l](e.key,e.value)))}this[u]=new Map;this[d]=new i;this[o]=0}dump(){return this[d].map((e=>isStale(this,e)?false:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[d]}set(e,t,a){a=a||this[p];if(a&&typeof a!=="number")throw new TypeError("maxAge must be a number");const i=a?Date.now():0;const n=this[s](t,e);if(this[u].has(e)){if(n>this[r]){del(this,this[u].get(e));return false}const s=this[u].get(e);const p=s.value;if(this[l]){if(!this[c])this[l](e,p.value)}p.now=i;p.maxAge=a;p.value=t;this[o]+=n-p.length;p.length=n;this.get(e);trim(this);return true}const m=new Entry(e,t,n,i,a);if(m.length>this[r]){if(this[l])this[l](e,t);return false}this[o]+=m.length;this[d].unshift(m);this[u].set(e,this[d].head);trim(this);return true}has(e){if(!this[u].has(e))return false;const t=this[u].get(e).value;return!isStale(this,t)}get(e){return get(this,e,true)}peek(e){return get(this,e,false)}pop(){const e=this[d].tail;if(!e)return null;del(this,e);return e.value}del(e){del(this,this[u].get(e))}load(e){this.reset();const t=Date.now();for(let a=e.length-1;a>=0;a--){const i=e[a];const r=i.e||0;if(r===0)this.set(i.k,i.v);else{const e=r-t;if(e>0){this.set(i.k,i.v,e)}}}}prune(){this[u].forEach(((e,t)=>get(this,t,false)))}}const get=(e,t,a)=>{const i=e[u].get(t);if(i){const t=i.value;if(isStale(e,t)){del(e,i);if(!e[n])return undefined}else{if(a){if(e[m])i.value.now=Date.now();e[d].unshiftNode(i)}}return t.value}};const isStale=(e,t)=>{if(!t||!t.maxAge&&!e[p])return false;const a=Date.now()-t.now;return t.maxAge?a>t.maxAge:e[p]&&a>e[p]};const trim=e=>{if(e[o]>e[r]){for(let t=e[d].tail;e[o]>e[r]&&t!==null;){const a=t.prev;del(e,t);t=a}}};const del=(e,t)=>{if(t){const a=t.value;if(e[l])e[l](a.key,a.value);e[o]-=a.length;e[u].delete(a.key);e[d].removeNode(t)}};class Entry{constructor(e,t,a,i,r){this.key=e;this.value=t;this.lengt
/*!
* mime-db
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015-2022 Douglas Christopher Wilson
* MIT Licensed
*/
e.exports=a(3765)},8466:(e,t,a)=>{"use strict";
/*!
* mime-types
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/var i=a(2595);var r=a(1017).extname;var o=/^\s*([^;\s]*)(?:;|\s|$)/;var s=/^text\//i;t.charset=charset;t.charsets={lookup:charset};t.contentType=contentType;t.extension=extension;t.extensions=Object.create(null);t.lookup=lookup;t.types=Object.create(null);populateMaps(t.extensions,t.types);function charset(e){if(!e||typeof e!=="string"){return false}var t=o.exec(e);var a=t&&i[t[1].toLowerCase()];if(a&&a.charset){return a.charset}if(t&&s.test(t[1])){return"UTF-8"}return false}function contentType(e){if(!e||typeof e!=="string"){return false}var a=e.indexOf("/")===-1?t.lookup(e):e;if(!a){return false}if(a.indexOf("charset")===-1){var i=t.charset(a);if(i)a+="; charset="+i.toLowerCase()}return a}function extension(e){if(!e||typeof e!=="string"){return false}var a=o.exec(e);var i=a&&t.extensions[a[1].toLowerCase()];if(!i||!i.length){return false}return i[0]}function lookup(e){if(!e||typeof e!=="string"){return false}var a=r("x."+e).toLowerCase().substr(1);if(!a){return false}return t.types[a]||false}function populateMaps(e,t){var a=["nginx","apache",undefined,"iana"];Object.keys(i).forEach((function forEachMimeType(r){var o=i[r];var s=o.extensions;if(!s||!s.length){return}e[r]=s;for(var n=0;n<s.length;n++){var p=s[n];if(t[p]){var l=a.indexOf(i[t[p]].source);var c=a.indexOf(o.source);if(t[p]!=="application/octet-stream"&&(l>c||l===c&&t[p].substr(0,12)==="application/")){continue}}t[p]=r}}))}},7666:(e,t,a)=>{e.exports=minimatch;minimatch.Minimatch=Minimatch;var i=function(){try{return a(1017)}catch(e){}}()||{sep:"/"};minimatch.sep=i.sep;var r=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var o=a(9851);var s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var n="[^/]";var p=n+"*?";var l="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var c="(?:(?!(?:\\/|^)\\.).)*?";var d=charSet("().*{}+?[]^$\\!");function charSet(e){return e.split("").reduce((function(e,t){e[t]=true;return e}),{})}var u=/\/+/;minimatch.filter=filter;function filter(e,t){t=t||{};return function(a,i,r){return minimatch(a,e,t)}}function ext(e,t){t=t||{};var a={};Object.keys(e).forEach((function(t){a[t]=e[t]}));Object.keys(t).forEach((function(e){a[e]=t[e]}));return a}minimatch.defaults=function(e){if(!e||typeof e!=="object"||!Object.keys(e).length){return minimatch}var t=minimatch;var a=function minimatch(a,i,r){return t(a,i,ext(e,r))};a.Minimatch=function Minimatch(a,i){return new t.Minimatch(a,ext(e,i))};a.Minimatch.defaults=function defaults(a){return t.defaults(ext(e,a)).Minimatch};a.filter=function filter(a,i){return t.filter(a,ext(e,i))};a.defaults=function defaults(a){return t.defaults(ext(e,a))};a.makeRe=function makeRe(a,i){return t.makeRe(a,ext(e,i))};a.braceExpand=function braceExpand(a,i){return t.braceExpand(a,ext(e,i))};a.match=function(a,i,r){return t.match(a,i,ext(e,r))};return a};Minimatch.defaults=function(e){return minimatch.defaults(e).Minimatch};function minimatch(e,t,a){assertValidPattern(t);if(!a)a={};if(!a.nocomment&&t.charAt(0)==="#"){return false}return new Minimatch(t,a).match(e)}function Minimatch(e,t){if(!(this instanceof Minimatch)){return new Minimatch(e,t)}assertValidPattern(e);if(!t)t={};e=e.trim();if(!t.allowWindowsEscape&&i.sep!=="/"){e=e.split(i.sep).join("/")}this.options=t;this.set=[];this.pattern=e;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!t.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var e=this.pattern;var t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=true;return}if(!e){this.empty=true;return}this.parseNegate();var a=this.globSet=this.braceExpand();if(t.debug)this.debug=function debug(){console.error.apply(console,arguments)};this.debug(this.pattern,a);a=this.globParts=a.map((function(e){return e.split(u)}));this.debug(this.pattern,a);a=a.map((function(e,t,a){return e.map(this.parse,this)}),this);this.debug(this.pattern,a);a=a.filter((function(e){return e.indexOf(false)===-1}));this.debug(this.pattern,a);thi
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */if(!String.fromCodePoint){(function(){var e=String.fromCharCode;var t=Math.floor;var fromCodePoint=function(){var a=16384;var i=[];var r;var o;var s=-1;var n=arguments.length;if(!n){return""}var p="";while(++s<n){var l=Number(arguments[s]);if(!isFinite(l)||l<0||l>1114111||t(l)!==l){throw RangeError("Invalid code point: "+l)}if(l<=65535){i.push(l)}else{l-=65536;r=(l>>10)+55296;o=l%1024+56320;i.push(r,o)}if(s+1===n||i.length>a){p+=e.apply(null,i);i.length=0}}return p};if(Object.defineProperty){Object.defineProperty(String,"fromCodePoint",{value:fromCodePoint,configurable:true,writable:true})}else{String.fromCodePoint=fromCodePoint}})()}})(false?0:t)},7198:(e,t)=>{t=e.exports=SemVer;var a;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){a=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{a=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var i=256;var r=Number.MAX_SAFE_INTEGER||9007199254740991;var o=16;var s=t.re=[];var n=t.src=[];var p=t.tokens={};var l=0;function tok(e){p[e]=l++}tok("NUMERICIDENTIFIER");n[p.NUMERICIDENTIFIER]="0|[1-9]\\d*";tok("NUMERICIDENTIFIERLOOSE");n[p.NUMERICIDENTIFIERLOOSE]="[0-9]+";tok("NONNUMERICIDENTIFIER");n[p.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";tok("MAINVERSION");n[p.MAINVERSION]="("+n[p.NUMERICIDENTIFIER]+")\\."+"("+n[p.NUMERICIDENTIFIER]+")\\."+"("+n[p.NUMERICIDENTIFIER]+")";tok("MAINVERSIONLOOSE");n[p.MAINVERSIONLOOSE]="("+n[p.NUMERICIDENTIFIERLOOSE]+")\\."+"("+n[p.NUMERICIDENTIFIERLOOSE]+")\\."+"("+n[p.NUMERICIDENTIFIERLOOSE]+")";tok("PRERELEASEIDENTIFIER");n[p.PRERELEASEIDENTIFIER]="(?:"+n[p.NUMERICIDENTIFIER]+"|"+n[p.NONNUMERICIDENTIFIER]+")";tok("PRERELEASEIDENTIFIERLOOSE");n[p.PRERELEASEIDENTIFIERLOOSE]="(?:"+n[p.NUMERICIDENTIFIERLOOSE]+"|"+n[p.NONNUMERICIDENTIFIER]+")";tok("PRERELEASE");n[p.PRERELEASE]="(?:-("+n[p.PRERELEASEIDENTIFIER]+"(?:\\."+n[p.PRERELEASEIDENTIFIER]+")*))";tok("PRERELEASELOOSE");n[p.PRERELEASELOOSE]="(?:-?("+n[p.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+n[p.PRERELEASEIDENTIFIERLOOSE]+")*))";tok("BUILDIDENTIFIER");n[p.BUILDIDENTIFIER]="[0-9A-Za-z-]+";tok("BUILD");n[p.BUILD]="(?:\\+("+n[p.BUILDIDENTIFIER]+"(?:\\."+n[p.BUILDIDENTIFIER]+")*))";tok("FULL");tok("FULLPLAIN");n[p.FULLPLAIN]="v?"+n[p.MAINVERSION]+n[p.PRERELEASE]+"?"+n[p.BUILD]+"?";n[p.FULL]="^"+n[p.FULLPLAIN]+"$";tok("LOOSEPLAIN");n[p.LOOSEPLAIN]="[v=\\s]*"+n[p.MAINVERSIONLOOSE]+n[p.PRERELEASELOOSE]+"?"+n[p.BUILD]+"?";tok("LOOSE");n[p.LOOSE]="^"+n[p.LOOSEPLAIN]+"$";tok("GTLT");n[p.GTLT]="((?:<|>)?=?)";tok("XRANGEIDENTIFIERLOOSE");n[p.XRANGEIDENTIFIERLOOSE]=n[p.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");n[p.XRANGEIDENTIFIER]=n[p.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");n[p.XRANGEPLAIN]="[v=\\s]*("+n[p.XRANGEIDENTIFIER]+")"+"(?:\\.("+n[p.XRANGEIDENTIFIER]+")"+"(?:\\.("+n[p.XRANGEIDENTIFIER]+")"+"(?:"+n[p.PRERELEASE]+")?"+n[p.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");n[p.XRANGEPLAINLOOSE]="[v=\\s]*("+n[p.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+n[p.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+n[p.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+n[p.PRERELEASELOOSE]+")?"+n[p.BUILD]+"?"+")?)?";tok("XRANGE");n[p.XRANGE]="^"+n[p.GTLT]+"\\s*"+n[p.XRANGEPLAIN]+"$";tok("XRANGELOOSE");n[p.XRANGELOOSE]="^"+n[p.GTLT]+"\\s*"+n[p.XRANGEPLAINLOOSE]+"$";tok("COERCE");n[p.COERCE]="(^|[^\\d])"+"(\\d{1,"+o+"})"+"(?:\\.(\\d{1,"+o+"}))?"+"(?:\\.(\\d{1,"+o+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");s[p.COERCERTL]=new RegExp(n[p.COERCE],"g");tok("LONETILDE");n[p.LONETILDE]="(?:~>?)";tok("TILDETRIM");n[p.TILDETRIM]="(\\s*)"+n[p.LONETILDE]+"\\s+";s[p.TILDETRIM]=new RegExp(n[p.TILDETRIM],"g");var c="$1~";tok("TILDE");n[p.TILDE]="^"+n[p.LONETILDE]+n[p.XRANGEPLAIN]+"$";tok("TILDELOOSE");n[p.TILDELOOSE]="^"+n[p.LONETILDE]+n[p.XRANGEPLAINLOOSE]+"$";tok("LONECARET");n[p.LONECARET]="(?:\\^)";tok("CARETTRIM");n[p.CARETTRIM]="(\\s*)"+n[p.LONECARET]+"\\s+";s[p.CARETTRIM]=new RegExp(n[p.CARETTRIM],"g");var d="$1^";tok("CARET");n[p.CARET]="^"+n[p.LONECARET]+n[p.XRANGEPLAIN