mirror of
https://github.com/docker/setup-docker-action.git
synced 2026-11-08 09:01:40 +05:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
69b561f709 | ||
|
|
c33ee55bce | ||
|
|
12e445b81b | ||
|
|
60457dabd3 |
No files matched your search
@@ -23,6 +23,7 @@ jobs:
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- macos-13
|
||||
- macos-latest
|
||||
- windows-latest
|
||||
version:
|
||||
@@ -181,7 +182,13 @@ jobs:
|
||||
uses: crazy-max/ghaction-dump-context@v2
|
||||
|
||||
build-macos:
|
||||
runs-on: macos-latest
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os:
|
||||
- macos-13
|
||||
- macos-latest
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
|
||||
+5
-5
@@ -1,10 +1,10 @@
|
||||
require('./sourcemap-register.js');(()=>{var r={7351:function(r,A,s){"use strict";var i=this&&this.__createBinding||(Object.create?function(r,A,s,i){if(i===undefined)i=s;Object.defineProperty(r,i,{enumerable:true,get:function(){return A[s]}})}:function(r,A,s,i){if(i===undefined)i=s;r[i]=A[s]});var a=this&&this.__setModuleDefault||(Object.create?function(r,A){Object.defineProperty(r,"default",{enumerable:true,value:A})}:function(r,A){r["default"]=A});var c=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var A={};if(r!=null)for(var s in r)if(s!=="default"&&Object.hasOwnProperty.call(r,s))i(A,r,s);a(A,r);return A};Object.defineProperty(A,"__esModule",{value:true});A.issue=A.issueCommand=void 0;const l=c(s(2037));const u=s(5278);function issueCommand(r,A,s){const i=new Command(r,A,s);process.stdout.write(i.toString()+l.EOL)}A.issueCommand=issueCommand;function issue(r,A=""){issueCommand(r,{},A)}A.issue=issue;const g="::";class Command{constructor(r,A,s){if(!r){r="missing.command"}this.command=r;this.properties=A;this.message=s}toString(){let r=g+this.command;if(this.properties&&Object.keys(this.properties).length>0){r+=" ";let A=true;for(const s in this.properties){if(this.properties.hasOwnProperty(s)){const i=this.properties[s];if(i){if(A){A=false}else{r+=","}r+=`${s}=${escapeProperty(i)}`}}}}r+=`${g}${escapeData(this.message)}`;return r}}function escapeData(r){return u.toCommandValue(r).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(r){return u.toCommandValue(r).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},2186:function(r,A,s){"use strict";var i=this&&this.__createBinding||(Object.create?function(r,A,s,i){if(i===undefined)i=s;Object.defineProperty(r,i,{enumerable:true,get:function(){return A[s]}})}:function(r,A,s,i){if(i===undefined)i=s;r[i]=A[s]});var a=this&&this.__setModuleDefault||(Object.create?function(r,A){Object.defineProperty(r,"default",{enumerable:true,value:A})}:function(r,A){r["default"]=A});var c=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var A={};if(r!=null)for(var s in r)if(s!=="default"&&Object.hasOwnProperty.call(r,s))i(A,r,s);a(A,r);return A};var l=this&&this.__awaiter||function(r,A,s,i){function adopt(r){return r instanceof s?r:new s((function(A){A(r)}))}return new(s||(s=Promise))((function(s,a){function fulfilled(r){try{step(i.next(r))}catch(r){a(r)}}function rejected(r){try{step(i["throw"](r))}catch(r){a(r)}}function step(r){r.done?s(r.value):adopt(r.value).then(fulfilled,rejected)}step((i=i.apply(r,A||[])).next())}))};Object.defineProperty(A,"__esModule",{value:true});A.getIDToken=A.getState=A.saveState=A.group=A.endGroup=A.startGroup=A.info=A.notice=A.warning=A.error=A.debug=A.isDebug=A.setFailed=A.setCommandEcho=A.setOutput=A.getBooleanInput=A.getMultilineInput=A.getInput=A.addPath=A.setSecret=A.exportVariable=A.ExitCode=void 0;const u=s(7351);const g=s(717);const h=s(5278);const d=c(s(2037));const p=c(s(1017));const E=s(8041);var C;(function(r){r[r["Success"]=0]="Success";r[r["Failure"]=1]="Failure"})(C=A.ExitCode||(A.ExitCode={}));function exportVariable(r,A){const s=h.toCommandValue(A);process.env[r]=s;const i=process.env["GITHUB_ENV"]||"";if(i){return g.issueFileCommand("ENV",g.prepareKeyValueMessage(r,A))}u.issueCommand("set-env",{name:r},s)}A.exportVariable=exportVariable;function setSecret(r){u.issueCommand("add-mask",{},r)}A.setSecret=setSecret;function addPath(r){const A=process.env["GITHUB_PATH"]||"";if(A){g.issueFileCommand("PATH",r)}else{u.issueCommand("add-path",{},r)}process.env["PATH"]=`${r}${p.delimiter}${process.env["PATH"]}`}A.addPath=addPath;function getInput(r,A){const s=process.env[`INPUT_${r.replace(/ /g,"_").toUpperCase()}`]||"";if(A&&A.required&&!s){throw new Error(`Input required and not supplied: ${r}`)}if(A&&A.trimWhitespace===false){return s}return s.trim()}A.getInput=getInput;function getMultilineInput(r,A){const s=getInput(r,A).split("\n").filter((r=>r!==""));if(A&&A.trimWhitespace===false){return s}return s.map((r=>r.trim()))}A.getMultilineInput=getMultilineInput;function getBooleanInput(r,A){const s=["true","True","TRUE"];const i=["false","False","FALSE"];const a=getInput(r,A);if(s.includes(a))return true;if(i.includes(a))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${r}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}A.getBooleanInput=getBooleanInput;function setOutput(r,A){const s=process.env["GITHUB_OUTPUT"]||"";if(s){return g.issueFileCommand("OUTPUT",g.prepareKeyValueMessage(r,A))}process.stdout.write(d.EOL);u.issueCommand("set-output",{name:r},h.toCommandValue(A))}A.setOutput=setOutput;function setCommandEcho(r){u.issue("echo",r?"on":"off")}A.setCommandEcho=setCommandEcho;function setFailed(r){process.exitCode=C.Failure;error(r)}A.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}A.isDebug=isDebug;functiLine truncated
|
||||
require('./sourcemap-register.js');(()=>{var e={7351:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var A=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);A(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.issue=t.issueCommand=void 0;const o=s(r(2037));const i=r(5278);function issueCommand(e,t,r){const n=new Command(e,t,r);process.stdout.write(n.toString()+o.EOL)}t.issueCommand=issueCommand;function issue(e,t=""){issueCommand(e,{},t)}t.issue=issue;const a="::";class Command{constructor(e,t,r){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=r}toString(){let e=a+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const r in this.properties){if(this.properties.hasOwnProperty(r)){const n=this.properties[r];if(n){if(t){t=false}else{e+=","}e+=`${r}=${escapeProperty(n)}`}}}}e+=`${a}${escapeData(this.message)}`;return e}}function escapeData(e){return i.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return i.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},2186:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var A=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);A(t,e);return t};var o=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,A){function fulfilled(e){try{step(n.next(e))}catch(e){A(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){A(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getIDToken=t.getState=t.saveState=t.group=t.endGroup=t.startGroup=t.info=t.notice=t.warning=t.error=t.debug=t.isDebug=t.setFailed=t.setCommandEcho=t.setOutput=t.getBooleanInput=t.getMultilineInput=t.getInput=t.addPath=t.setSecret=t.exportVariable=t.ExitCode=void 0;const i=r(7351);const a=r(717);const c=r(5278);const l=s(r(2037));const u=s(r(1017));const g=r(8041);var h;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(h=t.ExitCode||(t.ExitCode={}));function exportVariable(e,t){const r=c.toCommandValue(t);process.env[e]=r;const n=process.env["GITHUB_ENV"]||"";if(n){return a.issueFileCommand("ENV",a.prepareKeyValueMessage(e,t))}i.issueCommand("set-env",{name:e},r)}t.exportVariable=exportVariable;function setSecret(e){i.issueCommand("add-mask",{},e)}t.setSecret=setSecret;function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){a.issueFileCommand("PATH",e)}else{i.issueCommand("add-path",{},e)}process.env["PATH"]=`${e}${u.delimiter}${process.env["PATH"]}`}t.addPath=addPath;function getInput(e,t){const r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r){throw new Error(`Input required and not supplied: ${e}`)}if(t&&t.trimWhitespace===false){return r}return r.trim()}t.getInput=getInput;function getMultilineInput(e,t){const r=getInput(e,t).split("\n").filter((e=>e!==""));if(t&&t.trimWhitespace===false){return r}return r.map((e=>e.trim()))}t.getMultilineInput=getMultilineInput;function getBooleanInput(e,t){const r=["true","True","TRUE"];const n=["false","False","FALSE"];const A=getInput(e,t);if(r.includes(A))return true;if(n.includes(A))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}t.getBooleanInput=getBooleanInput;function setOutput(e,t){const r=process.env["GITHUB_OUTPUT"]||"";if(r){return a.issueFileCommand("OUTPUT",a.prepareKeyValueMessage(e,t))}process.stdout.write(l.EOL);i.issueCommand("set-output",{name:e},c.toCommandValue(t))}t.setOutput=setOutput;function setCommandEcho(e){i.issue("echo",e?"on":"off")}t.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=h.Failure;error(e)}t.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}t.isDebug=isDebug;functiLine truncated
|
||||
/*!
|
||||
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
||||
*
|
||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/function isObject(r){return Object.prototype.toString.call(r)==="[object Object]"}function isPlainObject(r){var A,s;if(isObject(r)===false)return false;A=r.constructor;if(A===undefined)return true;s=A.prototype;if(isObject(s)===false)return false;if(s.hasOwnProperty("isPrototypeOf")===false){return false}return true}A.isPlainObject=isPlainObject},1917:(r,A,s)=>{"use strict";var i=s(1161);var a=s(8866);function renamed(r,A){return function(){throw new Error("Function yaml."+r+" is removed in js-yaml 4. "+"Use yaml."+A+" instead, which is now safe by default.")}}r.exports.Type=s(6073);r.exports.Schema=s(1082);r.exports.FAILSAFE_SCHEMA=s(8562);r.exports.JSON_SCHEMA=s(1035);r.exports.CORE_SCHEMA=s(2011);r.exports.DEFAULT_SCHEMA=s(8759);r.exports.load=i.load;r.exports.loadAll=i.loadAll;r.exports.dump=a.dump;r.exports.YAMLException=s(8179);r.exports.types={binary:s(7900),float:s(2705),map:s(6150),null:s(721),pairs:s(6860),set:s(9548),timestamp:s(9212),bool:s(4993),int:s(1615),merge:s(6104),omap:s(9046),seq:s(7283),str:s(3619)};r.exports.safeLoad=renamed("safeLoad","load");r.exports.safeLoadAll=renamed("safeLoadAll","loadAll");r.exports.safeDump=renamed("safeDump","dump")},6829:r=>{"use strict";function isNothing(r){return typeof r==="undefined"||r===null}function isObject(r){return typeof r==="object"&&r!==null}function toArray(r){if(Array.isArray(r))return r;else if(isNothing(r))return[];return[r]}function extend(r,A){var s,i,a,c;if(A){c=Object.keys(A);for(s=0,i=c.length;s<i;s+=1){a=c[s];r[a]=A[a]}}return r}function repeat(r,A){var s="",i;for(i=0;i<A;i+=1){s+=r}return s}function isNegativeZero(r){return r===0&&Number.NEGATIVE_INFINITY===1/r}r.exports.isNothing=isNothing;r.exports.isObject=isObject;r.exports.toArray=toArray;r.exports.repeat=repeat;r.exports.isNegativeZero=isNegativeZero;r.exports.extend=extend},8866:(r,A,s)=>{"use strict";var i=s(6829);var a=s(8179);var c=s(8759);var l=Object.prototype.toString;var u=Object.prototype.hasOwnProperty;var g=65279;var h=9;var d=10;var p=13;var E=32;var C=33;var I=34;var Q=35;var B=37;var m=38;var y=39;var w=42;var b=44;var R=45;var k=58;var v=61;var S=62;var D=63;var _=64;var T=91;var N=93;var F=96;var L=123;var U=124;var M=125;var O={};O[0]="\\0";O[7]="\\a";O[8]="\\b";O[9]="\\t";O[10]="\\n";O[11]="\\v";O[12]="\\f";O[13]="\\r";O[27]="\\e";O[34]='\\"';O[92]="\\\\";O[133]="\\N";O[160]="\\_";O[8232]="\\L";O[8233]="\\P";var G=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];var P=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function compileStyleMap(r,A){var s,i,a,c,l,g,h;if(A===null)return{};s={};i=Object.keys(A);for(a=0,c=i.length;a<c;a+=1){l=i[a];g=String(A[l]);if(l.slice(0,2)==="!!"){l="tag:yaml.org,2002:"+l.slice(2)}h=r.compiledTypeMap["fallback"][l];if(h&&u.call(h.styleAliases,g)){g=h.styleAliases[g]}s[l]=g}return s}function encodeHex(r){var A,s,c;A=r.toString(16).toUpperCase();if(r<=255){s="x";c=2}else if(r<=65535){s="u";c=4}else if(r<=4294967295){s="U";c=8}else{throw new a("code point within a string may not be greater than 0xFFFFFFFF")}return"\\"+s+i.repeat("0",c-A.length)+A}var x=1,H=2;function State(r){this.schema=r["schema"]||c;this.indent=Math.max(1,r["indent"]||2);this.noArrayIndent=r["noArrayIndent"]||false;this.skipInvalid=r["skipInvalid"]||false;this.flowLevel=i.isNothing(r["flowLevel"])?-1:r["flowLevel"];this.styleMap=compileStyleMap(this.schema,r["styles"]||null);this.sortKeys=r["sortKeys"]||false;this.lineWidth=r["lineWidth"]||80;this.noRefs=r["noRefs"]||false;this.noCompatMode=r["noCompatMode"]||false;this.condenseFlow=r["condenseFlow"]||false;this.quotingType=r["quotingType"]==='"'?H:x;this.forceQuotes=r["forceQuotes"]||false;this.replacer=typeof r["replacer"]==="function"?r["replacer"]:null;this.implicitTypes=this.schema.compiledImplicit;this.explicitTypes=this.schema.compiledExplicit;this.tag=null;this.result="";this.duplicates=[];this.usedDuplicates=null}function indentString(r,A){var s=i.repeat(" ",A),a=0,c=-1,l="",u,g=r.length;while(a<g){c=r.indexOf("\n",a);if(c===-1){u=r.slice(a);a=g}else{u=r.slice(a,c+1);a=c+1}if(u.length&&u!=="\n")l+=s;l+=u}return l}function generateNextLine(r,A){return"\n"+i.repeat(" ",r.indent*A)}function testImplicitResolving(r,A){var s,i,a;for(s=0,i=r.implicitTypes.length;s<i;s+=1){a=r.implicitTypes[s];if(a.resolve(A)){return true}}return false}function isWhitespace(r){return r===E||r===h}function isPrintable(r){return 32<=r&&r<=126||161<=r&&r<=55295&&r!==8232&&r!==8233||57344<=r&&r<=65533&&r!==g||65536<=r&&r<=1114111}function isNsCharOrWhitespace(r){return isPrintable(r)&&r!==g&&r!==p&&r!==d}function isPlainSafe(r,A,s){var i=isNsCharOrWhitespace(r);var a=i&&!isWhitespace(r);return(s?i:i&&r!==b&&r!==T&&r!==N&&r!==L&&r!==M)&&r!==Q&&!(A===k&&!a)||isNsCharOrWhitespace(A)&&!isWhitespace(A)&&r===Q||A===k&&a}function isPlainSafeFirst(r){return isPrintable(r)&&r!==g&&!isWhitespace(r)&&r!==R&&r!==D&&r!==k&&r!==b&&r!==T&&r!==N&&r!==L&&r!==M&&r!==Q&&r!==m&&r!==w&&r!==C&&r!==U&&r!==v&&r!==S&&r!=Line truncated
|
||||
*/function isObject(e){return Object.prototype.toString.call(e)==="[object Object]"}function isPlainObject(e){var t,r;if(isObject(e)===false)return false;t=e.constructor;if(t===undefined)return true;r=t.prototype;if(isObject(r)===false)return false;if(r.hasOwnProperty("isPrototypeOf")===false){return false}return true}t.isPlainObject=isPlainObject},1917:(e,t,r)=>{"use strict";var n=r(1161);var A=r(8866);function renamed(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. "+"Use yaml."+t+" instead, which is now safe by default.")}}e.exports.Type=r(6073);e.exports.Schema=r(1082);e.exports.FAILSAFE_SCHEMA=r(8562);e.exports.JSON_SCHEMA=r(1035);e.exports.CORE_SCHEMA=r(2011);e.exports.DEFAULT_SCHEMA=r(8759);e.exports.load=n.load;e.exports.loadAll=n.loadAll;e.exports.dump=A.dump;e.exports.YAMLException=r(8179);e.exports.types={binary:r(7900),float:r(2705),map:r(6150),null:r(721),pairs:r(6860),set:r(9548),timestamp:r(9212),bool:r(4993),int:r(1615),merge:r(6104),omap:r(9046),seq:r(7283),str:r(3619)};e.exports.safeLoad=renamed("safeLoad","load");e.exports.safeLoadAll=renamed("safeLoadAll","loadAll");e.exports.safeDump=renamed("safeDump","dump")},6829:e=>{"use strict";function isNothing(e){return typeof e==="undefined"||e===null}function isObject(e){return typeof e==="object"&&e!==null}function toArray(e){if(Array.isArray(e))return e;else if(isNothing(e))return[];return[e]}function extend(e,t){var r,n,A,s;if(t){s=Object.keys(t);for(r=0,n=s.length;r<n;r+=1){A=s[r];e[A]=t[A]}}return e}function repeat(e,t){var r="",n;for(n=0;n<t;n+=1){r+=e}return r}function isNegativeZero(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}e.exports.isNothing=isNothing;e.exports.isObject=isObject;e.exports.toArray=toArray;e.exports.repeat=repeat;e.exports.isNegativeZero=isNegativeZero;e.exports.extend=extend},8866:(e,t,r)=>{"use strict";var n=r(6829);var A=r(8179);var s=r(8759);var o=Object.prototype.toString;var i=Object.prototype.hasOwnProperty;var a=65279;var c=9;var l=10;var u=13;var g=32;var h=33;var d=34;var p=35;var E=37;var C=38;var I=39;var Q=42;var B=44;var m=45;var y=58;var w=61;var b=62;var R=63;var k=64;var v=91;var S=93;var D=96;var _=123;var T=124;var N=125;var F={};F[0]="\\0";F[7]="\\a";F[8]="\\b";F[9]="\\t";F[10]="\\n";F[11]="\\v";F[12]="\\f";F[13]="\\r";F[27]="\\e";F[34]='\\"';F[92]="\\\\";F[133]="\\N";F[160]="\\_";F[8232]="\\L";F[8233]="\\P";var L=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];var U=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function compileStyleMap(e,t){var r,n,A,s,o,a,c;if(t===null)return{};r={};n=Object.keys(t);for(A=0,s=n.length;A<s;A+=1){o=n[A];a=String(t[o]);if(o.slice(0,2)==="!!"){o="tag:yaml.org,2002:"+o.slice(2)}c=e.compiledTypeMap["fallback"][o];if(c&&i.call(c.styleAliases,a)){a=c.styleAliases[a]}r[o]=a}return r}function encodeHex(e){var t,r,s;t=e.toString(16).toUpperCase();if(e<=255){r="x";s=2}else if(e<=65535){r="u";s=4}else if(e<=4294967295){r="U";s=8}else{throw new A("code point within a string may not be greater than 0xFFFFFFFF")}return"\\"+r+n.repeat("0",s-t.length)+t}var M=1,O=2;function State(e){this.schema=e["schema"]||s;this.indent=Math.max(1,e["indent"]||2);this.noArrayIndent=e["noArrayIndent"]||false;this.skipInvalid=e["skipInvalid"]||false;this.flowLevel=n.isNothing(e["flowLevel"])?-1:e["flowLevel"];this.styleMap=compileStyleMap(this.schema,e["styles"]||null);this.sortKeys=e["sortKeys"]||false;this.lineWidth=e["lineWidth"]||80;this.noRefs=e["noRefs"]||false;this.noCompatMode=e["noCompatMode"]||false;this.condenseFlow=e["condenseFlow"]||false;this.quotingType=e["quotingType"]==='"'?O:M;this.forceQuotes=e["forceQuotes"]||false;this.replacer=typeof e["replacer"]==="function"?e["replacer"]:null;this.implicitTypes=this.schema.compiledImplicit;this.explicitTypes=this.schema.compiledExplicit;this.tag=null;this.result="";this.duplicates=[];this.usedDuplicates=null}function indentString(e,t){var r=n.repeat(" ",t),A=0,s=-1,o="",i,a=e.length;while(A<a){s=e.indexOf("\n",A);if(s===-1){i=e.slice(A);A=a}else{i=e.slice(A,s+1);A=s+1}if(i.length&&i!=="\n")o+=r;o+=i}return o}function generateNextLine(e,t){return"\n"+n.repeat(" ",e.indent*t)}function testImplicitResolving(e,t){var r,n,A;for(r=0,n=e.implicitTypes.length;r<n;r+=1){A=e.implicitTypes[r];if(A.resolve(t)){return true}}return false}function isWhitespace(e){return e===g||e===c}function isPrintable(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==a||65536<=e&&e<=1114111}function isNsCharOrWhitespace(e){return isPrintable(e)&&e!==a&&e!==u&&e!==l}function isPlainSafe(e,t,r){var n=isNsCharOrWhitespace(e);var A=n&&!isWhitespace(e);return(r?n:n&&e!==B&&e!==v&&e!==S&&e!==_&&e!==N)&&e!==p&&!(t===y&&!A)||isNsCharOrWhitespace(t)&&!isWhitespace(t)&&e===p||t===y&&A}function isPlainSafeFirst(e){return isPrintable(e)&&e!==a&&!isWhitespace(e)&&e!==m&&e!==R&&e!==y&&e!==B&&e!==v&&e!==S&&e!==_&&e!==N&&e!==p&&e!==C&&e!==Q&&e!==h&&e!==T&&e!==w&&e!==b&&e!=Line truncated
|
||||
/*!
|
||||
* Tmp
|
||||
*
|
||||
@@ -12,7 +12,7 @@ require('./sourcemap-register.js');(()=>{var r={7351:function(r,A,s){"use strict
|
||||
*
|
||||
* MIT Licensed
|
||||
*/
|
||||
const i=s(7147);const a=s(2037);const c=s(1017);const l=s(6113);const u={fs:i.constants,os:a.constants};const g=s(4959);const h="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",d=/XXXXXX/,p=3,E=(u.O_CREAT||u.fs.O_CREAT)|(u.O_EXCL||u.fs.O_EXCL)|(u.O_RDWR||u.fs.O_RDWR),C=a.platform()==="win32",I=u.EBADF||u.os.errno.EBADF,Q=u.ENOENT||u.os.errno.ENOENT,B=448,m=384,y="exit",w=[],b=i.rmdirSync.bind(i),R=g.sync;let k=false;function tmpName(r,A){const s=_parseArguments(r,A),a=s[0],c=s[1];try{_assertAndSanitizeOptions(a)}catch(r){return c(r)}let l=a.tries;(function _getUniqueName(){try{const r=_generateTmpName(a);i.stat(r,(function(A){if(!A){if(l-- >0)return _getUniqueName();return c(new Error("Could not get a unique tmp filename, max tries reached "+r))}c(null,r)}))}catch(r){c(r)}})()}function tmpNameSync(r){const A=_parseArguments(r),s=A[0];_assertAndSanitizeOptions(s);let a=s.tries;do{const r=_generateTmpName(s);try{i.statSync(r)}catch(A){return r}}while(a-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function file(r,A){const s=_parseArguments(r,A),a=s[0],c=s[1];tmpName(a,(function _tmpNameCreated(r,A){if(r)return c(r);i.open(A,E,a.mode||m,(function _fileCreated(r,s){if(r)return c(r);if(a.discardDescriptor){return i.close(s,(function _discardCallback(r){return c(r,A,undefined,_prepareTmpFileRemoveCallback(A,-1,a,false))}))}else{const r=a.discardDescriptor||a.detachDescriptor;c(null,A,s,_prepareTmpFileRemoveCallback(A,r?-1:s,a,false))}}))}))}function fileSync(r){const A=_parseArguments(r),s=A[0];const a=s.discardDescriptor||s.detachDescriptor;const c=tmpNameSync(s);var l=i.openSync(c,E,s.mode||m);if(s.discardDescriptor){i.closeSync(l);l=undefined}return{name:c,fd:l,removeCallback:_prepareTmpFileRemoveCallback(c,a?-1:l,s,true)}}function dir(r,A){const s=_parseArguments(r,A),a=s[0],c=s[1];tmpName(a,(function _tmpNameCreated(r,A){if(r)return c(r);i.mkdir(A,a.mode||B,(function _dirCreated(r){if(r)return c(r);c(null,A,_prepareTmpDirRemoveCallback(A,a,false))}))}))}function dirSync(r){const A=_parseArguments(r),s=A[0];const a=tmpNameSync(s);i.mkdirSync(a,s.mode||B);return{name:a,removeCallback:_prepareTmpDirRemoveCallback(a,s,true)}}function _removeFileAsync(r,A){const _handler=function(r){if(r&&!_isENOENT(r)){return A(r)}A()};if(0<=r[0])i.close(r[0],(function(){i.unlink(r[1],_handler)}));else i.unlink(r[1],_handler)}function _removeFileSync(r){let A=null;try{if(0<=r[0])i.closeSync(r[0])}catch(r){if(!_isEBADF(r)&&!_isENOENT(r))throw r}finally{try{i.unlinkSync(r[1])}catch(r){if(!_isENOENT(r))A=r}}if(A!==null){throw A}}function _prepareTmpFileRemoveCallback(r,A,s,i){const a=_prepareRemoveCallback(_removeFileSync,[A,r],i);const c=_prepareRemoveCallback(_removeFileAsync,[A,r],i,a);if(!s.keep)w.unshift(a);return i?a:c}function _prepareTmpDirRemoveCallback(r,A,s){const a=A.unsafeCleanup?g:i.rmdir.bind(i);const c=A.unsafeCleanup?R:b;const l=_prepareRemoveCallback(c,r,s);const u=_prepareRemoveCallback(a,r,s,l);if(!A.keep)w.unshift(l);return s?l:u}function _prepareRemoveCallback(r,A,s,i){let a=false;return function _cleanupCallback(c){if(!a){const l=i||_cleanupCallback;const u=w.indexOf(l);if(u>=0)w.splice(u,1);a=true;if(s||r===b||r===R){return r(A)}else{return r(A,c||function(){})}}}}function _garbageCollector(){if(!k)return;while(w.length){try{w[0]()}catch(r){}}}function _randomChars(r){let A=[],s=null;try{s=l.randomBytes(r)}catch(A){s=l.pseudoRandomBytes(r)}for(var i=0;i<r;i++){A.push(h[s[i]%h.length])}return A.join("")}function _isBlank(r){return r===null||_isUndefined(r)||!r.trim()}function _isUndefined(r){return typeof r==="undefined"}function _parseArguments(r,A){if(typeof r==="function"){return[{},r]}if(_isUndefined(r)){return[{},A]}const s={};for(const A of Object.getOwnPropertyNames(r)){s[A]=r[A]}return[s,A]}function _generateTmpName(r){const A=r.tmpdir;if(!_isUndefined(r.name))return c.join(A,r.dir,r.name);if(!_isUndefined(r.template))return c.join(A,r.dir,r.template).replace(d,_randomChars(6));const s=[r.prefix?r.prefix:"tmp","-",process.pid,"-",_randomChars(12),r.postfix?"-"+r.postfix:""].join("");return c.join(A,r.dir,s)}function _assertAndSanitizeOptions(r){r.tmpdir=_getTmpDir(r);const A=r.tmpdir;if(!_isUndefined(r.name))_assertIsRelative(r.name,"name",A);if(!_isUndefined(r.dir))_assertIsRelative(r.dir,"dir",A);if(!_isUndefined(r.template)){_assertIsRelative(r.template,"template",A);if(!r.template.match(d))throw new Error(`Invalid template, found "${r.template}".`)}if(!_isUndefined(r.tries)&&isNaN(r.tries)||r.tries<0)throw new Error(`Invalid tries, found "${r.tries}".`);r.tries=_isUndefined(r.name)?r.tries||p:1;r.keep=!!r.keep;r.detachDescriptor=!!r.detachDescriptor;r.discardDescriptor=!!r.discardDescriptor;r.unsafeCleanup=!!r.unsafeCleanup;r.dir=_isUndefined(r.dir)?"":c.relative(A,_resolvePath(r.dir,A));r.template=_isUndefined(r.template)?undefined:c.relative(A,_resolvePath(r.template,A));r.template=_isBlank(r.template)?undefined:c.relative(r.dir,r.template);r.naLine truncated
|
||||
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=r=>r.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=r=>r.replace(/\r?\n|\r/g,"\r\n");const i=new TextEncoder;const a=[];const c=new Uint8Array([13,10]);p=0;let l=false;for(const[A,u]of r){if(typeof u==="string"){const r=i.encode(s+`; name="${escape(normalizeLinefeeds(A))}"`+`\r\n\r\n${normalizeLinefeeds(u)}\r\n`);a.push(r);p+=r.byteLength}else{const r=i.encode(`${s}; name="${escape(normalizeLinefeeds(A))}"`+(u.name?`; filename="${escape(u.name)}"`:"")+"\r\n"+`Content-Type: ${u.type||"application/octet-stream"}\r\n\r\n`);a.push(r,u,c);if(typeof u.size==="number"){p+=r.byteLength+u.size+c.byteLength}else{l=true}}}const u=i.encode(`--${A}--`);a.push(u);p+=u.byteLength;if(l){p=null}d=r;h=async function*(){for(const r of a){if(r.stream){yield*r.stream()}else{yield r}}};E="multipart/form-data; boundary="+A}else if(l(r)){d=r;p=r.size;if(r.type){E=r.type}}else if(typeof r[Symbol.asyncIterator]==="function"){if(A){throw new TypeError("keepalive")}if(a.isDisturbed(r)||r.locked){throw new TypeError("Response body object should not be disturbed or locked")}i=r instanceof _?r:c(r)}if(typeof d==="string"||a.isBuffer(d)){p=Buffer.byteLength(d)}if(h!=null){let A;i=new _({async start(){A=h(r)[Symbol.asyncIterator]()},async pull(r){const{value:s,done:a}=await A.next();if(a){queueMicrotask((()=>{r.close()}))}else{if(!b(i)){r.enqueue(new Uint8Array(s))}}return r.desiredSize>0},async cancel(r){await A.return()},type:undefined})}const C={stream:i,source:d,length:p};return[C,E]}function safelyExtractBody(r,A=false){if(!_){_=s(5356).ReadableStream}if(r instanceof _){w(!a.isDisturbed(r),"The body has already been consumed.");w(!r.locked,"The stream is locked.")}return extractBody(r,A)}function cloneBody(r){const[A,s]=r.stream.tee();const i=Q(s,{transfer:[s]});const[,a]=i.tee();r.stream=A;return{stream:a,length:r.length,source:r.source}}async function*consumeBody(r){if(r){if(R(r)){yield r}else{const A=r.stream;if(a.isDisturbed(A)){throw new TypeError("The body has already been consumed.")}if(A.locked){throw new TypeError("The stream is locked.")}A[y]=true;yield*A}}}function throwIfAborted(r){if(r.aborted){throw new I("The operation was aborted.","AbortError")}}function bodyMixinMethods(r){const A={blob(){return specConsumeBody(this,(r=>{let A=bodyMimeType(this);if(A==="failure"){A=""}else if(A){A=D(A)}return new B([r],{type:A})}),r)},arrayBuffer(){return specConsumeBody(this,(r=>new Uint8Array(r).buffer),r)},text(){return specConsumeBody(this,utf8DecodeBytes,r)},json(){return specConsumeBody(this,parseJSONFromBytes,r)},async formData(){C.brandCheck(this,r);throwIfAborted(this[E]);const A=this.headers.get("Content-Type");if(/multipart\/form-data/.test(A)){const r={};for(const[A,s]of this.headers)r[A.toLowerCase()]=s;const A=new p;let s;try{s=new i({headers:r,preservePath:true})}catch(r){throw new I(`${r}`,"AbortError")}s.on("field",((r,s)=>{A.append(r,s)}));s.on("file",((r,s,i,a,c)=>{const l=[];if(a==="base64"||a.toLowerCase()==="base64"){let a="";s.on("data",(r=>{a+=r.toString().replace(/[\r\n]/gm,"");const A=a.length-a.length%4;l.push(Buffer.from(a.slice(0,A),"base64"));a=a.slice(A)}));s.on("end",(()=>{l.push(Buffer.from(a,"base64"));A.append(r,new T(l,i,{type:c}))}))}else{s.on("data",(r=>{l.push(r)}));s.on("end",(()=>{A.append(r,new T(l,i,{type:c}))}))}}));const a=new Promise(((r,A)=>{s.on("finish",r);s.on("error",(r=>A(new TypeError(r))))}));if(this.body!==null)for await(const r of consumeBody(this[E].body))s.write(r);s.end();await a;return A}else if(/application\/x-www-form-urlencoded/.test(A)){let r;try{let A="";const s=new TextDecoder("utf-8",{ignoreBOM:true});for await(const r of consumeBody(this[E].body)){if(!R(r)){throw new TypeError("Expected Uint8Array chunk")}A+=s.decode(r,{stream:true})}A+=s.decode();r=new URLSearchParams(A)}catch(r){throw Object.assign(new TypeError,{cause:r})}const A=new p;for(const[s,i]of r){A.append(s,i)}return A}else{await Promise.resolve();throwIfAborted(this[E]);throw C.errors.exception({header:`${r.name}.formData`,message:"Could not parse content as FormData."})}}};return A}function mixinBody(r){Object.assign(r.prototype,bodyMixinMethods(r))}async function specConsumeBody(r,A,s){C.brandCheck(r,s);throwIfAborted(r[E]);if(bodyUnusable(r[E].body)){throw new TypeError("Body is unusable")}const i=h();const errorSteps=r=>i.reject(r);const successSteps=r=>{try{i.resolve(A(r))}catch(r){errorSteps(r)}};if(r[E].body==null){successSteps(new Uint8Array);return i.promise}await d(r[E].body,successSteps,errorSteps);return i.promise}function bodyUnusable(r){return r!=null&&(r.stream.locked||a.isDisturbed(r.stream))}function utf8DecodeBytes(r){if(r.length===0){return""}if(r[0]===239&&r[1]===187&&r[2]===191){r=r.subarray(3)}const A=(new TextDecoder).decode(r);return A}function parseJSONFromBytes(r){return JSON.parse(utf8DecodeBytes(r))}function bodyMimeType(r){const{heaLine truncated
|
||||
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */c[a-4]=this.maskKey[0];c[a-3]=this.maskKey[1];c[a-2]=this.maskKey[2];c[a-1]=this.maskKey[3];c[1]=s;if(s===126){c.writeUInt16BE(A,2)}else if(s===127){c[2]=c[3]=0;c.writeUIntBE(A,4,6)}c[1]|=128;for(let r=0;r<A;r++){c[a+r]=this.frameData[r]^this.maskKey[r%4]}return c}}r.exports={WebsocketFrameSend:WebsocketFrameSend}},1688:(r,A,s)=>{"use strict";const{Writable:i}=s(2781);const a=s(7643);const{parserStates:c,opcodes:l,states:u,emptyBuffer:g}=s(9188);const{kReadyState:h,kSentClose:d,kResponse:p,kReceivedClose:E}=s(7578);const{isValidStatusCode:C,failWebsocketConnection:I,websocketMessageReceived:Q}=s(5515);const{WebsocketFrameSend:B}=s(5444);const m={};m.ping=a.channel("undici:websocket:ping");m.pong=a.channel("undici:websocket:pong");class ByteParser extends i{#o=[];#i=0;#a=c.INFO;#c={};#l=[];constructor(r){super();this.ws=r}_write(r,A,s){this.#o.push(r);this.#i+=r.length;this.run(s)}run(r){while(true){if(this.#a===c.INFO){if(this.#i<2){return r()}const A=this.consume(2);this.#c.fin=(A[0]&128)!==0;this.#c.opcode=A[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==l.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==l.BINARY&&this.#c.opcode!==l.TEXT){I(this.ws,"Invalid frame type was fragmented.");return}const s=A[1]&127;if(s<=125){this.#c.payloadLength=s;this.#a=c.READ_DATA}else if(s===126){this.#a=c.PAYLOADLENGTH_16}else if(s===127){this.#a=c.PAYLOADLENGTH_64}if(this.#c.fragmented&&s>125){I(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===l.PING||this.#c.opcode===l.PONG||this.#c.opcode===l.CLOSE)&&s>125){I(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===l.CLOSE){if(s===1){I(this.ws,"Received close frame with a 1-byte body.");return}const r=this.consume(s);this.#c.closeInfo=this.parseCloseBody(false,r);if(!this.ws[d]){const r=Buffer.allocUnsafe(2);r.writeUInt16BE(this.#c.closeInfo.code,0);const A=new B(r);this.ws[p].socket.write(A.createFrame(l.CLOSE),(r=>{if(!r){this.ws[d]=true}}))}this.ws[h]=u.CLOSING;this.ws[E]=true;this.end();return}else if(this.#c.opcode===l.PING){const A=this.consume(s);if(!this.ws[E]){const r=new B(A);this.ws[p].socket.write(r.createFrame(l.PONG));if(m.ping.hasSubscribers){m.ping.publish({payload:A})}}this.#a=c.INFO;if(this.#i>0){continue}else{r();return}}else if(this.#c.opcode===l.PONG){const A=this.consume(s);if(m.pong.hasSubscribers){m.pong.publish({payload:A})}if(this.#i>0){continue}else{r();return}}}else if(this.#a===c.PAYLOADLENGTH_16){if(this.#i<2){return r()}const A=this.consume(2);this.#c.payloadLength=A.readUInt16BE(0);this.#a=c.READ_DATA}else if(this.#a===c.PAYLOADLENGTH_64){if(this.#i<8){return r()}const A=this.consume(8);const s=A.readUInt32BE(0);if(s>2**31-1){I(this.ws,"Received payload length > 2^31 bytes.");return}const i=A.readUInt32BE(4);this.#c.payloadLength=(s<<8)+i;this.#a=c.READ_DATA}else if(this.#a===c.READ_DATA){if(this.#i<this.#c.payloadLength){return r()}else if(this.#i>=this.#c.payloadLength){const r=this.consume(this.#c.payloadLength);this.#l.push(r);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===l.CONTINUATION){const r=Buffer.concat(this.#l);Q(this.ws,this.#c.originalOpcode,r);this.#c={};this.#l.length=0}this.#a=c.INFO}}if(this.#i>0){continue}else{r();break}}}consume(r){if(r>this.#i){return null}else if(r===0){return g}if(this.#o[0].length===r){this.#i-=this.#o[0].length;return this.#o.shift()}const A=Buffer.allocUnsafe(r);let s=0;while(s!==r){const i=this.#o[0];const{length:a}=i;if(a+s===r){A.set(this.#o.shift(),s);break}else if(a+s>r){A.set(i.subarray(0,r-s),s);this.#o[0]=i.subarray(r-s);break}else{A.set(this.#o.shift(),s);s+=i.length}}this.#i-=r;return A}parseCloseBody(r,A){let s;if(A.length>=2){s=A.readUInt16BE(0)}if(r){if(!C(s)){return null}return{code:s}}let i=A.subarray(2);if(i[0]===239&&i[1]===187&&i[2]===191){i=i.subarray(3)}if(s!==undefined&&!C(s)){return null}try{i=new TextDecoder("utf-8",{fatal:true}).decode(i)}catch{return null}return{code:s,reason:i}}get closingInfo(){return this.#c.closeInfo}}r.exports={ByteParser:ByteParser}},7578:r=>{"use strict";r.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},5515:(r,A,s)=>{"use strict";const{kReadyState:i,kController:a,kResponse:c,kBinaryType:l,kWebSocketURL:u}=s(7578);const{states:g,opcodes:h}=s(9188);const{MessageEvent:d,ErrorEvent:p}=s(2611);function isEstablished(r){return r[i]===g.OPEN}function isClosing(r){return r[i]===g.CLOSING}function isClosed(r){return r[i]===g.CLOSED}function fireEvent(r,A,s=Event,i){const a=new s(r,i);A.dispatchEvent(a)}function websocketMessageReceived(r,A,s){if(r[i]!==g.OPEN){return}let a;if(A===h.TEXT){try{a=new TextDecoder("utf-8",{fatal:true}).decode(s)Line truncated
|
||||
const n=r(7147);const A=r(2037);const s=r(1017);const o=r(6113);const i={fs:n.constants,os:A.constants};const a=r(4959);const c="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",l=/XXXXXX/,u=3,g=(i.O_CREAT||i.fs.O_CREAT)|(i.O_EXCL||i.fs.O_EXCL)|(i.O_RDWR||i.fs.O_RDWR),h=A.platform()==="win32",d=i.EBADF||i.os.errno.EBADF,p=i.ENOENT||i.os.errno.ENOENT,E=448,C=384,I="exit",Q=[],B=n.rmdirSync.bind(n),m=a.sync;let y=false;function tmpName(e,t){const r=_parseArguments(e,t),A=r[0],s=r[1];try{_assertAndSanitizeOptions(A)}catch(e){return s(e)}let o=A.tries;(function _getUniqueName(){try{const e=_generateTmpName(A);n.stat(e,(function(t){if(!t){if(o-- >0)return _getUniqueName();return s(new Error("Could not get a unique tmp filename, max tries reached "+e))}s(null,e)}))}catch(e){s(e)}})()}function tmpNameSync(e){const t=_parseArguments(e),r=t[0];_assertAndSanitizeOptions(r);let A=r.tries;do{const e=_generateTmpName(r);try{n.statSync(e)}catch(t){return e}}while(A-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function file(e,t){const r=_parseArguments(e,t),A=r[0],s=r[1];tmpName(A,(function _tmpNameCreated(e,t){if(e)return s(e);n.open(t,g,A.mode||C,(function _fileCreated(e,r){if(e)return s(e);if(A.discardDescriptor){return n.close(r,(function _discardCallback(e){return s(e,t,undefined,_prepareTmpFileRemoveCallback(t,-1,A,false))}))}else{const e=A.discardDescriptor||A.detachDescriptor;s(null,t,r,_prepareTmpFileRemoveCallback(t,e?-1:r,A,false))}}))}))}function fileSync(e){const t=_parseArguments(e),r=t[0];const A=r.discardDescriptor||r.detachDescriptor;const s=tmpNameSync(r);var o=n.openSync(s,g,r.mode||C);if(r.discardDescriptor){n.closeSync(o);o=undefined}return{name:s,fd:o,removeCallback:_prepareTmpFileRemoveCallback(s,A?-1:o,r,true)}}function dir(e,t){const r=_parseArguments(e,t),A=r[0],s=r[1];tmpName(A,(function _tmpNameCreated(e,t){if(e)return s(e);n.mkdir(t,A.mode||E,(function _dirCreated(e){if(e)return s(e);s(null,t,_prepareTmpDirRemoveCallback(t,A,false))}))}))}function dirSync(e){const t=_parseArguments(e),r=t[0];const A=tmpNameSync(r);n.mkdirSync(A,r.mode||E);return{name:A,removeCallback:_prepareTmpDirRemoveCallback(A,r,true)}}function _removeFileAsync(e,t){const _handler=function(e){if(e&&!_isENOENT(e)){return t(e)}t()};if(0<=e[0])n.close(e[0],(function(){n.unlink(e[1],_handler)}));else n.unlink(e[1],_handler)}function _removeFileSync(e){let t=null;try{if(0<=e[0])n.closeSync(e[0])}catch(e){if(!_isEBADF(e)&&!_isENOENT(e))throw e}finally{try{n.unlinkSync(e[1])}catch(e){if(!_isENOENT(e))t=e}}if(t!==null){throw t}}function _prepareTmpFileRemoveCallback(e,t,r,n){const A=_prepareRemoveCallback(_removeFileSync,[t,e],n);const s=_prepareRemoveCallback(_removeFileAsync,[t,e],n,A);if(!r.keep)Q.unshift(A);return n?A:s}function _prepareTmpDirRemoveCallback(e,t,r){const A=t.unsafeCleanup?a:n.rmdir.bind(n);const s=t.unsafeCleanup?m:B;const o=_prepareRemoveCallback(s,e,r);const i=_prepareRemoveCallback(A,e,r,o);if(!t.keep)Q.unshift(o);return r?o:i}function _prepareRemoveCallback(e,t,r,n){let A=false;return function _cleanupCallback(s){if(!A){const o=n||_cleanupCallback;const i=Q.indexOf(o);if(i>=0)Q.splice(i,1);A=true;if(r||e===B||e===m){return e(t)}else{return e(t,s||function(){})}}}}function _garbageCollector(){if(!y)return;while(Q.length){try{Q[0]()}catch(e){}}}function _randomChars(e){let t=[],r=null;try{r=o.randomBytes(e)}catch(t){r=o.pseudoRandomBytes(e)}for(var n=0;n<e;n++){t.push(c[r[n]%c.length])}return t.join("")}function _isBlank(e){return e===null||_isUndefined(e)||!e.trim()}function _isUndefined(e){return typeof e==="undefined"}function _parseArguments(e,t){if(typeof e==="function"){return[{},e]}if(_isUndefined(e)){return[{},t]}const r={};for(const t of Object.getOwnPropertyNames(e)){r[t]=e[t]}return[r,t]}function _generateTmpName(e){const t=e.tmpdir;if(!_isUndefined(e.name))return s.join(t,e.dir,e.name);if(!_isUndefined(e.template))return s.join(t,e.dir,e.template).replace(l,_randomChars(6));const r=[e.prefix?e.prefix:"tmp","-",process.pid,"-",_randomChars(12),e.postfix?"-"+e.postfix:""].join("");return s.join(t,e.dir,r)}function _assertAndSanitizeOptions(e){e.tmpdir=_getTmpDir(e);const t=e.tmpdir;if(!_isUndefined(e.name))_assertIsRelative(e.name,"name",t);if(!_isUndefined(e.dir))_assertIsRelative(e.dir,"dir",t);if(!_isUndefined(e.template)){_assertIsRelative(e.template,"template",t);if(!e.template.match(l))throw new Error(`Invalid template, found "${e.template}".`)}if(!_isUndefined(e.tries)&&isNaN(e.tries)||e.tries<0)throw new Error(`Invalid tries, found "${e.tries}".`);e.tries=_isUndefined(e.name)?e.tries||u:1;e.keep=!!e.keep;e.detachDescriptor=!!e.detachDescriptor;e.discardDescriptor=!!e.discardDescriptor;e.unsafeCleanup=!!e.unsafeCleanup;e.dir=_isUndefined(e.dir)?"":s.relative(t,_resolvePath(e.dir,t));e.template=_isUndefined(e.template)?undefined:s.relative(t,_resolvePath(e.template,t));e.template=_isBlank(e.template)?undefined:s.relative(e.dir,e.template);e.naLine truncated
|
||||
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=e=>e.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=e=>e.replace(/\r?\n|\r/g,"\r\n");const n=new TextEncoder;const A=[];const s=new Uint8Array([13,10]);u=0;let o=false;for(const[t,i]of e){if(typeof i==="string"){const e=n.encode(r+`; name="${escape(normalizeLinefeeds(t))}"`+`\r\n\r\n${normalizeLinefeeds(i)}\r\n`);A.push(e);u+=e.byteLength}else{const e=n.encode(`${r}; name="${escape(normalizeLinefeeds(t))}"`+(i.name?`; filename="${escape(i.name)}"`:"")+"\r\n"+`Content-Type: ${i.type||"application/octet-stream"}\r\n\r\n`);A.push(e,i,s);if(typeof i.size==="number"){u+=e.byteLength+i.size+s.byteLength}else{o=true}}}const i=n.encode(`--${t}--`);A.push(i);u+=i.byteLength;if(o){u=null}l=e;c=async function*(){for(const e of A){if(e.stream){yield*e.stream()}else{yield e}}};g="multipart/form-data; boundary="+t}else if(o(e)){l=e;u=e.size;if(e.type){g=e.type}}else if(typeof e[Symbol.asyncIterator]==="function"){if(t){throw new TypeError("keepalive")}if(A.isDisturbed(e)||e.locked){throw new TypeError("Response body object should not be disturbed or locked")}n=e instanceof k?e:s(e)}if(typeof l==="string"||A.isBuffer(l)){u=Buffer.byteLength(l)}if(c!=null){let t;n=new k({async start(){t=c(e)[Symbol.asyncIterator]()},async pull(e){const{value:r,done:A}=await t.next();if(A){queueMicrotask((()=>{e.close()}))}else{if(!B(n)){e.enqueue(new Uint8Array(r))}}return e.desiredSize>0},async cancel(e){await t.return()},type:undefined})}const h={stream:n,source:l,length:u};return[h,g]}function safelyExtractBody(e,t=false){if(!k){k=r(5356).ReadableStream}if(e instanceof k){Q(!A.isDisturbed(e),"The body has already been consumed.");Q(!e.locked,"The stream is locked.")}return extractBody(e,t)}function cloneBody(e){const[t,r]=e.stream.tee();const n=p(r,{transfer:[r]});const[,A]=n.tee();e.stream=t;return{stream:A,length:e.length,source:e.source}}async function*consumeBody(e){if(e){if(m(e)){yield e}else{const t=e.stream;if(A.isDisturbed(t)){throw new TypeError("The body has already been consumed.")}if(t.locked){throw new TypeError("The stream is locked.")}t[I]=true;yield*t}}}function throwIfAborted(e){if(e.aborted){throw new d("The operation was aborted.","AbortError")}}function bodyMixinMethods(e){const t={blob(){return specConsumeBody(this,(e=>{let t=bodyMimeType(this);if(t==="failure"){t=""}else if(t){t=R(t)}return new E([e],{type:t})}),e)},arrayBuffer(){return specConsumeBody(this,(e=>new Uint8Array(e).buffer),e)},text(){return specConsumeBody(this,utf8DecodeBytes,e)},json(){return specConsumeBody(this,parseJSONFromBytes,e)},async formData(){h.brandCheck(this,e);throwIfAborted(this[g]);const t=this.headers.get("Content-Type");if(/multipart\/form-data/.test(t)){const e={};for(const[t,r]of this.headers)e[t.toLowerCase()]=r;const t=new u;let r;try{r=new n({headers:e,preservePath:true})}catch(e){throw new d(`${e}`,"AbortError")}r.on("field",((e,r)=>{t.append(e,r)}));r.on("file",((e,r,n,A,s)=>{const o=[];if(A==="base64"||A.toLowerCase()==="base64"){let A="";r.on("data",(e=>{A+=e.toString().replace(/[\r\n]/gm,"");const t=A.length-A.length%4;o.push(Buffer.from(A.slice(0,t),"base64"));A=A.slice(t)}));r.on("end",(()=>{o.push(Buffer.from(A,"base64"));t.append(e,new v(o,n,{type:s}))}))}else{r.on("data",(e=>{o.push(e)}));r.on("end",(()=>{t.append(e,new v(o,n,{type:s}))}))}}));const A=new Promise(((e,t)=>{r.on("finish",e);r.on("error",(e=>t(new TypeError(e))))}));if(this.body!==null)for await(const e of consumeBody(this[g].body))r.write(e);r.end();await A;return t}else if(/application\/x-www-form-urlencoded/.test(t)){let e;try{let t="";const r=new TextDecoder("utf-8",{ignoreBOM:true});for await(const e of consumeBody(this[g].body)){if(!m(e)){throw new TypeError("Expected Uint8Array chunk")}t+=r.decode(e,{stream:true})}t+=r.decode();e=new URLSearchParams(t)}catch(e){throw Object.assign(new TypeError,{cause:e})}const t=new u;for(const[r,n]of e){t.append(r,n)}return t}else{await Promise.resolve();throwIfAborted(this[g]);throw h.errors.exception({header:`${e.name}.formData`,message:"Could not parse content as FormData."})}}};return t}function mixinBody(e){Object.assign(e.prototype,bodyMixinMethods(e))}async function specConsumeBody(e,t,r){h.brandCheck(e,r);throwIfAborted(e[g]);if(bodyUnusable(e[g].body)){throw new TypeError("Body is unusable")}const n=c();const errorSteps=e=>n.reject(e);const successSteps=e=>{try{n.resolve(t(e))}catch(e){errorSteps(e)}};if(e[g].body==null){successSteps(new Uint8Array);return n.promise}await l(e[g].body,successSteps,errorSteps);return n.promise}function bodyUnusable(e){return e!=null&&(e.stream.locked||A.isDisturbed(e.stream))}function utf8DecodeBytes(e){if(e.length===0){return""}if(e[0]===239&&e[1]===187&&e[2]===191){e=e.subarray(3)}const t=(new TextDecoder).decode(e);return t}function parseJSONFromBytes(e){return JSON.parse(utf8DecodeBytes(e))}function bodyMimeType(e){const{heaLine truncated
|
||||
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */s[A-4]=this.maskKey[0];s[A-3]=this.maskKey[1];s[A-2]=this.maskKey[2];s[A-1]=this.maskKey[3];s[1]=r;if(r===126){s.writeUInt16BE(t,2)}else if(r===127){s[2]=s[3]=0;s.writeUIntBE(t,4,6)}s[1]|=128;for(let e=0;e<t;e++){s[A+e]=this.frameData[e]^this.maskKey[e%4]}return s}}e.exports={WebsocketFrameSend:WebsocketFrameSend}},1688:(e,t,r)=>{"use strict";const{Writable:n}=r(2781);const A=r(7643);const{parserStates:s,opcodes:o,states:i,emptyBuffer:a}=r(9188);const{kReadyState:c,kSentClose:l,kResponse:u,kReceivedClose:g}=r(7578);const{isValidStatusCode:h,failWebsocketConnection:d,websocketMessageReceived:p}=r(5515);const{WebsocketFrameSend:E}=r(5444);const C={};C.ping=A.channel("undici:websocket:ping");C.pong=A.channel("undici:websocket:pong");class ByteParser extends n{#o=[];#i=0;#a=s.INFO;#c={};#l=[];constructor(e){super();this.ws=e}_write(e,t,r){this.#o.push(e);this.#i+=e.length;this.run(r)}run(e){while(true){if(this.#a===s.INFO){if(this.#i<2){return e()}const t=this.consume(2);this.#c.fin=(t[0]&128)!==0;this.#c.opcode=t[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==o.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==o.BINARY&&this.#c.opcode!==o.TEXT){d(this.ws,"Invalid frame type was fragmented.");return}const r=t[1]&127;if(r<=125){this.#c.payloadLength=r;this.#a=s.READ_DATA}else if(r===126){this.#a=s.PAYLOADLENGTH_16}else if(r===127){this.#a=s.PAYLOADLENGTH_64}if(this.#c.fragmented&&r>125){d(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===o.PING||this.#c.opcode===o.PONG||this.#c.opcode===o.CLOSE)&&r>125){d(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===o.CLOSE){if(r===1){d(this.ws,"Received close frame with a 1-byte body.");return}const e=this.consume(r);this.#c.closeInfo=this.parseCloseBody(false,e);if(!this.ws[l]){const e=Buffer.allocUnsafe(2);e.writeUInt16BE(this.#c.closeInfo.code,0);const t=new E(e);this.ws[u].socket.write(t.createFrame(o.CLOSE),(e=>{if(!e){this.ws[l]=true}}))}this.ws[c]=i.CLOSING;this.ws[g]=true;this.end();return}else if(this.#c.opcode===o.PING){const t=this.consume(r);if(!this.ws[g]){const e=new E(t);this.ws[u].socket.write(e.createFrame(o.PONG));if(C.ping.hasSubscribers){C.ping.publish({payload:t})}}this.#a=s.INFO;if(this.#i>0){continue}else{e();return}}else if(this.#c.opcode===o.PONG){const t=this.consume(r);if(C.pong.hasSubscribers){C.pong.publish({payload:t})}if(this.#i>0){continue}else{e();return}}}else if(this.#a===s.PAYLOADLENGTH_16){if(this.#i<2){return e()}const t=this.consume(2);this.#c.payloadLength=t.readUInt16BE(0);this.#a=s.READ_DATA}else if(this.#a===s.PAYLOADLENGTH_64){if(this.#i<8){return e()}const t=this.consume(8);const r=t.readUInt32BE(0);if(r>2**31-1){d(this.ws,"Received payload length > 2^31 bytes.");return}const n=t.readUInt32BE(4);this.#c.payloadLength=(r<<8)+n;this.#a=s.READ_DATA}else if(this.#a===s.READ_DATA){if(this.#i<this.#c.payloadLength){return e()}else if(this.#i>=this.#c.payloadLength){const e=this.consume(this.#c.payloadLength);this.#l.push(e);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===o.CONTINUATION){const e=Buffer.concat(this.#l);p(this.ws,this.#c.originalOpcode,e);this.#c={};this.#l.length=0}this.#a=s.INFO}}if(this.#i>0){continue}else{e();break}}}consume(e){if(e>this.#i){return null}else if(e===0){return a}if(this.#o[0].length===e){this.#i-=this.#o[0].length;return this.#o.shift()}const t=Buffer.allocUnsafe(e);let r=0;while(r!==e){const n=this.#o[0];const{length:A}=n;if(A+r===e){t.set(this.#o.shift(),r);break}else if(A+r>e){t.set(n.subarray(0,e-r),r);this.#o[0]=n.subarray(e-r);break}else{t.set(this.#o.shift(),r);r+=n.length}}this.#i-=e;return t}parseCloseBody(e,t){let r;if(t.length>=2){r=t.readUInt16BE(0)}if(e){if(!h(r)){return null}return{code:r}}let n=t.subarray(2);if(n[0]===239&&n[1]===187&&n[2]===191){n=n.subarray(3)}if(r!==undefined&&!h(r)){return null}try{n=new TextDecoder("utf-8",{fatal:true}).decode(n)}catch{return null}return{code:r,reason:n}}get closingInfo(){return this.#c.closeInfo}}e.exports={ByteParser:ByteParser}},7578:e=>{"use strict";e.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},5515:(e,t,r)=>{"use strict";const{kReadyState:n,kController:A,kResponse:s,kBinaryType:o,kWebSocketURL:i}=r(7578);const{states:a,opcodes:c}=r(9188);const{MessageEvent:l,ErrorEvent:u}=r(2611);function isEstablished(e){return e[n]===a.OPEN}function isClosing(e){return e[n]===a.CLOSING}function isClosed(e){return e[n]===a.CLOSED}function fireEvent(e,t,r=Event,n){const A=new r(e,n);t.dispatchEvent(A)}function websocketMessageReceived(e,t,r){if(e[n]!==a.OPEN){return}let A;if(t===c.TEXT){try{A=new TextDecoder("utf-8",{fatal:true}).decode(r)Line truncated
|
||||
//# sourceMappingURL=index.js.map
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"index.js","names":["__createBinding","this","Object","create","o","m","k","k2","undefined","defineProperty","enumerable","get","__setModuleDefault","v","value","__importStar","mod","__esModule","result","hasOwnProperty","call","exports","issue","issueCommand","os","__webpack_require__","utils_1","command","properties","message","cmd","Command","process","stdout","write","toString","EOL","name","CMD_STRING","constructor","cmdStr","keys","length","first","key","val","escapeProperty","escapeData","s","toCommandValue","replace","__awaiter","thisArg","_arguments","P","generator","adopt","resolve","Promise","reject","fulfilled","step","next","e","rejected","done","then","apply","getIDToken","getState","saveState","group","endGroup","startGroup","info","notice","warning","error","debug","isDebug","setFailed","setCommandEcho","setOutput","getBooleanInput","getMultilineInput","getInput","addPath","setSecret","exportVariable","ExitCode","command_1","file_command_1","path","oidc_utils_1","convertedVal","env","filePath","issueFileCommand","prepareKeyValueMessage","secret","inputPath","delimiter","options","toUpperCase","required","Error","trimWhitespace","trim","inputs","split","filter","x","map","input","trueValue","falseValue","includes","TypeError","enabled","exitCode","Failure","toCommandProperties","fn","aud","OidcClient","summary_1","summary","summary_2","markdownSummary","path_utils_1","toPosixPath","toWin32Path","toPlatformPath","fs","uuid_1","existsSync","appendFileSync","encoding","v4","convertedValue","http_client_1","auth_1","core_1","createHttpClient","allowRetry","maxRetry","requestOptions","allowRetries","maxRetries","HttpClient","BearerCredentialHandler","getRequestToken","token","getIDTokenUrl","runtimeUrl","getCall","id_token_url","_a","httpclient","res","getJson","catch","statusCode","id_token","audience","encodedAudience","encodeURIComponent","pth","sep","SUMMARY_DOCS_URL","SUMMARY_ENV_VAR","os_1","fs_1","access","appendFile","writeFile","promises","Summary","_buffer","_filePath","pathFromEnv","constants","R_OK","W_OK","wrap","tag","content","attrs","htmlAttrs","entries","join","overwrite","writeFunc","emptyBuffer","clear","stringify","isEmptyBuffer","addRaw","text","addEOL","addCodeBlock","code","lang","assign","element","addList","items","ordered","listItems","item","addTable","rows","tableBody","row","cells","cell","header","data","colspan","rowspan","addDetails","label","addImage","src","alt","width","height","addHeading","level","allowedTag","addSeparator","addBreak","addQuote","cite","addLink","href","_summary","String","JSON","annotationProperties","title","file","line","startLine","endLine","col","startColumn","endColumn","_v","default","_v2","_v3","_v4","_nil","_version","_validate","_stringify","_parse","_interopRequireDefault","obj","_crypto","md5","bytes","Array","isArray","Buffer","from","createHash","update","digest","_default","parse","uuid","arr","Uint8Array","parseInt","slice","rng","rnds8Pool","poolPtr","randomFillSync","sha1","byteToHex","i","push","substr","offset","toLowerCase","_rng","_nodeId","_clockseq","_lastMSecs","_lastNSecs","v1","buf","b","node","clockseq","seedBytes","random","msecs","Date","now","nsecs","dt","tl","tmh","n","_md","v3","URL","DNS","stringToBytes","str","unescape","charCodeAt","version","hashfunc","generateUUID","namespace","set","err","rnds","_sha","v5","_regex","validate","test","getExecOutput","exec","string_decoder_1","tr","commandLine","args","commandArgs","argStringToArray","toolPath","concat","runner","ToolRunner","_b","stderr","stdoutDecoder","StringDecoder","stderrDecoder","originalStdoutListener","listeners","originalStdErrListener","stdErrListener","stdOutListener","end","events","child","io","ioUtil","timers_1","IS_WINDOWS","platform","EventEmitter","super","_debug","_getCommandString","noPrefix","_getSpawnFileName","_getSpawnArgs","_isCmdFile","a","windowsVerbatimArguments","_windowsQuoteCmdArg","_processLineBuffer","strBuffer","onLine","indexOf","substring","argline","_endsWith","endsWith","upperToolPath","arg","_uvQuoteCmdArg","cmdSpecialChars","needsQuotes","char","some","reverse","quoteHit","_cloneExecOptions","cwd","silent","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","isRooted","which","optionsNonNull","state","ExecState","on","exists","fileName","cp","spawn","stdbuffer","stdline","errbuffer","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","emit","removeAllListeners","stdin","argString","inQuotes","escaped","append","c","charAt","timeout","_setResult","setTimeout","HandleTimeout","clearTimeout","Context","_c","payload","GITHUB_EVENT_PATH","readFileSync","eventName","GITHUB_EVENT_NAME","sha","GITHUB_SHA","ref","GITHUB_REF","workflow","GITHUB_WORKFLOW","action","GITHUB_ACTION","actor","GITHUB_ACTOR","job","GITHUB_JOB","runNumber","GITHUB_RUN_NUMBER","runId","GITHUB_RUN_ID","apiUrl","GITHUB_API_URL","serverUrl","Line truncated
|
||||
{"version":3,"file":"index.js","names":["__createBinding","this","Object","create","o","m","k","k2","undefined","defineProperty","enumerable","get","__setModuleDefault","v","value","__importStar","mod","__esModule","result","hasOwnProperty","call","exports","issue","issueCommand","os","__webpack_require__","utils_1","command","properties","message","cmd","Command","process","stdout","write","toString","EOL","name","CMD_STRING","constructor","cmdStr","keys","length","first","key","val","escapeProperty","escapeData","s","toCommandValue","replace","__awaiter","thisArg","_arguments","P","generator","adopt","resolve","Promise","reject","fulfilled","step","next","e","rejected","done","then","apply","getIDToken","getState","saveState","group","endGroup","startGroup","info","notice","warning","error","debug","isDebug","setFailed","setCommandEcho","setOutput","getBooleanInput","getMultilineInput","getInput","addPath","setSecret","exportVariable","ExitCode","command_1","file_command_1","path","oidc_utils_1","convertedVal","env","filePath","issueFileCommand","prepareKeyValueMessage","secret","inputPath","delimiter","options","toUpperCase","required","Error","trimWhitespace","trim","inputs","split","filter","x","map","input","trueValue","falseValue","includes","TypeError","enabled","exitCode","Failure","toCommandProperties","fn","aud","OidcClient","summary_1","summary","summary_2","markdownSummary","path_utils_1","toPosixPath","toWin32Path","toPlatformPath","fs","uuid_1","existsSync","appendFileSync","encoding","v4","convertedValue","http_client_1","auth_1","core_1","createHttpClient","allowRetry","maxRetry","requestOptions","allowRetries","maxRetries","HttpClient","BearerCredentialHandler","getRequestToken","token","getIDTokenUrl","runtimeUrl","getCall","id_token_url","_a","httpclient","res","getJson","catch","statusCode","id_token","audience","encodedAudience","encodeURIComponent","pth","sep","SUMMARY_DOCS_URL","SUMMARY_ENV_VAR","os_1","fs_1","access","appendFile","writeFile","promises","Summary","_buffer","_filePath","pathFromEnv","constants","R_OK","W_OK","wrap","tag","content","attrs","htmlAttrs","entries","join","overwrite","writeFunc","emptyBuffer","clear","stringify","isEmptyBuffer","addRaw","text","addEOL","addCodeBlock","code","lang","assign","element","addList","items","ordered","listItems","item","addTable","rows","tableBody","row","cells","cell","header","data","colspan","rowspan","addDetails","label","addImage","src","alt","width","height","addHeading","level","allowedTag","addSeparator","addBreak","addQuote","cite","addLink","href","_summary","String","JSON","annotationProperties","title","file","line","startLine","endLine","col","startColumn","endColumn","_v","default","_v2","_v3","_v4","_nil","_version","_validate","_stringify","_parse","_interopRequireDefault","obj","_crypto","md5","bytes","Array","isArray","Buffer","from","createHash","update","digest","_default","parse","uuid","arr","Uint8Array","parseInt","slice","rng","rnds8Pool","poolPtr","randomFillSync","sha1","byteToHex","i","push","substr","offset","toLowerCase","_rng","_nodeId","_clockseq","_lastMSecs","_lastNSecs","v1","buf","b","node","clockseq","seedBytes","random","msecs","Date","now","nsecs","dt","tl","tmh","n","_md","v3","URL","DNS","stringToBytes","str","unescape","charCodeAt","version","hashfunc","generateUUID","namespace","set","err","rnds","_sha","v5","_regex","validate","test","getExecOutput","exec","string_decoder_1","tr","commandLine","args","commandArgs","argStringToArray","toolPath","concat","runner","ToolRunner","_b","stderr","stdoutDecoder","StringDecoder","stderrDecoder","originalStdoutListener","listeners","originalStdErrListener","stdErrListener","stdOutListener","end","events","child","io","ioUtil","timers_1","IS_WINDOWS","platform","EventEmitter","super","_debug","_getCommandString","noPrefix","_getSpawnFileName","_getSpawnArgs","_isCmdFile","a","windowsVerbatimArguments","_windowsQuoteCmdArg","_processLineBuffer","strBuffer","onLine","indexOf","substring","argline","_endsWith","endsWith","upperToolPath","arg","_uvQuoteCmdArg","cmdSpecialChars","needsQuotes","char","some","reverse","quoteHit","_cloneExecOptions","cwd","silent","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","isRooted","which","optionsNonNull","state","ExecState","on","exists","fileName","cp","spawn","stdbuffer","stdline","errbuffer","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","emit","removeAllListeners","stdin","argString","inQuotes","escaped","append","c","charAt","timeout","_setResult","setTimeout","HandleTimeout","clearTimeout","Context","_c","payload","GITHUB_EVENT_PATH","readFileSync","eventName","GITHUB_EVENT_NAME","sha","GITHUB_SHA","ref","GITHUB_REF","workflow","GITHUB_WORKFLOW","action","GITHUB_ACTION","actor","GITHUB_ACTOR","job","GITHUB_JOB","runNumber","GITHUB_RUN_NUMBER","runId","GITHUB_RUN_ID","apiUrl","GITHUB_API_URL","serverUrl","Line truncated
|
||||
+1
-1
@@ -27,7 +27,7 @@
|
||||
"packageManager": "yarn@3.6.3",
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.10.1",
|
||||
"@docker/actions-toolkit": "^0.13.0",
|
||||
"@docker/actions-toolkit": "^0.14.0",
|
||||
"uuid": "^9.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -900,9 +900,9 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@docker/actions-toolkit@npm:^0.13.0":
|
||||
version: 0.13.0
|
||||
resolution: "@docker/actions-toolkit@npm:0.13.0"
|
||||
"@docker/actions-toolkit@npm:^0.14.0":
|
||||
version: 0.14.0
|
||||
resolution: "@docker/actions-toolkit@npm:0.14.0"
|
||||
dependencies:
|
||||
"@actions/cache": ^3.2.2
|
||||
"@actions/core": ^1.10.1
|
||||
@@ -912,15 +912,15 @@ __metadata:
|
||||
"@actions/io": ^1.1.3
|
||||
"@actions/tool-cache": ^2.0.1
|
||||
"@octokit/core": ^5.0.1
|
||||
"@octokit/plugin-rest-endpoint-methods": ^10.0.1
|
||||
"@octokit/plugin-rest-endpoint-methods": ^10.1.5
|
||||
async-retry: ^1.3.3
|
||||
csv-parse: ^5.5.2
|
||||
handlebars: ^4.7.8
|
||||
js-yaml: ^4.1.0
|
||||
jwt-decode: ^3.1.2
|
||||
jwt-decode: ^4.0.0
|
||||
semver: ^7.5.4
|
||||
tmp: ^0.2.1
|
||||
checksum: 2ca7433a45e34c45db653bcda166d0fd39f6899e2199b6d41bcba64c4e7c541fe95042e6eaad7452a942691b290eb9ab299687144dd92f75d34640c60a7e5b05
|
||||
checksum: dbbdf6cbd962eb05b9ec2d3026a1cf97394839c4e595ec047efe5595ca773f8c3927e03b64a98469da96e56038e16d3d0ad91c500be787087777f14406cc9248
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -1446,6 +1446,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@octokit/openapi-types@npm:^19.0.2":
|
||||
version: 19.0.2
|
||||
resolution: "@octokit/openapi-types@npm:19.0.2"
|
||||
checksum: 2a5d577a21674be1e004f081e973a5c68ec945063d0ff29b41f67a535a69d97f7f9ce084e313d922a815f0c361763664a43a650bf6e520548892dd2f192b88da
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@octokit/plugin-paginate-rest@npm:^9.0.0":
|
||||
version: 9.0.0
|
||||
resolution: "@octokit/plugin-paginate-rest@npm:9.0.0"
|
||||
@@ -1457,7 +1464,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@octokit/plugin-rest-endpoint-methods@npm:^10.0.0, @octokit/plugin-rest-endpoint-methods@npm:^10.0.1":
|
||||
"@octokit/plugin-rest-endpoint-methods@npm:^10.0.0":
|
||||
version: 10.0.1
|
||||
resolution: "@octokit/plugin-rest-endpoint-methods@npm:10.0.1"
|
||||
dependencies:
|
||||
@@ -1468,6 +1475,17 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@octokit/plugin-rest-endpoint-methods@npm:^10.1.5":
|
||||
version: 10.1.5
|
||||
resolution: "@octokit/plugin-rest-endpoint-methods@npm:10.1.5"
|
||||
dependencies:
|
||||
"@octokit/types": ^12.3.0
|
||||
peerDependencies:
|
||||
"@octokit/core": ">=5"
|
||||
checksum: 01b79eac7f1f5663c8bdb2f27a209873cebdf664b15712b4cc1f363f2a9df60f217e03af67a07000a4a7a70191080716ccc6d9fa454258f5cb2a09ef18723ee9
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@octokit/request-error@npm:^5.0.0":
|
||||
version: 5.0.1
|
||||
resolution: "@octokit/request-error@npm:5.0.1"
|
||||
@@ -1501,6 +1519,15 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@octokit/types@npm:^12.3.0":
|
||||
version: 12.3.0
|
||||
resolution: "@octokit/types@npm:12.3.0"
|
||||
dependencies:
|
||||
"@octokit/openapi-types": ^19.0.2
|
||||
checksum: ba852690b7dcdf0d01e68b2dba79b1823322406493bfb769964e07b0ee47005d58a0241e401afb6e03f0ab51ecd7a739d6d3e4d0cc1db8b7606c36c8a2104e67
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@opentelemetry/api@npm:^1.0.1":
|
||||
version: 1.4.1
|
||||
resolution: "@opentelemetry/api@npm:1.4.1"
|
||||
@@ -2720,7 +2747,7 @@ __metadata:
|
||||
resolution: "docker-setup-docker@workspace:."
|
||||
dependencies:
|
||||
"@actions/core": ^1.10.1
|
||||
"@docker/actions-toolkit": ^0.13.0
|
||||
"@docker/actions-toolkit": ^0.14.0
|
||||
"@types/node": ^20.6.0
|
||||
"@typescript-eslint/eslint-plugin": ^6.6.0
|
||||
"@typescript-eslint/parser": ^6.6.0
|
||||
@@ -4417,10 +4444,10 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"jwt-decode@npm:^3.1.2":
|
||||
version: 3.1.2
|
||||
resolution: "jwt-decode@npm:3.1.2"
|
||||
checksum: 20a4b072d44ce3479f42d0d2c8d3dabeb353081ba4982e40b83a779f2459a70be26441be6c160bfc8c3c6eadf9f6380a036fbb06ac5406b5674e35d8c4205eeb
|
||||
"jwt-decode@npm:^4.0.0":
|
||||
version: 4.0.0
|
||||
resolution: "jwt-decode@npm:4.0.0"
|
||||
checksum: 390e2edcb31a92e86c8cbdd1edeea4c0d62acd371f8a8f0a8878e499390c0ecf4c658b365c4e941e4ef37d0170e4ca650aaa49f99a45c0b9695a235b210154b0
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Reference in new issue
Block a user