From d84a9e11563cc1ec6e8e7d24f88c6bc42cb9073f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 4 Jan 2024 07:39:47 +0000 Subject: [PATCH] chore(deps): update dependency @types/luxon to v3.3.7 (#26193) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Kriese --- .../graphql/cache-strategies/abstract-cache-strategy.ts | 2 +- lib/workers/repository/update/branch/schedule.ts | 2 +- package.json | 2 +- pnpm-lock.yaml | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/util/github/graphql/cache-strategies/abstract-cache-strategy.ts b/lib/util/github/graphql/cache-strategies/abstract-cache-strategy.ts index 0be638592061129..004fa16bfb4851a 100644 --- a/lib/util/github/graphql/cache-strategies/abstract-cache-strategy.ts +++ b/lib/util/github/graphql/cache-strategies/abstract-cache-strategy.ts @@ -35,7 +35,7 @@ export abstract class AbstractGithubGraphqlCacheStrategy< * These fields will be persisted. */ private items: Record | undefined; - protected createdAt = this.now; + protected createdAt: DateTime = this.now; /** * This flag indicates whether there is any new or updated items diff --git a/lib/workers/repository/update/branch/schedule.ts b/lib/workers/repository/update/branch/schedule.ts index 43ed2bc2981f297..22c12166779e417 100644 --- a/lib/workers/repository/update/branch/schedule.ts +++ b/lib/workers/repository/update/branch/schedule.ts @@ -166,7 +166,7 @@ export function isScheduledNow( logger.warn(validSchedule[1]); return true; } - let now = DateTime.local(); + let now: DateTime = DateTime.local(); logger.trace(`now=${now.toISO()!}`); // Adjust the time if repo is in a different timezone to renovate if (config.timezone) { diff --git a/package.json b/package.json index 87bbd4bbfc1a800..d50b476d9adecea 100644 --- a/package.json +++ b/package.json @@ -289,7 +289,7 @@ "@types/json-dup-key-validator": "1.0.2", "@types/linkify-markdown": "1.0.3", "@types/lodash": "4.14.202", - "@types/luxon": "3.3.5", + "@types/luxon": "3.3.7", "@types/markdown-it": "13.0.7", "@types/markdown-table": "2.0.0", "@types/marshal": "0.5.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 729b8b1f1f353c6..50b8d58548d51ee 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -428,8 +428,8 @@ importers: specifier: 4.14.202 version: 4.14.202 '@types/luxon': - specifier: 3.3.5 - version: 3.3.5 + specifier: 3.3.7 + version: 3.3.7 '@types/markdown-it': specifier: 13.0.7 version: 13.0.7 @@ -3833,8 +3833,8 @@ packages: resolution: {integrity: sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ==} dev: true - /@types/luxon@3.3.5: - resolution: {integrity: sha512-1cyf6Ge/94zlaWIZA2ei1pE6SZ8xpad2hXaYa5JEFiaUH0YS494CZwyi4MXNpXD9oEuv6ZH0Bmh0e7F9sPhmZA==} + /@types/luxon@3.3.7: + resolution: {integrity: sha512-gKc9P2d4g5uYwmy4s/MO/yOVPmvHyvzka1YH6i5dM03UrFofHSmgc0D0ymbDRStFWHusk6cwwF6nhLm/ckBbbQ==} dev: true /@types/markdown-it@13.0.7: