From 99bf348b8c6e599092ec6096090fcc94553ae26e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Dec 2025 17:15:22 +0000 Subject: [PATCH 1/2] Bump actions/cache from 4 to 5 Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/cache dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 68619e95..3882c738 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - - uses: actions/cache@v4 + - uses: actions/cache@v5 with: path: repositories key: v2-${{ hashFiles('repositories.json') }} From f7e276ab78d301cc90def6e56a7d442150c73305 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Mon, 15 Dec 2025 17:17:27 +0000 Subject: [PATCH 2/2] Apply automated changes --- src/timing.ts | 52 +++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/src/timing.ts b/src/timing.ts index c975f524..2ca1c6f4 100644 --- a/src/timing.ts +++ b/src/timing.ts @@ -1,26 +1,26 @@ -import prettyMilliseconds from "pretty-ms"; -import styleText from "node-style-text"; - -const START_PREFIX = styleText.bgGray("[START]"); -const END_PREFIX = styleText.bgGreen("[ END ]"); - -class Timing { - #message; - #startMark: PerformanceMark | undefined; - - constructor(message: string) { - this.#message = message; - this.#startMark = performance.mark("start"); - console.log(`${START_PREFIX}: ${message}`); - } - - end(message?: string) { - const { duration } = performance.measure(this.#message, this.#startMark); - console.log( - (message ?? `${END_PREFIX}: ${this.#message}`) + - ` (${styleText.blue.underline(prettyMilliseconds(duration))})`, - ); - } -} - -export { Timing }; +import prettyMilliseconds from "pretty-ms"; +import styleText from "node-style-text"; + +const START_PREFIX = styleText.bgGray("[START]"); +const END_PREFIX = styleText.bgGreen("[ END ]"); + +class Timing { + #message; + #startMark: PerformanceMark | undefined; + + constructor(message: string) { + this.#message = message; + this.#startMark = performance.mark("start"); + console.log(`${START_PREFIX}: ${message}`); + } + + end(message?: string) { + const { duration } = performance.measure(this.#message, this.#startMark); + console.log( + (message ?? `${END_PREFIX}: ${this.#message}`) + + ` (${styleText.blue.underline(prettyMilliseconds(duration))})`, + ); + } +} + +export { Timing };