From b501398307dc7241f5722b74d6908671d97767cf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Aug 2024 07:31:30 +0200 Subject: [PATCH] chore: bump typescript from 5.4.5 to 5.5.4 (#360) * 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] * fix linter error --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: idaho <664101+idaho@users.noreply.github.com> --- package-lock.json | 8 ++++---- package.json | 2 +- src/utils/findActiveEvents.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index f5462d2..487c7dc 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": { @@ -10756,9 +10756,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 d97a99c..7085b42 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" } } 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 =>