From 7e04f230207578b22f3b180815b518ed30d8f623 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Dec 2025 19:47:27 +0000 Subject: [PATCH 1/2] Bump @types/node from 24.9.2 to 24.10.1 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.9.2 to 24.10.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 24.10.1 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 7662b387..ae27ec61 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ }, "devDependencies": { "@eslint/js": "9.39.0", - "@types/node": "24.9.2", + "@types/node": "25.0.0", "@typescript-eslint/eslint-plugin": "8.46.2", "@typescript-eslint/parser": "8.46.2", "eslint": "9.39.0", diff --git a/yarn.lock b/yarn.lock index f7ceb6fa..574f2dae 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1220,7 +1220,7 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:24.9.2": +"@types/node@npm:*": version: 24.9.2 resolution: "@types/node@npm:24.9.2" dependencies: @@ -1229,6 +1229,15 @@ __metadata: languageName: node linkType: hard +"@types/node@npm:25.0.0": + version: 25.0.0 + resolution: "@types/node@npm:25.0.0" + dependencies: + undici-types: "npm:~7.16.0" + checksum: 10c0/5a10d6f873ad326e46fac923ea4305b7fea3de0cf7e11c835d1fdc99d4b4d0f3f108035432ec1732f505c97d367b9abf618ecbdfb02a75a5306665ecce2a81a6 + languageName: node + linkType: hard + "@types/tunnel@npm:^0.0.3": version: 0.0.3 resolution: "@types/tunnel@npm:0.0.3" @@ -3678,7 +3687,7 @@ __metadata: "@actions/core": "npm:1.11.1" "@actions/github": "npm:4.0.0" "@eslint/js": "npm:9.39.0" - "@types/node": "npm:24.9.2" + "@types/node": "npm:25.0.0" "@typescript-eslint/eslint-plugin": "npm:8.46.2" "@typescript-eslint/parser": "npm:8.46.2" eslint: "npm:9.39.0" From 1d9eeba787ab48e81149e11a3bb48a59bcaac5cd Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Thu, 11 Dec 2025 19:48:01 +0000 Subject: [PATCH 2/2] Apply automated changes --- scripts/utilities.mjs | 58 +++++++++++++++++++++---------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/scripts/utilities.mjs b/scripts/utilities.mjs index cafa4cc5..bf5ba3fd 100644 --- a/scripts/utilities.mjs +++ b/scripts/utilities.mjs @@ -1,29 +1,29 @@ -import * as prettier from "prettier"; -import fs from "fs/promises"; -import spawn from "nano-spawn"; -import repositories from "../repositories.json" with { type: "json" }; - -export const REPOSITORIES_JSON_FILE = new URL( - "../repositories.json", - import.meta.url, -); - -export async function getRepositoryCommitHash(repository) { - const { stdout } = await spawn("git", [ - "ls-remote", - "--exit-code", - `https://github.com/${repository}`, - "HEAD", - ]); - const [commit] = stdout.trim().split(/\s/); - return commit; -} - -export async function updatedRepositories(processFunction) { - const updated = processFunction(repositories); - - await fs.writeFile( - REPOSITORIES_JSON_FILE, - await prettier.format(JSON.stringify(updated), { parser: "json" }), - ); -} +import * as prettier from "prettier"; +import fs from "fs/promises"; +import spawn from "nano-spawn"; +import repositories from "../repositories.json" with { type: "json" }; + +export const REPOSITORIES_JSON_FILE = new URL( + "../repositories.json", + import.meta.url, +); + +export async function getRepositoryCommitHash(repository) { + const { stdout } = await spawn("git", [ + "ls-remote", + "--exit-code", + `https://github.com/${repository}`, + "HEAD", + ]); + const [commit] = stdout.trim().split(/\s/); + return commit; +} + +export async function updatedRepositories(processFunction) { + const updated = processFunction(repositories); + + await fs.writeFile( + REPOSITORIES_JSON_FILE, + await prettier.format(JSON.stringify(updated), { parser: "json" }), + ); +}