From cad25e35ba149be5409386b4f4513dfaf728db43 Mon Sep 17 00:00:00 2001 From: Zoltan Kochan Date: Mon, 15 Jun 2026 14:19:29 +0200 Subject: [PATCH] chore: update pnpm to v11.7 --- dist/index.js | 2 +- src/install-pnpm/bootstrap/exe-lock.json | 66 ++++++++++++------------ 2 files changed, 34 insertions(+), 34 deletions(-) diff --git a/dist/index.js b/dist/index.js index 472126d..0bc79f8 100644 --- a/dist/index.js +++ b/dist/index.js @@ -311,7 +311,7 @@ ${r.comment}`:r.comment}this.doc.range[2]=r.offset;break}default:this.errors.pus `)+1;for(;r!==0;)this.onNewLine(this.offset+r),r=this.source.indexOf(` `,r)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){let r=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,r.value){let n="end"in r.value?r.value.end:void 0;(Array.isArray(n)?n[n.length-1]:void 0)?.type==="comment"?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else r.sep?r.sep.push(this.sourceToken):r.start.push(this.sourceToken);return;case"space":case"comment":if(r.value)e.items.push({start:[this.sourceToken]});else if(r.sep)r.sep.push(this.sourceToken);else{if(this.atIndentedComment(r.start,e.indent)){let i=e.items[e.items.length-2]?.value?.end;if(Array.isArray(i)){Array.prototype.push.apply(i,r.start),i.push(this.sourceToken),e.items.pop();return}}r.start.push(this.sourceToken)}return}if(this.indent>=e.indent){let n=!this.onKeyLine&&this.indent===e.indent,i=n&&(r.sep||r.explicitKey)&&this.type!=="seq-item-ind",s=[];if(i&&r.sep&&!r.value){let o=[];for(let A=0;Ae.indent&&(o.length=0);break;default:o.length=0}}o.length>=2&&(s=r.sep.splice(o[1]))}switch(this.type){case"anchor":case"tag":i||r.value?(s.push(this.sourceToken),e.items.push({start:s}),this.onKeyLine=!0):r.sep?r.sep.push(this.sourceToken):r.start.push(this.sourceToken);return;case"explicit-key-ind":!r.sep&&!r.explicitKey?(r.start.push(this.sourceToken),r.explicitKey=!0):i||r.value?(s.push(this.sourceToken),e.items.push({start:s,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(r.explicitKey)if(r.sep)if(r.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(Qc(r.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:null,sep:[this.sourceToken]}]});else if(ape(r.key)&&!Qc(r.sep,"newline")){let o=Th(r.start),A=r.key,a=r.sep;a.push(this.sourceToken),delete r.key,delete r.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:A,sep:a}]})}else s.length>0?r.sep=r.sep.concat(s,this.sourceToken):r.sep.push(this.sourceToken);else if(Qc(r.start,"newline"))Object.assign(r,{key:null,sep:[this.sourceToken]});else{let o=Th(r.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:null,sep:[this.sourceToken]}]})}else r.sep?r.value||i?e.items.push({start:s,key:null,sep:[this.sourceToken]}):Qc(r.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):r.sep.push(this.sourceToken):Object.assign(r,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let o=this.flowScalar(this.type);i||r.value?(e.items.push({start:s,key:o,sep:[]}),this.onKeyLine=!0):r.sep?this.stack.push(o):(Object.assign(r,{key:o,sep:[]}),this.onKeyLine=!0);return}default:{let o=this.startBlockValue(e);if(o){if(o.type==="block-seq"){if(!r.explicitKey&&r.sep&&!Qc(r.sep,"newline")){yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source});return}}else n&&e.items.push({start:s});this.stack.push(o);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){let r=e.items[e.items.length-1];switch(this.type){case"newline":if(r.value){let n="end"in r.value?r.value.end:void 0;(Array.isArray(n)?n[n.length-1]:void 0)?.type==="comment"?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else r.start.push(this.sourceToken);return;case"space":case"comment":if(r.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(r.start,e.indent)){let i=e.items[e.items.length-2]?.value?.end;if(Array.isArray(i)){Array.prototype.push.apply(i,r.start),i.push(this.sourceToken),e.items.pop();return}}r.start.push(this.sourceToken)}return;case"anchor":case"tag":if(r.value||this.indent<=e.indent)break;r.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;r.value||Qc(r.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):r.start.push(this.sourceToken);return}if(this.indent>e.indent){let n=this.startBlockValue(e);if(n){this.stack.push(n);return}}yield*this.pop(),yield*this.step()}*flowCollection(e){let r=e.items[e.items.length-1];if(this.type==="flow-error-end"){let n;do yield*this.pop(),n=this.peek(1);while(n?.type==="flow-collection")}else if(e.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!r||r.sep?e.items.push({start:[this.sourceToken]}):r.start.push(this.sourceToken);return;case"map-value-ind":!r||r.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):r.sep?r.sep.push(this.sourceToken):Object.assign(r,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!r||r.value?e.items.push({start:[this.sourceToken]}):r.sep?r.sep.push(this.sourceToken):r.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let i=this.flowScalar(this.type);!r||r.value?e.items.push({start:[],key:i,sep:[]}):r.sep?this.stack.push(i):Object.assign(r,{key:i,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}let n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{let n=this.peek(2);if(n.type==="block-map"&&(this.type==="map-value-ind"&&n.indent===e.indent||this.type==="newline"&&!n.items[n.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&n.type!=="flow-collection"){let i=$N(n),s=Th(i);Ape(e);let o=e.end.splice(1,e.end.length);o.push(this.sourceToken);let A={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:s,key:e,sep:o}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=A}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let r=this.source.indexOf(` `)+1;for(;r!==0;)this.onNewLine(this.offset+r),r=this.source.indexOf(` -`,r)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let r=$N(e),n=Th(r);return n.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let r=$N(e),n=Th(r);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,r){return this.type!=="comment"||this.indent<=r?!1:e.every(n=>n.type==="newline"||n.type==="space")}*documentEnd(e){this.type!=="doc-mode"&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}};cpe.Parser=o2});var hpe=h(RE=>{"use strict";var lpe=zH(),eBt=CE(),SE=yE(),tBt=J1(),rBt=$e(),nBt=s2(),upe=A2();function dpe(t){let e=t.prettyErrors!==!1;return{lineCounter:t.lineCounter||e&&new nBt.LineCounter||null,prettyErrors:e}}function iBt(t,e={}){let{lineCounter:r,prettyErrors:n}=dpe(e),i=new upe.Parser(r?.addNewLine),s=new lpe.Composer(e),o=Array.from(s.compose(i.parse(t)));if(n&&r)for(let A of o)A.errors.forEach(SE.prettifyError(t,r)),A.warnings.forEach(SE.prettifyError(t,r));return o.length>0?o:Object.assign([],{empty:!0},s.streamInfo())}function gpe(t,e={}){let{lineCounter:r,prettyErrors:n}=dpe(e),i=new upe.Parser(r?.addNewLine),s=new lpe.Composer(e),o=null;for(let A of s.compose(i.parse(t),!0,t.length))if(!o)o=A;else if(o.options.logLevel!=="silent"){o.errors.push(new SE.YAMLParseError(A.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return n&&r&&(o.errors.forEach(SE.prettifyError(t,r)),o.warnings.forEach(SE.prettifyError(t,r))),o}function sBt(t,e,r){let n;typeof e=="function"?n=e:r===void 0&&e&&typeof e=="object"&&(r=e);let i=gpe(t,r);if(!i)return null;if(i.warnings.forEach(s=>tBt.warn(i.options.logLevel,s)),i.errors.length>0){if(i.options.logLevel!=="silent")throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:n},r))}function oBt(t,e,r){let n=null;if(typeof e=="function"||Array.isArray(e)?n=e:r===void 0&&e&&(r=e),typeof r=="string"&&(r=r.length),typeof r=="number"){let i=Math.round(r);r=i<1?void 0:i>8?{indent:8}:{indent:i}}if(t===void 0){let{keepUndefined:i}=r??e??{};if(!i)return}return rBt.isDocument(t)&&!n?t.toString(r):new eBt.Document(t,n,r).toString(r)}RE.parse=sBt;RE.parseAllDocuments=iBt;RE.parseDocument=gpe;RE.stringify=oBt});var c2=h(gt=>{"use strict";var ABt=zH(),aBt=CE(),cBt=SH(),a2=yE(),lBt=nE(),bc=$e(),uBt=Cc(),dBt=Dr(),gBt=Ic(),hBt=yc(),fBt=XN(),pBt=n2(),mBt=s2(),EBt=A2(),eS=hpe(),fpe=$m();gt.Composer=ABt.Composer;gt.Document=aBt.Document;gt.Schema=cBt.Schema;gt.YAMLError=a2.YAMLError;gt.YAMLParseError=a2.YAMLParseError;gt.YAMLWarning=a2.YAMLWarning;gt.Alias=lBt.Alias;gt.isAlias=bc.isAlias;gt.isCollection=bc.isCollection;gt.isDocument=bc.isDocument;gt.isMap=bc.isMap;gt.isNode=bc.isNode;gt.isPair=bc.isPair;gt.isScalar=bc.isScalar;gt.isSeq=bc.isSeq;gt.Pair=uBt.Pair;gt.Scalar=dBt.Scalar;gt.YAMLMap=gBt.YAMLMap;gt.YAMLSeq=hBt.YAMLSeq;gt.CST=fBt;gt.Lexer=pBt.Lexer;gt.LineCounter=mBt.LineCounter;gt.Parser=EBt.Parser;gt.parse=eS.parse;gt.parseAllDocuments=eS.parseAllDocuments;gt.parseDocument=eS.parseDocument;gt.stringify=eS.stringify;gt.visit=fpe.visit;gt.visitAsync=fpe.visitAsync});var wc=yt(Pt());var lge=yt(Hb()),Sh=yt(Pt());var sge=yt(Hb()),Ts=yt(Pt()),oge=yt(Rf()),Age=yt(ige()),age=yt(require("os"));async function cge(t){let e=await vft();(0,Ts.saveState)("cache_path",e);let r=await(0,Age.hashFiles)(t.cacheDependencyPath);if(!r)throw new Error("Some specified paths were not resolved, unable to cache dependencies.");let n=`pnpm-cache-${process.env.RUNNER_OS}-${age.default.arch()}-${r}`;(0,Ts.debug)(`Primary key is ${n}`),(0,Ts.saveState)("cache_primary_key",n);let i=await(0,sge.restoreCache)([e],n);if((0,Ts.setOutput)("cache-hit",!!i),!i){(0,Ts.info)("Cache is not found");return}(0,Ts.saveState)("cache_restored_key",i),(0,Ts.info)(`Cache restored from key: ${i}`)}async function vft(){let{stdout:t}=await(0,oge.getExecOutput)("pnpm store path --silent"),e=t.trim();return(0,Ts.debug)(`Cache folder is set to "${e}"`),e}async function kft(t){if(t.cache){if(!(0,lge.isFeatureAvailable)()){(0,Sh.warning)("Cache is not available, skipping cache restoration");return}(0,Sh.startGroup)("Restoring cache..."),await cge(t),(0,Sh.endGroup)()}}var uge=kft;var hge=yt(Pt());var dge=yt(Hb()),Zl=yt(Pt());async function gge(){let t=(0,Zl.getState)("cache_restored_key"),e=(0,Zl.getState)("cache_primary_key"),r=(0,Zl.getState)("cache_path");if(e===t){(0,Zl.info)(`Cache hit occurred on the primary key ${e}, not saving cache.`);return}await(0,dge.saveCache)([r],e)!=-1&&(0,Zl.info)(`Cache saved with the key: ${e}`)}async function _ft(t){if(t.cache)try{await gge()}catch(e){(0,hge.setFailed)(e.message)}}var fge=_ft;var $l=yt(Pt()),wge=yt(bge()),Nge=["node","bun","deno"],Hft={required:!0},R1=t=>(0,wge.default)((0,$l.getInput)(t,Hft));function Gft(){let t=(0,$l.getInput)("runtime").trim();if(!t)return;let e=t.indexOf("@"),r=(e===-1?t:t.slice(0,e)).trim(),n=e===-1?void 0:t.slice(e+1).trim();if(!Yft(r))throw new Error(`Invalid \`runtime\` input "${t}". Expected \`\` or \`@\` where name is one of: ${Nge.join(", ")}.`);if(n!==void 0&&n==="")throw new Error(`Invalid \`runtime\` input "${t}". Trailing \`@\` with no version.`);return{name:r,version:n}}function Yft(t){return Nge.includes(t)}var Jft=()=>({version:(0,$l.getInput)("version"),dest:R1("dest"),cache:(0,$l.getBooleanInput)("cache"),cacheDependencyPath:R1("cache-dependency-path"),packageJsonFile:R1("package-json-file"),runtime:Gft(),install:(0,$l.getBooleanInput)("install")}),Sge=Jft;var Uh=yt(Pt());var DE=yt(Pt()),mpe=require("child_process"),lA=require("fs/promises"),xE=require("fs"),Un=yt(require("path")),Epe=yt(require("util")),Cpe=yt(c2());var l2={name:"bootstrap-exe",lockfileVersion:3,requires:!0,packages:{"":{dependencies:{"@pnpm/exe":"11.1.1"}},"node_modules/@pnpm/exe":{version:"11.1.1",resolved:"https://registry.npmjs.org/@pnpm/exe/-/exe-11.1.1.tgz",integrity:"sha512-5mQnDW1NCBRRWA+cnGhQO+tIrfSfWm3/IyGxU88LnT+tzNW5UrwwKfjsnnYJToyAjIfdfEJtJKUxCvP+mhA+nQ==",hasInstallScript:!0,license:"MIT",dependencies:{"@reflink/reflink":"0.1.19","detect-libc":"^2.0.3"},bin:{pn:"pn",pnpm:"pnpm",pnpx:"pnpx",pnx:"pnx"},funding:{url:"https://opencollective.com/pnpm"},optionalDependencies:{"@pnpm/linux-arm64":"11.1.1","@pnpm/linux-x64":"11.1.1","@pnpm/linuxstatic-arm64":"11.1.1","@pnpm/linuxstatic-x64":"11.1.1","@pnpm/macos-arm64":"11.1.1","@pnpm/win-arm64":"11.1.1","@pnpm/win-x64":"11.1.1"}},"node_modules/@pnpm/linux-arm64":{version:"11.1.1",resolved:"https://registry.npmjs.org/@pnpm/linux-arm64/-/linux-arm64-11.1.1.tgz",integrity:"sha512-u9hs51XV0/gU5LLfNLoQsozGKIxNjxsh/0xPr+8Hny0M38psa4lBtwFvarL2bLToPIrtueQYi65LdlzRxITRyg==",cpu:["arm64"],license:"MIT",optional:!0,os:["linux"],funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@pnpm/linux-x64":{version:"11.1.1",resolved:"https://registry.npmjs.org/@pnpm/linux-x64/-/linux-x64-11.1.1.tgz",integrity:"sha512-yQO9i57oyJmIG22BjV7sqLUT2syKQohiku8yNZRgp7M6wsVkikpVLLVSpBifQnrI/P/roueKnWSUEESH1aPaoA==",cpu:["x64"],license:"MIT",optional:!0,os:["linux"],funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@pnpm/linuxstatic-arm64":{version:"11.1.1",resolved:"https://registry.npmjs.org/@pnpm/linuxstatic-arm64/-/linuxstatic-arm64-11.1.1.tgz",integrity:"sha512-FUZB8L9Z8L5m88G0RTx5AsHFr5yUQPW+28zQdTNUWxiLwj11FW/fOLodYdcNYHdNJFepsZyqt3aRnpiqIdZb2g==",cpu:["arm64"],libc:["musl"],license:"MIT",optional:!0,os:["linux"],funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@pnpm/linuxstatic-x64":{version:"11.1.1",resolved:"https://registry.npmjs.org/@pnpm/linuxstatic-x64/-/linuxstatic-x64-11.1.1.tgz",integrity:"sha512-I/z56hfa1zM5F/Unup/1NrgsA+dcptsKQ2TjJLFz3wHKDx0RLrfF7DB0Rkpnr5IoAZ33v0GFZjlGhkOtc9VFGw==",cpu:["x64"],libc:["musl"],license:"MIT",optional:!0,os:["linux"],funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@pnpm/macos-arm64":{version:"11.1.1",resolved:"https://registry.npmjs.org/@pnpm/macos-arm64/-/macos-arm64-11.1.1.tgz",integrity:"sha512-YQu6fC27F4jTIpXhF+4PdzOV7uSnVVG9KUxj5W+AFj0XFlUvBw+I1NsoPCY6uV1nccxWpIAZOTZtSj8+hWPb8w==",cpu:["arm64"],license:"MIT",optional:!0,os:["darwin"],funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@pnpm/win-arm64":{version:"11.1.1",resolved:"https://registry.npmjs.org/@pnpm/win-arm64/-/win-arm64-11.1.1.tgz",integrity:"sha512-2HvZut3IcKPxzIfOjBJ4677PaLIh57mWccL86O+q71QhO5emnQvht0CE19IoEyUIOEe1WjlN+Su/dD5k6CuGyg==",cpu:["arm64"],license:"MIT",optional:!0,os:["win32"],funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@pnpm/win-x64":{version:"11.1.1",resolved:"https://registry.npmjs.org/@pnpm/win-x64/-/win-x64-11.1.1.tgz",integrity:"sha512-QXBIBErgPhGLovOVzTRIpHsejFKebyqlcF3fea/TfH87gkhN5yWH0WuTPRBoOWvpk6aNhjDW4RPUMx8RaPqxjw==",cpu:["x64"],license:"MIT",optional:!0,os:["win32"],funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@reflink/reflink":{version:"0.1.19",resolved:"https://registry.npmjs.org/@reflink/reflink/-/reflink-0.1.19.tgz",integrity:"sha512-DmCG8GzysnCZ15bres3N5AHCmwBwYgp0As6xjhQ47rAUTUXxJiK+lLUxaGsX3hd/30qUpVElh05PbGuxRPgJwA==",license:"MIT",engines:{node:">= 10"},optionalDependencies:{"@reflink/reflink-darwin-arm64":"0.1.19","@reflink/reflink-darwin-x64":"0.1.19","@reflink/reflink-linux-arm64-gnu":"0.1.19","@reflink/reflink-linux-arm64-musl":"0.1.19","@reflink/reflink-linux-x64-gnu":"0.1.19","@reflink/reflink-linux-x64-musl":"0.1.19","@reflink/reflink-win32-arm64-msvc":"0.1.19","@reflink/reflink-win32-x64-msvc":"0.1.19"}},"node_modules/@reflink/reflink-darwin-arm64":{version:"0.1.19",resolved:"https://registry.npmjs.org/@reflink/reflink-darwin-arm64/-/reflink-darwin-arm64-0.1.19.tgz",integrity:"sha512-ruy44Lpepdk1FqDz38vExBY/PVUsjxZA+chd9wozjUH9JjuDT/HEaQYA6wYN9mf041l0yLVar6BCZuWABJvHSA==",cpu:["arm64"],license:"MIT",optional:!0,os:["darwin"],engines:{node:">= 10"}},"node_modules/@reflink/reflink-darwin-x64":{version:"0.1.19",resolved:"https://registry.npmjs.org/@reflink/reflink-darwin-x64/-/reflink-darwin-x64-0.1.19.tgz",integrity:"sha512-By85MSWrMZa+c26TcnAy8SDk0sTUkYlNnwknSchkhHpGXOtjNDUOxJE9oByBnGbeuIE1PiQsxDG3Ud+IVV9yuA==",cpu:["x64"],license:"MIT",optional:!0,os:["darwin"],engines:{node:">= 10"}},"node_modules/@reflink/reflink-linux-arm64-gnu":{version:"0.1.19",resolved:"https://registry.npmjs.org/@reflink/reflink-linux-arm64-gnu/-/reflink-linux-arm64-gnu-0.1.19.tgz",integrity:"sha512-7P+er8+rP9iNeN+bfmccM4hTAaLP6PQJPKWSA4iSk2bNvo6KU6RyPgYeHxXmzNKzPVRcypZQTpFgstHam6maVg==",cpu:["arm64"],libc:["glibc"],license:"MIT",optional:!0,os:["linux"],engines:{node:">= 10"}},"node_modules/@reflink/reflink-linux-arm64-musl":{version:"0.1.19",resolved:"https://registry.npmjs.org/@reflink/reflink-linux-arm64-musl/-/reflink-linux-arm64-musl-0.1.19.tgz",integrity:"sha512-37iO/Dp6m5DDaC2sf3zPtx/hl9FV3Xze4xoYidrxxS9bgP3S8ALroxRK6xBG/1TtfXKTvolvp+IjrUU6ujIGmA==",cpu:["arm64"],libc:["musl"],license:"MIT",optional:!0,os:["linux"],engines:{node:">= 10"}},"node_modules/@reflink/reflink-linux-x64-gnu":{version:"0.1.19",resolved:"https://registry.npmjs.org/@reflink/reflink-linux-x64-gnu/-/reflink-linux-x64-gnu-0.1.19.tgz",integrity:"sha512-jbI8jvuYCaA3MVUdu8vLoLAFqC+iNMpiSuLbxlAgg7x3K5bsS8nOpTRnkLF7vISJ+rVR8W+7ThXlXlUQ93ulkw==",cpu:["x64"],libc:["glibc"],license:"MIT",optional:!0,os:["linux"],engines:{node:">= 10"}},"node_modules/@reflink/reflink-linux-x64-musl":{version:"0.1.19",resolved:"https://registry.npmjs.org/@reflink/reflink-linux-x64-musl/-/reflink-linux-x64-musl-0.1.19.tgz",integrity:"sha512-e9FBWDe+lv7QKAwtKOt6A2W/fyy/aEEfr0g6j/hWzvQcrzHCsz07BNQYlNOjTfeytrtLU7k449H1PI95jA4OjQ==",cpu:["x64"],libc:["musl"],license:"MIT",optional:!0,os:["linux"],engines:{node:">= 10"}},"node_modules/@reflink/reflink-win32-arm64-msvc":{version:"0.1.19",resolved:"https://registry.npmjs.org/@reflink/reflink-win32-arm64-msvc/-/reflink-win32-arm64-msvc-0.1.19.tgz",integrity:"sha512-09PxnVIQcd+UOn4WAW73WU6PXL7DwGS6wPlkMhMg2zlHHG65F3vHepOw06HFCq+N42qkaNAc8AKIabWvtk6cIQ==",cpu:["arm64"],license:"MIT",optional:!0,os:["win32"],engines:{node:">= 10"}},"node_modules/@reflink/reflink-win32-x64-msvc":{version:"0.1.19",resolved:"https://registry.npmjs.org/@reflink/reflink-win32-x64-msvc/-/reflink-win32-x64-msvc-0.1.19.tgz",integrity:"sha512-E//yT4ni2SyhwP8JRjVGWr3cbnhWDiPLgnQ66qqaanjjnMiu3O/2tjCPQXlcGc/DEYofpDc9fvhv6tALQsMV9w==",cpu:["x64"],license:"MIT",optional:!0,os:["win32"],engines:{node:">= 10"}},"node_modules/detect-libc":{version:"2.1.2",resolved:"https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",integrity:"sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",license:"Apache-2.0",engines:{node:">=8"}}}};var BBt=JSON.stringify({private:!0,dependencies:{"@pnpm/exe":l2.packages["node_modules/@pnpm/exe"].version}});async function IBt(t){let{version:e,dest:r,packageJsonFile:n}=t;await(0,lA.rm)(r,{recursive:!0,force:!0}),await(0,lA.mkdir)(r,{recursive:!0}),await(0,lA.writeFile)(Un.default.join(r,"package.json"),BBt),await(0,lA.writeFile)(Un.default.join(r,"package-lock.json"),JSON.stringify(l2));let i=Un.default.dirname(process.execPath),s=Object.keys(process.env).find(m=>m.toUpperCase()==="PATH")??"PATH",o=process.env[s],A={...process.env,[s]:o?o+Un.default.delimiter+i:i},a=await ppe("npm",["ci"],{cwd:r,env:A});if(a!==0){let m=Un.default.join(r,"node_modules",".bin");return{exitCode:a,binDest:m,pnpmHome:m}}let c=process.platform==="win32"?Un.default.join(r,"node_modules","@pnpm","exe"):Un.default.join(r,"node_modules",".bin");if((0,DE.addPath)(c),(0,DE.addPath)(Un.default.join(c,"bin")),(0,DE.exportVariable)("PNPM_HOME",c),process.platform!=="win32"){let m=Un.default.join(r,"node_modules",".bin","pnpm");(0,xE.existsSync)(m)||(await(0,lA.mkdir)(Un.default.join(r,"node_modules",".bin"),{recursive:!0}),await(0,lA.symlink)(Un.default.join("..","@pnpm","exe","pnpm"),m))}let l=Un.default.join(r,"node_modules","@pnpm","exe",process.platform==="win32"?"pnpm.exe":"pnpm"),u=yBt({version:e,packageJsonFile:n}),d=await ppe(l,["self-update",u],{cwd:r});if(d!==0)return{exitCode:d,binDest:c,pnpmHome:c};let f=Un.default.join(c,"bin");return{exitCode:0,binDest:(0,xE.existsSync)(f)?f:c,pnpmHome:c}}function yBt(t){let{version:e,packageJsonFile:r}=t,{GITHUB_WORKSPACE:n}=process.env,i,s;if(n)try{let A=(0,xE.readFileSync)(Un.default.join(n,r),"utf8"),a=r.endsWith(".yaml")?(0,Cpe.parse)(A,{merge:!0}):JSON.parse(A);i=a.packageManager,s=a.devEngines}catch(A){if(!Epe.default.types.isNativeError(A)||!("code"in A)||A.code!=="ENOENT")throw A}let o=typeof i=="string"&&i.startsWith("pnpm@")?i.slice(5).split("+")[0]:void 0;if(e){if(o&&o!==e)throw new Error(`Multiple versions of pnpm specified: +`,r)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let r=$N(e),n=Th(r);return n.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let r=$N(e),n=Th(r);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,r){return this.type!=="comment"||this.indent<=r?!1:e.every(n=>n.type==="newline"||n.type==="space")}*documentEnd(e){this.type!=="doc-mode"&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}};cpe.Parser=o2});var hpe=h(RE=>{"use strict";var lpe=zH(),eBt=CE(),SE=yE(),tBt=J1(),rBt=$e(),nBt=s2(),upe=A2();function dpe(t){let e=t.prettyErrors!==!1;return{lineCounter:t.lineCounter||e&&new nBt.LineCounter||null,prettyErrors:e}}function iBt(t,e={}){let{lineCounter:r,prettyErrors:n}=dpe(e),i=new upe.Parser(r?.addNewLine),s=new lpe.Composer(e),o=Array.from(s.compose(i.parse(t)));if(n&&r)for(let A of o)A.errors.forEach(SE.prettifyError(t,r)),A.warnings.forEach(SE.prettifyError(t,r));return o.length>0?o:Object.assign([],{empty:!0},s.streamInfo())}function gpe(t,e={}){let{lineCounter:r,prettyErrors:n}=dpe(e),i=new upe.Parser(r?.addNewLine),s=new lpe.Composer(e),o=null;for(let A of s.compose(i.parse(t),!0,t.length))if(!o)o=A;else if(o.options.logLevel!=="silent"){o.errors.push(new SE.YAMLParseError(A.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return n&&r&&(o.errors.forEach(SE.prettifyError(t,r)),o.warnings.forEach(SE.prettifyError(t,r))),o}function sBt(t,e,r){let n;typeof e=="function"?n=e:r===void 0&&e&&typeof e=="object"&&(r=e);let i=gpe(t,r);if(!i)return null;if(i.warnings.forEach(s=>tBt.warn(i.options.logLevel,s)),i.errors.length>0){if(i.options.logLevel!=="silent")throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:n},r))}function oBt(t,e,r){let n=null;if(typeof e=="function"||Array.isArray(e)?n=e:r===void 0&&e&&(r=e),typeof r=="string"&&(r=r.length),typeof r=="number"){let i=Math.round(r);r=i<1?void 0:i>8?{indent:8}:{indent:i}}if(t===void 0){let{keepUndefined:i}=r??e??{};if(!i)return}return rBt.isDocument(t)&&!n?t.toString(r):new eBt.Document(t,n,r).toString(r)}RE.parse=sBt;RE.parseAllDocuments=iBt;RE.parseDocument=gpe;RE.stringify=oBt});var c2=h(gt=>{"use strict";var ABt=zH(),aBt=CE(),cBt=SH(),a2=yE(),lBt=nE(),bc=$e(),uBt=Cc(),dBt=Dr(),gBt=Ic(),hBt=yc(),fBt=XN(),pBt=n2(),mBt=s2(),EBt=A2(),eS=hpe(),fpe=$m();gt.Composer=ABt.Composer;gt.Document=aBt.Document;gt.Schema=cBt.Schema;gt.YAMLError=a2.YAMLError;gt.YAMLParseError=a2.YAMLParseError;gt.YAMLWarning=a2.YAMLWarning;gt.Alias=lBt.Alias;gt.isAlias=bc.isAlias;gt.isCollection=bc.isCollection;gt.isDocument=bc.isDocument;gt.isMap=bc.isMap;gt.isNode=bc.isNode;gt.isPair=bc.isPair;gt.isScalar=bc.isScalar;gt.isSeq=bc.isSeq;gt.Pair=uBt.Pair;gt.Scalar=dBt.Scalar;gt.YAMLMap=gBt.YAMLMap;gt.YAMLSeq=hBt.YAMLSeq;gt.CST=fBt;gt.Lexer=pBt.Lexer;gt.LineCounter=mBt.LineCounter;gt.Parser=EBt.Parser;gt.parse=eS.parse;gt.parseAllDocuments=eS.parseAllDocuments;gt.parseDocument=eS.parseDocument;gt.stringify=eS.stringify;gt.visit=fpe.visit;gt.visitAsync=fpe.visitAsync});var wc=yt(Pt());var lge=yt(Hb()),Sh=yt(Pt());var sge=yt(Hb()),Ts=yt(Pt()),oge=yt(Rf()),Age=yt(ige()),age=yt(require("os"));async function cge(t){let e=await vft();(0,Ts.saveState)("cache_path",e);let r=await(0,Age.hashFiles)(t.cacheDependencyPath);if(!r)throw new Error("Some specified paths were not resolved, unable to cache dependencies.");let n=`pnpm-cache-${process.env.RUNNER_OS}-${age.default.arch()}-${r}`;(0,Ts.debug)(`Primary key is ${n}`),(0,Ts.saveState)("cache_primary_key",n);let i=await(0,sge.restoreCache)([e],n);if((0,Ts.setOutput)("cache-hit",!!i),!i){(0,Ts.info)("Cache is not found");return}(0,Ts.saveState)("cache_restored_key",i),(0,Ts.info)(`Cache restored from key: ${i}`)}async function vft(){let{stdout:t}=await(0,oge.getExecOutput)("pnpm store path --silent"),e=t.trim();return(0,Ts.debug)(`Cache folder is set to "${e}"`),e}async function kft(t){if(t.cache){if(!(0,lge.isFeatureAvailable)()){(0,Sh.warning)("Cache is not available, skipping cache restoration");return}(0,Sh.startGroup)("Restoring cache..."),await cge(t),(0,Sh.endGroup)()}}var uge=kft;var hge=yt(Pt());var dge=yt(Hb()),Zl=yt(Pt());async function gge(){let t=(0,Zl.getState)("cache_restored_key"),e=(0,Zl.getState)("cache_primary_key"),r=(0,Zl.getState)("cache_path");if(e===t){(0,Zl.info)(`Cache hit occurred on the primary key ${e}, not saving cache.`);return}await(0,dge.saveCache)([r],e)!=-1&&(0,Zl.info)(`Cache saved with the key: ${e}`)}async function _ft(t){if(t.cache)try{await gge()}catch(e){(0,hge.setFailed)(e.message)}}var fge=_ft;var $l=yt(Pt()),wge=yt(bge()),Nge=["node","bun","deno"],Hft={required:!0},R1=t=>(0,wge.default)((0,$l.getInput)(t,Hft));function Gft(){let t=(0,$l.getInput)("runtime").trim();if(!t)return;let e=t.indexOf("@"),r=(e===-1?t:t.slice(0,e)).trim(),n=e===-1?void 0:t.slice(e+1).trim();if(!Yft(r))throw new Error(`Invalid \`runtime\` input "${t}". Expected \`\` or \`@\` where name is one of: ${Nge.join(", ")}.`);if(n!==void 0&&n==="")throw new Error(`Invalid \`runtime\` input "${t}". Trailing \`@\` with no version.`);return{name:r,version:n}}function Yft(t){return Nge.includes(t)}var Jft=()=>({version:(0,$l.getInput)("version"),dest:R1("dest"),cache:(0,$l.getBooleanInput)("cache"),cacheDependencyPath:R1("cache-dependency-path"),packageJsonFile:R1("package-json-file"),runtime:Gft(),install:(0,$l.getBooleanInput)("install")}),Sge=Jft;var Uh=yt(Pt());var DE=yt(Pt()),mpe=require("child_process"),lA=require("fs/promises"),xE=require("fs"),Un=yt(require("path")),Epe=yt(require("util")),Cpe=yt(c2());var l2={name:"bootstrap-exe",lockfileVersion:3,requires:!0,packages:{"":{dependencies:{"@pnpm/exe":"11.7.0"}},"node_modules/@pnpm/exe":{version:"11.7.0",resolved:"https://registry.npmjs.org/@pnpm/exe/-/exe-11.7.0.tgz",integrity:"sha512-3CujpSSp2PIDE0pwu7mWSdjhdDqaZa7OppVooECWWaNEoA/z66s9FZts1MhDO+2yq1XER4gBHh84DVbFN/r1rA==",hasInstallScript:!0,license:"MIT",dependencies:{"@reflink/reflink":"0.1.19","detect-libc":"^2.1.2"},bin:{pn:"pn",pnpm:"pnpm",pnpx:"pnpx",pnx:"pnx"},funding:{url:"https://opencollective.com/pnpm"},optionalDependencies:{"@pnpm/linux-arm64":"11.7.0","@pnpm/linux-x64":"11.7.0","@pnpm/linuxstatic-arm64":"11.7.0","@pnpm/linuxstatic-x64":"11.7.0","@pnpm/macos-arm64":"11.7.0","@pnpm/win-arm64":"11.7.0","@pnpm/win-x64":"11.7.0"}},"node_modules/@pnpm/linux-arm64":{version:"11.7.0",resolved:"https://registry.npmjs.org/@pnpm/linux-arm64/-/linux-arm64-11.7.0.tgz",integrity:"sha512-ANTX2SlMO+d2y/4bYQhHCwHPX7gSSADJ5+pMUIiDFzIsybnFFaJdZboaFfq9NOxCbETcnDxqZ95Rz3+NHx1JIw==",cpu:["arm64"],license:"MIT",optional:!0,os:["linux"],funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@pnpm/linux-x64":{version:"11.7.0",resolved:"https://registry.npmjs.org/@pnpm/linux-x64/-/linux-x64-11.7.0.tgz",integrity:"sha512-fr75tqixXoS8cnA81HQIomjOGEPnsOsd3xCDL5pMNY5raOXbKurtgRV+RjATvjxlJxSLIVFKegABlxAiB7q72A==",cpu:["x64"],license:"MIT",optional:!0,os:["linux"],funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@pnpm/linuxstatic-arm64":{version:"11.7.0",resolved:"https://registry.npmjs.org/@pnpm/linuxstatic-arm64/-/linuxstatic-arm64-11.7.0.tgz",integrity:"sha512-Q++pgzvXkGeqnVRl26/uqmpMGdttQus0rGyL3XIfYGLCi8ZfajYUaCKdZID2MH7+CNOuugWDdFDup3r7BR7Rfg==",cpu:["arm64"],libc:["musl"],license:"MIT",optional:!0,os:["linux"],funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@pnpm/linuxstatic-x64":{version:"11.7.0",resolved:"https://registry.npmjs.org/@pnpm/linuxstatic-x64/-/linuxstatic-x64-11.7.0.tgz",integrity:"sha512-z1+exW6ocU/rmOvJnmU3FUBJYaryCUqFoaXN6KZW5BqTj7BPJb7HJcAyXRlirNZMJlEiUY5rXbfStGPQJhGsVA==",cpu:["x64"],libc:["musl"],license:"MIT",optional:!0,os:["linux"],funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@pnpm/macos-arm64":{version:"11.7.0",resolved:"https://registry.npmjs.org/@pnpm/macos-arm64/-/macos-arm64-11.7.0.tgz",integrity:"sha512-gD34/k3JT5oab4BYaqrUor3e4VdwXvkfLNlEI+lvDtX1MHT+2Nauc9p9NsQnpn1zE8blQEflzbF8wAUQ6Dmvkw==",cpu:["arm64"],license:"MIT",optional:!0,os:["darwin"],funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@pnpm/win-arm64":{version:"11.7.0",resolved:"https://registry.npmjs.org/@pnpm/win-arm64/-/win-arm64-11.7.0.tgz",integrity:"sha512-hRTcDmm2j7KoRwbqNo0rUAu9A1kVJN98Eob7H09U0uPJbEMax85JGOmERkT3Lf6HjVJuFNBvfaJ3OTI3HmlVGg==",cpu:["arm64"],license:"MIT",optional:!0,os:["win32"],funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@pnpm/win-x64":{version:"11.7.0",resolved:"https://registry.npmjs.org/@pnpm/win-x64/-/win-x64-11.7.0.tgz",integrity:"sha512-r/1NuKY7Z+6ZXVIzVrUEMj6TTEBdR63geV4Rlm8HKEhgQTdxyIsJoqV3FJGqoyzbRaScObqAwRfMaK9dskPddQ==",cpu:["x64"],license:"MIT",optional:!0,os:["win32"],funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@reflink/reflink":{version:"0.1.19",resolved:"https://registry.npmjs.org/@reflink/reflink/-/reflink-0.1.19.tgz",integrity:"sha512-DmCG8GzysnCZ15bres3N5AHCmwBwYgp0As6xjhQ47rAUTUXxJiK+lLUxaGsX3hd/30qUpVElh05PbGuxRPgJwA==",license:"MIT",engines:{node:">= 10"},optionalDependencies:{"@reflink/reflink-darwin-arm64":"0.1.19","@reflink/reflink-darwin-x64":"0.1.19","@reflink/reflink-linux-arm64-gnu":"0.1.19","@reflink/reflink-linux-arm64-musl":"0.1.19","@reflink/reflink-linux-x64-gnu":"0.1.19","@reflink/reflink-linux-x64-musl":"0.1.19","@reflink/reflink-win32-arm64-msvc":"0.1.19","@reflink/reflink-win32-x64-msvc":"0.1.19"}},"node_modules/@reflink/reflink-darwin-arm64":{version:"0.1.19",resolved:"https://registry.npmjs.org/@reflink/reflink-darwin-arm64/-/reflink-darwin-arm64-0.1.19.tgz",integrity:"sha512-ruy44Lpepdk1FqDz38vExBY/PVUsjxZA+chd9wozjUH9JjuDT/HEaQYA6wYN9mf041l0yLVar6BCZuWABJvHSA==",cpu:["arm64"],license:"MIT",optional:!0,os:["darwin"],engines:{node:">= 10"}},"node_modules/@reflink/reflink-darwin-x64":{version:"0.1.19",resolved:"https://registry.npmjs.org/@reflink/reflink-darwin-x64/-/reflink-darwin-x64-0.1.19.tgz",integrity:"sha512-By85MSWrMZa+c26TcnAy8SDk0sTUkYlNnwknSchkhHpGXOtjNDUOxJE9oByBnGbeuIE1PiQsxDG3Ud+IVV9yuA==",cpu:["x64"],license:"MIT",optional:!0,os:["darwin"],engines:{node:">= 10"}},"node_modules/@reflink/reflink-linux-arm64-gnu":{version:"0.1.19",resolved:"https://registry.npmjs.org/@reflink/reflink-linux-arm64-gnu/-/reflink-linux-arm64-gnu-0.1.19.tgz",integrity:"sha512-7P+er8+rP9iNeN+bfmccM4hTAaLP6PQJPKWSA4iSk2bNvo6KU6RyPgYeHxXmzNKzPVRcypZQTpFgstHam6maVg==",cpu:["arm64"],libc:["glibc"],license:"MIT",optional:!0,os:["linux"],engines:{node:">= 10"}},"node_modules/@reflink/reflink-linux-arm64-musl":{version:"0.1.19",resolved:"https://registry.npmjs.org/@reflink/reflink-linux-arm64-musl/-/reflink-linux-arm64-musl-0.1.19.tgz",integrity:"sha512-37iO/Dp6m5DDaC2sf3zPtx/hl9FV3Xze4xoYidrxxS9bgP3S8ALroxRK6xBG/1TtfXKTvolvp+IjrUU6ujIGmA==",cpu:["arm64"],libc:["musl"],license:"MIT",optional:!0,os:["linux"],engines:{node:">= 10"}},"node_modules/@reflink/reflink-linux-x64-gnu":{version:"0.1.19",resolved:"https://registry.npmjs.org/@reflink/reflink-linux-x64-gnu/-/reflink-linux-x64-gnu-0.1.19.tgz",integrity:"sha512-jbI8jvuYCaA3MVUdu8vLoLAFqC+iNMpiSuLbxlAgg7x3K5bsS8nOpTRnkLF7vISJ+rVR8W+7ThXlXlUQ93ulkw==",cpu:["x64"],libc:["glibc"],license:"MIT",optional:!0,os:["linux"],engines:{node:">= 10"}},"node_modules/@reflink/reflink-linux-x64-musl":{version:"0.1.19",resolved:"https://registry.npmjs.org/@reflink/reflink-linux-x64-musl/-/reflink-linux-x64-musl-0.1.19.tgz",integrity:"sha512-e9FBWDe+lv7QKAwtKOt6A2W/fyy/aEEfr0g6j/hWzvQcrzHCsz07BNQYlNOjTfeytrtLU7k449H1PI95jA4OjQ==",cpu:["x64"],libc:["musl"],license:"MIT",optional:!0,os:["linux"],engines:{node:">= 10"}},"node_modules/@reflink/reflink-win32-arm64-msvc":{version:"0.1.19",resolved:"https://registry.npmjs.org/@reflink/reflink-win32-arm64-msvc/-/reflink-win32-arm64-msvc-0.1.19.tgz",integrity:"sha512-09PxnVIQcd+UOn4WAW73WU6PXL7DwGS6wPlkMhMg2zlHHG65F3vHepOw06HFCq+N42qkaNAc8AKIabWvtk6cIQ==",cpu:["arm64"],license:"MIT",optional:!0,os:["win32"],engines:{node:">= 10"}},"node_modules/@reflink/reflink-win32-x64-msvc":{version:"0.1.19",resolved:"https://registry.npmjs.org/@reflink/reflink-win32-x64-msvc/-/reflink-win32-x64-msvc-0.1.19.tgz",integrity:"sha512-E//yT4ni2SyhwP8JRjVGWr3cbnhWDiPLgnQ66qqaanjjnMiu3O/2tjCPQXlcGc/DEYofpDc9fvhv6tALQsMV9w==",cpu:["x64"],license:"MIT",optional:!0,os:["win32"],engines:{node:">= 10"}},"node_modules/detect-libc":{version:"2.1.2",resolved:"https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",integrity:"sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",license:"Apache-2.0",engines:{node:">=8"}}}};var BBt=JSON.stringify({private:!0,dependencies:{"@pnpm/exe":l2.packages["node_modules/@pnpm/exe"].version}});async function IBt(t){let{version:e,dest:r,packageJsonFile:n}=t;await(0,lA.rm)(r,{recursive:!0,force:!0}),await(0,lA.mkdir)(r,{recursive:!0}),await(0,lA.writeFile)(Un.default.join(r,"package.json"),BBt),await(0,lA.writeFile)(Un.default.join(r,"package-lock.json"),JSON.stringify(l2));let i=Un.default.dirname(process.execPath),s=Object.keys(process.env).find(m=>m.toUpperCase()==="PATH")??"PATH",o=process.env[s],A={...process.env,[s]:o?o+Un.default.delimiter+i:i},a=await ppe("npm",["ci"],{cwd:r,env:A});if(a!==0){let m=Un.default.join(r,"node_modules",".bin");return{exitCode:a,binDest:m,pnpmHome:m}}let c=process.platform==="win32"?Un.default.join(r,"node_modules","@pnpm","exe"):Un.default.join(r,"node_modules",".bin");if((0,DE.addPath)(c),(0,DE.addPath)(Un.default.join(c,"bin")),(0,DE.exportVariable)("PNPM_HOME",c),process.platform!=="win32"){let m=Un.default.join(r,"node_modules",".bin","pnpm");(0,xE.existsSync)(m)||(await(0,lA.mkdir)(Un.default.join(r,"node_modules",".bin"),{recursive:!0}),await(0,lA.symlink)(Un.default.join("..","@pnpm","exe","pnpm"),m))}let l=Un.default.join(r,"node_modules","@pnpm","exe",process.platform==="win32"?"pnpm.exe":"pnpm"),u=yBt({version:e,packageJsonFile:n}),d=await ppe(l,["self-update",u],{cwd:r});if(d!==0)return{exitCode:d,binDest:c,pnpmHome:c};let f=Un.default.join(c,"bin");return{exitCode:0,binDest:(0,xE.existsSync)(f)?f:c,pnpmHome:c}}function yBt(t){let{version:e,packageJsonFile:r}=t,{GITHUB_WORKSPACE:n}=process.env,i,s;if(n)try{let A=(0,xE.readFileSync)(Un.default.join(n,r),"utf8"),a=r.endsWith(".yaml")?(0,Cpe.parse)(A,{merge:!0}):JSON.parse(A);i=a.packageManager,s=a.devEngines}catch(A){if(!Epe.default.types.isNativeError(A)||!("code"in A)||A.code!=="ENOENT")throw A}let o=typeof i=="string"&&i.startsWith("pnpm@")?i.slice(5).split("+")[0]:void 0;if(e){if(o&&o!==e)throw new Error(`Multiple versions of pnpm specified: - version ${e} in the GitHub Action config with the key "version" - version ${i} in the package.json with the key "packageManager" Remove one of these versions to avoid version mismatch errors like ERR_PNPM_BAD_PM_VERSION`);return e}if(s?.packageManager?.name==="pnpm"&&s.packageManager.version)return s.packageManager.version;if(o)return o;throw n?new Error(`No pnpm version is specified. diff --git a/src/install-pnpm/bootstrap/exe-lock.json b/src/install-pnpm/bootstrap/exe-lock.json index 2c42fc3..90af9fd 100644 --- a/src/install-pnpm/bootstrap/exe-lock.json +++ b/src/install-pnpm/bootstrap/exe-lock.json @@ -5,18 +5,18 @@ "packages": { "": { "dependencies": { - "@pnpm/exe": "11.1.1" + "@pnpm/exe": "11.7.0" } }, "node_modules/@pnpm/exe": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/@pnpm/exe/-/exe-11.1.1.tgz", - "integrity": "sha512-5mQnDW1NCBRRWA+cnGhQO+tIrfSfWm3/IyGxU88LnT+tzNW5UrwwKfjsnnYJToyAjIfdfEJtJKUxCvP+mhA+nQ==", + "version": "11.7.0", + "resolved": "https://registry.npmjs.org/@pnpm/exe/-/exe-11.7.0.tgz", + "integrity": "sha512-3CujpSSp2PIDE0pwu7mWSdjhdDqaZa7OppVooECWWaNEoA/z66s9FZts1MhDO+2yq1XER4gBHh84DVbFN/r1rA==", "hasInstallScript": true, "license": "MIT", "dependencies": { "@reflink/reflink": "0.1.19", - "detect-libc": "^2.0.3" + "detect-libc": "^2.1.2" }, "bin": { "pn": "pn", @@ -28,19 +28,19 @@ "url": "https://opencollective.com/pnpm" }, "optionalDependencies": { - "@pnpm/linux-arm64": "11.1.1", - "@pnpm/linux-x64": "11.1.1", - "@pnpm/linuxstatic-arm64": "11.1.1", - "@pnpm/linuxstatic-x64": "11.1.1", - "@pnpm/macos-arm64": "11.1.1", - "@pnpm/win-arm64": "11.1.1", - "@pnpm/win-x64": "11.1.1" + "@pnpm/linux-arm64": "11.7.0", + "@pnpm/linux-x64": "11.7.0", + "@pnpm/linuxstatic-arm64": "11.7.0", + "@pnpm/linuxstatic-x64": "11.7.0", + "@pnpm/macos-arm64": "11.7.0", + "@pnpm/win-arm64": "11.7.0", + "@pnpm/win-x64": "11.7.0" } }, "node_modules/@pnpm/linux-arm64": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/@pnpm/linux-arm64/-/linux-arm64-11.1.1.tgz", - "integrity": "sha512-u9hs51XV0/gU5LLfNLoQsozGKIxNjxsh/0xPr+8Hny0M38psa4lBtwFvarL2bLToPIrtueQYi65LdlzRxITRyg==", + "version": "11.7.0", + "resolved": "https://registry.npmjs.org/@pnpm/linux-arm64/-/linux-arm64-11.7.0.tgz", + "integrity": "sha512-ANTX2SlMO+d2y/4bYQhHCwHPX7gSSADJ5+pMUIiDFzIsybnFFaJdZboaFfq9NOxCbETcnDxqZ95Rz3+NHx1JIw==", "cpu": [ "arm64" ], @@ -54,9 +54,9 @@ } }, "node_modules/@pnpm/linux-x64": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/@pnpm/linux-x64/-/linux-x64-11.1.1.tgz", - "integrity": "sha512-yQO9i57oyJmIG22BjV7sqLUT2syKQohiku8yNZRgp7M6wsVkikpVLLVSpBifQnrI/P/roueKnWSUEESH1aPaoA==", + "version": "11.7.0", + "resolved": "https://registry.npmjs.org/@pnpm/linux-x64/-/linux-x64-11.7.0.tgz", + "integrity": "sha512-fr75tqixXoS8cnA81HQIomjOGEPnsOsd3xCDL5pMNY5raOXbKurtgRV+RjATvjxlJxSLIVFKegABlxAiB7q72A==", "cpu": [ "x64" ], @@ -70,9 +70,9 @@ } }, "node_modules/@pnpm/linuxstatic-arm64": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/@pnpm/linuxstatic-arm64/-/linuxstatic-arm64-11.1.1.tgz", - "integrity": "sha512-FUZB8L9Z8L5m88G0RTx5AsHFr5yUQPW+28zQdTNUWxiLwj11FW/fOLodYdcNYHdNJFepsZyqt3aRnpiqIdZb2g==", + "version": "11.7.0", + "resolved": "https://registry.npmjs.org/@pnpm/linuxstatic-arm64/-/linuxstatic-arm64-11.7.0.tgz", + "integrity": "sha512-Q++pgzvXkGeqnVRl26/uqmpMGdttQus0rGyL3XIfYGLCi8ZfajYUaCKdZID2MH7+CNOuugWDdFDup3r7BR7Rfg==", "cpu": [ "arm64" ], @@ -89,9 +89,9 @@ } }, "node_modules/@pnpm/linuxstatic-x64": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/@pnpm/linuxstatic-x64/-/linuxstatic-x64-11.1.1.tgz", - "integrity": "sha512-I/z56hfa1zM5F/Unup/1NrgsA+dcptsKQ2TjJLFz3wHKDx0RLrfF7DB0Rkpnr5IoAZ33v0GFZjlGhkOtc9VFGw==", + "version": "11.7.0", + "resolved": "https://registry.npmjs.org/@pnpm/linuxstatic-x64/-/linuxstatic-x64-11.7.0.tgz", + "integrity": "sha512-z1+exW6ocU/rmOvJnmU3FUBJYaryCUqFoaXN6KZW5BqTj7BPJb7HJcAyXRlirNZMJlEiUY5rXbfStGPQJhGsVA==", "cpu": [ "x64" ], @@ -108,9 +108,9 @@ } }, "node_modules/@pnpm/macos-arm64": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/@pnpm/macos-arm64/-/macos-arm64-11.1.1.tgz", - "integrity": "sha512-YQu6fC27F4jTIpXhF+4PdzOV7uSnVVG9KUxj5W+AFj0XFlUvBw+I1NsoPCY6uV1nccxWpIAZOTZtSj8+hWPb8w==", + "version": "11.7.0", + "resolved": "https://registry.npmjs.org/@pnpm/macos-arm64/-/macos-arm64-11.7.0.tgz", + "integrity": "sha512-gD34/k3JT5oab4BYaqrUor3e4VdwXvkfLNlEI+lvDtX1MHT+2Nauc9p9NsQnpn1zE8blQEflzbF8wAUQ6Dmvkw==", "cpu": [ "arm64" ], @@ -124,9 +124,9 @@ } }, "node_modules/@pnpm/win-arm64": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/@pnpm/win-arm64/-/win-arm64-11.1.1.tgz", - "integrity": "sha512-2HvZut3IcKPxzIfOjBJ4677PaLIh57mWccL86O+q71QhO5emnQvht0CE19IoEyUIOEe1WjlN+Su/dD5k6CuGyg==", + "version": "11.7.0", + "resolved": "https://registry.npmjs.org/@pnpm/win-arm64/-/win-arm64-11.7.0.tgz", + "integrity": "sha512-hRTcDmm2j7KoRwbqNo0rUAu9A1kVJN98Eob7H09U0uPJbEMax85JGOmERkT3Lf6HjVJuFNBvfaJ3OTI3HmlVGg==", "cpu": [ "arm64" ], @@ -140,9 +140,9 @@ } }, "node_modules/@pnpm/win-x64": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/@pnpm/win-x64/-/win-x64-11.1.1.tgz", - "integrity": "sha512-QXBIBErgPhGLovOVzTRIpHsejFKebyqlcF3fea/TfH87gkhN5yWH0WuTPRBoOWvpk6aNhjDW4RPUMx8RaPqxjw==", + "version": "11.7.0", + "resolved": "https://registry.npmjs.org/@pnpm/win-x64/-/win-x64-11.7.0.tgz", + "integrity": "sha512-r/1NuKY7Z+6ZXVIzVrUEMj6TTEBdR63geV4Rlm8HKEhgQTdxyIsJoqV3FJGqoyzbRaScObqAwRfMaK9dskPddQ==", "cpu": [ "x64" ],