From 4ae4cba877c87e690d50df9e4ec15c9413f94499 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 16 Sep 2024 11:17:57 -0400 Subject: [PATCH] [deps]: Update @types/node to v18.19.50 (#599) * [deps]: Update @types/node to v18.19.50 * Adjust timer type --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Addison Beck --- jslib/electron/src/window.main.ts | 2 +- package-lock.json | 21 ++++++++++++++++----- package.json | 2 +- src/main/messaging.main.ts | 2 +- 4 files changed, 19 insertions(+), 8 deletions(-) diff --git a/jslib/electron/src/window.main.ts b/jslib/electron/src/window.main.ts index a732ca40e..9592ff864 100644 --- a/jslib/electron/src/window.main.ts +++ b/jslib/electron/src/window.main.ts @@ -14,7 +14,7 @@ export class WindowMain { win: BrowserWindow; isQuitting = false; - private windowStateChangeTimer: NodeJS.Timer; + private windowStateChangeTimer: NodeJS.Timeout; private windowStates: { [key: string]: any } = {}; private enableAlwaysOnTop = false; diff --git a/package-lock.json b/package-lock.json index 8c7e4630f..b2a91273f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -55,7 +55,7 @@ "@types/jest": "29.5.11", "@types/ldapjs": "2.2.5", "@types/lowdb": "1.0.15", - "@types/node": "18.17.12", + "@types/node": "18.19.50", "@types/node-fetch": "2.6.10", "@types/node-forge": "1.3.11", "@types/proper-lockfile": "4.1.4", @@ -5070,10 +5070,14 @@ "dev": true }, "node_modules/@types/node": { - "version": "18.17.12", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.17.12.tgz", - "integrity": "sha512-d6xjC9fJ/nSnfDeU0AMDsaJyb1iHsqCSOdi84w4u+SlN/UgQdY5tRhpMzaFYsI4mnpvgTivEaQd0yOUhAtOnEQ==", - "dev": true + "version": "18.19.50", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.50.tgz", + "integrity": "sha512-xonK+NRrMBRtkL1hVCc3G+uXtjh1Al4opBLjqVmipe5ZAaBYWW6cNAiBVZ1BvmkBhep698rP3UM3aRAdSALuhg==", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": "~5.26.4" + } }, "node_modules/@types/node-fetch": { "version": "2.6.10", @@ -20233,6 +20237,13 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "dev": true, + "license": "MIT" + }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", diff --git a/package.json b/package.json index f6a0e8bd3..1f16e9c57 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "@types/jest": "29.5.11", "@types/ldapjs": "2.2.5", "@types/lowdb": "1.0.15", - "@types/node": "18.17.12", + "@types/node": "18.19.50", "@types/node-fetch": "2.6.10", "@types/node-forge": "1.3.11", "@types/proper-lockfile": "4.1.4", diff --git a/src/main/messaging.main.ts b/src/main/messaging.main.ts index 553f9cfd8..59c75dc6d 100644 --- a/src/main/messaging.main.ts +++ b/src/main/messaging.main.ts @@ -9,7 +9,7 @@ import { MenuMain } from "./menu.main"; const SyncCheckInterval = 60 * 1000; // 1 minute export class MessagingMain { - private syncTimeout: NodeJS.Timer; + private syncTimeout: NodeJS.Timeout; constructor( private windowMain: WindowMain,