mirror of
https://github.com/darksaid98/auto-changelog.git
synced 2026-12-02 14:38:47 +00:00
deps: bump yaml from 1.10.2 to 2.0.0 (#36)
* deps: bump yaml from 1.10.2 to 2.0.0 Bumps [yaml](https://github.com/eemeli/yaml) from 1.10.2 to 2.0.0. - [Release notes](https://github.com/eemeli/yaml/releases) - [Commits](https://github.com/eemeli/yaml/compare/v1.10.2...v2.0.0) --- updated-dependencies: - dependency-name: yaml dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * chore: Update action directory Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ardalan Amini <[email protected]>
This commit is contained in:
1 parent
1a10e9f851
commit
2a25fdc7af
5 files changed
+13
-13
No files matched your search
+2
-2
@@ -1,8 +1,8 @@
|
||||
require('./sourcemap-register.js');(()=>{var __webpack_modules__={7412:function(e,t,a){"use strict";var r=this&&this.__awaiter||function(e,t,a,r){function adopt(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,s){function fulfilled(e){try{step(r.next(e))}catch(e){s(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){s(e)}}function step(e){e.done?a(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};var s=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],a;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),a={},verb("next"),verb("throw"),verb("return"),a[Symbol.asyncIterator]=function(){return this},a);function verb(t){a[t]=e[t]&&function(a){return new Promise((function(r,s){a=e[t](a),settle(r,s,a.done,a.value)}))}}function settle(e,t,a,r){Promise.resolve(r).then((function(t){e({value:t,done:a})}),t)}};var n=this&&this.__rest||function(e,t){var a={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0)a[r]=e[r];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++){if(t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s]))a[r[s]]=e[r[s]]}return a};Object.defineProperty(t,"__esModule",{value:true});t.generate=void 0;const i=a(1912);function generate(e){var t,a;var o,p,d;return r(this,void 0,void 0,(function*(){const{octokit:r,owner:l,repo:m,sha:c,tagRef:u,inputs:h}=e;const{commitTypes:g,defaultCommitType:v}=h;const y=`https://github.com/${l}/${m}`;const w={};try{e:for(var b=s(r.paginate.iterator(r.rest.repos.listCommits,{per_page:100,owner:l,repo:m,sha:c})),_;_=yield b.next(),!_.done;){const{data:e}=_.value;for(let t of e){const{sha:e}=t,a=n(t,["sha"]);if(e===u)break e;const r=a.commit.message.split("\n")[0];let[,s,l,m,c]=i.COMMIT_REGEX.exec(r)||[];if(!m)continue;c=trim(c);if(c==="ignore")continue;s=trim(s);s=(o=g[s])!==null&&o!==void 0?o:v;l=l?trim(l):"";m=trim(m).replace(i.PR_REGEX,((e,t)=>`[${e}](${y}/pull/${t})`));w[s]=(p=w[s])!==null&&p!==void 0?p:{};w[s][l]=(d=w[s][l])!==null&&d!==void 0?d:[];const h=w[s][l].findIndex((e=>e.title===m));if(h===-1)w[s][l].push({title:m,commits:[e]});else w[s][l][h].commits.push(e)}}}catch(e){t={error:e}}finally{try{if(_&&!_.done&&(a=b.return))yield a.call(b)}finally{if(t)throw t.error}}const E=unique([...Object.values(g),v]);return E.reduce(((e,t)=>{const a=w[t];if(a==null)return e;e.push(`### ${t}`,"");const r=Object.keys(a).sort();for(const t of r){const r=a[t];const s=t.length===0;if(!s)e.push(`* **${t}:**`);const n=s?"":" ";for(const{title:t,commits:a}of r){e.push(`${n}* ${t} (${a.map((e=>`[${e.slice(0,8)}](${y}/commit/${e})`)).join(",")})`)}}e.push("");return e}),[]).join("\n")}))}t.generate=generate;function trim(e){if(e==null)return e;return e.trim().replace(/ {2,}/g," ")}function unique(e){return[...new Set(e)]}},1912:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PR_REGEX=t.COMMIT_REGEX=void 0;t.COMMIT_REGEX=/^([^)]*)(?:\(([^)]*?)\)|):(.*?)(?:\[([^\]]+?)\]|)\s*$/;t.PR_REGEX=/#([1-9]\d*)/g},7331:function(e,t,a){"use strict";var r=this&&this.__awaiter||function(e,t,a,r){function adopt(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,s){function fulfilled(e){try{step(r.next(e))}catch(e){s(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){s(e)}}function step(e){e.done?a(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.getInputs=t.getToken=void 0;const n=a(2186);const i=s(a(918));const o=s(a(4603));function getToken(){return(0,n.getInput)("github-token",{required:true})}t.getToken=getToken;function getInputs(){return r(this,void 0,void 0,(function*(){const e=o.default.parse((0,n.getInput)("commit-types",{required:true}));const t=(0,n.getInput)("default-commit-type",{required:true});return i.default.object().keys({commitTypes:i.default.object().pattern(i.default.string(),i.default.string()).required(),defaultCommitType:i.default.string().required()}).validateAsync({commitTypes:e,defaultCommitType:t})}))}t.getInputs=getInputs},9283:function(e,t,a){"use strict";var r=this&&this.__awaiter||function(e,t,a,r){function adopt(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,s){function fulfilled(e){try{step(r.next(e))}catch(e){s(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){s(e)}}function step(e){e.done?a(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});const s=a(2186);const n=a(5438);const i=a(7412);const o=a(7331);function run(){return r(this,void 0,void 0,(fuLine truncated
|
||||
require('./sourcemap-register.js');(()=>{var __webpack_modules__={7412:function(e,t,a){"use strict";var s=this&&this.__awaiter||function(e,t,a,s){function adopt(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,r){function fulfilled(e){try{step(s.next(e))}catch(e){r(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){r(e)}}function step(e){e.done?a(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};var r=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],a;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),a={},verb("next"),verb("throw"),verb("return"),a[Symbol.asyncIterator]=function(){return this},a);function verb(t){a[t]=e[t]&&function(a){return new Promise((function(s,r){a=e[t](a),settle(s,r,a.done,a.value)}))}}function settle(e,t,a,s){Promise.resolve(s).then((function(t){e({value:t,done:a})}),t)}};var i=this&&this.__rest||function(e,t){var a={};for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)&&t.indexOf(s)<0)a[s]=e[s];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var r=0,s=Object.getOwnPropertySymbols(e);r<s.length;r++){if(t.indexOf(s[r])<0&&Object.prototype.propertyIsEnumerable.call(e,s[r]))a[s[r]]=e[s[r]]}return a};Object.defineProperty(t,"__esModule",{value:true});t.generate=void 0;const n=a(1912);function generate(e){var t,a;var o,p,d;return s(this,void 0,void 0,(function*(){const{octokit:s,owner:l,repo:m,sha:c,tagRef:u,inputs:h}=e;const{commitTypes:g,defaultCommitType:v}=h;const y=`https://github.com/${l}/${m}`;const b={};try{e:for(var w=r(s.paginate.iterator(s.rest.repos.listCommits,{per_page:100,owner:l,repo:m,sha:c})),_;_=yield w.next(),!_.done;){const{data:e}=_.value;for(let t of e){const{sha:e}=t,a=i(t,["sha"]);if(e===u)break e;const s=a.commit.message.split("\n")[0];let[,r,l,m,c]=n.COMMIT_REGEX.exec(s)||[];if(!m)continue;c=trim(c);if(c==="ignore")continue;r=trim(r);r=(o=g[r])!==null&&o!==void 0?o:v;l=l?trim(l):"";m=trim(m).replace(n.PR_REGEX,((e,t)=>`[${e}](${y}/pull/${t})`));b[r]=(p=b[r])!==null&&p!==void 0?p:{};b[r][l]=(d=b[r][l])!==null&&d!==void 0?d:[];const h=b[r][l].findIndex((e=>e.title===m));if(h===-1)b[r][l].push({title:m,commits:[e]});else b[r][l][h].commits.push(e)}}}catch(e){t={error:e}}finally{try{if(_&&!_.done&&(a=w.return))yield a.call(w)}finally{if(t)throw t.error}}const E=unique([...Object.values(g),v]);return E.reduce(((e,t)=>{const a=b[t];if(a==null)return e;e.push(`### ${t}`,"");const s=Object.keys(a).sort();for(const t of s){const s=a[t];const r=t.length===0;if(!r)e.push(`* **${t}:**`);const i=r?"":" ";for(const{title:t,commits:a}of s){e.push(`${i}* ${t} (${a.map((e=>`[${e.slice(0,8)}](${y}/commit/${e})`)).join(",")})`)}}e.push("");return e}),[]).join("\n")}))}t.generate=generate;function trim(e){if(e==null)return e;return e.trim().replace(/ {2,}/g," ")}function unique(e){return[...new Set(e)]}},1912:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PR_REGEX=t.COMMIT_REGEX=void 0;t.COMMIT_REGEX=/^([^)]*)(?:\(([^)]*?)\)|):(.*?)(?:\[([^\]]+?)\]|)\s*$/;t.PR_REGEX=/#([1-9]\d*)/g},7331:function(e,t,a){"use strict";var s=this&&this.__awaiter||function(e,t,a,s){function adopt(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,r){function fulfilled(e){try{step(s.next(e))}catch(e){r(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){r(e)}}function step(e){e.done?a(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.getInputs=t.getToken=void 0;const i=a(2186);const n=r(a(918));const o=r(a(4083));function getToken(){return(0,i.getInput)("github-token",{required:true})}t.getToken=getToken;function getInputs(){return s(this,void 0,void 0,(function*(){const e=o.default.parse((0,i.getInput)("commit-types",{required:true}));const t=(0,i.getInput)("default-commit-type",{required:true});return n.default.object().keys({commitTypes:n.default.object().pattern(n.default.string(),n.default.string()).required(),defaultCommitType:n.default.string().required()}).validateAsync({commitTypes:e,defaultCommitType:t})}))}t.getInputs=getInputs},9283:function(e,t,a){"use strict";var s=this&&this.__awaiter||function(e,t,a,s){function adopt(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,r){function fulfilled(e){try{step(s.next(e))}catch(e){r(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){r(e)}}function step(e){e.done?a(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});const r=a(2186);const i=a(5438);const n=a(7412);const o=a(7331);function run(){return s(this,void 0,void 0,(fuLine truncated
|
||||
/*!
|
||||
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
||||
*
|
||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/function isObject(e){return Object.prototype.toString.call(e)==="[object Object]"}function isPlainObject(e){var t,a;if(isObject(e)===false)return false;t=e.constructor;if(t===undefined)return true;a=t.prototype;if(isObject(a)===false)return false;if(a.hasOwnProperty("isPrototypeOf")===false){return false}return true}t.isPlainObject=isPlainObject},6014:(e,t,a)=>{"use strict";const r=a(5578);const s=a(2448);const n={annotations:Symbol("annotations")};t.error=function(e){if(!this._original||typeof this._original!=="object"){return this.details[0].message}const t=e?"":"[31m";const a=e?"":"[41m";const i=e?"":"[0m";const o=r(this._original);for(let e=this.details.length-1;e>=0;--e){const t=e+1;const a=this.details[e];const r=a.path;let i=o;for(let e=0;;++e){const o=r[e];if(s.isSchema(i)){i=i.clone()}if(e+1<r.length&&typeof i[o]!=="string"){i=i[o]}else{const e=i[n.annotations]||{errors:{},missing:{}};i[n.annotations]=e;const r=o||a.context.key;if(i[o]!==undefined){e.errors[r]=e.errors[r]||[];e.errors[r].push(t)}else{e.missing[r]=t}break}}}const p={key:/_\$key\$_([, \d]+)_\$end\$_"/g,missing:/"_\$miss\$_([^|]+)\|(\d+)_\$end\$_": "__missing__"/g,arrayIndex:/\s*"_\$idx\$_([, \d]+)_\$end\$_",?\n(.*)/g,specials:/"\[(NaN|Symbol.*|-?Infinity|function.*|\(.*)]"/g};let d=n.safeStringify(o,2).replace(p.key,((e,a)=>`" ${t}[${a}]${i}`)).replace(p.missing,((e,r,s)=>`${a}"${r}"${i}${t} [${s}]: -- missing --${i}`)).replace(p.arrayIndex,((e,a,r)=>`\n${r} ${t}[${a}]${i}`)).replace(p.specials,((e,t)=>t));d=`${d}\n${t}`;for(let e=0;e<this.details.length;++e){const t=e+1;d=`${d}\n[${t}] ${this.details[e].message}`}d=d+i;return d};n.safeStringify=function(e,t){return JSON.stringify(e,n.serializer(),t)};n.serializer=function(){const e=[];const t=[];const cycleReplacer=(a,r)=>{if(t[0]===r){return"[Circular ~]"}return"[Circular ~."+e.slice(0,t.indexOf(r)).join(".")+"]"};return function(a,r){if(t.length>0){const s=t.indexOf(this);if(~s){t.length=s+1;e.length=s+1;e[s]=a}else{t.push(this);e.push(a)}if(~t.indexOf(r)){r=cycleReplacer.call(this,a,r)}}else{t.push(r)}if(r){const e=r[n.annotations];if(e){if(Array.isArray(r)){const t=[];for(let a=0;a<r.length;++a){if(e.errors[a]){t.push(`_$idx$_${e.errors[a].sort().join(", ")}_$end$_`)}t.push(r[a])}r=t}else{for(const t in e.errors){r[`${t}_$key$_${e.errors[t].sort().join(", ")}_$end$_`]=r[t];r[t]=undefined}for(const t in e.missing){r[`_$miss$_${t}|${e.missing[t]}_$end$_`]="__missing__"}}return r}}if(r===Infinity||r===-Infinity||Number.isNaN(r)||typeof r==="function"||typeof r==="symbol"){return"["+r.toString()+"]"}return r}}},5184:(e,t,a)=>{"use strict";const r=a(2718);const s=a(5578);const n=a(5801);const i=a(445);const o=a(3355);const p=a(2448);const d=a(3038);const l=a(9490);const m=a(6680);const c=a(7997);const u=a(6103);const h=a(1290);const g=a(3838);const v=a(3171);const y=a(1804);const w=a(1944);const b={};b.Base=class{constructor(e){this.type=e;this.$_root=null;this._definition={};this._reset()}_reset(){this._ids=new h.Ids;this._preferences=null;this._refs=new g.Manager;this._cache=null;this._valids=null;this._invalids=null;this._flags={};this._rules=[];this._singleRules=new Map;this.$_terms={};this.$_temp={ruleset:null,whens:{}}}describe(){r(typeof c.describe==="function","Manifest functionality disabled");return c.describe(this)}allow(...e){p.verifyFlat(e,"allow");return this._values(e,"_valids")}alter(e){r(e&&typeof e==="object"&&!Array.isArray(e),"Invalid targets argument");r(!this._inRuleset(),"Cannot set alterations inside a ruleset");const t=this.clone();t.$_terms.alterations=t.$_terms.alterations||[];for(const a in e){const s=e[a];r(typeof s==="function","Alteration adjuster for",a,"must be a function");t.$_terms.alterations.push({target:a,adjuster:s})}t.$_temp.ruleset=false;return t}artifact(e){r(e!==undefined,"Artifact cannot be undefined");r(!this._cache,"Cannot set an artifact with a rule cache");return this.$_setFlag("artifact",e)}cast(e){r(e===false||typeof e==="string","Invalid to value");r(e===false||this._definition.cast[e],"Type",this.type,"does not support casting to",e);return this.$_setFlag("cast",e===false?undefined:e)}default(e,t){return this._default("default",e,t)}description(e){r(e&&typeof e==="string","Description must be a non-empty string");return this.$_setFlag("description",e)}empty(e){const t=this.clone();if(e!==undefined){e=t.$_compile(e,{override:false})}return t.$_setFlag("empty",e,{clone:false})}error(e){r(e,"Missing error");r(e instanceof Error||typeof e==="function","Must provide a valid Error object or a function");return this.$_setFlag("error",e)}example(e,t={}){r(e!==undefined,"Missing example");p.assertOptions(t,["override"]);return this._inner("examples",e,{single:true,override:t.override})}external(e,t){if(typeof e==="object"){r(!t,"Cannot combine options with description");t=e.description;e=e.method}r(typeof e==="function","Method must be a function");r(t===undefined||t&&typeof t==="string","Description must be a non-empty string");returLine truncated
|
||||
*/function isObject(e){return Object.prototype.toString.call(e)==="[object Object]"}function isPlainObject(e){var t,a;if(isObject(e)===false)return false;t=e.constructor;if(t===undefined)return true;a=t.prototype;if(isObject(a)===false)return false;if(a.hasOwnProperty("isPrototypeOf")===false){return false}return true}t.isPlainObject=isPlainObject},6014:(e,t,a)=>{"use strict";const s=a(5578);const r=a(2448);const i={annotations:Symbol("annotations")};t.error=function(e){if(!this._original||typeof this._original!=="object"){return this.details[0].message}const t=e?"":"[31m";const a=e?"":"[41m";const n=e?"":"[0m";const o=s(this._original);for(let e=this.details.length-1;e>=0;--e){const t=e+1;const a=this.details[e];const s=a.path;let n=o;for(let e=0;;++e){const o=s[e];if(r.isSchema(n)){n=n.clone()}if(e+1<s.length&&typeof n[o]!=="string"){n=n[o]}else{const e=n[i.annotations]||{errors:{},missing:{}};n[i.annotations]=e;const s=o||a.context.key;if(n[o]!==undefined){e.errors[s]=e.errors[s]||[];e.errors[s].push(t)}else{e.missing[s]=t}break}}}const p={key:/_\$key\$_([, \d]+)_\$end\$_"/g,missing:/"_\$miss\$_([^|]+)\|(\d+)_\$end\$_": "__missing__"/g,arrayIndex:/\s*"_\$idx\$_([, \d]+)_\$end\$_",?\n(.*)/g,specials:/"\[(NaN|Symbol.*|-?Infinity|function.*|\(.*)]"/g};let d=i.safeStringify(o,2).replace(p.key,((e,a)=>`" ${t}[${a}]${n}`)).replace(p.missing,((e,s,r)=>`${a}"${s}"${n}${t} [${r}]: -- missing --${n}`)).replace(p.arrayIndex,((e,a,s)=>`\n${s} ${t}[${a}]${n}`)).replace(p.specials,((e,t)=>t));d=`${d}\n${t}`;for(let e=0;e<this.details.length;++e){const t=e+1;d=`${d}\n[${t}] ${this.details[e].message}`}d=d+n;return d};i.safeStringify=function(e,t){return JSON.stringify(e,i.serializer(),t)};i.serializer=function(){const e=[];const t=[];const cycleReplacer=(a,s)=>{if(t[0]===s){return"[Circular ~]"}return"[Circular ~."+e.slice(0,t.indexOf(s)).join(".")+"]"};return function(a,s){if(t.length>0){const r=t.indexOf(this);if(~r){t.length=r+1;e.length=r+1;e[r]=a}else{t.push(this);e.push(a)}if(~t.indexOf(s)){s=cycleReplacer.call(this,a,s)}}else{t.push(s)}if(s){const e=s[i.annotations];if(e){if(Array.isArray(s)){const t=[];for(let a=0;a<s.length;++a){if(e.errors[a]){t.push(`_$idx$_${e.errors[a].sort().join(", ")}_$end$_`)}t.push(s[a])}s=t}else{for(const t in e.errors){s[`${t}_$key$_${e.errors[t].sort().join(", ")}_$end$_`]=s[t];s[t]=undefined}for(const t in e.missing){s[`_$miss$_${t}|${e.missing[t]}_$end$_`]="__missing__"}}return s}}if(s===Infinity||s===-Infinity||Number.isNaN(s)||typeof s==="function"||typeof s==="symbol"){return"["+s.toString()+"]"}return s}}},5184:(e,t,a)=>{"use strict";const s=a(2718);const r=a(5578);const i=a(5801);const n=a(445);const o=a(3355);const p=a(2448);const d=a(3038);const l=a(9490);const m=a(6680);const c=a(7997);const u=a(6103);const h=a(1290);const g=a(3838);const v=a(3171);const y=a(1804);const b=a(1944);const w={};w.Base=class{constructor(e){this.type=e;this.$_root=null;this._definition={};this._reset()}_reset(){this._ids=new h.Ids;this._preferences=null;this._refs=new g.Manager;this._cache=null;this._valids=null;this._invalids=null;this._flags={};this._rules=[];this._singleRules=new Map;this.$_terms={};this.$_temp={ruleset:null,whens:{}}}describe(){s(typeof c.describe==="function","Manifest functionality disabled");return c.describe(this)}allow(...e){p.verifyFlat(e,"allow");return this._values(e,"_valids")}alter(e){s(e&&typeof e==="object"&&!Array.isArray(e),"Invalid targets argument");s(!this._inRuleset(),"Cannot set alterations inside a ruleset");const t=this.clone();t.$_terms.alterations=t.$_terms.alterations||[];for(const a in e){const r=e[a];s(typeof r==="function","Alteration adjuster for",a,"must be a function");t.$_terms.alterations.push({target:a,adjuster:r})}t.$_temp.ruleset=false;return t}artifact(e){s(e!==undefined,"Artifact cannot be undefined");s(!this._cache,"Cannot set an artifact with a rule cache");return this.$_setFlag("artifact",e)}cast(e){s(e===false||typeof e==="string","Invalid to value");s(e===false||this._definition.cast[e],"Type",this.type,"does not support casting to",e);return this.$_setFlag("cast",e===false?undefined:e)}default(e,t){return this._default("default",e,t)}description(e){s(e&&typeof e==="string","Description must be a non-empty string");return this.$_setFlag("description",e)}empty(e){const t=this.clone();if(e!==undefined){e=t.$_compile(e,{override:false})}return t.$_setFlag("empty",e,{clone:false})}error(e){s(e,"Missing error");s(e instanceof Error||typeof e==="function","Must provide a valid Error object or a function");return this.$_setFlag("error",e)}example(e,t={}){s(e!==undefined,"Missing example");p.assertOptions(t,["override"]);return this._inner("examples",e,{single:true,override:t.override})}external(e,t){if(typeof e==="object"){s(!t,"Cannot combine options with description");t=e.description;e=e.method}s(typeof e==="function","Method must be a function");s(t===undefined||t&&typeof t==="string","Description must be a non-empty string");returLine truncated
|
||||
//# sourceMappingURL=index.js.map
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"sources":["../webpack:/auto-changelog/dist/changelog.js","../webpack:/auto-changelog/dist/constants.js","../webpack:/auto-changelog/dist/context.js","../webpack:/auto-changelog/dist/index.js","../webpack:/auto-changelog/node_modules/@actions/core/lib/command.js","../webpack:/auto-changelog/node_modules/@actions/core/lib/core.js","../webpack:/auto-changelog/node_modules/@actions/core/lib/file-command.js","../webpack:/auto-changelog/node_modules/@actions/core/lib/oidc-utils.js","../webpack:/auto-changelog/node_modules/@actions/core/lib/utils.js","../webpack:/auto-changelog/node_modules/@actions/github/lib/context.js","../webpack:/auto-changelog/node_modules/@actions/github/lib/github.js","../webpack:/auto-changelog/node_modules/@actions/github/lib/internal/utils.js","../webpack:/auto-changelog/node_modules/@actions/github/lib/utils.js","../webpack:/auto-changelog/node_modules/@actions/http-client/auth.js","../webpack:/auto-changelog/node_modules/@actions/http-client/index.js","../webpack:/auto-changelog/node_modules/@actions/http-client/proxy.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/applyToDefaults.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/assert.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/clone.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/deepEqual.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/error.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/escapeHtml.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/escapeRegex.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/ignore.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/merge.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/reach.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/stringify.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/types.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/utils.js","../webpack:/auto-changelog/node_modules/@hapi/topo/lib/index.js","../webpack:/auto-changelog/node_modules/@octokit/auth-token/dist-node/index.js","../webpack:/auto-changelog/node_modules/@octokit/core/dist-node/index.js","../webpack:/auto-changelog/node_modules/@octokit/endpoint/dist-node/index.js","../webpack:/auto-changelog/node_modules/@octokit/graphql/dist-node/index.js","../webpack:/auto-changelog/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js","../webpack:/auto-changelog/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js","../webpack:/auto-changelog/node_modules/@octokit/request-error/dist-node/index.js","../webpack:/auto-changelog/node_modules/@octokit/request/dist-node/index.js","../webpack:/auto-changelog/node_modules/@sideway/address/lib/domain.js","../webpack:/auto-changelog/node_modules/@sideway/address/lib/email.js","../webpack:/auto-changelog/node_modules/@sideway/address/lib/errors.js","../webpack:/auto-changelog/node_modules/@sideway/address/lib/ip.js","../webpack:/auto-changelog/node_modules/@sideway/address/lib/tlds.js","../webpack:/auto-changelog/node_modules/@sideway/address/lib/uri.js","../webpack:/auto-changelog/node_modules/@sideway/formula/lib/index.js","../webpack:/auto-changelog/node_modules/@sideway/pinpoint/lib/index.js","../webpack:/auto-changelog/node_modules/before-after-hook/index.js","../webpack:/auto-changelog/node_modules/before-after-hook/lib/add.js","../webpack:/auto-changelog/node_modules/before-after-hook/lib/register.js","../webpack:/auto-changelog/node_modules/before-after-hook/lib/remove.js","../webpack:/auto-changelog/node_modules/deprecation/dist-node/index.js","../webpack:/auto-changelog/node_modules/is-plain-object/dist/is-plain-object.js","../webpack:/auto-changelog/node_modules/joi/lib/annotate.js","../webpack:/auto-changelog/node_modules/joi/lib/base.js","../webpack:/auto-changelog/node_modules/joi/lib/cache.js","../webpack:/auto-changelog/node_modules/joi/lib/common.js","../webpack:/auto-changelog/node_modules/joi/lib/compile.js","../webpack:/auto-changelog/node_modules/joi/lib/errors.js","../webpack:/auto-changelog/node_modules/joi/lib/extend.js","../webpack:/auto-changelog/node_modules/joi/lib/index.js","../webpack:/auto-changelog/node_modules/joi/lib/manifest.js","../webpack:/auto-changelog/node_modules/joi/lib/messages.js","../webpack:/auto-changelog/node_modules/joi/lib/modify.js","../webpack:/auto-changelog/node_modules/joi/lib/ref.js","../webpack:/auto-changelog/node_modules/joi/lib/schemas.js","../webpack:/auto-changelog/node_modules/joi/lib/state.js","../webpack:/auto-changelog/node_modules/joi/lib/template.js","../webpack:/auto-changelog/node_modules/joi/lib/trace.js","../webpack:/auto-changelog/node_modules/joi/lib/types/alternatives.js","../webpack:/auto-changelog/node_modules/joi/lib/types/any.js","../webpack:/auto-changelog/node_modules/joi/lib/types/array.js","../webpack:/auto-changelog/node_modules/joi/lib/types/binary.js","../webpack:/auto-changelog/node_modules/joi/lib/types/boolLine truncated
|
||||
{"version":3,"sources":["../webpack:/auto-changelog/dist/changelog.js","../webpack:/auto-changelog/dist/constants.js","../webpack:/auto-changelog/dist/context.js","../webpack:/auto-changelog/dist/index.js","../webpack:/auto-changelog/node_modules/@actions/core/lib/command.js","../webpack:/auto-changelog/node_modules/@actions/core/lib/core.js","../webpack:/auto-changelog/node_modules/@actions/core/lib/file-command.js","../webpack:/auto-changelog/node_modules/@actions/core/lib/oidc-utils.js","../webpack:/auto-changelog/node_modules/@actions/core/lib/utils.js","../webpack:/auto-changelog/node_modules/@actions/github/lib/context.js","../webpack:/auto-changelog/node_modules/@actions/github/lib/github.js","../webpack:/auto-changelog/node_modules/@actions/github/lib/internal/utils.js","../webpack:/auto-changelog/node_modules/@actions/github/lib/utils.js","../webpack:/auto-changelog/node_modules/@actions/http-client/auth.js","../webpack:/auto-changelog/node_modules/@actions/http-client/index.js","../webpack:/auto-changelog/node_modules/@actions/http-client/proxy.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/applyToDefaults.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/assert.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/clone.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/deepEqual.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/error.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/escapeHtml.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/escapeRegex.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/ignore.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/merge.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/reach.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/stringify.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/types.js","../webpack:/auto-changelog/node_modules/@hapi/hoek/lib/utils.js","../webpack:/auto-changelog/node_modules/@hapi/topo/lib/index.js","../webpack:/auto-changelog/node_modules/@octokit/auth-token/dist-node/index.js","../webpack:/auto-changelog/node_modules/@octokit/core/dist-node/index.js","../webpack:/auto-changelog/node_modules/@octokit/endpoint/dist-node/index.js","../webpack:/auto-changelog/node_modules/@octokit/graphql/dist-node/index.js","../webpack:/auto-changelog/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js","../webpack:/auto-changelog/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js","../webpack:/auto-changelog/node_modules/@octokit/request-error/dist-node/index.js","../webpack:/auto-changelog/node_modules/@octokit/request/dist-node/index.js","../webpack:/auto-changelog/node_modules/@sideway/address/lib/domain.js","../webpack:/auto-changelog/node_modules/@sideway/address/lib/email.js","../webpack:/auto-changelog/node_modules/@sideway/address/lib/errors.js","../webpack:/auto-changelog/node_modules/@sideway/address/lib/ip.js","../webpack:/auto-changelog/node_modules/@sideway/address/lib/tlds.js","../webpack:/auto-changelog/node_modules/@sideway/address/lib/uri.js","../webpack:/auto-changelog/node_modules/@sideway/formula/lib/index.js","../webpack:/auto-changelog/node_modules/@sideway/pinpoint/lib/index.js","../webpack:/auto-changelog/node_modules/before-after-hook/index.js","../webpack:/auto-changelog/node_modules/before-after-hook/lib/add.js","../webpack:/auto-changelog/node_modules/before-after-hook/lib/register.js","../webpack:/auto-changelog/node_modules/before-after-hook/lib/remove.js","../webpack:/auto-changelog/node_modules/deprecation/dist-node/index.js","../webpack:/auto-changelog/node_modules/is-plain-object/dist/is-plain-object.js","../webpack:/auto-changelog/node_modules/joi/lib/annotate.js","../webpack:/auto-changelog/node_modules/joi/lib/base.js","../webpack:/auto-changelog/node_modules/joi/lib/cache.js","../webpack:/auto-changelog/node_modules/joi/lib/common.js","../webpack:/auto-changelog/node_modules/joi/lib/compile.js","../webpack:/auto-changelog/node_modules/joi/lib/errors.js","../webpack:/auto-changelog/node_modules/joi/lib/extend.js","../webpack:/auto-changelog/node_modules/joi/lib/index.js","../webpack:/auto-changelog/node_modules/joi/lib/manifest.js","../webpack:/auto-changelog/node_modules/joi/lib/messages.js","../webpack:/auto-changelog/node_modules/joi/lib/modify.js","../webpack:/auto-changelog/node_modules/joi/lib/ref.js","../webpack:/auto-changelog/node_modules/joi/lib/schemas.js","../webpack:/auto-changelog/node_modules/joi/lib/state.js","../webpack:/auto-changelog/node_modules/joi/lib/template.js","../webpack:/auto-changelog/node_modules/joi/lib/trace.js","../webpack:/auto-changelog/node_modules/joi/lib/types/alternatives.js","../webpack:/auto-changelog/node_modules/joi/lib/types/any.js","../webpack:/auto-changelog/node_modules/joi/lib/types/array.js","../webpack:/auto-changelog/node_modules/joi/lib/types/binary.js","../webpack:/auto-changelog/node_modules/joi/lib/types/boolLine truncated
|
||||
+1
-1
@@ -708,7 +708,7 @@ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
yaml
|
||||
ISC
|
||||
Copyright 2018 Eemeli Aro <[email protected]>
|
||||
Copyright Eemeli Aro <[email protected]>
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any purpose
|
||||
with or without fee is hereby granted, provided that the above copyright notice
|
||||
|
||||
Generated
+8
-8
@@ -12,7 +12,7 @@
|
||||
"@actions/core": "^1.6.0",
|
||||
"@actions/github": "^5.0.1",
|
||||
"joi": "^17.6.0",
|
||||
"yaml": "^1.10.2"
|
||||
"yaml": "^2.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^5.18.0",
|
||||
@@ -1739,11 +1739,11 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/yaml": {
|
||||
"version": "1.10.2",
|
||||
"resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz",
|
||||
"integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==",
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.0.0.tgz",
|
||||
"integrity": "sha512-JbfdlHKGP2Ik9IHylzWlGd4pPK++EU46/IxMykphS2ZKw7a7h+dHNmcXObLgpRDriBY+rpWslldikckX8oruWQ==",
|
||||
"engines": {
|
||||
"node": ">= 6"
|
||||
"node": ">= 14"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -3006,9 +3006,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"yaml": {
|
||||
"version": "1.10.2",
|
||||
"resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz",
|
||||
"integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg=="
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.0.0.tgz",
|
||||
"integrity": "sha512-JbfdlHKGP2Ik9IHylzWlGd4pPK++EU46/IxMykphS2ZKw7a7h+dHNmcXObLgpRDriBY+rpWslldikckX8oruWQ=="
|
||||
}
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -36,7 +36,7 @@
|
||||
"@actions/core": "^1.6.0",
|
||||
"@actions/github": "^5.0.1",
|
||||
"joi": "^17.6.0",
|
||||
"yaml": "^1.10.2"
|
||||
"yaml": "^2.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^5.18.0",
|
||||
|
||||
Reference in new issue
Block a user