From 9ea2b1800da65eb7fb06ec4c4daf407299a27ba8 Mon Sep 17 00:00:00 2001 From: SyncIt21 Date: Fri, 15 May 2026 21:34:50 +0530 Subject: [PATCH 01/18] A Faster Way --- .github/workflows/yolo.yml | 10 ++++++++++ dist/index.js | 24 ++++++++++++------------ src/index.ts | 31 ++++++++++++++++--------------- 3 files changed, 38 insertions(+), 27 deletions(-) create mode 100644 .github/workflows/yolo.yml diff --git a/.github/workflows/yolo.yml b/.github/workflows/yolo.yml new file mode 100644 index 0000000..0455542 --- /dev/null +++ b/.github/workflows/yolo.yml @@ -0,0 +1,10 @@ +name: "Round ID Linker" +on: + issues: + types: [opened] + +jobs: + link_rounds: + runs-on: ubuntu-24.04 + steps: + - uses: ./ \ No newline at end of file diff --git a/dist/index.js b/dist/index.js index 174aeba..63e5cdd 100644 --- a/dist/index.js +++ b/dist/index.js @@ -33060,32 +33060,32 @@ async function run() { try { // Get issue number of the payload const issue_number = context.payload.issue?.number; - if (!issue_number) { + if (issue_number == undefined) { setFailed('Issue number retrieval failed'); return; } - //github client to make requests - const octokit = getOctokit(getInput('repo-token', { required: true })); //get issue body - const response = await octokit.rest.issues.get({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: issue_number - }); - const issue_body = response.data.body; - if (!issue_body) { + let issue_body = context.payload.issue?.body; + if (issue_body == undefined) { setFailed('Issue body retrieval failed'); return; } + //issue body was empty after trim + issue_body = issue_body.trim(); + if (issue_body.length == 0) { + return; + } //modify issue body with round link id const re = /(\[?Round ID\]?:\s*)(\d+)/g; if (issue_body.match(re)) { - const new_body = issue_body.replace(re, '$1[$2](https://statbus.space/round/$2)'); + issue_body = issue_body.replace(re, '$1[$2](https://statbus.space/round/$2)'); + //github client to make requests + const octokit = getOctokit(getInput('repo-token', { required: true })); await octokit.rest.issues.update({ owner: context.repo.owner, repo: context.repo.repo, issue_number: issue_number, - body: new_body, + body: issue_body, headers: { 'X-GitHub-Api-Version': '2026-03-10' } diff --git a/src/index.ts b/src/index.ts index dab6d52..fa5e25e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,41 +5,42 @@ async function run(): Promise { try { // Get issue number of the payload const issue_number = context.payload.issue?.number - if (!issue_number) { + if (issue_number == undefined) { setFailed('Issue number retrieval failed') return } - //github client to make requests - const octokit: ReturnType = getOctokit( - getInput('repo-token', {required: true}) - ) - //get issue body - const response = await octokit.rest.issues.get({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: issue_number - }) - const issue_body = response.data.body - if (!issue_body) { + let issue_body = context.payload.issue?.body + if (issue_body == undefined) { setFailed('Issue body retrieval failed') return } + //issue body was empty after trim + issue_body = issue_body.trim() + if (issue_body.length == 0) { + return + } + //modify issue body with round link id const re = /(\[?Round ID\]?:\s*)(\d+)/g if (issue_body.match(re)) { - const new_body = issue_body.replace( + issue_body = issue_body.replace( re, '$1[$2](https://statbus.space/round/$2)' ) + //github client to make requests + const octokit: ReturnType = getOctokit( + getInput('repo-token', {required: true}) + ) + await octokit.rest.issues.update({ owner: context.repo.owner, repo: context.repo.repo, issue_number: issue_number, - body: new_body, + body: issue_body, headers: { 'X-GitHub-Api-Version': '2026-03-10' } From 0937c62180fdbf88019e8857f2ccc65297e443b2 Mon Sep 17 00:00:00 2001 From: SyncIt21 Date: Fri, 15 May 2026 21:40:30 +0530 Subject: [PATCH 02/18] right --- .gitattributes | 4 ++-- .github/workflows/yolo.yml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index 624ff92..cde3b71 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,4 @@ *.ts text eol=lf *.js text eol=lf -*.json text eol = lf -*.yml text eol=lf +*.json text eol=lf +*.yml text eol =lf diff --git a/.github/workflows/yolo.yml b/.github/workflows/yolo.yml index 0455542..0c0b4c0 100644 --- a/.github/workflows/yolo.yml +++ b/.github/workflows/yolo.yml @@ -7,4 +7,5 @@ jobs: link_rounds: runs-on: ubuntu-24.04 steps: + - uses: actions/checkout@v6 - uses: ./ \ No newline at end of file From 38d089a2b79818a9f6969f5434f0721619dd4c47 Mon Sep 17 00:00:00 2001 From: SyncIt21 Date: Fri, 15 May 2026 21:42:00 +0530 Subject: [PATCH 03/18] ah --- .github/workflows/yolo.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/yolo.yml b/.github/workflows/yolo.yml index 0c0b4c0..b7a968b 100644 --- a/.github/workflows/yolo.yml +++ b/.github/workflows/yolo.yml @@ -8,4 +8,6 @@ jobs: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v6 - - uses: ./ \ No newline at end of file + - uses: ./ + with: + token: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file From 5d1f12598b65fa9e48ef9b8e8ead20fa1a32c4c6 Mon Sep 17 00:00:00 2001 From: SyncIt21 Date: Fri, 15 May 2026 21:43:37 +0530 Subject: [PATCH 04/18] AH --- .github/workflows/yolo.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/yolo.yml b/.github/workflows/yolo.yml index b7a968b..3b9fac9 100644 --- a/.github/workflows/yolo.yml +++ b/.github/workflows/yolo.yml @@ -10,4 +10,4 @@ jobs: - uses: actions/checkout@v6 - uses: ./ with: - token: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file + repo-token: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file From 59865e7e075a403cab9b626d74671803d835e4b7 Mon Sep 17 00:00:00 2001 From: SyncIt21 Date: Fri, 15 May 2026 22:16:35 +0530 Subject: [PATCH 05/18] delete --- .github/workflows/yolo.yml | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 .github/workflows/yolo.yml diff --git a/.github/workflows/yolo.yml b/.github/workflows/yolo.yml deleted file mode 100644 index 3b9fac9..0000000 --- a/.github/workflows/yolo.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: "Round ID Linker" -on: - issues: - types: [opened] - -jobs: - link_rounds: - runs-on: ubuntu-24.04 - steps: - - uses: actions/checkout@v6 - - uses: ./ - with: - repo-token: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file From 75b06b5ebc59e85c162d989e83348b9eb866f818 Mon Sep 17 00:00:00 2001 From: SyncIt21 Date: Fri, 15 May 2026 22:21:01 +0530 Subject: [PATCH 06/18] faster --- dist/index.js | 8 +------- src/index.ts | 9 +-------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/dist/index.js b/dist/index.js index 63e5cdd..9a42e71 100644 --- a/dist/index.js +++ b/dist/index.js @@ -33066,13 +33066,7 @@ async function run() { } //get issue body let issue_body = context.payload.issue?.body; - if (issue_body == undefined) { - setFailed('Issue body retrieval failed'); - return; - } - //issue body was empty after trim - issue_body = issue_body.trim(); - if (issue_body.length == 0) { + if (!issue_body) { return; } //modify issue body with round link id diff --git a/src/index.ts b/src/index.ts index fa5e25e..a7a50f6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -12,14 +12,7 @@ async function run(): Promise { //get issue body let issue_body = context.payload.issue?.body - if (issue_body == undefined) { - setFailed('Issue body retrieval failed') - return - } - - //issue body was empty after trim - issue_body = issue_body.trim() - if (issue_body.length == 0) { + if (!issue_body) { return } From ddf3556bb06ef7940eabfedf555848633101dae4 Mon Sep 17 00:00:00 2001 From: SyncIt21 Date: Fri, 15 May 2026 22:23:19 +0530 Subject: [PATCH 07/18] yup --- .gitattributes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index cde3b71..0cd93c1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,4 @@ *.ts text eol=lf *.js text eol=lf *.json text eol=lf -*.yml text eol =lf +*.yml text eol=lf From 3f36c6888d4367a572314f3433c9ccbaff4a462d Mon Sep 17 00:00:00 2001 From: SyncIt21 Date: Tue, 19 May 2026 16:18:21 +0530 Subject: [PATCH 08/18] test changes --- .github/workflows/round_id_linker.yml | 13 ++++++++ README.MD | 10 +++++- dist/index.js | 41 ++++++++++++++++------- src/index.ts | 48 +++++++++++++++++++-------- 4 files changed, 86 insertions(+), 26 deletions(-) create mode 100644 .github/workflows/round_id_linker.yml diff --git a/.github/workflows/round_id_linker.yml b/.github/workflows/round_id_linker.yml new file mode 100644 index 0000000..619b244 --- /dev/null +++ b/.github/workflows/round_id_linker.yml @@ -0,0 +1,13 @@ +name: "Round ID Linker" +on: + issues: + types: [opened] + +jobs: + link_rounds: + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@v6 + - uses: ./ + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.MD b/README.MD index 12bcb44..556f8ed 100644 --- a/README.MD +++ b/README.MD @@ -1,9 +1,17 @@ # Round ID Linker Replaces round id's in issue body with links to statbus. -Accepted round id format : +Accepted round id formats : ``` [Round ID]: 1245 +Round ID: 1245 +``` + +Also replaces Byond client version with their respective download links to both windows & linux +Accepted client id format : +``` +[Client Version]: 516.1681 +Client Version: 516.1681 ``` ## Usage diff --git a/dist/index.js b/dist/index.js index 9a42e71..77170ef 100644 --- a/dist/index.js +++ b/dist/index.js @@ -33058,7 +33058,7 @@ function getOctokit(token, options, ...additionalPlugins) { async function run() { try { - // Get issue number of the payload + //get issue number of the payload const issue_number = context.payload.issue?.number; if (issue_number == undefined) { setFailed('Issue number retrieval failed'); @@ -33069,22 +33069,39 @@ async function run() { if (!issue_body) { return; } + //check for regex changes + let changes = false; //modify issue body with round link id const re = /(\[?Round ID\]?:\s*)(\d+)/g; if (issue_body.match(re)) { issue_body = issue_body.replace(re, '$1[$2](https://statbus.space/round/$2)'); - //github client to make requests - const octokit = getOctokit(getInput('repo-token', { required: true })); - await octokit.rest.issues.update({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: issue_number, - body: issue_body, - headers: { - 'X-GitHub-Api-Version': '2026-03-10' - } - }); + changes = true; + } + //modify issue body with byond client download link + const ce = /(\[?Client Version\]?:\s*)((\d+)\.(\d+))/g; + if (issue_body.match(ce)) { + issue_body = issue_body.replace(ce, '$1' + + '[$2 Windows](https://www.byond.com/download/build/$3/$2_byond_setup.zip)' + //windows zip file with installer + '\n' + + '[$2 Linux](https://www.byond.com/download/build/$3/$2_byond_linux.zip)' //linux zip folder + ); + changes = true; } + //no changes + if (!changes) { + return; + } + //github client to make requests + const octokit = getOctokit(getInput('repo-token', { required: true })); + await octokit.rest.issues.update({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: issue_number, + body: issue_body, + headers: { + 'X-GitHub-Api-Version': '2026-03-10' + } + }); } catch (e) { setFailed(`Action failed ${e}.`); diff --git a/src/index.ts b/src/index.ts index a7a50f6..4a765a4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,7 +3,7 @@ import {getOctokit, context} from '@actions/github' async function run(): Promise { try { - // Get issue number of the payload + //get issue number of the payload const issue_number = context.payload.issue?.number if (issue_number == undefined) { setFailed('Issue number retrieval failed') @@ -16,6 +16,9 @@ async function run(): Promise { return } + //check for regex changes + let changes = false + //modify issue body with round link id const re = /(\[?Round ID\]?:\s*)(\d+)/g if (issue_body.match(re)) { @@ -23,22 +26,41 @@ async function run(): Promise { re, '$1[$2](https://statbus.space/round/$2)' ) + changes = true + } - //github client to make requests - const octokit: ReturnType = getOctokit( - getInput('repo-token', {required: true}) + //modify issue body with byond client download link + const ce = /(\[?Client Version\]?:\s*)((\d+)\.(\d+))/g + if (issue_body.match(ce)) { + issue_body = issue_body.replace( + ce, + '$1' + + '[$2 Windows](https://www.byond.com/download/build/$3/$2_byond_setup.zip)' + //windows zip file with installer + '\n' + + '[$2 Linux](https://www.byond.com/download/build/$3/$2_byond_linux.zip)' //linux zip folder ) + changes = true + } - await octokit.rest.issues.update({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: issue_number, - body: issue_body, - headers: { - 'X-GitHub-Api-Version': '2026-03-10' - } - }) + //no changes + if (!changes) { + return } + + //github client to make requests + const octokit: ReturnType = getOctokit( + getInput('repo-token', {required: true}) + ) + + await octokit.rest.issues.update({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: issue_number, + body: issue_body, + headers: { + 'X-GitHub-Api-Version': '2026-03-10' + } + }) } catch (e) { setFailed(`Action failed ${e}.`) } From 4cbf88896ba5a80a857a13cec220a9a4b0634c4d Mon Sep 17 00:00:00 2001 From: SyncIt21 Date: Tue, 19 May 2026 16:28:14 +0530 Subject: [PATCH 09/18] more changes --- dist/index.js | 11 ++++++----- src/index.ts | 10 ++++++---- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/dist/index.js b/dist/index.js index 77170ef..4f896e7 100644 --- a/dist/index.js +++ b/dist/index.js @@ -33080,11 +33080,12 @@ async function run() { //modify issue body with byond client download link const ce = /(\[?Client Version\]?:\s*)((\d+)\.(\d+))/g; if (issue_body.match(ce)) { - issue_body = issue_body.replace(ce, '$1' + - '[$2 Windows](https://www.byond.com/download/build/$3/$2_byond_setup.zip)' + //windows zip file with installer - '\n' + - '[$2 Linux](https://www.byond.com/download/build/$3/$2_byond_linux.zip)' //linux zip folder - ); + issue_body = issue_body.replace(ce, '[$1](https://www.byond.com/download/build/$3):' + + '[' + + '[Windows](https://www.byond.com/download/build/$3/$2_byond_setup.zip)' + //windows zip file with installer + ',' + + '[Linux](https://www.byond.com/download/build/$3/$2_byond_linux.zip)' + //linux zip folder + ']'); changes = true; } //no changes diff --git a/src/index.ts b/src/index.ts index 4a765a4..e4ff154 100644 --- a/src/index.ts +++ b/src/index.ts @@ -34,10 +34,12 @@ async function run(): Promise { if (issue_body.match(ce)) { issue_body = issue_body.replace( ce, - '$1' + - '[$2 Windows](https://www.byond.com/download/build/$3/$2_byond_setup.zip)' + //windows zip file with installer - '\n' + - '[$2 Linux](https://www.byond.com/download/build/$3/$2_byond_linux.zip)' //linux zip folder + '[$1](https://www.byond.com/download/build/$3):' + + '[' + + '[Windows](https://www.byond.com/download/build/$3/$2_byond_setup.zip)' + //windows zip file with installer + ',' + + '[Linux](https://www.byond.com/download/build/$3/$2_byond_linux.zip)' + //linux zip folder + ']' ) changes = true } From fda80d4c63d19f0fb8fdc1726da26ec05fbfe317 Mon Sep 17 00:00:00 2001 From: SyncIt21 Date: Tue, 19 May 2026 16:31:04 +0530 Subject: [PATCH 10/18] more --- dist/index.js | 5 ++--- src/index.ts | 4 +--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/dist/index.js b/dist/index.js index 4f896e7..a0ecd7c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -33081,11 +33081,10 @@ async function run() { const ce = /(\[?Client Version\]?:\s*)((\d+)\.(\d+))/g; if (issue_body.match(ce)) { issue_body = issue_body.replace(ce, '[$1](https://www.byond.com/download/build/$3):' + - '[' + '[Windows](https://www.byond.com/download/build/$3/$2_byond_setup.zip)' + //windows zip file with installer ',' + - '[Linux](https://www.byond.com/download/build/$3/$2_byond_linux.zip)' + //linux zip folder - ']'); + '[Linux](https://www.byond.com/download/build/$3/$2_byond_linux.zip)' //linux zip folder + ); changes = true; } //no changes diff --git a/src/index.ts b/src/index.ts index e4ff154..c1fecab 100644 --- a/src/index.ts +++ b/src/index.ts @@ -35,11 +35,9 @@ async function run(): Promise { issue_body = issue_body.replace( ce, '[$1](https://www.byond.com/download/build/$3):' + - '[' + '[Windows](https://www.byond.com/download/build/$3/$2_byond_setup.zip)' + //windows zip file with installer ',' + - '[Linux](https://www.byond.com/download/build/$3/$2_byond_linux.zip)' + //linux zip folder - ']' + '[Linux](https://www.byond.com/download/build/$3/$2_byond_linux.zip)' //linux zip folder ) changes = true } From 2c8cb5b6ded32b5f4344533c8b3a63a2487263dc Mon Sep 17 00:00:00 2001 From: SyncIt21 Date: Tue, 19 May 2026 17:11:58 +0530 Subject: [PATCH 11/18] update --- dist/index.js | 6 ++++-- src/index.ts | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index a0ecd7c..5188e8c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -33080,9 +33080,11 @@ async function run() { //modify issue body with byond client download link const ce = /(\[?Client Version\]?:\s*)((\d+)\.(\d+))/g; if (issue_body.match(ce)) { - issue_body = issue_body.replace(ce, '[$1](https://www.byond.com/download/build/$3):' + + issue_body = issue_body.replace(ce, '$1' + + '$3=>' + + '[$3](https://www.byond.com/download/build/$3)/' + '[Windows](https://www.byond.com/download/build/$3/$2_byond_setup.zip)' + //windows zip file with installer - ',' + + '/' + '[Linux](https://www.byond.com/download/build/$3/$2_byond_linux.zip)' //linux zip folder ); changes = true; diff --git a/src/index.ts b/src/index.ts index c1fecab..6fd6926 100644 --- a/src/index.ts +++ b/src/index.ts @@ -34,9 +34,11 @@ async function run(): Promise { if (issue_body.match(ce)) { issue_body = issue_body.replace( ce, - '[$1](https://www.byond.com/download/build/$3):' + + '$1' + + '$3=>' + + '[$3](https://www.byond.com/download/build/$3)/' + '[Windows](https://www.byond.com/download/build/$3/$2_byond_setup.zip)' + //windows zip file with installer - ',' + + '/' + '[Linux](https://www.byond.com/download/build/$3/$2_byond_linux.zip)' //linux zip folder ) changes = true From 0518775ea503a9e44ab17f49af96d38a56493815 Mon Sep 17 00:00:00 2001 From: SyncIt21 Date: Tue, 19 May 2026 17:15:01 +0530 Subject: [PATCH 12/18] update --- dist/index.js | 4 ++-- src/index.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index 5188e8c..5ec0ace 100644 --- a/dist/index.js +++ b/dist/index.js @@ -33081,8 +33081,8 @@ async function run() { const ce = /(\[?Client Version\]?:\s*)((\d+)\.(\d+))/g; if (issue_body.match(ce)) { issue_body = issue_body.replace(ce, '$1' + - '$3=>' + - '[$3](https://www.byond.com/download/build/$3)/' + + '$2=>' + + '[$3](https://www.byond.com/download/build/$3)/' + //major version download page '[Windows](https://www.byond.com/download/build/$3/$2_byond_setup.zip)' + //windows zip file with installer '/' + '[Linux](https://www.byond.com/download/build/$3/$2_byond_linux.zip)' //linux zip folder diff --git a/src/index.ts b/src/index.ts index 6fd6926..cfe8017 100644 --- a/src/index.ts +++ b/src/index.ts @@ -35,8 +35,8 @@ async function run(): Promise { issue_body = issue_body.replace( ce, '$1' + - '$3=>' + - '[$3](https://www.byond.com/download/build/$3)/' + + '$2=>' + + '[$3](https://www.byond.com/download/build/$3)/' + //major version download page '[Windows](https://www.byond.com/download/build/$3/$2_byond_setup.zip)' + //windows zip file with installer '/' + '[Linux](https://www.byond.com/download/build/$3/$2_byond_linux.zip)' //linux zip folder From 9fb7e7c62c151655e3f1e2ee9a60f537f1805945 Mon Sep 17 00:00:00 2001 From: SyncIt21 Date: Tue, 19 May 2026 17:18:34 +0530 Subject: [PATCH 13/18] remove test --- .github/workflows/round_id_linker.yml | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 .github/workflows/round_id_linker.yml diff --git a/.github/workflows/round_id_linker.yml b/.github/workflows/round_id_linker.yml deleted file mode 100644 index 619b244..0000000 --- a/.github/workflows/round_id_linker.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: "Round ID Linker" -on: - issues: - types: [opened] - -jobs: - link_rounds: - runs-on: ubuntu-24.04 - steps: - - uses: actions/checkout@v6 - - uses: ./ - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} From a85873c955417d6d2316d4e6cdf2b5428b0571ae Mon Sep 17 00:00:00 2001 From: SyncIt21 Date: Tue, 19 May 2026 17:22:26 +0530 Subject: [PATCH 14/18] comments --- dist/index.js | 7 +++---- src/index.ts | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/dist/index.js b/dist/index.js index 5ec0ace..384dd76 100644 --- a/dist/index.js +++ b/dist/index.js @@ -33080,11 +33080,10 @@ async function run() { //modify issue body with byond client download link const ce = /(\[?Client Version\]?:\s*)((\d+)\.(\d+))/g; if (issue_body.match(ce)) { - issue_body = issue_body.replace(ce, '$1' + - '$2=>' + + issue_body = issue_body.replace(ce, '$1' + //text Client Version + '$2=>' + //full client version '[$3](https://www.byond.com/download/build/$3)/' + //major version download page - '[Windows](https://www.byond.com/download/build/$3/$2_byond_setup.zip)' + //windows zip file with installer - '/' + + '[Windows](https://www.byond.com/download/build/$3/$2_byond_setup.zip)/' + //windows zip file with installer '[Linux](https://www.byond.com/download/build/$3/$2_byond_linux.zip)' //linux zip folder ); changes = true; diff --git a/src/index.ts b/src/index.ts index cfe8017..7702b16 100644 --- a/src/index.ts +++ b/src/index.ts @@ -34,11 +34,10 @@ async function run(): Promise { if (issue_body.match(ce)) { issue_body = issue_body.replace( ce, - '$1' + - '$2=>' + + '$1' + //text Client Version + '$2=>' + //full client version '[$3](https://www.byond.com/download/build/$3)/' + //major version download page - '[Windows](https://www.byond.com/download/build/$3/$2_byond_setup.zip)' + //windows zip file with installer - '/' + + '[Windows](https://www.byond.com/download/build/$3/$2_byond_setup.zip)/' + //windows zip file with installer '[Linux](https://www.byond.com/download/build/$3/$2_byond_linux.zip)' //linux zip folder ) changes = true From b8b08e4867d75571c35af4b821ccbaf3abbf041d Mon Sep 17 00:00:00 2001 From: SyncIt21 Date: Tue, 19 May 2026 17:23:18 +0530 Subject: [PATCH 15/18] clarification --- dist/index.js | 1 + src/index.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/index.js b/dist/index.js index 384dd76..9555f7f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -33094,6 +33094,7 @@ async function run() { } //github client to make requests const octokit = getOctokit(getInput('repo-token', { required: true })); + //make request to update issue body await octokit.rest.issues.update({ owner: context.repo.owner, repo: context.repo.repo, diff --git a/src/index.ts b/src/index.ts index 7702b16..ec00318 100644 --- a/src/index.ts +++ b/src/index.ts @@ -53,6 +53,7 @@ async function run(): Promise { getInput('repo-token', {required: true}) ) + //make request to update issue body await octokit.rest.issues.update({ owner: context.repo.owner, repo: context.repo.repo, From c8052ce8636c725c4669a667dea8697ba451b036 Mon Sep 17 00:00:00 2001 From: SyncIt21 Date: Tue, 19 May 2026 21:23:48 +0530 Subject: [PATCH 16/18] action input --- action.yml | 5 +++++ dist/index.js | 41 ++++++++++++++++++++++++++++++++--------- src/index.ts | 26 ++++++++++++++------------ 3 files changed, 51 insertions(+), 21 deletions(-) diff --git a/action.yml b/action.yml index 4df78fa..de58567 100644 --- a/action.yml +++ b/action.yml @@ -3,6 +3,11 @@ description: 'Links Round IDs found in issue body' inputs: repo-token: description: 'The GITHUB_TOKEN secret' + required: true + format-version: + description: 'byond client version number will be formatted as downloadable links' + required: false + default: true runs: using: 'node24' main: 'dist/index.js' diff --git a/dist/index.js b/dist/index.js index 9555f7f..8ad1bd2 100644 --- a/dist/index.js +++ b/dist/index.js @@ -28087,6 +28087,27 @@ function getInput(name, options) { } return val.trim(); } +/** + * Gets the input value of the boolean type in the YAML 1.2 "core schema" specification. + * Support boolean input list: `true | True | TRUE | false | False | FALSE` . + * The return value is also in boolean type. + * ref: https://yaml.org/spec/1.2/spec.html#id2804923 + * + * @param name name of the input to get + * @param options optional. See InputOptions. + * @returns boolean + */ +function getBooleanInput(name, options) { + const trueValue = ['true', 'True', 'TRUE']; + const falseValue = ['false', 'False', 'FALSE']; + const val = getInput(name, options); + if (trueValue.includes(val)) + return true; + if (falseValue.includes(val)) + return false; + throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${name}\n` + + `Support boolean input list: \`true | True | TRUE | false | False | FALSE\``); +} //----------------------------------------------------------------------- // Results //----------------------------------------------------------------------- @@ -33078,15 +33099,17 @@ async function run() { changes = true; } //modify issue body with byond client download link - const ce = /(\[?Client Version\]?:\s*)((\d+)\.(\d+))/g; - if (issue_body.match(ce)) { - issue_body = issue_body.replace(ce, '$1' + //text Client Version - '$2=>' + //full client version - '[$3](https://www.byond.com/download/build/$3)/' + //major version download page - '[Windows](https://www.byond.com/download/build/$3/$2_byond_setup.zip)/' + //windows zip file with installer - '[Linux](https://www.byond.com/download/build/$3/$2_byond_linux.zip)' //linux zip folder - ); - changes = true; + if (getBooleanInput('format-version')) { + const ce = /(\[?Client Version\]?:\s*)((\d+)\.(\d+))/g; + if (issue_body.match(ce)) { + issue_body = issue_body.replace(ce, '$1' + //text Client Version + '$2=>' + //full client version + '[$3](https://www.byond.com/download/build/$3)/' + //major version download page + '[Windows](https://www.byond.com/download/build/$3/$2_byond_setup.zip)/' + //windows zip file with installer + '[Linux](https://www.byond.com/download/build/$3/$2_byond_linux.zip)' //linux zip folder + ); + changes = true; + } } //no changes if (!changes) { diff --git a/src/index.ts b/src/index.ts index ec00318..09be338 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,4 @@ -import {getInput, setFailed} from '@actions/core' +import {getInput, getBooleanInput, setFailed} from '@actions/core' import {getOctokit, context} from '@actions/github' async function run(): Promise { @@ -30,17 +30,19 @@ async function run(): Promise { } //modify issue body with byond client download link - const ce = /(\[?Client Version\]?:\s*)((\d+)\.(\d+))/g - if (issue_body.match(ce)) { - issue_body = issue_body.replace( - ce, - '$1' + //text Client Version - '$2=>' + //full client version - '[$3](https://www.byond.com/download/build/$3)/' + //major version download page - '[Windows](https://www.byond.com/download/build/$3/$2_byond_setup.zip)/' + //windows zip file with installer - '[Linux](https://www.byond.com/download/build/$3/$2_byond_linux.zip)' //linux zip folder - ) - changes = true + if (getBooleanInput('format-version')) { + const ce = /(\[?Client Version\]?:\s*)((\d+)\.(\d+))/g + if (issue_body.match(ce)) { + issue_body = issue_body.replace( + ce, + '$1' + //text Client Version + '$2=>' + //full client version + '[$3](https://www.byond.com/download/build/$3)/' + //major version download page + '[Windows](https://www.byond.com/download/build/$3/$2_byond_setup.zip)/' + //windows zip file with installer + '[Linux](https://www.byond.com/download/build/$3/$2_byond_linux.zip)' //linux zip folder + ) + changes = true + } } //no changes From a8aa1bb1c08c636acbfe895090b6553b750f1c98 Mon Sep 17 00:00:00 2001 From: SyncIt21 Date: Tue, 19 May 2026 21:29:20 +0530 Subject: [PATCH 17/18] update --- package-lock.json | 152 +++++++++++++++++++++++----------------------- package.json | 6 +- 2 files changed, 79 insertions(+), 79 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6443f83..bf022de 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,9 +19,9 @@ "@rollup/plugin-node-resolve": "^16.0.3", "@stylistic/eslint-plugin": "^5.10.0", "@types/node": "^25.6.0", - "@typescript-eslint/eslint-plugin": "^8.59.2", - "@typescript-eslint/parser": "^8.59.2", - "eslint": "^10.3.0", + "@typescript-eslint/eslint-plugin": "^8.59.4", + "@typescript-eslint/parser": "^8.59.4", + "eslint": "^10.4.0", "globals": "^17.6.0", "prettier": "^3.8.3", "typescript": "^6.0.3" @@ -155,9 +155,9 @@ } }, "node_modules/@eslint/config-array/node_modules/brace-expansion": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz", - "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==", + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz", + "integrity": "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==", "dev": true, "license": "MIT", "dependencies": { @@ -184,9 +184,9 @@ } }, "node_modules/@eslint/config-helpers": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.5.5.tgz", - "integrity": "sha512-eIJYKTCECbP/nsKaaruF6LW967mtbQbsw4JTtSVkUQc9MneSkbrgPJAbKl9nWr0ZeowV8BfsarBmPpBzGelA2w==", + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.6.0.tgz", + "integrity": "sha512-ii6Bw9jJ2zi2cWA2Z+9/QZ/+3DX6kwaV5Q986D/CdP3Lap3w/pgQZ373FV7byY/i7L4IRH/G43I5dz1ClsCbpA==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -627,17 +627,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.59.2.tgz", - "integrity": "sha512-j/bwmkBvHUtPNxzuWe5z6BEk3q54YRyGlBXkSsmfoih7zNrBvl5A9A98anlp/7JbyZcWIJ8KXo/3Tq/DjFLtuQ==", + "version": "8.59.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.59.4.tgz", + "integrity": "sha512-PegsU+XfyJJNjd4+u/k6f9yTyp0lEXXiPopUNobZcIAUJFGICFLN+sP0Rb3JehVmiij1Ph0dFGYqODoRo/2+6A==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.12.2", - "@typescript-eslint/scope-manager": "8.59.2", - "@typescript-eslint/type-utils": "8.59.2", - "@typescript-eslint/utils": "8.59.2", - "@typescript-eslint/visitor-keys": "8.59.2", + "@typescript-eslint/scope-manager": "8.59.4", + "@typescript-eslint/type-utils": "8.59.4", + "@typescript-eslint/utils": "8.59.4", + "@typescript-eslint/visitor-keys": "8.59.4", "ignore": "^7.0.5", "natural-compare": "^1.4.0", "ts-api-utils": "^2.5.0" @@ -650,7 +650,7 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.59.2", + "@typescript-eslint/parser": "^8.59.4", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } @@ -666,16 +666,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.59.2.tgz", - "integrity": "sha512-plR3pp6D+SSUn1HM7xvSkx12/DhoHInI2YF35KAcVFNZvlC0gtrWqx7Qq1oH2Ssgi0vlFRCTbP+DZc7B9+TtsQ==", + "version": "8.59.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.59.4.tgz", + "integrity": "sha512-zORHqO/tuhxY1zWuTvMUqddRxpiFJ72xVfcNoWpqdLjs6lfPbuQBJuW4pk+49/uBMy7Ssr4bzgjiKmmDB1UbZQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.59.2", - "@typescript-eslint/types": "8.59.2", - "@typescript-eslint/typescript-estree": "8.59.2", - "@typescript-eslint/visitor-keys": "8.59.2", + "@typescript-eslint/scope-manager": "8.59.4", + "@typescript-eslint/types": "8.59.4", + "@typescript-eslint/typescript-estree": "8.59.4", + "@typescript-eslint/visitor-keys": "8.59.4", "debug": "^4.4.3" }, "engines": { @@ -691,14 +691,14 @@ } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.59.2.tgz", - "integrity": "sha512-+2hqvEkeyf/0FBor67duF0Ll7Ot8jyKzDQOSrxazF/danillRq2DwR9dLptsXpoZQqxE1UisSmoZewrlPas9Vw==", + "version": "8.59.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.59.4.tgz", + "integrity": "sha512-Ly00Vu4oAacfDeHp2Zg85ioNG6l8HG+tN1D7J+xTHSxu9y0awYKJ2zH1rFBn8ZSfuGK+7FxK3Cgl3uAz0aZZLg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.59.2", - "@typescript-eslint/types": "^8.59.2", + "@typescript-eslint/tsconfig-utils": "^8.59.4", + "@typescript-eslint/types": "^8.59.4", "debug": "^4.4.3" }, "engines": { @@ -713,14 +713,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.59.2.tgz", - "integrity": "sha512-JzfyEpEtOU89CcFSwyNS3mu4MLvLSXqnmX05+aKBDM+TdR5jzcGOEBwxwGNxrEQ7p/z6kK2WyioCGBf2zZBnvg==", + "version": "8.59.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.59.4.tgz", + "integrity": "sha512-mUeR/3H1WrTAddJrwut8OoPjfauaztMQmRwV5fQTUyNVJCLiUXXe4lGEyYIL2oFDpP7UtgbGJXCt72wT0z2S3Q==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.59.2", - "@typescript-eslint/visitor-keys": "8.59.2" + "@typescript-eslint/types": "8.59.4", + "@typescript-eslint/visitor-keys": "8.59.4" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -731,9 +731,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.59.2.tgz", - "integrity": "sha512-BKK4alN7oi4C/zv4VqHQ+uRU+lTa6JGIZ7s1juw7b3RHo9OfKB+bKX3u0iVZetdsUCBBkSbdWbarJbmN0fTeSw==", + "version": "8.59.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.59.4.tgz", + "integrity": "sha512-DLCpnKgD4alVxTBSKulK+gU1KCqOgUXfDRDXh2mZgzokQKa/70ax93I2uVO3m/LLvIAtWZIFoiifudmIqAxpMA==", "dev": true, "license": "MIT", "engines": { @@ -748,15 +748,15 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.59.2.tgz", - "integrity": "sha512-nhqaj1nmTdVVl/BP5omXNRGO38jn5iosis2vbdmupF2txCf8ylWT8lx+JlvMYYVqzGVKtjojUFoQ3JRWK+mfzQ==", + "version": "8.59.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.59.4.tgz", + "integrity": "sha512-uonTuPAAKr9XaBGqJ3LjYTh72zy5DyGesljO9gtmk/eFW0W1fRHjnwVYKB35Lm8d5Q5CluEW3gPHjTvZTmgrfA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.59.2", - "@typescript-eslint/typescript-estree": "8.59.2", - "@typescript-eslint/utils": "8.59.2", + "@typescript-eslint/types": "8.59.4", + "@typescript-eslint/typescript-estree": "8.59.4", + "@typescript-eslint/utils": "8.59.4", "debug": "^4.4.3", "ts-api-utils": "^2.5.0" }, @@ -773,9 +773,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.59.2.tgz", - "integrity": "sha512-e82GVOE8Ps3E++Egvb6Y3Dw0S10u8NkQ9KXmtRhCWJJ8kDhOJTvtMAWnFL16kB1583goCWXsr0NieKCZMs2/0Q==", + "version": "8.59.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.59.4.tgz", + "integrity": "sha512-F1o7WJcCq+bc8dwcO/YsSEOudAH8RDtaOhM6wcAQhcUsFhnWQl81JKy48q1hoxAU0qrzM89+31GYh1515Zde3Q==", "dev": true, "license": "MIT", "engines": { @@ -787,16 +787,16 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.59.2.tgz", - "integrity": "sha512-o0XPGNwcWw+FIwStOWn+BwBuEmL6QXP0rsvAFg7ET1dey1Nr6Wb1ac8p5HEsK0ygO/6mUxlk+YWQD9xcb/nnXg==", + "version": "8.59.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.59.4.tgz", + "integrity": "sha512-F+RuOmcDXo4+TPdfd/TCLS3m2nw8gE9XXyZLrA3JBfaA5tz9TtdkyD3YJFmPxulyc2cKbEok/CvFE3MgSLWnag==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.59.2", - "@typescript-eslint/tsconfig-utils": "8.59.2", - "@typescript-eslint/types": "8.59.2", - "@typescript-eslint/visitor-keys": "8.59.2", + "@typescript-eslint/project-service": "8.59.4", + "@typescript-eslint/tsconfig-utils": "8.59.4", + "@typescript-eslint/types": "8.59.4", + "@typescript-eslint/visitor-keys": "8.59.4", "debug": "^4.4.3", "minimatch": "^10.2.2", "semver": "^7.7.3", @@ -825,9 +825,9 @@ } }, "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz", - "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==", + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz", + "integrity": "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==", "dev": true, "license": "MIT", "dependencies": { @@ -854,16 +854,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.59.2.tgz", - "integrity": "sha512-Juw3EinkXqjaffxz6roowvV7GZT/kET5vSKKZT6upl5TXdWkLkYmNPXwDDL2Vkt2DPn0nODIS4egC/0AGxKo/Q==", + "version": "8.59.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.59.4.tgz", + "integrity": "sha512-cYXeNAUsG4lJo5dbc1FcKm+JwIWrj1/UpTORsC6tGMjEZ81DYcvIr9/ueikhMa/Y/gDQYGp+YX9/xQrXje5BJw==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", - "@typescript-eslint/scope-manager": "8.59.2", - "@typescript-eslint/types": "8.59.2", - "@typescript-eslint/typescript-estree": "8.59.2" + "@typescript-eslint/scope-manager": "8.59.4", + "@typescript-eslint/types": "8.59.4", + "@typescript-eslint/typescript-estree": "8.59.4" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -878,13 +878,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.59.2.tgz", - "integrity": "sha512-NwjLUnGy8/Zfx23fl50tRC8rYaYnM52xNRYFAXvmiil9yh1+K6aRVQMnzW6gQB/1DLgWt977lYQn7C+wtgXZiA==", + "version": "8.59.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.59.4.tgz", + "integrity": "sha512-U3gxVaDVnuZKhSspW/MzMxE1kq7zOdc072FcSNoqA1I9p8HyKbBFfEHoWckBAMgNMph4MamwS5iTVzFmrnt8TQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.59.2", + "@typescript-eslint/types": "8.59.4", "eslint-visitor-keys": "^5.0.0" }, "engines": { @@ -1077,16 +1077,16 @@ } }, "node_modules/eslint": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.3.0.tgz", - "integrity": "sha512-XbEXaRva5cF0ZQB8w6MluHA0kZZfV2DuCMJ3ozyEOHLwDpZX2Lmm/7Pp0xdJmI0GL1W05VH5VwIFHEm1Vcw2gw==", + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.4.0.tgz", + "integrity": "sha512-loXy6bWOoP3EP6JA7jo6p5jMpBJmHmsNZM5SFRHLdh1MGOPurMnNBj4ZlAbaqUAaQWbCr7jHV4P7gzAyryZWkQ==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.2", "@eslint/config-array": "^0.23.5", - "@eslint/config-helpers": "^0.5.5", + "@eslint/config-helpers": "^0.6.0", "@eslint/core": "^1.2.1", "@eslint/plugin-kit": "^0.7.1", "@humanfs/node": "^0.16.6", @@ -1175,9 +1175,9 @@ } }, "node_modules/eslint/node_modules/brace-expansion": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz", - "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==", + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz", + "integrity": "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==", "dev": true, "license": "MIT", "dependencies": { @@ -1849,9 +1849,9 @@ } }, "node_modules/semver": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz", - "integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==", + "version": "7.8.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.0.tgz", + "integrity": "sha512-AcM7dV/5ul4EekoQ29Agm5vri8JNqRyj39o0qpX6vDF2GZrtutZl5RwgD1XnZjiTAfncsJhMI48QQH3sN87YNA==", "dev": true, "license": "ISC", "bin": { diff --git a/package.json b/package.json index a681d0c..7c976c0 100644 --- a/package.json +++ b/package.json @@ -27,9 +27,9 @@ "@rollup/plugin-node-resolve": "^16.0.3", "@stylistic/eslint-plugin": "^5.10.0", "@types/node": "^25.6.0", - "@typescript-eslint/eslint-plugin": "^8.59.2", - "@typescript-eslint/parser": "^8.59.2", - "eslint": "^10.3.0", + "@typescript-eslint/eslint-plugin": "^8.59.4", + "@typescript-eslint/parser": "^8.59.4", + "eslint": "^10.4.0", "globals": "^17.6.0", "prettier": "^3.8.3", "typescript": "^6.0.3" From c93c517f6eda7c317e97f37202fb28d97a3ffb28 Mon Sep 17 00:00:00 2001 From: SyncIt21 Date: Tue, 19 May 2026 21:37:21 +0530 Subject: [PATCH 18/18] update --- package-lock.json | 16 ++++++++-------- package.json | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index bf022de..f6a0dae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "@rollup/plugin-commonjs": "^29.0.2", "@rollup/plugin-node-resolve": "^16.0.3", "@stylistic/eslint-plugin": "^5.10.0", - "@types/node": "^25.6.0", + "@types/node": "^25.9.0", "@typescript-eslint/eslint-plugin": "^8.59.4", "@typescript-eslint/parser": "^8.59.4", "eslint": "^10.4.0", @@ -610,13 +610,13 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "25.6.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-25.6.0.tgz", - "integrity": "sha512-+qIYRKdNYJwY3vRCZMdJbPLJAtGjQBudzZzdzwQYkEPQd+PJGixUL5QfvCLDaULoLv+RhT3LDkwEfKaAkgSmNQ==", + "version": "25.9.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-25.9.0.tgz", + "integrity": "sha512-AOQwYUNolgy3VosiRqXrACUXTN8nJUtPl7FJXMqZVyxiiCLhQuG3jXKvCS1ALr+Y2OmZhzzLVlYPEqJaiqkaJQ==", "dev": true, "license": "MIT", "dependencies": { - "undici-types": "~7.19.0" + "undici-types": ">=7.24.0 <7.24.7" } }, "node_modules/@types/resolve": { @@ -1986,9 +1986,9 @@ } }, "node_modules/undici-types": { - "version": "7.19.2", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.19.2.tgz", - "integrity": "sha512-qYVnV5OEm2AW8cJMCpdV20CDyaN3g0AjDlOGf1OW4iaDEx8MwdtChUp4zu4H0VP3nDRF/8RKWH+IPp9uW0YGZg==", + "version": "7.24.6", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz", + "integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==", "dev": true, "license": "MIT" }, diff --git a/package.json b/package.json index 7c976c0..106673c 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "@rollup/plugin-commonjs": "^29.0.2", "@rollup/plugin-node-resolve": "^16.0.3", "@stylistic/eslint-plugin": "^5.10.0", - "@types/node": "^25.6.0", + "@types/node": "^25.9.0", "@typescript-eslint/eslint-plugin": "^8.59.4", "@typescript-eslint/parser": "^8.59.4", "eslint": "^10.4.0",