Action-SpigotMC/dist/index.js

3 lines
115 KiB
JavaScript
Raw Normal View History

Update dependencies Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.27.0 to 0.29.0. - [Release notes](https://github.com/vercel/ncc/releases) - [Commits](https://github.com/vercel/ncc/compare/0.27.0...0.29.0) --- updated-dependencies: - dependency-name: "@vercel/ncc" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Bump @actions/core from 1.2.6 to 1.4.0 Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.6 to 1.4.0. - [Release notes](https://github.com/actions/toolkit/releases) - [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core) --- updated-dependencies: - dependency-name: "@actions/core" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Bump @types/async from 3.2.5 to 3.2.7 Bumps [@types/async](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/async) from 3.2.5 to 3.2.7. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/async) --- updated-dependencies: - dependency-name: "@types/async" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Bump @types/fs-extra from 9.0.9 to 9.0.12 Bumps [@types/fs-extra](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/fs-extra) from 9.0.9 to 9.0.12. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/fs-extra) --- updated-dependencies: - dependency-name: "@types/fs-extra" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Bump typescript from 4.2.3 to 4.3.5 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.3 to 4.3.5. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.3...v4.3.5) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Bump fs-extra from 9.1.0 to 10.0.0 Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 9.1.0 to 10.0.0. - [Release notes](https://github.com/jprichardson/node-fs-extra/releases) - [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md) - [Commits](https://github.com/jprichardson/node-fs-extra/compare/9.1.0...10.0.0) --- updated-dependencies: - dependency-name: fs-extra dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Bump ts-node from 9.1.1 to 10.1.0 Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 9.1.1 to 10.1.0. - [Release notes](https://github.com/TypeStrong/ts-node/releases) - [Commits](https://github.com/TypeStrong/ts-node/compare/v9.1.1...v10.1.0) --- updated-dependencies: - dependency-name: ts-node dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Bump @tsconfig/node12 from 1.0.7 to 1.0.9 Bumps [@tsconfig/node12](https://github.com/tsconfig/bases/tree/HEAD/bases) from 1.0.7 to 1.0.9. - [Release notes](https://github.com/tsconfig/bases/releases) - [Commits](https://github.com/tsconfig/bases/commits/HEAD/bases) --- updated-dependencies: - dependency-name: "@tsconfig/node12" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Bump @types/n-readlines from 1.0.1 to 1.0.2 Bumps [@types/n-readlines](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/n-readlines) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/n-readlines) --- updated-dependencies: - dependency-name: "@types/n-readlines" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Change @types/node version to 12.x Bump @types/node from 12.20.7 to 12.20.18 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.20.7 to 12.20.18. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2021-08-01 17:46:36 +00:00
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 i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var a=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);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.issue=t.issueCommand=void 0;const s=a(r(2087));const o=r(5278);function issueCommand(e,t,r){const n=new Command(e,t,r);process.stdout.write(n.toString()+s.EOL)}t.issueCommand=issueCommand;function issue(e,t=""){issueCommand(e,{},t)}t.issue=issue;const c="::";class Command{constructor(e,t,r){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=r}toString(){let e=c+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+=`${c}${escapeData(this.message)}`;return e}}function escapeData(e){return o.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return o.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 i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var a=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);i(t,e);return t};var s=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,i){function fulfilled(e){try{step(n.next(e))}catch(e){i(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){i(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.getState=t.saveState=t.group=t.endGroup=t.startGroup=t.info=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 o=r(7351);const c=r(717);const u=r(5278);const l=a(r(2087));const f=a(r(5622));var p;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(p=t.ExitCode||(t.ExitCode={}));function exportVariable(e,t){const r=u.toCommandValue(t);process.env[e]=r;const n=process.env["GITHUB_ENV"]||"";if(n){const t="_GitHubActionsFileCommandDelimeter_";const n=`${e}<<${t}${l.EOL}${r}${l.EOL}${t}`;c.issueCommand("ENV",n)}else{o.issueCommand("set-env",{name:e},r)}}t.exportVariable=exportVariable;function setSecret(e){o.issueCommand("add-mask",{},e)}t.setSecret=setSecret;function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){c.issueCommand("PATH",e)}else{o.issueCommand("add-path",{},e)}process.env["PATH"]=`${e}${f.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!==""));return r}t.getMultilineInput=getMultilineInput;function get
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */if(!String.fromCodePoint){(function(){var e=String.fromCharCode;var t=Math.floor;var fromCodePoint=function(){var r=16384;var n=[];var i;var a;var s=-1;var o=arguments.length;if(!o){return""}var c="";while(++s<o){var u=Number(arguments[s]);if(!isFinite(u)||u<0||u>1114111||t(u)!==u){throw RangeError("Invalid code point: "+u)}if(u<=65535){n.push(u)}else{u-=65536;i=(u>>10)+55296;a=u%1024+56320;n.push(i,a)}if(s+1===o||n.length>r){c+=e.apply(null,n);n.length=0}}return c};if(Object.defineProperty){Object.defineProperty(String,"fromCodePoint",{value:fromCodePoint,configurable:true,writable:true})}else{String.fromCodePoint=fromCodePoint}})()}})(false?0:t)},9046:(e,t)=>{"use strict";t.fromCallback=function(e){return Object.defineProperty((function(...t){if(typeof t[t.length-1]==="function")e.apply(this,t);else{return new Promise(((r,n)=>{e.call(this,...t,((e,t)=>e!=null?n(e):r(t)))}))}}),"name",{value:e.name})};t.fromPromise=function(e){return Object.defineProperty((function(...t){const r=t[t.length-1];if(typeof r!=="function")return e.apply(this,t);else e.apply(this,t.slice(0,-1)).then((e=>r(null,e)),r)}),"name",{value:e.name})}},1709:e=>{e.exports={isArray:function(e){if(Array.isArray){return Array.isArray(e)}return Object.prototype.toString.call(e)==="[object Array]"}}},8821:(e,t,r)=>{var n=r(2903);var i=r(8919);var a=r(4453);var s=r(1900);e.exports={xml2js:n,xml2json:i,js2xml:a,json2xml:s}},4453:(e,t,r)=>{var n=r(6717);var i=r(1709).isArray;var a,s;function validateOptions(e){var t=n.copyOptions(e);n.ensureFlagExists("ignoreDeclaration",t);n.ensureFlagExists("ignoreInstruction",t);n.ensureFlagExists("ignoreAttributes",t);n.ensureFlagExists("ignoreText",t);n.ensureFlagExists("ignoreComment",t);n.ensureFlagExists("ignoreCdata",t);n.ensureFlagExists("ignoreDoctype",t);n.ensureFlagExists("compact",t);n.ensureFlagExists("indentText",t);n.ensureFlagExists("indentCdata",t);n.ensureFlagExists("indentAttributes",t);n.ensureFlagExists("indentInstruction",t);n.ensureFlagExists("fullTagEmptyElement",t);n.ensureFlagExists("noQuotesForNativeAttributes",t);n.ensureSpacesExists(t);if(typeof t.spaces==="number"){t.spaces=Array(t.spaces+1).join(" ")}n.ensureKeyExists("declaration",t);n.ensureKeyExists("instruction",t);n.ensureKeyExists("attributes",t);n.ensureKeyExists("text",t);n.ensureKeyExists("comment",t);n.ensureKeyExists("cdata",t);n.ensureKeyExists("doctype",t);n.ensureKeyExists("type",t);n.ensureKeyExists("name",t);n.ensureKeyExists("elements",t);n.checkFnExists("doctype",t);n.checkFnExists("instruction",t);n.checkFnExists("cdata",t);n.checkFnExists("comment",t);n.checkFnExists("text",t);n.checkFnExists("instructionName",t);n.checkFnExists("elementName",t);n.checkFnExists("attributeName",t);n.checkFnExists("attributeValue",t);n.checkFnExists("attributes",t);n.checkFnExists("fullTagEmptyElement",t);return t}function writeIndentation(e,t,r){return(!r&&e.spaces?"\n":"")+Array(t+1).join(e.spaces)}function writeAttributes(e,t,r){if(t.ignoreAttributes){return""}if("attributesFn"in t){e=t.attributesFn(e,s,a)}var n,i,o,c,u=[];for(n in e){if(e.hasOwnProperty(n)&&e[n]!==null&&e[n]!==undefined){c=t.noQuotesForNativeAttributes&&typeof e[n]!=="string"?"":'"';i=""+e[n];i=i.replace(/"/g,"&quot;");o="attributeNameFn"in t?t.attributeNameFn(n,i,s,a):n;u.push(t.spaces&&t.indentAttributes?writeIndentation(t,r+1,false):" ");u.push(o+"="+c+("attributeValueFn"in t?t.attributeValueFn(i,n,s,a):i)+c)}}if(e&&Object.keys(e).length&&t.spaces&&t.indentAttributes){u.push(writeIndentation(t,r,false))}return u.join("")}function writeDeclaration(e,t,r){a=e;s="xml";return t.ignoreDeclaration?"":"<?"+"xml"+writeAttributes(e[t.attributesKey],t,r)+"?>"}function writeInstruction(e,t,r){if(t.ignoreInstruction){return""}var n;for(n in e){if(e.hasOwnProperty(n)){break}}var i="instructionNameFn"in t?t.instructionNameFn(n,e[n],s,a):n;if(typeof e[n]==="object"){a=e;s=i;return"<?"+i+writeAttributes(e[n][t.attributesKey],t,r)+"?>"}else{var o=e[n]?e[n]:"";if("instructionFn"in t)o=t.instructionFn(o,n,s,a);return"<?"+i+(o?" "+o:""
2020-11-01 01:27:31 +00:00
//# sourceMappingURL=index.js.map