From 19acf0bb34bc5c09d13b28a743da22a6758960f5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 11:53:11 +0000 Subject: [PATCH 1/2] chore: bump typescript from 5.4.5 to 5.5.4 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.4.5 to 5.5.4. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.5...v5.5.4) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index b1573c0..0993521 100644 --- a/package-lock.json +++ b/package-lock.json @@ -47,7 +47,7 @@ "rollup": "4.18.0", "rollup-plugin-serve": "2.0.2", "ts-jest": "29.1.5", - "typescript": "5.4.5" + "typescript": "5.5.4" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -10749,9 +10749,9 @@ } }, "node_modules/typescript": { - "version": "5.4.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", - "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "version": "5.5.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", + "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", "dev": true, "bin": { "tsc": "bin/tsc", diff --git a/package.json b/package.json index 421d170..f76f0c2 100644 --- a/package.json +++ b/package.json @@ -74,6 +74,6 @@ "rollup": "4.18.0", "rollup-plugin-serve": "2.0.2", "ts-jest": "29.1.5", - "typescript": "5.4.5" + "typescript": "5.5.4" } } From 55d05b9b0b85d79856684794924d7f5138f47cbb Mon Sep 17 00:00:00 2001 From: idaho <664101+idaho@users.noreply.github.com> Date: Thu, 1 Aug 2024 07:30:10 +0200 Subject: [PATCH 2/2] fix linter error --- src/utils/findActiveEvents.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/findActiveEvents.ts b/src/utils/findActiveEvents.ts index 9766060..8efb163 100644 --- a/src/utils/findActiveEvents.ts +++ b/src/utils/findActiveEvents.ts @@ -25,7 +25,7 @@ const isMatchingAnyPatterns = (item: CalendarEvent, config: Config) => { const trashTypes = config.pattern.filter(pat => pat.type !== 'others'); const patterns = trashTypes.map(pat => pat.pattern).filter(pattern => pattern !== undefined); - return patterns.length === 0 || patterns.some(pattern => item.content.summary.toLowerCase().includes(pattern!.toLowerCase())); + return patterns.length === 0 || patterns.some(pattern => item.content.summary.toLowerCase().includes(pattern.toLowerCase())); }; const isNotPastWholeDayEvent = (item: CalendarEvent, now: Date, dropAfter: boolean): boolean =>