An error occurred:"+escape(e.message+"",true)+"
"}throw e}}marked.options=marked.setOptions=function(e){merge(marked.defaults,e);return marked};marked.getDefaults=function(){return{baseUrl:null,breaks:false,gfm:true,headerIds:true,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:true,pedantic:false,renderer:new Renderer,sanitize:false,sanitizer:null,silent:false,smartLists:false,smartypants:false,xhtml:false}};marked.defaults=marked.getDefaults();marked.Parser=Parser;marked.parser=Parser.parse;marked.Renderer=Renderer;marked.TextRenderer=TextRenderer;marked.Lexer=Lexer;marked.lexer=Lexer.lex;marked.InlineLexer=InlineLexer;marked.inlineLexer=InlineLexer.output;marked.Slugger=Slugger;marked.parse=marked;if(true){e.exports=marked}else{}})(this||(typeof window!=="undefined"?window:global))},function(e,t,r){"use strict";const n=r(87);const i=r(497);const a=r(798);const s=1e3*5;const o=(e,t="SIGTERM",r={})=>{const n=e(t);u(e,t,r,n);return n};const u=(e,t,r,n)=>{if(!l(t,r,n)){return}const i=f(r);setTimeout(()=>{e("SIGKILL")},i).unref()};const l=(e,{forceKillAfterTimeout:t},r)=>{return c(e)&&t!==false&&r};const c=e=>{return e===n.constants.signals.SIGTERM||typeof e==="string"&&e.toUpperCase()==="SIGTERM"};const f=({forceKillAfterTimeout:e=true})=>{if(e===true){return s}if(!Number.isInteger(e)||e<0){throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`)}return e};const h=(e,t)=>{const r=e.kill();if(r){t.isCanceled=true}};const p=(e,t,r)=>{e.kill(t);r(Object.assign(new Error("Timed out"),{timedOut:true,signal:t}))};const d=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{if(t===0||t===undefined){return n}if(!Number.isInteger(t)||t<0){throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${t}\` (${typeof t})`)}let i;const s=new Promise((n,a)=>{i=setTimeout(()=>{p(e,r,a)},t)});const o=a(n,()=>{clearTimeout(i)});return Promise.race([s,o])};const g=(e,{cleanup:t,detached:r},n)=>{if(!t||r){return n}const s=i(()=>{e.kill()});return a(n,s)};e.exports={spawnedKill:o,spawnedCancel:h,setupTimeout:d,setExitHandler:g}},,,,function(e){"use strict";var t=e.exports={github:{protocols:["git","http","git+ssh","git+https","ssh","https"],domain:"github.com",treepath:"tree",filetemplate:"https://{auth@}raw.githubusercontent.com/{user}/{project}/{committish}/{path}",bugstemplate:"https://{domain}/{user}/{project}/issues",gittemplate:"git://{auth@}{domain}/{user}/{project}.git{#committish}",tarballtemplate:"https://codeload.{domain}/{user}/{project}/tar.gz/{committish}"},bitbucket:{protocols:["git+ssh","git+https","ssh","https"],domain:"bitbucket.org",treepath:"src",tarballtemplate:"https://{domain}/{user}/{project}/get/{committish}.tar.gz"},gitlab:{protocols:["git+ssh","git+https","ssh","https"],domain:"gitlab.com",treepath:"tree",bugstemplate:"https://{domain}/{user}/{project}/issues",httpstemplate:"git+https://{auth@}{domain}/{user}/{projectPath}.git{#committish}",tarballtemplate:"https://{domain}/{user}/{project}/repository/archive.tar.gz?ref={committish}",pathmatch:/^[/]([^/]+)[/]((?!.*(\/-\/|\/repository\/archive\.tar\.gz\?=.*|\/repository\/[^/]+\/archive.tar.gz$)).*?)(?:[.]git|[/])?$/},gist:{protocols:["git","git+ssh","git+https","ssh","https"],domain:"gist.github.com",pathmatch:/^[/](?:([^/]+)[/])?([a-z0-9]{32,})(?:[.]git)?$/,filetemplate:"https://gist.githubusercontent.com/{user}/{project}/raw{/committish}/{path}",bugstemplate:"https://{domain}/{project}",gittemplate:"git://{domain}/{project}.git{#committish}",sshtemplate:"git@{domain}:/{project}.git{#committish}",sshurltemplate:"git+ssh://git@{domain}/{project}.git{#committish}",browsetemplate:"https://{domain}/{project}{/committish}",browsefiletemplate:"https://{domain}/{project}{/committish}{#path}",docstemplate:"https://{domain}/{project}{/committish}",httpstemplate:"git+https://{domain}/{project}.git{#committish}",shortcuttemplate:"{type}:{project}{#committish}",pathtemplate:"{project}{#committish}",tarballtemplate:"https://codeload.github.com/gist/{project}/tar.gz/{committish}",hashformat:function(e){return"file-"+formatHashFragment(e)}}};var r={sshtemplate:"git@{domain}:{user}/{project}.git{#committish}",sshurltemplate:"git+ssh://git@{domain}/{user}/{project}.git{#committish}",browsetemplate:"https://{domain}/{user}/{project}{/tree/committish}",browsefiletemplate:"https://{domain}/{user}/{project}/{treepath}/{committish}/{path}{#fragment}",docstemplate:"https://{domain}/{user}/{project}{/tree/committish}#readme",httpstemplate:"git+https://{auth@}{domain}/{user}/{project}.git{#committish}",filetemplate:"https://{domain}/{user}/{project}/raw/{committish}/{path}",shortcuttemplate:"{type}:{user}/{project}{#committish}",pathtemplate:"{user}/{project}{#committish}",pathmatch:/^[/]([^/]+)[/]([^/]+?)(?:[.]git|[/])?$/,hashformat:formatHashFragment};Object.keys(t).forEach(function(e){Object.keys(r).forEach(function(n){if(t[e][n])return;t[e][n]=r[n]});t[e].protocols_re=RegExp("^("+t[e].protocols.map(function(e){return e.replace(/([\\+*{}()[\]$^|])/g,"\\$1")}).join("|")+"):$")});function formatHashFragment(e){return e.toLowerCase().replace(/^\W+|\/|\W+$/g,"").replace(/\W+/g,"-")}},,,,,function(e,t,r){e.exports=isexe;isexe.sync=sync;var n=r(747);function checkPathExt(e,t){var r=t.pathExt!==undefined?t.pathExt:process.env.PATHEXT;if(!r){return true}r=r.split(";");if(r.indexOf("")!==-1){return true}for(var n=0;n{const t=e.env||process.env;const r=e.platform||process.platform;if(r!=="win32"){return"PATH"}return Object.keys(t).find(e=>e.toUpperCase()==="PATH")||"Path"};e.exports=t;e.exports.default=t},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.YAMLOMap=void 0;var n=r(405);var i=_interopRequireDefault(r(923));var a=_interopRequireDefault(r(684));var s=_interopRequireDefault(r(740));var o=_interopRequireDefault(r(97));var u=_interopRequireDefault(r(29));var l=r(566);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,r){if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}class YAMLOMap extends u.default{constructor(){super();_defineProperty(this,"add",a.default.prototype.add.bind(this));_defineProperty(this,"delete",a.default.prototype.delete.bind(this));_defineProperty(this,"get",a.default.prototype.get.bind(this));_defineProperty(this,"has",a.default.prototype.has.bind(this));_defineProperty(this,"set",a.default.prototype.set.bind(this));this.tag=YAMLOMap.tag}toJSON(e,t){const r=new Map;if(t&&t.onCreate)t.onCreate(r);for(const e of this.items){let n,a;if(e instanceof s.default){n=(0,i.default)(e.key,"",t);a=(0,i.default)(e.value,n,t)}else{n=(0,i.default)(e,"",t)}if(r.has(n))throw new Error("Ordered maps must not include duplicate keys");r.set(n,a)}return r}}t.YAMLOMap=YAMLOMap;_defineProperty(YAMLOMap,"tag","tag:yaml.org,2002:omap");function parseOMap(e,t){const r=(0,l.parsePairs)(e,t);const i=[];for(const{key:e}of r.items){if(e instanceof o.default){if(i.includes(e.value)){const e="Ordered maps must not include duplicate keys";throw new n.YAMLSemanticError(t,e)}else{i.push(e.value)}}}return Object.assign(new YAMLOMap,r)}function createOMap(e,t,r){const n=(0,l.createPairs)(e,t,r);const i=new YAMLOMap;i.items=n.items;return i}var c={identify:e=>e instanceof Map,nodeClass:YAMLOMap,default:false,tag:"tag:yaml.org,2002:omap",resolve:parseOMap,createNode:createOMap};t.default=c},function(e){"use strict";if(typeof process==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){e.exports={nextTick:nextTick}}else{e.exports=process}function nextTick(e,t,r,n){if(typeof e!=="function"){throw new TypeError('"callback" argument must be a function')}var i=arguments.length;var a,s;switch(i){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick(function afterTickOne(){e.call(null,t)});case 3:return process.nextTick(function afterTickTwo(){e.call(null,t,r)});case 4:return process.nextTick(function afterTickThree(){e.call(null,t,r,n)});default:a=new Array(i-1);s=0;while(s{Object.getOwnPropertyNames(e).forEach(t=>{if(e[t]){e[t]=r(e[t])}});return e})}e.exports={extractErrors:extractErrors,hideSensitiveValues:hideSensitiveValues}},,function(e){e.exports=require("url")},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addCommentBefore=addCommentBefore;t.default=addComment;function addCommentBefore(e,t,r){if(!r)return e;const n=r.replace(/[\s\S]^/gm,`$&${t}#`);return`#${n}\n${t}${e}`}function addComment(e,t,r){return!r?e:r.indexOf("\n")===-1?`${e} #${r}`:`${e}\n`+r.replace(/^/gm,`${t||""}#`)}},function(e){if(typeof Object.create==="function"){e.exports=function inherits(e,t){if(t){e.super_=t;e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}})}}}else{e.exports=function inherits(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype;e.prototype=new r;e.prototype.constructor=e}}}},,,,function(e){"use strict";const t=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const i=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi;const a=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(e){if(e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3){return String.fromCharCode(parseInt(e.slice(1),16))}return a.get(e)||e}function parseArguments(e,t){const r=[];const a=t.trim().split(/\s*,\s*/g);let s;for(const t of a){if(!isNaN(t)){r.push(Number(t))}else if(s=t.match(n)){r.push(s[2].replace(i,(e,t,r)=>t?unescape(t):r))}else{throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`)}}return r}function parseStyle(e){r.lastIndex=0;const t=[];let n;while((n=r.exec(e))!==null){const e=n[1];if(n[2]){const r=parseArguments(e,n[2]);t.push([e].concat(r))}else{t.push([e])}}return t}function buildStyle(e,t){const r={};for(const e of t){for(const t of e.styles){r[t[0]]=e.inverse?null:t.slice(1)}}let n=e;for(const e of Object.keys(r)){if(Array.isArray(r[e])){if(!(e in n)){throw new Error(`Unknown Chalk style: ${e}`)}if(r[e].length>0){n=n[e].apply(n,r[e])}else{n=n[e]}}}return n}e.exports=((e,r)=>{const n=[];const i=[];let a=[];r.replace(t,(t,r,s,o,u,l)=>{if(r){a.push(unescape(r))}else if(o){const t=a.join("");a=[];i.push(n.length===0?t:buildStyle(e,n)(t));n.push({inverse:s,styles:parseStyle(o)})}else if(u){if(n.length===0){throw new Error("Found extraneous } in Chalk template literal")}i.push(buildStyle(e,n)(a.join("")));a=[];n.pop()}else{a.push(l)}});i.push(a.join(""));if(n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(e)}return i.join("")})},,,,,function(e){"use strict";const t=["stdin","stdout","stderr"];const r=e=>t.some(t=>e[t]!==undefined);const n=e=>{if(!e){return}const{stdio:n}=e;if(n===undefined){return t.map(t=>e[t])}if(r(e)){throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${t.map(e=>`\`${e}\``).join(", ")}`)}if(typeof n==="string"){return n}if(!Array.isArray(n)){throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof n}\``)}const i=Math.max(n.length,t.length);return Array.from({length:i},(e,t)=>n[t])};e.exports=n;e.exports.node=(e=>{const t=n(e);if(t==="ipc"){return"ipc"}if(t===undefined||typeof t==="string"){return[t,t,t,"ipc"]}if(t.includes("ipc")){return t}return[...t,"ipc"]})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.warn=warn;t.warnFileDeprecation=warnFileDeprecation;t.warnOptionDeprecation=warnOptionDeprecation;function warn(e,t){if(global&&global._YAML_SILENCE_WARNINGS)return;const{emitWarning:r}=global&&global.process;if(r)r(e,t);else{console.warn(t?`${t}: ${e}`:e)}}function warnFileDeprecation(e){if(global&&global._YAML_SILENCE_DEPRECATION_WARNINGS)return;const t=e.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");warn(`The endpoint 'yaml/${t}' will be removed in a future release.`,"DeprecationWarning")}const r={};function warnOptionDeprecation(e,t){if(global&&global._YAML_SILENCE_DEPRECATION_WARNINGS)return;if(r[e])return;r[e]=true;let n=`The option '${e}' will be removed in a future release`;n+=t?`, use '${t}' instead.`:".";warn(n,"DeprecationWarning")}},function(e,t,r){"use strict";const n=r(622);const i=r(129);const a=r(529);const s=r(588);const o=r(709);const u=r(723);const l=r(695);const c=r(999);const{spawnedKill:f,spawnedCancel:h,setupTimeout:p,setExitHandler:d}=r(809);const{handleInput:g,getSpawnedResult:m,makeAllStream:v,validateInputSync:y}=r(688);const{mergePromise:D,getSpawnedPromise:E}=r(856);const{joinCommand:b,parseCommand:C}=r(426);const A=1e3*1e3*100;const w=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{const a=t?{...process.env,...e}:e;if(r){return o.env({env:a,cwd:n,execPath:i})}return a};const S=(e,t,r={})=>{const i=a._parse(e,t,r);e=i.command;t=i.args;r=i.options;r={maxBuffer:A,buffer:true,stripFinalNewline:true,extendEnv:true,preferLocal:false,localDir:r.cwd||process.cwd(),execPath:process.execPath,encoding:"utf8",reject:true,cleanup:true,all:false,windowsHide:true,...r};r.env=w(r);r.stdio=c(r);if(process.platform==="win32"&&n.basename(e,".exe")==="cmd"){t.unshift("/q")}return{file:e,args:t,options:r,parsed:i}};const x=(e,t,r)=>{if(typeof t!=="string"&&!Buffer.isBuffer(t)){return r===undefined?undefined:""}if(e.stripFinalNewline){return s(t)}return t};const _=(e,t,r)=>{const n=S(e,t,r);const s=b(e,t);let o;try{o=i.spawn(n.file,n.args,n.options)}catch(e){const t=new i.ChildProcess;const r=Promise.reject(l({error:e,stdout:"",stderr:"",all:"",command:s,parsed:n,timedOut:false,isCanceled:false,killed:false}));return D(t,r)}const c=E(o);const y=p(o,n.options,c);const C=d(o,n.options,y);const A={isCanceled:false};o.kill=f.bind(null,o.kill.bind(o));o.cancel=h.bind(null,o,A);const w=async()=>{const[{error:e,exitCode:t,signal:r,timedOut:i},a,u,c]=await m(o,n.options,C);const f=x(n.options,a);const h=x(n.options,u);const p=x(n.options,c);if(e||t!==0||r!==null){const a=l({error:e,exitCode:t,signal:r,stdout:f,stderr:h,all:p,command:s,parsed:n,timedOut:i,isCanceled:A.isCanceled,killed:o.killed});if(!n.options.reject){return a}throw a}return{command:s,exitCode:0,stdout:f,stderr:h,all:p,failed:false,timedOut:false,isCanceled:false,killed:false}};const _=u(w);a._enoent.hookChildProcess(o,n.parsed);g(o,n.options.input);o.all=v(o,n.options);return D(o,_)};e.exports=_;e.exports.sync=((e,t,r)=>{const n=S(e,t,r);const a=b(e,t);y(n.options);let s;try{s=i.spawnSync(n.file,n.args,n.options)}catch(e){throw l({error:e,stdout:"",stderr:"",all:"",command:a,parsed:n,timedOut:false,isCanceled:false,killed:false})}const o=x(n.options,s.stdout,s.error);const u=x(n.options,s.stderr,s.error);if(s.error||s.status!==0||s.signal!==null){const e=l({stdout:o,stderr:u,error:s.error,signal:s.signal,exitCode:s.status,command:a,parsed:n,timedOut:s.error&&s.error.code==="ETIMEDOUT",isCanceled:false,killed:s.signal!==null});if(!n.options.reject){return e}throw e}return{command:a,exitCode:0,stdout:o,stderr:u,failed:false,timedOut:false,isCanceled:false,killed:false}});e.exports.command=((e,t)=>{const[r,...n]=C(e);return _(r,n,t)});e.exports.commandSync=((e,t)=>{const[r,...n]=C(e);return _.sync(r,n,t)});e.exports.node=((e,t,r={})=>{if(t&&!Array.isArray(t)&&typeof t==="object"){r=t;t=[]}const n=c.node(r);const{nodePath:i=process.execPath,nodeOptions:a=process.execArgv}=r;return _(i,[...a,e,...Array.isArray(t)?t:[]],{...r,stdin:undefined,stdout:undefined,stderr:undefined,stdio:n,shell:false})})},,,,function(e){"use strict";const t=e=>e!==null&&typeof e==="object"&&typeof e.pipe==="function";t.writable=(e=>t(e)&&e.writable!==false&&typeof e._write==="function"&&typeof e._writableState==="object");t.readable=(e=>t(e)&&e.readable!==false&&typeof e._read==="function"&&typeof e._readableState==="object");t.duplex=(e=>t.writable(e)&&t.readable(e));t.transform=(e=>t.duplex(e)&&typeof e._transform==="function"&&typeof e._transformState==="object");e.exports=t},function(e){e.exports={detect({env:e}){return Boolean(e.SAILCI)},configuration({env:e}){const t=e.SAIL_PULL_REQUEST_NUMBER;const r=Boolean(t);return{name:"Sail CI",service:"sail",commit:e.SAIL_COMMIT_SHA,branch:r?undefined:e.SAIL_COMMIT_BRANCH,pr:t,isPr:r,slug:`${e.SAIL_REPO_OWNER}/${e.SAIL_REPO_NAME}`,root:e.SAIL_CLONE_DIR}}}},function(e,t,r){var n=r(784);var i=r(910);function valid(e){try{n(e);return true}catch(e){return false}}var a=[["APGL","AGPL"],["Gpl","GPL"],["GLP","GPL"],["APL","Apache"],["ISD","ISC"],["GLP","GPL"],["IST","ISC"],["Claude","Clause"],[" or later","+"],[" International",""],["GNU","GPL"],["GUN","GPL"],["+",""],["GNU GPL","GPL"],["GNU/GPL","GPL"],["GNU GLP","GPL"],["GNU General Public License","GPL"],["Gnu public license","GPL"],["GNU Public License","GPL"],["GNU GENERAL PUBLIC LICENSE","GPL"],["MTI","MIT"],["Mozilla Public License","MPL"],["WTH","WTF"],["-License",""]];var s=0;var o=1;var u=[function(e){return e.toUpperCase()},function(e){return e.trim()},function(e){return e.replace(/\./g,"")},function(e){return e.replace(/\s+/g,"")},function(e){return e.replace(/\s+/g,"-")},function(e){return e.replace("v","-")},function(e){return e.replace(/,?\s*(\d)/,"-$1")},function(e){return e.replace(/,?\s*(\d)/,"-$1.0")},function(e){return e.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2")},function(e){return e.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2.0")},function(e){return e[0].toUpperCase()+e.slice(1)},function(e){return e.replace("/","-")},function(e){return e.replace(/\s*V\s*(\d)/,"-$1").replace(/(\d)$/,"$1.0")},function(e){if(e.indexOf("3.0")!==-1){return e+"-or-later"}else{return e+"-only"}},function(e){return e+"only"},function(e){return e.replace(/(\d)$/,"-$1.0")},function(e){return e.replace(/(-| )?(\d)$/,"-$2-Clause")},function(e){return e.replace(/(-| )clause(-| )(\d)/,"-$3-Clause")},function(e){return"CC-"+e},function(e){return"CC-"+e+"-4.0"},function(e){return e.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")},function(e){return"CC-"+e.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")+"-4.0"}];var l=i.map(function(e){var t=/^(.*)-\d+\.\d+$/.exec(e);return t?[t[0],t[1]]:[e,null]}).reduce(function(e,t){var r=t[1];e[r]=e[r]||[];e[r].push(t[0]);return e},{});var c=Object.keys(l).map(function makeEntries(e){return[e,l[e]]}).filter(function identifySoleVersions(e){return e[1].length===1&&e[0]!==null&&e[0]!=="APL"}).map(function createLastResorts(e){return[e[0],e[1][0]]});l=undefined;var f=[["UNLI","Unlicense"],["WTF","WTFPL"],["2 CLAUSE","BSD-2-Clause"],["2-CLAUSE","BSD-2-Clause"],["3 CLAUSE","BSD-3-Clause"],["3-CLAUSE","BSD-3-Clause"],["AFFERO","AGPL-3.0-or-later"],["AGPL","AGPL-3.0-or-later"],["APACHE","Apache-2.0"],["ARTISTIC","Artistic-2.0"],["Affero","AGPL-3.0-or-later"],["BEER","Beerware"],["BOOST","BSL-1.0"],["BSD","BSD-2-Clause"],["CDDL","CDDL-1.1"],["ECLIPSE","EPL-1.0"],["FUCK","WTFPL"],["GNU","GPL-3.0-or-later"],["LGPL","LGPL-3.0-or-later"],["GPLV1","GPL-1.0-only"],["GPL-1","GPL-1.0-only"],["GPLV2","GPL-2.0-only"],["GPL-2","GPL-2.0-only"],["GPL","GPL-3.0-or-later"],["MIT +NO-FALSE-ATTRIBS","MITNFA"],["MIT","MIT"],["MPL","MPL-2.0"],["X11","X11"],["ZLIB","Zlib"]].concat(c);var h=0;var p=1;var d=function(e){for(var t=0;t-1){return n[p]}}return null};var m=function(e,t){for(var r=0;r-1){var u=e.replace(i,n[o]);var l=t(u);if(l!==null){return l}}}return null};e.exports=function(e,t){t=t||{};var r=t.upgrade===undefined?true:!!t.upgrade;function postprocess(e){return r?upgradeGPLs(e):e}var n=typeof e==="string"&&e.trim().length!==0;if(!n){throw Error("Invalid argument. Expected non-empty string.")}e=e.trim();if(valid(e)){return postprocess(e)}var i=e.replace(/\+$/,"").trim();if(valid(i)){return postprocess(i)}var a=d(e);if(a!==null){return postprocess(a)}a=m(e,function(e){if(valid(e)){return e}return d(e)});if(a!==null){return postprocess(a)}a=g(e);if(a!==null){return postprocess(a)}a=m(e,g);if(a!==null){return postprocess(a)}return null};function upgradeGPLs(e){if(["GPL-1.0","LGPL-1.0","AGPL-1.0","GPL-2.0","LGPL-2.0","AGPL-2.0","LGPL-2.1"].indexOf(e)!==-1){return e+"-only"}else if(["GPL-1.0+","GPL-2.0+","GPL-3.0+","LGPL-2.0+","LGPL-2.1+","LGPL-3.0+","AGPL-1.0+","AGPL-3.0+"].indexOf(e)!==-1){return e.replace(/\+$/,"-or-later")}else if(["GPL-3.0","LGPL-3.0","AGPL-3.0"].indexOf(e)!==-1){return e+"-or-later"}else{return e}}},function(e,t,r){"use strict";const n=r(692);const i=Symbol("max");const a=Symbol("length");const s=Symbol("lengthCalculator");const o=Symbol("allowStale");const u=Symbol("maxAge");const l=Symbol("dispose");const c=Symbol("noDisposeOnSet");const f=Symbol("lruList");const h=Symbol("cache");const p=Symbol("updateAgeOnGet");const d=()=>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[i]=e.max||Infinity;const r=e.length||d;this[s]=typeof r!=="function"?d:r;this[o]=e.stale||false;if(e.maxAge&&typeof e.maxAge!=="number")throw new TypeError("maxAge must be a number");this[u]=e.maxAge||0;this[l]=e.dispose;this[c]=e.noDisposeOnSet||false;this[p]=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[i]=e||Infinity;v(this)}get max(){return this[i]}set allowStale(e){this[o]=!!e}get allowStale(){return this[o]}set maxAge(e){if(typeof e!=="number")throw new TypeError("maxAge must be a non-negative number");this[u]=e;v(this)}get maxAge(){return this[u]}set lengthCalculator(e){if(typeof e!=="function")e=d;if(e!==this[s]){this[s]=e;this[a]=0;this[f].forEach(e=>{e.length=this[s](e.value,e.key);this[a]+=e.length})}v(this)}get lengthCalculator(){return this[s]}get length(){return this[a]}get itemCount(){return this[f].length}rforEach(e,t){t=t||this;for(let r=this[f].tail;r!==null;){const n=r.prev;D(this,e,r,t);r=n}}forEach(e,t){t=t||this;for(let r=this[f].head;r!==null;){const n=r.next;D(this,e,r,t);r=n}}keys(){return this[f].toArray().map(e=>e.key)}values(){return this[f].toArray().map(e=>e.value)}reset(){if(this[l]&&this[f]&&this[f].length){this[f].forEach(e=>this[l](e.key,e.value))}this[h]=new Map;this[f]=new n;this[a]=0}dump(){return this[f].map(e=>m(this,e)?false:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[f]}set(e,t,r){r=r||this[u];if(r&&typeof r!=="number")throw new TypeError("maxAge must be a number");const n=r?Date.now():0;const o=this[s](t,e);if(this[h].has(e)){if(o>this[i]){y(this,this[h].get(e));return false}const s=this[h].get(e);const u=s.value;if(this[l]){if(!this[c])this[l](e,u.value)}u.now=n;u.maxAge=r;u.value=t;this[a]+=o-u.length;u.length=o;this.get(e);v(this);return true}const p=new Entry(e,t,o,n,r);if(p.length>this[i]){if(this[l])this[l](e,t);return false}this[a]+=p.length;this[f].unshift(p);this[h].set(e,this[f].head);v(this);return true}has(e){if(!this[h].has(e))return false;const t=this[h].get(e).value;return!m(this,t)}get(e){return g(this,e,true)}peek(e){return g(this,e,false)}pop(){const e=this[f].tail;if(!e)return null;y(this,e);return e.value}del(e){y(this,this[h].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const n=e[r];const i=n.e||0;if(i===0)this.set(n.k,n.v);else{const e=i-t;if(e>0){this.set(n.k,n.v,e)}}}}prune(){this[h].forEach((e,t)=>g(this,t,false))}}const g=(e,t,r)=>{const n=e[h].get(t);if(n){const t=n.value;if(m(e,t)){y(e,n);if(!e[o])return undefined}else{if(r){if(e[p])n.value.now=Date.now();e[f].unshiftNode(n)}}return t.value}};const m=(e,t)=>{if(!t||!t.maxAge&&!e[u])return false;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[u]&&r>e[u]};const v=e=>{if(e[a]>e[i]){for(let t=e[f].tail;e[a]>e[i]&&t!==null;){const r=t.prev;y(e,t);t=r}}};const y=(e,t)=>{if(t){const r=t.value;if(e[l])e[l](r.key,r.value);e[a]-=r.length;e[h].delete(r.key);e[f].removeNode(t)}};class Entry{constructor(e,t,r,n,i){this.key=e;this.value=t;this.length=r;this.now=n;this.maxAge=i||0}}const D=(e,t,r,n)=>{let i=r.value;if(m(e,i)){y(e,r);if(!e[o])i=undefined}if(i)t.call(n,i.value,i.key,e)};e.exports=LRUCache},function(e){"use strict";const t=(e,t,r)=>{const n=typeof t==="function"?(...e)=>t()[r](...e):t[r].bind(t);Object.defineProperty(e,r,{value:n,writable:true,enumerable:false,configurable:true})};const r=(e,r)=>{t(e,r,"then");t(e,r,"catch");if(Promise.prototype.finally){t(e,r,"finally")}return e};const n=e=>{return new Promise((t,r)=>{e.on("exit",(e,r)=>{t({exitCode:e,signal:r})});e.on("error",e=>{r(e)});if(e.stdin){e.stdin.on("error",e=>{r(e)})}})};e.exports={mergePromise:r,getSpawnedPromise:n}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parseSeq;var n=r(536);var i=r(405);var a=_interopRequireDefault(r(740));var s=r(734);var o=_interopRequireDefault(r(29));var u=_interopRequireDefault(r(380));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function parseSeq(e,t){if(t.type!==n.Type.SEQ&&t.type!==n.Type.FLOW_SEQ){const r=`A ${t.type} node cannot be resolved as a sequence`;e.errors.push(new i.YAMLSyntaxError(t,r));return null}const{comments:r,items:l}=t.type===n.Type.FLOW_SEQ?resolveFlowSeqItems(e,t):resolveBlockSeqItems(e,t);const c=new o.default;c.items=l;(0,s.resolveComments)(c,r);if(!e.options.mapAsMap&&l.some(e=>e instanceof a.default&&e.key instanceof u.default)){const r="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";e.warnings.push(new i.YAMLWarning(t,r))}t.resolved=c;return c}function resolveBlockSeqItems(e,t){const r=[];const a=[];for(let s=0;ss(a(e),n.relative(".",t));e.exports=(e=>o(i.readFile)(e,"utf8").then(t=>u(t,e)));e.exports.sync=(e=>u(i.readFileSync(e,"utf8"),e))},,,function(e,t,r){"use strict";const{PassThrough:n}=r(413);e.exports=(e=>{e={...e};const{array:t}=e;let{encoding:r}=e;const i=r==="buffer";let a=false;if(t){a=!(r||i)}else{r=r||"utf8"}if(i){r=null}const s=new n({objectMode:a});if(r){s.setEncoding(r)}let o=0;const u=[];s.on("data",e=>{u.push(e);if(a){o=u.length}else{o+=e.length}});s.getBufferedValue=(()=>{if(t){return u}return i?Buffer.concat(u,o):u.join("")});s.getBufferedLength=(()=>o);return s})},,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=_interopRequireDefault(r(380));var i=_interopRequireDefault(r(740));var a=_interopRequireDefault(r(97));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s=(e,t)=>{if(e&&typeof e==="object"){const{tag:r}=e;if(e instanceof n.default){if(r)t[r]=true;e.items.forEach(e=>s(e,t))}else if(e instanceof i.default){s(e.key,t);s(e.value,t)}else if(e instanceof a.default){if(r)t[r]=true}}return t};var o=e=>Object.keys(s(e,{}));t.default=o},,function(e,t,r){"use strict";e.exports=PassThrough;var n=r(528);var i=r(286);i.inherits=r(689);i.inherits(PassThrough,n);function PassThrough(e){if(!(this instanceof PassThrough))return new PassThrough(e);n.call(this,e)}PassThrough.prototype._transform=function(e,t,r){r(null,e)}},,,function(e){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,r){var n=r(37),i=r(974),a=i.repeat,s=i.truncate,o=i.pad;function Table(e){this.options=i.options({chars:{top:"─","top-mid":"┬","top-left":"┌","top-right":"┐",bottom:"─","bottom-mid":"┴","bottom-left":"└","bottom-right":"┘",left:"│","left-mid":"├",mid:"─","mid-mid":"┼",right:"│","right-mid":"┤",middle:"│"},truncate:"…",colWidths:[],colAligns:[],style:{"padding-left":1,"padding-right":1,head:["red"],border:["grey"],compact:false},head:[]},e)}Table.prototype.__proto__=Array.prototype;Table.prototype.__defineGetter__("width",function(){var e=this.toString().split("\n");if(e.length)return e[0].length;return 0});Table.prototype.render;Table.prototype.toString=function(){var e="",t=this.options,r=t.style,u=t.head,l=t.chars,c=t.truncate,f=t.colWidths||new Array(this.head.length),h=0;if(!u.length&&!this.length)return"";if(!f.length){var p=this.slice(0);if(u.length){p=p.concat([u])}p.forEach(function(e){if(typeof e==="object"&&e.length){extractColumnWidths(e)}else{var t=Object.keys(e)[0],r=e[t];f[0]=Math.max(f[0]||0,get_width(t)||0);if(typeof r==="object"&&r.length){extractColumnWidths(r,1)}else{f[1]=Math.max(f[1]||0,get_width(r)||0)}}})}h=(f.length==1?f[0]:f.reduce(function(e,t){return e+t}))+f.length+1;function extractColumnWidths(e,t){var t=t||0;e.forEach(function(e,r){f[r+t]=Math.max(f[r+t]||0,get_width(e)||0)})}function get_width(e){return typeof e=="object"&&e.width!=undefined?e.width:(typeof e=="object"?i.strlen(e.text):i.strlen(e))+(r["padding-left"]||0)+(r["padding-right"]||0)}function line(e,r,n,i){var s=0,e=r+a(e,h-2)+n;f.forEach(function(t,r){if(r==f.length-1)return;s+=t+1;e=e.substr(0,s)+i+e.substr(s+1)});return applyStyles(t.style.border,e)}function lineTop(){var t=line(l.top,l["top-left"]||l.top,l["top-right"]||l.top,l["top-mid"]);if(t)e+=t+"\n"}function generateRow(e,r){var n=[],i=0;if(!Array.isArray(e)&&typeof e==="object"){var a=Object.keys(e)[0],s=e[a],o=true;if(Array.isArray(s)){e=s;e.unshift(a)}else{e=[a,s]}}e.forEach(function(e,t){var r=e.toString().split("\n").reduce(function(e,r){e.push(string(r,t));return e},[]);var a=r.length;if(a>i){i=a}n.push({contents:r,height:a})});var u=new Array(i);n.forEach(function(e,n){e.contents.forEach(function(e,i){if(!u[i]){u[i]=[]}if(r||o&&n===0&&t.style.head){e=applyStyles(t.style.head,e)}u[i].push(e)});for(var a=e.height,s=i;a0){c+="\n"+applyStyles(t.style.border,l.left)}c+=e.join(applyStyles(t.style.border,l.middle))+applyStyles(t.style.border,l.right)});return applyStyles(t.style.border,l.left)+c}function applyStyles(e,t){if(!t)return"";e.forEach(function(e){t=n[e](t)});return t}function string(e,n){var e=String(typeof e=="object"&&e.text?e.text:e),u=i.strlen(e),l=f[n]-(r["padding-left"]||0)-(r["padding-right"]||0),h=t.colAligns[n]||"left";return a(" ",r["padding-left"]||0)+(u==l?e:u1?t[0]:"=";var i=(t.length>1?t[1]:t[0]).split(".");for(var a=0;a<3;++a){var s=Number(n[a]||0);var o=Number(i[a]||0);if(s===o){continue}if(r==="<"){return s="){return s>=o}else{return false}}return r===">="}function matchesRange(e){var t=e.split(/ ?&& ?/);if(t.length===0){return false}for(var r=0;r{const h=`^${n(i(r)({version:" "})).replace(" ","(.+)")}`;const p=(await u({cwd:e,env:t})).map(e=>({gitTag:e,version:(e.match(h)||new Array(2))[1]})).filter(e=>e.version&&a.valid(a.clean(e.version))&&!a.prerelease(a.clean(e.version))).sort((e,t)=>a.rcompare(e.version,t.version));o("found tags: %o",p);const d=await s(p,r=>l(r.gitTag,{cwd:e,env:t}),{preserveOrder:true});if(d){f.log(`Found git tag ${d.gitTag} associated with version ${d.version}`);return{gitHead:await c(d.gitTag,{cwd:e,env:t}),...d}}f.log("No git tag version found");return{}})},,,,function(e,t,r){const{template:n,pick:i}=r(557);const a=r(808);const s=r(3);const o=r(414);const u=r(719);const l=r(277);const c=r(326);const f=r(363);const h=r(715);const p=r(382);const d=r(738);const g=r(913);const{extractErrors:m}=r(833);const v=r(420);const y=r(36);const{fetch:D,verifyAuth:E,isBranchUpToDate:b,getGitHead:C,tag:A,push:w}=r(350);const S=r(783);const{COMMIT_NAME:x,COMMIT_EMAIL:_}=r(861);a.setOptions({renderer:new s});async function run(e,t){const{cwd:r,env:s,options:u,logger:l}=e;const{isCi:c,branch:f,isPr:m}=o({env:s,cwd:r});if(!c&&!u.dryRun&&!u.noCi){l.warn("This run was not triggered in a known CI environment, running in dry-run mode.");u.dryRun=true}else{Object.assign(s,{GIT_AUTHOR_NAME:x,GIT_AUTHOR_EMAIL:_,GIT_COMMITTER_NAME:x,GIT_COMMITTER_EMAIL:_,...s,GIT_ASKPASS:"echo",GIT_TERMINAL_PROMPT:0})}if(c&&m&&!u.noCi){l.log("This run was triggered by a pull request and therefore a new version won't be published.");return false}if(f!==u.branch){l.log(`This test run was triggered on the branch ${f}, while semantic-release is configured to only publish from ${u.branch}, therefore a new version won’t be published.`);return false}l[u.dryRun?"warn":"success"](`Run automated release from branch ${f}${u.dryRun?" in dry-run mode":""}`);await h(e);u.repositoryUrl=await v(e);try{try{await E(u.repositoryUrl,u.branch,{cwd:r,env:s})}catch(e){if(!await b(u.repositoryUrl,u.branch,{cwd:r,env:s})){l.log(`The local branch ${u.branch} is behind the remote one, therefore a new version won't be published.`);return false}throw e}}catch(e){l.error(`The command "${e.cmd}" failed with the error message ${e.stderr}.`);throw S("EGITNOPERMISSION",{options:u})}l.success(`Allowed to push to the Git repository`);await t.verifyConditions(e);await D(u.repositoryUrl,{cwd:r,env:s});e.lastRelease=await g(e);e.commits=await d(e);const y={type:await t.analyzeCommits(e),gitHead:await C({cwd:r,env:s})};if(!y.type){l.log("There are no relevant changes, so no new version is released.");return false}e.nextRelease=y;y.version=p(e);y.gitTag=n(u.tagFormat)({version:y.version});await t.verifyRelease(e);y.notes=await t.generateNotes(e);await t.prepare(e);if(u.dryRun){l.warn(`Skip ${y.gitTag} tag creation in dry-run mode`)}else{await A(y.gitTag,{cwd:r,env:s});await w(u.repositoryUrl,{cwd:r,env:s});l.success(`Created tag ${y.gitTag}`)}e.releases=await t.publish(e);await t.success(e);l.success(`Published release ${y.version}`);if(u.dryRun){l.log(`Release note for version ${y.version}:`);if(y.notes){e.stdout.write(a(y.notes))}}return i(e,["lastRelease","commits","nextRelease","releases"])}function logErrors({logger:e,stderr:t},r){const n=m(r).sort(e=>e.semanticRelease?-1:0);for(const r of n){if(r.semanticRelease){e.error(`${r.code} ${r.message}`);if(r.details){t.write(a(r.details))}}else{e.error("An error occurred while running semantic-release: %O",r)}}}async function callFail(e,t,r){const n=m(r).filter(e=>e.semanticRelease);if(n.length>0){try{await t.fail({...e,errors:n})}catch(t){logErrors(e,t)}}}e.exports=(async(e={},{cwd:t=process.cwd(),env:r=process.env,stdout:n,stderr:i}={})=>{const{unhook:a}=u({silent:false,streams:[process.stdout,process.stderr,n,i].filter(Boolean)},c(r));const s={cwd:t,env:r,stdout:n||process.stdout,stderr:i||process.stderr};s.logger=y(s);s.logger.log(`Running ${l.name} version ${l.version}`);try{const{plugins:t,options:r}=await f(s,e);s.options=r;try{const e=await run(s,t);a();return e}catch(e){await callFail(s,t,e);throw e}}catch(e){logErrors(s,e);a();throw e}})},,function(e,t,r){"use strict";const{promisify:n}=r(669);const i=r(747);const a=r(622);const s=r(164);const o=n(i.readFile);e.exports=(async e=>{e={cwd:process.cwd(),normalize:true,...e};const t=a.resolve(e.cwd,"package.json");const n=s(await o(t,"utf8"));if(e.normalize){r(990)(n)}return n});e.exports.sync=(e=>{e={cwd:process.cwd(),normalize:true,...e};const t=a.resolve(e.cwd,"package.json");const n=s(i.readFileSync(t,"utf8"));if(e.normalize){r(990)(n)}return n})},,,function(e,t,r){"use strict";const n=r(523);class EndError extends Error{constructor(e){super();this.value=e}}const i=e=>Promise.all(e).then(e=>e[1]===true&&Promise.reject(new EndError(e[0])));e.exports=((e,t,r)=>{r=Object.assign({concurrency:Infinity,preserveOrder:true},r);const a=n(r.concurrency);const s=Array.from(e).map(e=>[e,a(()=>Promise.resolve(e).then(t))]);const o=n(r.preserveOrder?1:Infinity);return Promise.all(s.map(e=>o(()=>i(e)))).then(()=>{}).catch(e=>e instanceof EndError?e.value:Promise.reject(e))})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=toJSON;function toJSON(e,t,r){if(Array.isArray(e))return e.map((e,t)=>toJSON(e,String(t),r));if(e&&typeof e.toJSON==="function"){const n=r&&r.anchors&&r.anchors.find(t=>t.node===e);if(n)r.onCreate=(e=>{n.res=e;delete r.onCreate});const i=e.toJSON(t,r);if(n&&r.onCreate)r.onCreate(i);return i}return e}},,function(e,t,r){"use strict";const n=r(622);const i=r(282);const a=r(747);const s=(e,t,r)=>{if(typeof e!=="string"){throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof e}\``)}if(typeof t!=="string"){throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof t}\``)}try{e=a.realpathSync(e)}catch(t){if(t.code==="ENOENT"){e=n.resolve(e)}else if(r){return}else{throw t}}const s=n.join(e,"noop.js");const o=()=>i._resolveFilename(t,{id:s,filename:s,paths:i._nodeModulePaths(e)});if(r){try{return o()}catch(e){return}}return o()};e.exports=((e,t)=>s(e,t));e.exports.silent=((e,t)=>s(e,t,true))},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=void 0;var n=r(536);var i=r(405);var a=_interopRequireDefault(r(794));var s=r(954);var o=_interopRequireDefault(r(487));var u=_interopRequireDefault(r(641));var l=_interopRequireDefault(r(648));var c=_interopRequireDefault(r(19));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class Document extends l.default{static startCommentOrEndBlankLine(e,t){const r=l.default.endOfWhiteSpace(e,t);const n=e[r];return n==="#"||n==="\n"?r:t}constructor(){super(n.Type.DOCUMENT);this.directives=null;this.contents=null;this.directivesEndMarker=null;this.documentEndMarker=null}parseDirectives(e){const{src:t}=this.context;this.directives=[];let r=true;let s=false;let f=e;while(!l.default.atDocumentBoundary(t,f,n.Char.DIRECTIVES_END)){f=Document.startCommentOrEndBlankLine(t,f);switch(t[f]){case"\n":if(r){const e=new a.default;f=e.parse({src:t},f);if(f0){this.contents=this.directives;this.directives=[]}return f}}if(t[f]){this.directivesEndMarker=new c.default(f,f+3);return f+3}if(s){this.error=new i.YAMLSemanticError(this,"Missing directives-end indicator line")}else if(this.directives.length>0){this.contents=this.directives;this.directives=[]}return f}parseContents(e){const{parseNode:t,src:r}=this.context;if(!this.contents)this.contents=[];let u=e;while(r[u-1]==="-")u-=1;let f=l.default.endOfWhiteSpace(r,e);let h=u===e;this.valueRange=new c.default(f);while(!l.default.atDocumentBoundary(r,f,n.Char.DOCUMENT_END)){switch(r[f]){case"\n":if(h){const e=new a.default;f=e.parse({src:r},f);if(f{t=r.setOrigRanges(e,t)});if(this.directivesEndMarker)t=this.directivesEndMarker.setOrigRange(e,t);this.contents.forEach(r=>{t=r.setOrigRanges(e,t)});if(this.documentEndMarker)t=this.documentEndMarker.setOrigRange(e,t);return t}toString(){const{contents:e,directives:t,value:r}=this;if(r!=null)return r;let i=t.join("");if(e.length>0){if(t.length>0||e[0].type===n.Type.COMMENT)i+="---\n";i+=e.join("")}if(i[i.length-1]!=="\n")i+="\n";return i}}t.default=Document},,,function(e,t,r){"use strict";function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}var n=r(149).Buffer;var i=r(669);function copyBuffer(e,t,r){e.copy(t,r)}e.exports=function(){function BufferList(){_classCallCheck(this,BufferList);this.head=null;this.tail=null;this.length=0}BufferList.prototype.push=function push(e){var t={data:e,next:null};if(this.length>0)this.tail.next=t;else this.head=t;this.tail=t;++this.length};BufferList.prototype.unshift=function unshift(e){var t={data:e,next:this.head};if(this.length===0)this.tail=t;this.head=t;++this.length};BufferList.prototype.shift=function shift(){if(this.length===0)return;var e=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return e};BufferList.prototype.clear=function clear(){this.head=this.tail=null;this.length=0};BufferList.prototype.join=function join(e){if(this.length===0)return"";var t=this.head;var r=""+t.data;while(t=t.next){r+=e+t.data}return r};BufferList.prototype.concat=function concat(e){if(this.length===0)return n.alloc(0);if(this.length===1)return this.head.data;var t=n.allocUnsafe(e>>>0);var r=this.head;var i=0;while(r){copyBuffer(r.data,t,i);i+=r.data.length;r=r.next}return t};return BufferList}();if(i&&i.inspect&&i.inspect.custom){e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e}}},,,,,,,,,function(e){e.exports=extend;var t=Object.prototype.hasOwnProperty;function extend(){var e={};for(var r=0;r0}function Chalk(e){if(!this||!(this instanceof Chalk)||this.template){const t={};applyOptions(t,e);t.template=function(){const e=[].slice.call(arguments);return chalkTag.apply(null,[t.template].concat(e))};Object.setPrototypeOf(t,Chalk.prototype);Object.setPrototypeOf(t.template,t);t.template.constructor=Chalk;return t.template}applyOptions(this,e)}if(o){i.blue.open="[94m"}for(const e of Object.keys(i)){i[e].closeRe=new RegExp(n(i[e].close),"g");c[e]={get(){const t=i[e];return build.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}}c.visible={get(){return build.call(this,this._styles||[],true,"visible")}};i.color.closeRe=new RegExp(n(i.color.close),"g");for(const e of Object.keys(i.color.ansi)){if(l.has(e)){continue}c[e]={get(){const t=this.level;return function(){const r=i.color[u[t]][e].apply(null,arguments);const n={open:r,close:i.color.close,closeRe:i.color.closeRe};return build.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}i.bgColor.closeRe=new RegExp(n(i.bgColor.close),"g");for(const e of Object.keys(i.bgColor.ansi)){if(l.has(e)){continue}const t="bg"+e[0].toUpperCase()+e.slice(1);c[t]={get(){const t=this.level;return function(){const r=i.bgColor[u[t]][e].apply(null,arguments);const n={open:r,close:i.bgColor.close,closeRe:i.bgColor.closeRe};return build.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}const f=Object.defineProperties(()=>{},c);function build(e,t,r){const n=function(){return applyStyle.apply(n,arguments)};n._styles=e;n._empty=t;const i=this;Object.defineProperty(n,"level",{enumerable:true,get(){return i.level},set(e){i.level=e}});Object.defineProperty(n,"enabled",{enumerable:true,get(){return i.enabled},set(e){i.enabled=e}});n.hasGrey=this.hasGrey||r==="gray"||r==="grey";n.__proto__=f;return n}function applyStyle(){const e=arguments;const t=e.length;let r=String(arguments[0]);if(t===0){return""}if(t>1){for(let n=1;n=0;--e){const r=t.items[e];if(r.type===n.Type.COMMENT){const{indent:t,lineStart:n}=r.context;if(t>0&&r.range.start>=n+t)break;i=e}else if(r.type===n.Type.BLANK_LINE)i=e;else break}if(i===-1)return null;const s=t.items.splice(i,r-i);const o=s[0].range.start;while(true){t.range.end=o;if(t.valueRange&&t.valueRange.end>o)t.valueRange.end=o;if(t===e)break;t=t.context.parent}return s}class Collection extends o.default{static nextContentHasIndent(e,t,r){const n=o.default.endOfLine(e,t)+1;t=o.default.endOfWhiteSpace(e,n);const i=e[t];if(!i)return false;if(t>=n+r)return true;if(i!=="#"&&i!=="\n")return false;return Collection.nextContentHasIndent(e,t,r)}constructor(e){super(e.type===n.Type.SEQ_ITEM?n.Type.SEQ:n.Type.MAP);for(let t=e.props.length-1;t>=0;--t){if(e.props[t].start0}parse(e,t){this.context=e;const{parseNode:r,src:a}=e;let l=o.default.startOfLine(a,t);const c=this.items[0];c.context.parent=this;this.valueRange=u.default.copy(c.valueRange);const f=c.range.start-c.context.lineStart;let h=t;h=o.default.normalizeOffset(a,h);let p=a[h];let d=o.default.endOfWhiteSpace(a,l)===h;let g=false;while(p){while(p==="\n"||p==="#"){if(d&&p==="\n"&&!g){const e=new i.default;h=e.parse({src:a},h);this.valueRange.end=h;if(h>=a.length){p=null;break}this.items.push(e);h-=1}else if(p==="#"){if(h=a.length){p=null;break}}l=h+1;h=o.default.endOfIndent(a,l);if(o.default.atBlank(a,h)){const e=o.default.endOfWhiteSpace(a,h);const t=a[e];if(!t||t==="\n"||t==="#"){h=e}}p=a[h];d=true}if(!p){break}if(h!==l+f&&(d||p!==":")){if(l>t)h=l;break}if(c.type===n.Type.SEQ_ITEM!==(p==="-")){let e=true;if(p==="-"){const t=a[h+1];e=!t||t==="\n"||t==="\t"||t===" "}if(e){if(l>t)h=l;break}}const e=r({atLineStart:d,inCollection:true,indent:f,lineStart:l,parent:this},h);if(!e)return h;this.items.push(e);this.valueRange.end=e.valueRange.end;h=o.default.normalizeOffset(a,e.range.end);p=a[h];d=false;g=e.includesTrailingLines;if(p){let e=h-1;let t=a[e];while(t===" "||t==="\t")t=a[--e];if(t==="\n"){l=e+1;d=true}}const u=grabCollectionEndComments(e);if(u)Array.prototype.push.apply(this.items,u)}return h}setOrigRanges(e,t){t=super.setOrigRanges(e,t);this.items.forEach(r=>{t=r.setOrigRanges(e,t)});return t}toString(){const{context:{src:e},items:t,range:r,value:n}=this;if(n!=null)return n;let i=e.slice(r.start,t[0].range.start)+String(t[0]);for(let e=1;e":return n.Type.BLOCK_FOLDED;case"|":return n.Type.BLOCK_LITERAL;case"{":return n.Type.FLOW_MAP;case"[":return n.Type.FLOW_SEQ;case"?":return!r&&c.default.atBlank(e,t+1,true)?n.Type.MAP_KEY:n.Type.PLAIN;case":":return!r&&c.default.atBlank(e,t+1,true)?n.Type.MAP_VALUE:n.Type.PLAIN;case"-":return!r&&c.default.atBlank(e,t+1,true)?n.Type.SEQ_ITEM:n.Type.PLAIN;case'"':return n.Type.QUOTE_DOUBLE;case"'":return n.Type.QUOTE_SINGLE;default:return n.Type.PLAIN}}constructor(e={},{atLineStart:t,inCollection:r,inFlow:g,indent:m,lineStart:v,parent:y}={}){_defineProperty(this,"parseNode",(e,t)=>{if(c.default.atDocumentBoundary(this.src,t))return null;const r=new ParseContext(this,e);const{props:g,type:m,valueStart:v}=r.parseProps(t);let y;switch(m){case n.Type.ALIAS:y=new a.default(m,g);break;case n.Type.BLOCK_FOLDED:case n.Type.BLOCK_LITERAL:y=new s.default(m,g);break;case n.Type.FLOW_MAP:case n.Type.FLOW_SEQ:y=new l.default(m,g);break;case n.Type.MAP_KEY:case n.Type.MAP_VALUE:case n.Type.SEQ_ITEM:y=new u.default(m,g);break;case n.Type.COMMENT:case n.Type.PLAIN:y=new f.default(m,g);break;case n.Type.QUOTE_DOUBLE:y=new h.default(m,g);break;case n.Type.QUOTE_SINGLE:y=new p.default(m,g);break;default:y.error=new i.YAMLSyntaxError(y,`Unknown node type: ${JSON.stringify(m)}`);y.range=new d.default(t,t+1);return y}let D=y.parse(r,v);y.range=new d.default(t,D);if(D<=t){y.error=new Error(`Node#parse consumed no characters`);y.error.parseEnd=D;y.error.source=y;y.range.end=t+1}if(r.nodeStartsCollection(y)){if(!y.error&&!r.atLineStart&&r.parent.type===n.Type.DOCUMENT){y.error=new i.YAMLSyntaxError(y,"Block collection must not have preceding content here (e.g. directives-end indicator)")}const e=new o.default(y);D=e.parse(new ParseContext(r),D);e.range=new d.default(t,D);return e}return y});this.atLineStart=t!=null?t:e.atLineStart||false;this.inCollection=r!=null?r:e.inCollection||false;this.inFlow=g!=null?g:e.inFlow||false;this.indent=m!=null?m:e.indent;this.lineStart=v!=null?v:e.lineStart;this.parent=y!=null?y:e.parent||{};this.root=e.root;this.src=e.src}get pretty(){const e={start:`${this.lineStart} + ${this.indent}`,in:[],parent:this.parent.type};if(!this.atLineStart)e.start+=" + N";if(this.inCollection)e.in.push("collection");if(this.inFlow)e.in.push("flow");return e}nodeStartsCollection(e){const{inCollection:t,inFlow:r,src:n}=this;if(t||r)return false;if(e instanceof u.default)return true;let i=e.range.end;if(n[i]==="\n"||n[i-1]==="\n")return false;i=c.default.endOfWhiteSpace(n,i);return n[i]===":"}parseProps(e){const{inFlow:t,parent:r,src:i}=this;const a=[];let s=false;e=c.default.endOfWhiteSpace(i,e);let o=i[e];while(o===n.Char.ANCHOR||o===n.Char.COMMENT||o===n.Char.TAG||o==="\n"){if(o==="\n"){const t=e+1;const a=c.default.endOfIndent(i,t);const o=a-(t+this.indent);const u=r.type===n.Type.SEQ_ITEM&&r.context.atLineStart;if(!c.default.nextNodeIsIndented(i[a],o,!u))break;this.atLineStart=true;this.lineStart=t;s=false;e=a}else if(o===n.Char.COMMENT){const t=c.default.endOfLine(i,e+1);a.push(new d.default(e,t));e=t}else{let t=c.default.endOfIdentifier(i,e+1);if(o===n.Char.TAG&&i[t]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(i.slice(e+1,t+13))){t=c.default.endOfIdentifier(i,t+5)}a.push(new d.default(e,t));s=true;e=c.default.endOfWhiteSpace(i,t)}o=i[e]}if(s&&o===":"&&c.default.atBlank(i,e+1,true))e-=1;const u=ParseContext.parseType(i,e,t);return{props:a,type:u,valueStart:e}}}t.default=ParseContext},function(e,t,r){"use strict";const n=r(612);const i=r(80);const{default:a}=r(228);const{codeFrameColumns:s}=r(801);const o=n("JSONError",{fileName:n.append("in %s"),codeFrame:n.append("\n\n%s\n")});e.exports=((e,t,r)=>{if(typeof t==="string"){r=t;t=null}try{try{return JSON.parse(e,t)}catch(r){i(e,t);throw r}}catch(t){t.message=t.message.replace(/\n/g,"");const n=t.message.match(/in JSON at position (\d+) while parsing near/);const i=new o(t);if(r){i.fileName=r}if(n&&n.length>0){const t=new a(e);const r=Number(n[1]);const o=t.locationForIndex(r);const u=s(e,{start:{line:o.line+1,column:o.column+1}},{highlightCode:true});i.codeFrame=u}throw i}})},,,,,function(e,t){t.repeat=function(e,t){return Array(t+1).join(e)};t.pad=function(e,t,r,n){if(t+1>=e.length)switch(n){case"left":e=Array(t+1-e.length).join(r)+e;break;case"both":var i=Math.ceil((padlen=t-e.length)/2);var a=padlen-i;e=Array(a+1).join(r)+e+Array(i+1).join(r);break;default:e=e+Array(t+1-e.length).join(r)}return e};t.truncate=function(e,t,r){r=r||"…";return e.length>=t?e.substr(0,t-r.length)+r:e};function options(e,t){for(var r in t){if(t[r]&&t[r].constructor&&t[r].constructor===Object){e[r]=e[r]||{};options(e[r],t[r])}else{e[r]=t[r]}}return e}t.options=options;t.strlen=function(e){var t=/\u001b\[(?:\d*;){0,5}\d*m/g;var r=(""+e).replace(t,"");var n=r.split("\n");return n.reduce(function(e,t){return t.length>e?t.length:e},0)}},,,function(e,t,r){var n=r(893);var i=r(912);i.core=n;i.isCore=function isCore(e){return n[e]};i.sync=r(950);t=i;e.exports=i},,,,,,,,,,,,,function(e,t,r){e.exports=normalize;var n=r(615);normalize.fixer=n;var i=r(362);var a=["name","version","description","repository","modules","scripts","files","bin","man","bugs","keywords","readme","homepage","license"];var s=["dependencies","people","typos"];var o=a.map(function(e){return ucFirst(e)+"Field"});o=o.concat(s);function normalize(e,t,r){if(t===true)t=null,r=true;if(!r)r=false;if(!t||e.private)t=function(e){};if(e.scripts&&e.scripts.install==="node-gyp rebuild"&&!e.scripts.preinstall){e.gypfile=true}n.warn=function(){t(i.apply(null,arguments))};o.forEach(function(t){n["fix"+ucFirst(t)](e,r)});e._id=e.name+"@"+e.version}function ucFirst(e){return e.charAt(0).toUpperCase()+e.slice(1)}},function(e,t,r){"use strict";var n=r(149).Buffer;var i=n.isEncoding||function(e){e=""+e;switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(e){if(!e)return"utf8";var t;while(true){switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase();t=true}}}function normalizeEncoding(e){var t=_normalizeEncoding(e);if(typeof t!=="string"&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}t.StringDecoder=StringDecoder;function StringDecoder(e){this.encoding=normalizeEncoding(e);var t;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;t=4;break;case"utf8":this.fillLast=utf8FillLast;t=4;break;case"base64":this.text=base64Text;this.end=base64End;t=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=n.allocUnsafe(t)}StringDecoder.prototype.write=function(e){if(e.length===0)return"";var t;var r;if(this.lastNeed){t=this.fillLast(e);if(t===undefined)return"";r=this.lastNeed;this.lastNeed=0}else{r=0}if(r>5===6)return 2;else if(e>>4===14)return 3;else if(e>>3===30)return 4;return e>>6===2?-1:-2}function utf8CheckIncomplete(e,t,r){var n=t.length-1;if(n=0){if(i>0)e.lastNeed=i-1;return i}if(--n=0){if(i>0)e.lastNeed=i-2;return i}if(--n=0){if(i>0){if(i===2)i=0;else e.lastNeed=i-3}return i}return 0}function utf8CheckExtraBytes(e,t,r){if((t[0]&192)!==128){e.lastNeed=0;return"�"}if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128){e.lastNeed=1;return"�"}if(e.lastNeed>2&&t.length>2){if((t[2]&192)!==128){e.lastNeed=2;return"�"}}}}function utf8FillLast(e){var t=this.lastTotal-this.lastNeed;var r=utf8CheckExtraBytes(this,e,t);if(r!==undefined)return r;if(this.lastNeed<=e.length){e.copy(this.lastChar,t,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}e.copy(this.lastChar,t,0,e.length);this.lastNeed-=e.length}function utf8Text(e,t){var r=utf8CheckIncomplete(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);e.copy(this.lastChar,0,n);return e.toString("utf8",t,n)}function utf8End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+"�";return t}function utf16Text(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1];return r.slice(0,-1)}}return r}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=e[e.length-1];return e.toString("utf16le",t,e.length-1)}function utf16End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function base64Text(e,t){var r=(e.length-t)%3;if(r===0)return e.toString("base64",t);this.lastNeed=3-r;this.lastTotal=3;if(r===1){this.lastChar[0]=e[e.length-1]}else{this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1]}return e.toString("base64",t,e.length-r)}function base64End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+this.lastChar.toString("base64",0,3-this.lastNeed);return t}function simpleWrite(e){return e.toString(this.encoding)}function simpleEnd(e){return e&&e.length?this.write(e):""}},,,function(e,t,r){"use strict";var n=r(751);var i=r(713);var a=r(535);var s=a.brightBlack;var o="[39m";function trimEmptyLines(e){var t=e.pop();while(!t||!t.length){t=e.pop()}if(t)e.push(t)}function addLinenos(e,t){var r=e.split("\n");trimEmptyLines(r);var n=r.length;var i=[];var a;var u;function getDigits(e){if(e<10)return 1;if(e<100)return 2;if(e<1e3)return 3;if(e<1e4)return 4;return 5}function pad(e,t){var r=t-getDigits(e);switch(r){case 0:return""+e;case 1:return" "+e;case 2:return" "+e;case 3:return" "+e;case 4:return" "+e;case 5:return" "+e}}a=getDigits(n+t-1);for(var l=0;le instanceof Uint8Array,default:false,tag:"tag:yaml.org,2002:binary",resolve:(e,t)=>{if(typeof Buffer==="function"){const r=(0,s.resolveString)(e,t);return Buffer.from(r,"base64")}else if(typeof atob==="function"){const r=atob((0,s.resolveString)(e,t));const n=new Uint8Array(r.length);for(let e=0;e{let l;if(typeof Buffer==="function"){l=r instanceof Buffer?r.toString("base64"):Buffer.from(r.buffer).toString("base64")}else if(typeof btoa==="function"){let e="";for(let t=0;tt.some(t=>e[t]!==undefined);const n=e=>{if(!e){return}const{stdio:n}=e;if(n===undefined){return t.map(t=>e[t])}if(r(e)){throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${t.map(e=>`\`${e}\``).join(", ")}`)}if(typeof n==="string"){return n}if(!Array.isArray(n)){throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof n}\``)}const i=Math.max(n.length,t.length);return Array.from({length:i},(e,t)=>n[t])};e.exports=n;e.exports.node=(e=>{const t=n(e);if(t==="ipc"){return"ipc"}if(t===undefined||typeof t==="string"){return[t,t,t,"ipc"]}if(t.includes("ipc")){return t}return[...t,"ipc"]})}],function(e){"use strict";!function(){e.nmd=function(e){e.paths=[];if(!e.children)e.children=[];Object.defineProperty(e,"loaded",{enumerable:true,get:function(){return e.l}});Object.defineProperty(e,"id",{enumerable:true,get:function(){return e.i}});return e}}()});
//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/dist/optionsHandlers/handlers.d.ts b/dist/optionsHandlers/handlers.d.ts
new file mode 100644
index 00000000..bb306511
--- /dev/null
+++ b/dist/optionsHandlers/handlers.d.ts
@@ -0,0 +1,15 @@
+export declare enum Flags {
+ branch = "BRANCH",
+ dryRun = "DRY_RUN",
+ plugins = "PLUGINS",
+ scripts = "SCRIPTS",
+ debug = "DEBUG"
+}
+export declare const handleBranchFlag: () => {} | {
+ branch: string;
+};
+export declare const handleDryRunFlag: () => {
+ dryRun: boolean;
+};
+export declare const handleDebugFlag: () => boolean;
+//# sourceMappingURL=handlers.d.ts.map
\ No newline at end of file
diff --git a/dist/optionsHandlers/handlers.d.ts.map b/dist/optionsHandlers/handlers.d.ts.map
new file mode 100644
index 00000000..df23a988
--- /dev/null
+++ b/dist/optionsHandlers/handlers.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["file:///home/runner/work/semantic-release-action/semantic-release-action/src/optionsHandlers/handlers.ts"],"names":[],"mappings":"AAEA,oBAAY,KAAK;IACf,MAAM,WAAW;IACjB,MAAM,YAAY;IAClB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,KAAK,UAAU;CAChB;AAED,eAAO,MAAM,gBAAgB;;CAU5B,CAAC;AAEF,eAAO,MAAM,gBAAgB;;CAI5B,CAAC;AAEF,eAAO,MAAM,eAAe,eAAkD,CAAC"}
\ No newline at end of file
diff --git a/dist/optionsHandlers/index.d.ts b/dist/optionsHandlers/index.d.ts
new file mode 100644
index 00000000..dbc539ce
--- /dev/null
+++ b/dist/optionsHandlers/index.d.ts
@@ -0,0 +1,5 @@
+/**
+ * Options Handler Exports
+ */
+export * from './handlers';
+//# sourceMappingURL=index.d.ts.map
\ No newline at end of file
diff --git a/dist/optionsHandlers/index.d.ts.map b/dist/optionsHandlers/index.d.ts.map
new file mode 100644
index 00000000..8f5533bc
--- /dev/null
+++ b/dist/optionsHandlers/index.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["file:///home/runner/work/semantic-release-action/semantic-release-action/src/optionsHandlers/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,YAAY,CAAC"}
\ No newline at end of file
diff --git a/dist/tasks.d.ts b/dist/tasks.d.ts
new file mode 100644
index 00000000..a05e8c2e
--- /dev/null
+++ b/dist/tasks.d.ts
@@ -0,0 +1,7 @@
+import { Result } from 'semantic-release';
+export declare enum Commands {
+ RemoveNpmrc = "removeNpmrc",
+ PreInstallPlugins = "preInstallPlugins"
+}
+export declare const reportResults: (result: Result) => Promise;
+export declare const runTask: (task: Commands) => Promise;
diff --git a/dist/tasks.d.ts.map b/dist/tasks.d.ts.map
new file mode 100644
index 00000000..8bd3f66a
--- /dev/null
+++ b/dist/tasks.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/semantic-release-action/semantic-release-action/src/tasks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAK1C,oBAAY,QAAQ;IAClB,WAAW,gBAAgB;IAC3B,iBAAiB,sBAAsB;CACxC;AAaD,eAAO,MAAM,aAAa,mCAezB,CAAC;AAEF,eAAO,MAAM,OAAO,mCA0BnB,CAAC"}
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index b958ff90..d6dd09fd 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@ridedott/semantic-release-action",
- "version": "1.0.9",
+ "version": "1.0.10",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@@ -3071,9 +3071,9 @@
}
},
"conventional-changelog-writer": {
- "version": "4.0.10",
- "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-4.0.10.tgz",
- "integrity": "sha512-vtO9vBAVh7XnSpGLTB1BOGgsGTz1MdvFjzbSXLrtapWCHWwuVOZFgwdLhlS0MaXwlF1dksWdEb6tnr42Ie2INw==",
+ "version": "4.0.11",
+ "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-4.0.11.tgz",
+ "integrity": "sha512-g81GQOR392I+57Cw3IyP1f+f42ME6aEkbR+L7v1FBBWolB0xkjKTeCWVguzRrp6UiT1O6gBpJbEy2eq7AnV1rw==",
"requires": {
"compare-func": "^1.3.1",
"conventional-commits-filter": "^2.0.2",
@@ -3081,12 +3081,28 @@
"handlebars": "^4.4.0",
"json-stringify-safe": "^5.0.1",
"lodash": "^4.17.15",
- "meow": "^4.0.0",
+ "meow": "^5.0.0",
"semver": "^6.0.0",
"split": "^1.0.0",
"through2": "^3.0.0"
},
"dependencies": {
+ "meow": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/meow/-/meow-5.0.0.tgz",
+ "integrity": "sha512-CbTqYU17ABaLefO8vCU153ZZlprKYWDljcndKKDCFcYQITzWCXZAVk4QMFZPgvzrnUQ3uItnIE/LoUOwrT15Ig==",
+ "requires": {
+ "camelcase-keys": "^4.0.0",
+ "decamelize-keys": "^1.0.0",
+ "loud-rejection": "^1.0.0",
+ "minimist-options": "^3.0.1",
+ "normalize-package-data": "^2.3.4",
+ "read-pkg-up": "^3.0.0",
+ "redent": "^2.0.0",
+ "trim-newlines": "^2.0.0",
+ "yargs-parser": "^10.0.0"
+ }
+ },
"semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
@@ -3110,17 +3126,35 @@
}
},
"conventional-commits-parser": {
- "version": "3.0.7",
- "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.0.7.tgz",
- "integrity": "sha512-4mx/FRC92z0yIiXGyRVYQFhn0jWDwvxnj2UuLaUi3hJSG4Thall6GXA8YOPHQK2qvotciJandJIVmuSvLgDLbQ==",
+ "version": "3.0.8",
+ "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.0.8.tgz",
+ "integrity": "sha512-YcBSGkZbYp7d+Cr3NWUeXbPDFUN6g3SaSIzOybi8bjHL5IJ5225OSCxJJ4LgziyEJ7AaJtE9L2/EU6H7Nt/DDQ==",
"requires": {
"JSONStream": "^1.0.4",
"is-text-path": "^1.0.1",
"lodash": "^4.17.15",
- "meow": "^4.0.0",
+ "meow": "^5.0.0",
"split2": "^2.0.0",
"through2": "^3.0.0",
"trim-off-newlines": "^1.0.0"
+ },
+ "dependencies": {
+ "meow": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/meow/-/meow-5.0.0.tgz",
+ "integrity": "sha512-CbTqYU17ABaLefO8vCU153ZZlprKYWDljcndKKDCFcYQITzWCXZAVk4QMFZPgvzrnUQ3uItnIE/LoUOwrT15Ig==",
+ "requires": {
+ "camelcase-keys": "^4.0.0",
+ "decamelize-keys": "^1.0.0",
+ "loud-rejection": "^1.0.0",
+ "minimist-options": "^3.0.1",
+ "normalize-package-data": "^2.3.4",
+ "read-pkg-up": "^3.0.0",
+ "redent": "^2.0.0",
+ "trim-newlines": "^2.0.0",
+ "yargs-parser": "^10.0.0"
+ }
+ }
}
},
"convert-source-map": {
@@ -8527,6 +8561,7 @@
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/meow/-/meow-4.0.1.tgz",
"integrity": "sha512-xcSBHD5Z86zaOc+781KrupuHAzeGXSLtiAOmBsiLDiPSaYSB6hdew2ng9EBAnZ62jagG9MHAOdxpDi/lWBFJ/A==",
+ "dev": true,
"requires": {
"camelcase-keys": "^4.0.0",
"decamelize-keys": "^1.0.0",
@@ -14456,6 +14491,11 @@
"color-convert": "^2.0.1"
}
},
+ "camelcase": {
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
+ "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg=="
+ },
"cliui": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
@@ -14559,23 +14599,24 @@
"string-width": "^4.1.0",
"strip-ansi": "^6.0.0"
}
+ },
+ "yargs-parser": {
+ "version": "16.1.0",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-16.1.0.tgz",
+ "integrity": "sha512-H/V41UNZQPkUMIT5h5hiwg4QKIY1RPvoBV4XcjUbRM8Bk2oKqqyZ0DIEbTFZB0XjbtSPG8SAa/0DxCQmiRgzKg==",
+ "requires": {
+ "camelcase": "^5.0.0",
+ "decamelize": "^1.2.0"
+ }
}
}
},
"yargs-parser": {
- "version": "16.1.0",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-16.1.0.tgz",
- "integrity": "sha512-H/V41UNZQPkUMIT5h5hiwg4QKIY1RPvoBV4XcjUbRM8Bk2oKqqyZ0DIEbTFZB0XjbtSPG8SAa/0DxCQmiRgzKg==",
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.1.0.tgz",
+ "integrity": "sha512-VCIyR1wJoEBZUqk5PA+oOBF6ypbwh5aNB3I50guxAL/quggdfs4TtNHQrSazFA3fYZ+tEqfs0zIGlv0c/rgjbQ==",
"requires": {
- "camelcase": "^5.0.0",
- "decamelize": "^1.2.0"
- },
- "dependencies": {
- "camelcase": {
- "version": "5.3.1",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
- "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg=="
- }
+ "camelcase": "^4.1.0"
}
},
"yn": {
diff --git a/package.json b/package.json
index faabe7fa..586fc1be 100644
--- a/package.json
+++ b/package.json
@@ -95,5 +95,5 @@
"test:watch": "jest --watch --verbose false",
"types": "tsc --noEmit"
},
- "version": "1.0.9"
+ "version": "1.0.10"
}