mirror of
https://github.com/darksaid98/auto-changelog.git
synced 2026-12-01 14:38:47 +00:00
build(deps): bump @vercel/ncc from 0.36.1 to 0.38.1
Signed-off-by: Ardalan Amini <[email protected]>
This commit is contained in:
4 files changed
+8
-8
No files matched your search
+2
-2
@@ -1,8 +1,8 @@
|
||||
require('./sourcemap-register.js');(()=>{var __webpack_modules__={1932:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.generateChangelog=void 0;const s=a(6733);const r=a(9034);function trim(e){if(e==null)return e;return e.trim().replace(/ {2,}/g," ")}function unique(e){return[...new Set(e)]}function sortBy(e,t){return e.sort(((e,a)=>e[t].localeCompare(a[t])))}async function generateChangelog(e){const{paginate:t,rest:a}=(0,r.octokit)();const{owner:i,repo:p,url:n}=(0,r.repository)();const o=(0,r.defaultCommitType)();const d=(0,r.commitTypes)();const l=(0,r.includePRLinks)();const m=(0,r.includeCommitLinks)();const c=(0,r.mentionAuthors)();const u=(0,r.useGithubAutolink)();const h=t.iterator(a.repos.listCommits,{per_page:100,sha:(0,r.sha)(),owner:i,repo:p});const g=[];e:for await(const{data:t}of h){for(const a of t){if(a.sha===e)break e;const t=a.commit.message.split("\n")[0];(0,s.debug)(`commit message -> ${t}`);let{type:i,scope:p,description:h,pr:v,flag:w,breaking:y}=(0,r.parseCommitMessage)(t);if(!h)continue;h=trim(h);w=trim(w);if(w==="ignore")continue;i=d[trim(i??"")]??o;let b=g.find((e=>e.type===i));if(b==null){b={type:i,scopes:[]};g.push(b)}p=trim(p??"");let E=b.scopes.find((e=>e.scope===p));if(E==null){E={scope:p,logs:[]};b.scopes.push(E)}let _=E.logs.find((e=>e.description===h));if(_==null){_={breaking:y,description:h,references:[]};E.logs.push(_)}const T=[];if(v&&l)T.push(u?`#${v}`:`[#${v}](${n}/issues/${v})`);else if(m)T.push(u?a.sha:`\`[${a.sha}](${n}/commit/${a.sha})\``);const k=a.author?.login;if(k&&c){const e=`by @${k}`;T.push(e);const t=_.references[_.references.length-1];if(t?.endsWith(e)){_.references.push(_.references.pop().replace(e,`& ${T.join(" ")}`));continue}}if(T.length>0)_.references.push(T.join(" "))}}const v=unique(Object.values(d).concat(o));const w=[];for(const e of v){const t=g.find((t=>t.type===e));if(t==null)continue;w.push(`## ${e}`);sortBy(t.scopes,"scope");for(const{scope:e,logs:a}of t.scopes){let t="";if(e.length>0){w.push(`* **${e}:**`);t=" "}for(const{breaking:e,description:s,references:r}of a){let a=`${t}* ${e?"***breaking:*** ":""}${s}`;if(r.length>0)a+=` (${r.join(", ")})`;w.push(a)}}w.push("")}return w.join("\n")}t.generateChangelog=generateChangelog},8251:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.generateFooter=void 0;const s=a(9341);const r=a(9034);async function generateFooter(e){const{owner:t,repo:a,url:i}=(0,r.repository)();const p=(0,r.releaseName)();const n=[];if((0,r.mentionNewContributors)()){const{rest:i}=(0,r.octokit)();const{data:o}=await i.repos.generateReleaseNotes({owner:t,repo:a,tag_name:p,previous_tag_name:e});const d=s.marked.lexer(o.body);const l=d.findIndex((e=>e.type==="heading"&&e.text==="New Contributors"));const m=d[l+1];if(m.type==="list")n.push(`## New Contributors\n${m.raw}\n`)}if((0,r.includeCompareLink)()&&e){let t=`${i}/compare/${e}...${p}`;if(!(0,r.useGithubAutolink)()||(0,r.releaseNamePrefix)())t=`\`[${e}...${p}](${i}/compare/${e}...${p})\``;n.push(`**Full Changelog**: ${t}`)}if(n.length>0)n.unshift("");return n.join("\n\n")}t.generateFooter=generateFooter},2263:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getTagInfo=void 0;const s=a(9034);async function getTagInfo(){const{paginate:e,rest:t}=(0,s.octokit)();const{owner:a,repo:r}=(0,s.repository)();const i={releaseId:"latest",prerelease:false};let p=null;if((0,s.semver)()){p=(0,s.parseSemVer)();if(p==null)throw new Error(`Expected a semver compatible releaseName, got "${(0,s.releaseName)()}" instead.`);i.prerelease=p.prerelease.length>0;if(i.prerelease)i.releaseId=`${p.prerelease[0]}`}const n=e.iterator(t.repos.listTags,{per_page:100,owner:a,repo:r});e:for await(const{data:e}of n){for(const{name:t,commit:a}of e){if((0,s.sha)()===a.sha)continue;if(p==null){i.previous={name:t,sha:a.sha};break e}const e=(0,s.parseSemVer)(t);if(e==null||p.compare(e)<=0)continue;if(e.prerelease.length>0&&!i.prerelease)continue;i.previous={name:t,sha:a.sha};break e}}return i}t.getTagInfo=getTagInfo},6243:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.booleanInput=void 0;const s=a(6733);const r=a(927);function booleanInput(e,t=true){return(0,r.cache)(e,(()=>(0,s.getBooleanInput)(e,{required:t})))}t.booleanInput=booleanInput},927:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.cache=void 0;const a=new Map;function cache(e,t,s=false){if(!a.has(e)||s)a.set(e,t());return a.get(e)}t.cache=cache},9034:function(e,t,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,a,s){if(s===undefined)s=a;var r=Object.getOwnPropertyDescriptor(t,a);if(!r||("get"in r?!t.__esModule:r.writable||r.configurable)){r={enumerable:true,get:function(){return t[a]}}}Object.defineProperty(e,s,r)}:function(e,t,a,s){if(s===undefined)s=a;e[s]=t[a]});var r=this&&this.__exportStar||function(e,t){for(var a in e)if(a!=="default"&&!Object.prototype.hasOwnProperty.call(t,a))s(t,e,aLine truncated
|
||||
require('./sourcemap-register.js');(()=>{var __webpack_modules__={1037:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.generateChangelog=void 0;const s=a(9093);const r=a(6622);function trim(e){if(e==null)return e;return e.trim().replace(/ {2,}/g," ")}function unique(e){return[...new Set(e)]}function sortBy(e,t){return e.sort(((e,a)=>e[t].localeCompare(a[t])))}async function generateChangelog(e){const{paginate:t,rest:a}=(0,r.octokit)();const{owner:i,repo:p,url:n}=(0,r.repository)();const o=(0,r.defaultCommitType)();const d=(0,r.commitTypes)();const l=(0,r.includePRLinks)();const m=(0,r.includeCommitLinks)();const c=(0,r.mentionAuthors)();const u=(0,r.useGithubAutolink)();const h=t.iterator(a.repos.listCommits,{per_page:100,sha:(0,r.sha)(),owner:i,repo:p});const g=[];e:for await(const{data:t}of h){for(const a of t){if(a.sha===e)break e;const t=a.commit.message.split("\n")[0];(0,s.debug)(`commit message -> ${t}`);let{type:i,scope:p,description:h,pr:v,flag:w,breaking:y}=(0,r.parseCommitMessage)(t);if(!h)continue;h=trim(h);w=trim(w);if(w==="ignore")continue;i=d[trim(i??"")]??o;let b=g.find((e=>e.type===i));if(b==null){b={type:i,scopes:[]};g.push(b)}p=trim(p??"");let E=b.scopes.find((e=>e.scope===p));if(E==null){E={scope:p,logs:[]};b.scopes.push(E)}let _=E.logs.find((e=>e.description===h));if(_==null){_={breaking:y,description:h,references:[]};E.logs.push(_)}const T=[];if(v&&l)T.push(u?`#${v}`:`[#${v}](${n}/issues/${v})`);else if(m)T.push(u?a.sha:`\`[${a.sha}](${n}/commit/${a.sha})\``);const k=a.author?.login;if(k&&c){const e=`by @${k}`;T.push(e);const t=_.references[_.references.length-1];if(t?.endsWith(e)){_.references.push(_.references.pop().replace(e,`& ${T.join(" ")}`));continue}}if(T.length>0)_.references.push(T.join(" "))}}const v=unique(Object.values(d).concat(o));const w=[];for(const e of v){const t=g.find((t=>t.type===e));if(t==null)continue;w.push(`## ${e}`);sortBy(t.scopes,"scope");for(const{scope:e,logs:a}of t.scopes){let t="";if(e.length>0){w.push(`* **${e}:**`);t=" "}for(const{breaking:e,description:s,references:r}of a){let a=`${t}* ${e?"***breaking:*** ":""}${s}`;if(r.length>0)a+=` (${r.join(", ")})`;w.push(a)}}w.push("")}return w.join("\n")}t.generateChangelog=generateChangelog},1054:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.generateFooter=void 0;const s=a(346);const r=a(6622);async function generateFooter(e){const{owner:t,repo:a,url:i}=(0,r.repository)();const p=(0,r.releaseName)();const n=[];if((0,r.mentionNewContributors)()){const{rest:i}=(0,r.octokit)();const{data:o}=await i.repos.generateReleaseNotes({owner:t,repo:a,tag_name:p,previous_tag_name:e});const d=s.marked.lexer(o.body);const l=d.findIndex((e=>e.type==="heading"&&e.text==="New Contributors"));const m=d[l+1];if(m.type==="list")n.push(`## New Contributors\n${m.raw}\n`)}if((0,r.includeCompareLink)()&&e){let t=`${i}/compare/${e}...${p}`;if(!(0,r.useGithubAutolink)()||(0,r.releaseNamePrefix)())t=`\`[${e}...${p}](${i}/compare/${e}...${p})\``;n.push(`**Full Changelog**: ${t}`)}if(n.length>0)n.unshift("");return n.join("\n\n")}t.generateFooter=generateFooter},9806:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getTagInfo=void 0;const s=a(6622);async function getTagInfo(){const{paginate:e,rest:t}=(0,s.octokit)();const{owner:a,repo:r}=(0,s.repository)();const i={releaseId:"latest",prerelease:false};let p=null;if((0,s.semver)()){p=(0,s.parseSemVer)();if(p==null)throw new Error(`Expected a semver compatible releaseName, got "${(0,s.releaseName)()}" instead.`);i.prerelease=p.prerelease.length>0;if(i.prerelease)i.releaseId=`${p.prerelease[0]}`}const n=e.iterator(t.repos.listTags,{per_page:100,owner:a,repo:r});e:for await(const{data:e}of n){for(const{name:t,commit:a}of e){if((0,s.sha)()===a.sha)continue;if(p==null){i.previous={name:t,sha:a.sha};break e}const e=(0,s.parseSemVer)(t);if(e==null||p.compare(e)<=0)continue;if(e.prerelease.length>0&&!i.prerelease)continue;i.previous={name:t,sha:a.sha};break e}}return i}t.getTagInfo=getTagInfo},9024:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.booleanInput=void 0;const s=a(9093);const r=a(3231);function booleanInput(e,t=true){return(0,r.cache)(e,(()=>(0,s.getBooleanInput)(e,{required:t})))}t.booleanInput=booleanInput},3231:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.cache=void 0;const a=new Map;function cache(e,t,s=false){if(!a.has(e)||s)a.set(e,t());return a.get(e)}t.cache=cache},6622:function(e,t,a){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,a,s){if(s===undefined)s=a;var r=Object.getOwnPropertyDescriptor(t,a);if(!r||("get"in r?!t.__esModule:r.writable||r.configurable)){r={enumerable:true,get:function(){return t[a]}}}Object.defineProperty(e,s,r)}:function(e,t,a,s){if(s===undefined)s=a;e[s]=t[a]});var r=this&&this.__exportStar||function(e,t){for(var a in e)if(a!=="default"&&!Object.prototype.hasOwnProperty.call(t,a))s(t,e,Line 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},4965:(e,t,a)=>{"use strict";const s=a(1590);const r=Symbol("max");const i=Symbol("length");const p=Symbol("lengthCalculator");const n=Symbol("allowStale");const o=Symbol("maxAge");const d=Symbol("dispose");const l=Symbol("noDisposeOnSet");const m=Symbol("lruList");const c=Symbol("cache");const u=Symbol("updateAgeOnGet");const naiveLength=()=>1;class LRUCache{constructor(e){if(typeof e==="number")e={max:e};if(!e)e={};if(e.max&&(typeof e.max!=="number"||e.max<0))throw new TypeError("max must be a non-negative number");const t=this[r]=e.max||Infinity;const a=e.length||naiveLength;this[p]=typeof a!=="function"?naiveLength:a;this[n]=e.stale||false;if(e.maxAge&&typeof e.maxAge!=="number")throw new TypeError("maxAge must be a number");this[o]=e.maxAge||0;this[d]=e.dispose;this[l]=e.noDisposeOnSet||false;this[u]=e.updateAgeOnGet||false;this.reset()}set max(e){if(typeof e!=="number"||e<0)throw new TypeError("max must be a non-negative number");this[r]=e||Infinity;trim(this)}get max(){return this[r]}set allowStale(e){this[n]=!!e}get allowStale(){return this[n]}set maxAge(e){if(typeof e!=="number")throw new TypeError("maxAge must be a non-negative number");this[o]=e;trim(this)}get maxAge(){return this[o]}set lengthCalculator(e){if(typeof e!=="function")e=naiveLength;if(e!==this[p]){this[p]=e;this[i]=0;this[m].forEach((e=>{e.length=this[p](e.value,e.key);this[i]+=e.length}))}trim(this)}get lengthCalculator(){return this[p]}get length(){return this[i]}get itemCount(){return this[m].length}rforEach(e,t){t=t||this;for(let a=this[m].tail;a!==null;){const s=a.prev;forEachStep(this,e,a,t);a=s}}forEach(e,t){t=t||this;for(let a=this[m].head;a!==null;){const s=a.next;forEachStep(this,e,a,t);a=s}}keys(){return this[m].toArray().map((e=>e.key))}values(){return this[m].toArray().map((e=>e.value))}reset(){if(this[d]&&this[m]&&this[m].length){this[m].forEach((e=>this[d](e.key,e.value)))}this[c]=new Map;this[m]=new s;this[i]=0}dump(){return this[m].map((e=>isStale(this,e)?false:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[m]}set(e,t,a){a=a||this[o];if(a&&typeof a!=="number")throw new TypeError("maxAge must be a number");const s=a?Date.now():0;const n=this[p](t,e);if(this[c].has(e)){if(n>this[r]){del(this,this[c].get(e));return false}const p=this[c].get(e);const o=p.value;if(this[d]){if(!this[l])this[d](e,o.value)}o.now=s;o.maxAge=a;o.value=t;this[i]+=n-o.length;o.length=n;this.get(e);trim(this);return true}const u=new Entry(e,t,n,s,a);if(u.length>this[r]){if(this[d])this[d](e,t);return false}this[i]+=u.length;this[m].unshift(u);this[c].set(e,this[m].head);trim(this);return true}has(e){if(!this[c].has(e))return false;const t=this[c].get(e).value;return!isStale(this,t)}get(e){return get(this,e,true)}peek(e){return get(this,e,false)}pop(){const e=this[m].tail;if(!e)return null;del(this,e);return e.value}del(e){del(this,this[c].get(e))}load(e){this.reset();const t=Date.now();for(let a=e.length-1;a>=0;a--){const s=e[a];const r=s.e||0;if(r===0)this.set(s.k,s.v);else{const e=r-t;if(e>0){this.set(s.k,s.v,e)}}}}prune(){this[c].forEach(((e,t)=>get(this,t,false)))}}const get=(e,t,a)=>{const s=e[c].get(t);if(s){const t=s.value;if(isStale(e,t)){del(e,s);if(!e[n])return undefined}else{if(a){if(e[u])s.value.now=Date.now();e[m].unshiftNode(s)}}return t.value}};const isStale=(e,t)=>{if(!t||!t.maxAge&&!e[o])return false;const a=Date.now()-t.now;return t.maxAge?a>t.maxAge:e[o]&&a>e[o]};const trim=e=>{if(e[i]>e[r]){for(let t=e[m].tail;e[i]>e[r]&&t!==null;){const a=t.prev;del(e,t);t=a}}};const del=(e,t)=>{if(t){const a=t.value;if(e[d])e[d](a.key,a.value);e[i]-=a.length;e[c].delete(a.key);e[m].removeNode(t)}};class Entry{constructor(e,t,a,s,r){this.key=e;this.value=t;this.length=a;this.now=s;this.maxAge=r||0}}const forEachStep=(e,t,a,s)=>{let r=a.value;if(isStale(e,r)){del(e,a);if(!e[n])r=undefined}if(r)t.call(s,r.value,r.key,e)};e.exports=LRUCache},3089:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var s=_interopDefault(a(2781));var r=_interopDefault(a(3685));var i=_interopDefault(a(7310));var p=_interopDefault(a(9501));var n=_interopDefault(a(5687));var o=_interopDefault(a(9796));const d=s.Readable;const l=Symbol("buffer");const m=Symbol("type");class Blob{constructor(){this[m]="";const e=arguments[0];const t=arguments[1];const a=[];let s=0;if(e){const t=e;const r=Number(t.length);for(let e=0;e<r;e++){const r=t[e];let i;if(r instanceof Buffer){i=r}else if(ArrayBuffer.isView(r)){i=Buffer.from(r.buffer,r.byteOffset,r.byteLength)}else if(r instanceof Line 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},3918:(e,t,a)=>{"use strict";const s=a(901);const r=Symbol("max");const i=Symbol("length");const p=Symbol("lengthCalculator");const n=Symbol("allowStale");const o=Symbol("maxAge");const d=Symbol("dispose");const l=Symbol("noDisposeOnSet");const m=Symbol("lruList");const c=Symbol("cache");const u=Symbol("updateAgeOnGet");const naiveLength=()=>1;class LRUCache{constructor(e){if(typeof e==="number")e={max:e};if(!e)e={};if(e.max&&(typeof e.max!=="number"||e.max<0))throw new TypeError("max must be a non-negative number");const t=this[r]=e.max||Infinity;const a=e.length||naiveLength;this[p]=typeof a!=="function"?naiveLength:a;this[n]=e.stale||false;if(e.maxAge&&typeof e.maxAge!=="number")throw new TypeError("maxAge must be a number");this[o]=e.maxAge||0;this[d]=e.dispose;this[l]=e.noDisposeOnSet||false;this[u]=e.updateAgeOnGet||false;this.reset()}set max(e){if(typeof e!=="number"||e<0)throw new TypeError("max must be a non-negative number");this[r]=e||Infinity;trim(this)}get max(){return this[r]}set allowStale(e){this[n]=!!e}get allowStale(){return this[n]}set maxAge(e){if(typeof e!=="number")throw new TypeError("maxAge must be a non-negative number");this[o]=e;trim(this)}get maxAge(){return this[o]}set lengthCalculator(e){if(typeof e!=="function")e=naiveLength;if(e!==this[p]){this[p]=e;this[i]=0;this[m].forEach((e=>{e.length=this[p](e.value,e.key);this[i]+=e.length}))}trim(this)}get lengthCalculator(){return this[p]}get length(){return this[i]}get itemCount(){return this[m].length}rforEach(e,t){t=t||this;for(let a=this[m].tail;a!==null;){const s=a.prev;forEachStep(this,e,a,t);a=s}}forEach(e,t){t=t||this;for(let a=this[m].head;a!==null;){const s=a.next;forEachStep(this,e,a,t);a=s}}keys(){return this[m].toArray().map((e=>e.key))}values(){return this[m].toArray().map((e=>e.value))}reset(){if(this[d]&&this[m]&&this[m].length){this[m].forEach((e=>this[d](e.key,e.value)))}this[c]=new Map;this[m]=new s;this[i]=0}dump(){return this[m].map((e=>isStale(this,e)?false:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[m]}set(e,t,a){a=a||this[o];if(a&&typeof a!=="number")throw new TypeError("maxAge must be a number");const s=a?Date.now():0;const n=this[p](t,e);if(this[c].has(e)){if(n>this[r]){del(this,this[c].get(e));return false}const p=this[c].get(e);const o=p.value;if(this[d]){if(!this[l])this[d](e,o.value)}o.now=s;o.maxAge=a;o.value=t;this[i]+=n-o.length;o.length=n;this.get(e);trim(this);return true}const u=new Entry(e,t,n,s,a);if(u.length>this[r]){if(this[d])this[d](e,t);return false}this[i]+=u.length;this[m].unshift(u);this[c].set(e,this[m].head);trim(this);return true}has(e){if(!this[c].has(e))return false;const t=this[c].get(e).value;return!isStale(this,t)}get(e){return get(this,e,true)}peek(e){return get(this,e,false)}pop(){const e=this[m].tail;if(!e)return null;del(this,e);return e.value}del(e){del(this,this[c].get(e))}load(e){this.reset();const t=Date.now();for(let a=e.length-1;a>=0;a--){const s=e[a];const r=s.e||0;if(r===0)this.set(s.k,s.v);else{const e=r-t;if(e>0){this.set(s.k,s.v,e)}}}}prune(){this[c].forEach(((e,t)=>get(this,t,false)))}}const get=(e,t,a)=>{const s=e[c].get(t);if(s){const t=s.value;if(isStale(e,t)){del(e,s);if(!e[n])return undefined}else{if(a){if(e[u])s.value.now=Date.now();e[m].unshiftNode(s)}}return t.value}};const isStale=(e,t)=>{if(!t||!t.maxAge&&!e[o])return false;const a=Date.now()-t.now;return t.maxAge?a>t.maxAge:e[o]&&a>e[o]};const trim=e=>{if(e[i]>e[r]){for(let t=e[m].tail;e[i]>e[r]&&t!==null;){const a=t.prev;del(e,t);t=a}}};const del=(e,t)=>{if(t){const a=t.value;if(e[d])e[d](a.key,a.value);e[i]-=a.length;e[c].delete(a.key);e[m].removeNode(t)}};class Entry{constructor(e,t,a,s,r){this.key=e;this.value=t;this.length=a;this.now=s;this.maxAge=r||0}}const forEachStep=(e,t,a,s)=>{let r=a.value;if(isStale(e,r)){del(e,a);if(!e[n])r=undefined}if(r)t.call(s,r.value,r.key,e)};e.exports=LRUCache},2595:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var s=_interopDefault(a(2781));var r=_interopDefault(a(3685));var i=_interopDefault(a(7310));var p=_interopDefault(a(872));var n=_interopDefault(a(5687));var o=_interopDefault(a(9796));const d=s.Readable;const l=Symbol("buffer");const m=Symbol("type");class Blob{constructor(){this[m]="";const e=arguments[0];const t=arguments[1];const a=[];let s=0;if(e){const t=e;const r=Number(t.length);for(let e=0;e<r;e++){const r=t[e];let i;if(r instanceof Buffer){i=r}else if(ArrayBuffer.isView(r)){i=Buffer.from(r.buffer,r.byteOffset,r.byteLength)}else if(r instanceof ArLine truncated
|
||||
//# sourceMappingURL=index.js.map
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"sources":["../webpack:/auto-changelog/dist/changelog.js","../webpack:/auto-changelog/dist/footer.js","../webpack:/auto-changelog/dist/tag.js","../webpack:/auto-changelog/dist/utils/boolean-input.js","../webpack:/auto-changelog/dist/utils/cache.js","../webpack:/auto-changelog/dist/utils/index.js","../webpack:/auto-changelog/dist/utils/input.js","../webpack:/auto-changelog/dist/utils/inputs/commit-types.js","../webpack:/auto-changelog/dist/utils/inputs/default-commit-type.js","../webpack:/auto-changelog/dist/utils/inputs/include-commit-links.js","../webpack:/auto-changelog/dist/utils/inputs/include-compare-link.js","../webpack:/auto-changelog/dist/utils/inputs/include-pr-links.js","../webpack:/auto-changelog/dist/utils/inputs/index.js","../webpack:/auto-changelog/dist/utils/inputs/mention-authors.js","../webpack:/auto-changelog/dist/utils/inputs/mention-new-contributors.js","../webpack:/auto-changelog/dist/utils/inputs/release-name-prefix.js","../webpack:/auto-changelog/dist/utils/inputs/release-name.js","../webpack:/auto-changelog/dist/utils/inputs/semver.js","../webpack:/auto-changelog/dist/utils/inputs/token.js","../webpack:/auto-changelog/dist/utils/inputs/use-github-autolink.js","../webpack:/auto-changelog/dist/utils/octokit.js","../webpack:/auto-changelog/dist/utils/output.js","../webpack:/auto-changelog/dist/utils/outputs/index.js","../webpack:/auto-changelog/dist/utils/outputs/set-changelog.js","../webpack:/auto-changelog/dist/utils/outputs/set-prerelease.js","../webpack:/auto-changelog/dist/utils/outputs/set-release-id.js","../webpack:/auto-changelog/dist/utils/parse-commit-message.js","../webpack:/auto-changelog/dist/utils/parse-semver.js","../webpack:/auto-changelog/dist/utils/repository.js","../webpack:/auto-changelog/dist/utils/sha.js","../webpack:/auto-changelog/node_modules/.pnpm/@[email protected]/node_modules/@actions/core/lib/command.js","../webpack:/auto-changelog/node_modules/.pnpm/@[email protected]/node_modules/@actions/core/lib/core.js","../webpack:/auto-changelog/node_modules/.pnpm/@[email protected]/node_modules/@actions/core/lib/file-command.js","../webpack:/auto-changelog/node_modules/.pnpm/@[email protected]/node_modules/@actions/core/lib/oidc-utils.js","../webpack:/auto-changelog/node_modules/.pnpm/@[email protected]/node_modules/@actions/core/lib/path-utils.js","../webpack:/auto-changelog/node_modules/.pnpm/@[email protected]/node_modules/@actions/core/lib/summary.js","../webpack:/auto-changelog/node_modules/.pnpm/@[email protected]/node_modules/@actions/core/lib/utils.js","../webpack:/auto-changelog/node_modules/.pnpm/@[email protected]/node_modules/@actions/github/lib/context.js","../webpack:/auto-changelog/node_modules/.pnpm/@[email protected]/node_modules/@actions/github/lib/github.js","../webpack:/auto-changelog/node_modules/.pnpm/@[email protected]/node_modules/@actions/github/lib/internal/utils.js","../webpack:/auto-changelog/node_modules/.pnpm/@[email protected]/node_modules/@actions/github/lib/utils.js","../webpack:/auto-changelog/node_modules/.pnpm/@[email protected]/node_modules/@actions/http-client/lib/auth.js","../webpack:/auto-changelog/node_modules/.pnpm/@[email protected]/node_modules/@actions/http-client/lib/index.js","../webpack:/auto-changelog/node_modules/.pnpm/@[email protected]/node_modules/@actions/http-client/lib/proxy.js","../webpack:/auto-changelog/node_modules/.pnpm/@[email protected]/node_modules/@octokit/auth-token/dist-node/index.js","../webpack:/auto-changelog/node_modules/.pnpm/@[email protected]/node_modules/@octokit/core/dist-node/index.js","../webpack:/auto-changelog/node_modules/.pnpm/@[email protected]/node_modules/@octokit/endpoint/dist-node/index.js","../webpack:/auto-changelog/node_modules/.pnpm/@[email protected]/node_modules/@octokit/graphql/dist-node/index.js","../webpack:/auto-changelog/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js","../webpack:/auto-changelog/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js","../webpack:/auto-changelog/node_modules/.pnpm/@[email protected]/node_modules/@octokit/request-error/dist-node/index.js","../webpack:/auto-changelog/node_modules/.pnpm/@[email protected]/node_modules/@octokit/request/dist-node/index.js","../webpack:/auto-changelog/node_modules/.pnpm/[email protected]/node_modules/before-after-hook/index.js","../webpack:/auto-changelog/node_modules/.pnpm/[email protected]/node_modules/before-after-hook/lib/add.js","../webpack:/auto-changelog/node_modules/.pnpm/[email protected]/node_modules/before-after-hook/lib/register.js","../webpack:/auto-changelog/node_modules/.pnpm/[email protected]/node_modules/before-after-hook/lib/remove.js","../webpack:/auto-changelog/node_modules/.pnpm/deprecLine truncated
|
||||
{"version":3,"file":"index.js","names":["Object","defineProperty","exports","value","generateChangelog","core_1","__webpack_require__","index_js_1","trim","replace","unique","Set","sortBy","array","property","sort","a","b","localeCompare","async","lastSha","paginate","rest","octokit","owner","repo","url","repository","defaultType","defaultCommitType","typeMap","commitTypes","shouldIncludePRLinks","includePRLinks","shouldIncludeCommitLinks","includeCommitLinks","shouldMentionAuthors","mentionAuthors","shouldUseGithubAutolink","useGithubAutolink","iterator","repos","listCommits","per_page","sha","typeGroups","paginator","data","commit","message","split","debug","type","scope","description","pr","flag","breaking","parseCommitMessage","typeGroup","find","record","scopes","push","scopeGroup","logs","log","references","reference","username","author","login","mention","lastReference","length","endsWith","pop","join","types","values","concat","changelog","prefix","line","generateFooter","marked_1","previousTagName","tagName","releaseName","footer","mentionNewContributors","generateReleaseNotes","tag_name","previous_tag_name","tokens","marked","lexer","body","index","findIndex","markdownToken","text","raw","includeCompareLink","link","releaseNamePrefix","unshift","getTagInfo","info","releaseId","prerelease","semVer","semver","parseSemVer","Error","listTags","loop","name","previous","version","compare","booleanInput","cache_js_1","required","cache","getBooleanInput","CACHE","Map","key","overwrite","has","set","get","__createBinding","this","create","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","__esModule","writable","configurable","enumerable","__exportStar","p","prototype","hasOwnProperty","call","input","parser","getInput","__importDefault","mod","default","yaml_1","input_js_1","parse","boolean_input_js_1","token","github_1","getOctokit","output","setOutput","setChangelog","output_js_1","setPrerelease","setReleaseId","REGEX","exec","groups","semver_1","RegExp","includePrerelease","serverUrl","context","__setModuleDefault","v","__importStar","result","issue","issueCommand","os","utils_1","command","properties","cmd","Command","process","stdout","write","toString","EOL","CMD_STRING","constructor","cmdStr","keys","first","val","escapeProperty","escapeData","s","toCommandValue","__awaiter","thisArg","_arguments","P","generator","adopt","resolve","Promise","reject","fulfilled","step","next","e","rejected","done","then","apply","getIDToken","getState","saveState","group","endGroup","startGroup","notice","warning","error","isDebug","setFailed","setCommandEcho","getMultilineInput","addPath","setSecret","exportVariable","ExitCode","command_1","file_command_1","path","oidc_utils_1","convertedVal","env","filePath","issueFileCommand","prepareKeyValueMessage","secret","inputPath","delimiter","options","toUpperCase","trimWhitespace","inputs","filter","x","map","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","createHttpClient","allowRetry","maxRetry","requestOptions","allowRetries","maxRetries","HttpClient","BearerCredentialHandler","getRequestToken","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","writeFunc","emptyBuffer","clear","stringify","isEmptyBuffer","addRaw","addEOL","addCodeBlock","code","lang","assign","element","addList","items","ordered","listItems","item","addTable","rows","tableBody","row","cells","cell","header","colspan","rowspan","addDetails","label","addImage","src","alt","width","height","addHeading","level","allowedTag","addSeparator","addBreak","addQuote","cite","addLink","href","_summary","String","JSON","annotationProperties","title","file","startLine","endLine","col","startColumn","endColumn","Context","_b","_c","payload","GITHUB_EVENT_PATH","readFileSync","eventName","GITHUB_EVENT_NAME","GITHUB_SHA","ref","GITHUB_REF","workflow","GITHUB_WORKFLOW","action","GITHUB_ACTION","actor","GITHUB_ACTOR","job","GITHUB_JOB","runNumber","parseInt","GITHUB_RUN_NUMBER","runId","GITHUB_RUN_ID","apiUrl","GITHUB_API_URL","GITHUB_SERVER_URL","graphqlUrl","GITHUB_GRAPHQL_URL","number","pull_request","GITHUB_REPOSITORY","additionalPlugins","GitHubWithPlugins","GitHub","plugin","getOctokitOptions","getApiBaseUrl","getProxyAgent","getAuthString","httpClient","auth","destinationUrl","hc","getAgent","defaults","Utils","plugin_rest_endpoint_methods_1","plugin_paginate_rest_1","Line truncated
|
||||
+1
-1
@@ -46,7 +46,7 @@
|
||||
"@types/semver": "^7.5.6",
|
||||
"@typescript-eslint/eslint-plugin": "^5.59.1",
|
||||
"@typescript-eslint/parser": "^5.59.1",
|
||||
"@vercel/ncc": "^0.36.1",
|
||||
"@vercel/ncc": "^0.38.1",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-config-noir": "^1.4.0",
|
||||
"eslint-import-resolver-typescript": "^3.5.5",
|
||||
|
||||
Generated
+4
-4
@@ -38,8 +38,8 @@ devDependencies:
|
||||
specifier: ^5.59.1
|
||||
version: 5.59.1([email protected])([email protected])
|
||||
'@vercel/ncc':
|
||||
specifier: ^0.36.1
|
||||
version: 0.36.1
|
||||
specifier: ^0.38.1
|
||||
version: 0.38.1
|
||||
eslint:
|
||||
specifier: ^8.39.0
|
||||
version: 8.39.0
|
||||
@@ -608,8 +608,8 @@ packages:
|
||||
eslint-visitor-keys: 3.4.0
|
||||
dev: true
|
||||
|
||||
/@vercel/[email protected]6.1:
|
||||
resolution: {integrity: sha512-S4cL7Taa9yb5qbv+6wLgiKVZ03Qfkc4jGRuiUQMQ8HGBD5pcNRnHeYM33zBvJE4/zJGjJJ8GScB+WmTsn9mORw==}
|
||||
/@vercel/[email protected]8.1:
|
||||
resolution: {integrity: sha512-IBBb+iI2NLu4VQn3Vwldyi2QwaXt5+hTyh58ggAMoCGE6DJmPvwL3KPBWcJl1m9LYPChBLE980Jw+CS4Wokqxw==}
|
||||
hasBin: true
|
||||
dev: true
|
||||
|
||||
|
||||
Reference in new issue
Block a user