kaogeek / kaogeek-discord-bot

Discord bot for KaoGeek, built with TypeScript
MIT License
197 stars 59 forks source link

chore(deps): update dependencies (non-major) #204

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@vitest/coverage-v8 (source) 0.32.0 -> 0.32.2 age adoption passing confidence
dotenv 16.1.4 -> 16.3.1 age adoption passing confidence
eslint (source) 8.42.0 -> 8.43.0 age adoption passing confidence
vitest 0.32.0 -> 0.32.2 age adoption passing confidence

Release Notes

vitest-dev/vitest ### [`v0.32.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) #####    🐞 Bug Fixes - **browser**: Don't fail on importing diff-sequences  -  by [@​sheremet-va](https://togithub.com/sheremet-va) [(00b0e)](https://togithub.com/vitest-dev/vitest/commit/00b0e6a3) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ### [`v0.32.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) #####    🚀 Features - Export `registerConsoleShortcuts` from `vitest/node`  -  by [@​deot](https://togithub.com/deot) in [https://github.com/vitest-dev/vitest/issues/3563](https://togithub.com/vitest-dev/vitest/issues/3563) [(bc49b)](https://togithub.com/vitest-dev/vitest/commit/bc49bac7) - **expect**: Support `expect.unreachable`  -  by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3556](https://togithub.com/vitest-dev/vitest/issues/3556) [(8e385)](https://togithub.com/vitest-dev/vitest/commit/8e385bb0) - **runner**: `describe`/`test` name support anonymous function  -  by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3562](https://togithub.com/vitest-dev/vitest/issues/3562) [(3d436)](https://togithub.com/vitest-dev/vitest/commit/3d43638c) #####    🐞 Bug Fixes - Avoid call stack recursion with large error (fix: [#​3060](https://togithub.com/vitest-dev/vitest/issues/3060))  -  by [@​nathanmmiller](https://togithub.com/nathanmmiller) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3078](https://togithub.com/vitest-dev/vitest/issues/3078) and [https://github.com/vitest-dev/vitest/issues/3060](https://togithub.com/vitest-dev/vitest/issues/3060) [(02196)](https://togithub.com/vitest-dev/vitest/commit/02196f9d) - Automatically remove define related configuration  -  by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3552](https://togithub.com/vitest-dev/vitest/issues/3552) [(368b8)](https://togithub.com/vitest-dev/vitest/commit/368b8259) - Import `performance` from `perf_hooks`  -  by [@​Max10240](https://togithub.com/Max10240) and **wangbaolong.wbl** in [https://github.com/vitest-dev/vitest/issues/3578](https://togithub.com/vitest-dev/vitest/issues/3578) and [https://github.com/vitest-dev/vitest/issues/3579](https://togithub.com/vitest-dev/vitest/issues/3579) [(24ec8)](https://togithub.com/vitest-dev/vitest/commit/24ec85a8) - Revert concordance diff, use jest's diff output  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3582](https://togithub.com/vitest-dev/vitest/issues/3582) [(9c7ea)](https://togithub.com/vitest-dev/vitest/commit/9c7ea382) - Typo in config suggestion  -  by [@​Krisell](https://togithub.com/Krisell) in [https://github.com/vitest-dev/vitest/issues/3583](https://togithub.com/vitest-dev/vitest/issues/3583) [(68985)](https://togithub.com/vitest-dev/vitest/commit/689855bb) - **browser**: - Change optimized deps to use `vitest`  -  by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3580](https://togithub.com/vitest-dev/vitest/issues/3580) [(b4ac8)](https://togithub.com/vitest-dev/vitest/commit/b4ac88e9) - Access **vi_inject** only if it was injected  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3587](https://togithub.com/vitest-dev/vitest/issues/3587) [(d9e14)](https://togithub.com/vitest-dev/vitest/commit/d9e1419a) - **mocker**: - Respect namespace import when hoisting vi.mock  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3547](https://togithub.com/vitest-dev/vitest/issues/3547) [(158c4)](https://togithub.com/vitest-dev/vitest/commit/158c4bb0) - **ui**: - Navigate to dashboard when re-running tests from coverage page  -  by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3529](https://togithub.com/vitest-dev/vitest/issues/3529) [(bc283)](https://togithub.com/vitest-dev/vitest/commit/bc283ae3) - **vite-node**: - Correctly resolve virtual modules  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3544](https://togithub.com/vitest-dev/vitest/issues/3544) [(0cbb0)](https://togithub.com/vitest-dev/vitest/commit/0cbb07b4) - Fix errors caused by commonjs export circular references  -  by [@​rxliuli](https://togithub.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3570](https://togithub.com/vitest-dev/vitest/issues/3570) [(b097c)](https://togithub.com/vitest-dev/vitest/commit/b097cef8) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1)
motdotla/dotenv ### [`v16.3.1`](https://togithub.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#​1631-httpsgithubcommotdotladotenvcomparev1630v1631-2023-06-17) [Compare Source](https://togithub.com/motdotla/dotenv/compare/v16.3.0...v16.3.1) ##### Added - Add missing type definitions for `processEnv` and `DOTENV_KEY` options. [#​756](https://togithub.com/motdotla/dotenv/pull/756) ### [`v16.3.0`](https://togithub.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#​1630-httpsgithubcommotdotladotenvcomparev1620v1630-2023-06-16) [Compare Source](https://togithub.com/motdotla/dotenv/compare/v16.2.0...v16.3.0) ##### Added - Optionally pass `DOTENV_KEY` to options rather than relying on `process.env.DOTENV_KEY`. Defaults to `process.env.DOTENV_KEY` [#​754](https://togithub.com/motdotla/dotenv/pull/754) ### [`v16.2.0`](https://togithub.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#​1620-httpsgithubcommotdotladotenvcomparev1614v1620-2023-06-15) [Compare Source](https://togithub.com/motdotla/dotenv/compare/v16.1.4...v16.2.0) ##### Added - Optionally write to your own target object rather than `process.env`. Defaults to `process.env`. [#​753](https://togithub.com/motdotla/dotenv/pull/753) - Add import type URL to types file [#​751](https://togithub.com/motdotla/dotenv/pull/751)
eslint/eslint ### [`v8.43.0`](https://togithub.com/eslint/eslint/releases/tag/v8.43.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.42.0...v8.43.0) #### Features - [`14581ff`](https://togithub.com/eslint/eslint/commit/14581ff15aaee5a55c46bbf4983818ddc8dd7cb1) feat: directive prologue detection and autofix condition in `quotes` ([#​17284](https://togithub.com/eslint/eslint/issues/17284)) (Francesco Trotta) - [`e50fac3`](https://togithub.com/eslint/eslint/commit/e50fac3f8f998f729e3080e256066db3a7827c67) feat: add declaration loc to message in block-scoped-var ([#​17252](https://togithub.com/eslint/eslint/issues/17252)) (Milos Djermanovic) - [`1b7faf0`](https://togithub.com/eslint/eslint/commit/1b7faf0702b1af86b6a0ddafc37cf45d60f5d4d8) feat: add `skipJSXText` option to `no-irregular-whitespace` rule ([#​17182](https://togithub.com/eslint/eslint/issues/17182)) (Azat S) #### Bug Fixes - [`5338b56`](https://togithub.com/eslint/eslint/commit/5338b56fda7f47d16bdb23514f1e95b24de7b92f) fix: normalize `cwd` passed to `ESLint`/`FlatESLint` constructor ([#​17277](https://togithub.com/eslint/eslint/issues/17277)) (Milos Djermanovic) - [`54383e6`](https://togithub.com/eslint/eslint/commit/54383e69b092ef537d59a1f7799a85b1412f4e59) fix: Remove `no-extra-parens` autofix for potential directives ([#​17022](https://togithub.com/eslint/eslint/issues/17022)) (Francesco Trotta) #### Documentation - [`8b855ea`](https://togithub.com/eslint/eslint/commit/8b855ea058992d5446d1d6dc6394ee683c3200a0) docs: resubmit pr17061 doc changes ([#​17292](https://togithub.com/eslint/eslint/issues/17292)) (唯然) - [`372722e`](https://togithub.com/eslint/eslint/commit/372722eac32ca9e3f31cf0d0bc10317c6f153369) docs: resubmit pr17012 doc changes ([#​17293](https://togithub.com/eslint/eslint/issues/17293)) (唯然) - [`67e7af3`](https://togithub.com/eslint/eslint/commit/67e7af3fdbdb4648b747dfd669be4decfe24086a) docs: resubmit custom-rules doc changes ([#​17294](https://togithub.com/eslint/eslint/issues/17294)) (唯然) - [`9e3d77c`](https://togithub.com/eslint/eslint/commit/9e3d77cba65d0e38e07996e57961fb04f30d9303) docs: Resubmit Fix formatting in Custom Rules docs ([#​17281](https://togithub.com/eslint/eslint/issues/17281)) (Milos Djermanovic) - [`503647a`](https://togithub.com/eslint/eslint/commit/503647a0b94ca8c776d7e7e8c54c8b1d32904467) docs: Resubmit markVariableAsUsed docs ([#​17280](https://togithub.com/eslint/eslint/issues/17280)) (Nicholas C. Zakas) - [`e0cf0d8`](https://togithub.com/eslint/eslint/commit/e0cf0d86d985ed2b2f901dd9aab5ccd2fff062ad) docs: Custom rule & plugin tutorial ([#​17024](https://togithub.com/eslint/eslint/issues/17024)) (Ben Perlmutter) - [`8e51ea9`](https://togithub.com/eslint/eslint/commit/8e51ea943c2fcd05bd8917cfa89e36b91209c7cd) docs: resubmit `no-new` rule documentation ([#​17264](https://togithub.com/eslint/eslint/issues/17264)) (Nitin Kumar) - [`1b217f8`](https://togithub.com/eslint/eslint/commit/1b217f8de15961fd3c80389621080132f517a0fb) docs: resubmit `Custom Processors` documentation ([#​17265](https://togithub.com/eslint/eslint/issues/17265)) (Nitin Kumar) - [`428fc76`](https://togithub.com/eslint/eslint/commit/428fc76806dea1ac82484d628261a5385f928e6a) docs: resubmit `Create Plugins` documentation ([#​17268](https://togithub.com/eslint/eslint/issues/17268)) (Nitin Kumar) - [`bdca88c`](https://togithub.com/eslint/eslint/commit/bdca88cf4f8b7888cb72197bfe9c1d90b490a0dd) docs: resubmit `Configuration Files` documentation ([#​17267](https://togithub.com/eslint/eslint/issues/17267)) (Nitin Kumar) - [`f5c01f2`](https://togithub.com/eslint/eslint/commit/f5c01f281ad288b1a0ebddbf579230ae11587c6c) docs: resubmit `Manage Issues` documentation ([#​17266](https://togithub.com/eslint/eslint/issues/17266)) (Nitin Kumar) - [`b199295`](https://togithub.com/eslint/eslint/commit/b1992954591a3f4d8417013f52739b5fef4e0cd7) docs: Resubmit custom rules update docs ([#​17273](https://togithub.com/eslint/eslint/issues/17273)) (Ben Perlmutter) - [`0e9980c`](https://togithub.com/eslint/eslint/commit/0e9980c3a8a1e554fdb377305c0ebe9e94a354c9) docs: add new `omitLastInOneLineClassBody` option to the `semi` rule ([#​17263](https://togithub.com/eslint/eslint/issues/17263)) (Nitin Kumar) - [`cb2560f`](https://togithub.com/eslint/eslint/commit/cb2560f7a393e74b761faa9adad938fb1deb947d) docs: Resubmit getScope/getDeclaredVariables docs ([#​17262](https://togithub.com/eslint/eslint/issues/17262)) (Nicholas C. Zakas) - [`85d2b30`](https://togithub.com/eslint/eslint/commit/85d2b30bc318c1355e52ebb21c56cca32f0ab198) docs: explain how to include predefined globals ([#​17261](https://togithub.com/eslint/eslint/issues/17261)) (Marcus Wyatt) - [`de4d3c1`](https://togithub.com/eslint/eslint/commit/de4d3c14c30a88795b9075d59827d3fe63a42c5e) docs: update flat config default ignore patterns ([#​17258](https://togithub.com/eslint/eslint/issues/17258)) (Milos Djermanovic) - [`3912f3a`](https://togithub.com/eslint/eslint/commit/3912f3a225c12bfb5ce9b7ba26c2b5301e6275bd) docs: Improve `ignores` documentation ([#​17239](https://togithub.com/eslint/eslint/issues/17239)) (Francesco Trotta) - [`35e11d3`](https://togithub.com/eslint/eslint/commit/35e11d3248e00b711fd652836edc900f22af0ebd) docs: fix typos and missing info ([#​17257](https://togithub.com/eslint/eslint/issues/17257)) (Ed Lucas) - [`0bc257c`](https://togithub.com/eslint/eslint/commit/0bc257c290b12fcda85cb61b40d55fc2be0f938c) docs: Clarify `no-div-regex` rule docs ([#​17051](https://togithub.com/eslint/eslint/issues/17051)) ([#​17255](https://togithub.com/eslint/eslint/issues/17255)) (Francesco Trotta) - [`788d836`](https://togithub.com/eslint/eslint/commit/788d83629a3790a7db6f52dcf0b4bddf51c6d063) docs: add references to MIT License ([#​17248](https://togithub.com/eslint/eslint/issues/17248)) (Milos Djermanovic) - [`58aab6b`](https://togithub.com/eslint/eslint/commit/58aab6b6c09996875418aefeeb0fd76c50caef7a) docs: Update README (GitHub Actions Bot) - [`3ef5814`](https://togithub.com/eslint/eslint/commit/3ef58140550cf8ff34af35fc4d9a1f9a124fe0e6) docs: Revert all changes after the license change ([#​17227](https://togithub.com/eslint/eslint/issues/17227)) (Milos Djermanovic) - [`03fc4aa`](https://togithub.com/eslint/eslint/commit/03fc4aa847bd0445e7b3ea81bcc9523b1847facc) docs: Update README (GitHub Actions Bot) #### Chores - [`78350f6`](https://togithub.com/eslint/eslint/commit/78350f63045c82b7990bb7bfe5080c5ad5e1c3f5) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).43.0 ([#​17295](https://togithub.com/eslint/eslint/issues/17295)) (Milos Djermanovic) - [`62bf759`](https://togithub.com/eslint/eslint/commit/62bf759124811b013ad7906c2536deb8b39c31a8) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`e0a2448`](https://togithub.com/eslint/eslint/commit/e0a2448e0c0ef354e69998858846630a3fce8ebe) chore: docs package.license ISC => MIT ([#​17254](https://togithub.com/eslint/eslint/issues/17254)) (唯然) - [`6a0196c`](https://togithub.com/eslint/eslint/commit/6a0196c51310630a0ff96a1e8d7f257c2c7adda9) chore: use eslint-plugin-eslint-plugin flat configs ([#​17204](https://togithub.com/eslint/eslint/issues/17204)) (Milos Djermanovic)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by Mend Renovate. View repository job log here.

github-actions[bot] commented 1 year ago

Coverage Summary

Status Category Percentage Covered / Total
🔵 Lines 47.23% 1522 / 3222
🔵 Statements 47.23% 1522 / 3222
🔵 Functions 39.42% 41 / 104
🔵 Branches 87.12% 115 / 132
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
src/Bot.ts 26.9% 100% 10% 26.9% 37-42, 45-49, 52-53, 56-58, 61-74, 77-98, 101-136, 139-166, 169-196
src/config.ts 100% 100% 100% 100%
src/prisma.ts 66.66% 0% 0% 66.66% 7, 12-15
src/__mocks__/config.ts 100% 100% 100% 100%
src/features/index.ts 100% 100% 100% 100%
src/features/memberUpdateLogger/index.ts 10.52% 100% 0% 10.52% 8-75
src/features/messagePruner/index.ts 80% 100% 0% 80% 8-9
src/features/messagePruner/pruneMessagesCommand.ts 16.55% 100% 0% 16.55% 24-144
src/features/messageReporter/index.ts 80% 100% 0% 80% 8-9
src/features/messageReporter/reportToModeratorMessageCommand.ts 14.86% 100% 0% 14.86% 22-147
src/features/nameChecker/checkName.ts 20.4% 100% 0% 20.4% 11-49
src/features/nameChecker/checkNameAgainstPatterns.ts 86.48% 88.88% 100% 86.48% 30-34
src/features/nameChecker/index.ts 31.25% 100% 0% 31.25% 10-31
src/features/nameCleansing/checkName.ts 84.44% 57.14% 100% 84.44% 26-30, 32-33
src/features/nameCleansing/index.ts 31.25% 100% 0% 31.25% 10-31
src/features/nameCleansing/nameCleansing.ts 19.14% 100% 0% 19.14% 18-82, 84-94
src/features/nominations/index.ts 80% 100% 0% 80% 8-9
src/features/nominations/nominateCommand.ts 19.71% 100% 0% 19.71% 41-148, 151-213
src/features/ping/index.ts 80% 100% 0% 80% 8-9
src/features/ping/pingCommand.ts 62.5% 100% 0% 62.5% 10-15
src/features/preventEmojiSpam/index.ts 31.42% 100% 0% 31.42% 11-34
src/features/preventEmojiSpam/isEmojiPreventionEnabled.ts 100% 100% 100% 100%
src/features/profileInspector/index.ts 31.69% 100% 0% 31.69% 28-31, 43-50, 62-77, 96-104, 118-123, 125-186, 188-228, 230-253, 256, 259, 261-271, 274-289, 297-306
src/features/runtimeConfig/index.ts 75% 100% 0% 75% 9-11
src/features/runtimeConfig/inspectConfigCommand.ts 66.66% 100% 0% 66.66% 12-17
src/features/runtimeConfig/reloadConfigCommand.ts 65% 100% 0% 65% 13-19
src/features/slowmode/index.ts 80% 100% 0% 80% 8-9
src/features/slowmode/slowmodeCommand.ts 58.18% 100% 0% 58.18% 32-54
src/features/stickyMessage/channelLock.ts 100% 100% 100% 100%
src/features/stickyMessage/index.ts 40.62% 100% 0% 40.62% 13-31
src/features/stickyMessage/messageCooldown.ts 97.33% 100% 75% 97.33% 41-42
src/features/stickyMessage/messageCounter.ts 100% 80% 100% 100%
src/features/stickyMessage/stickyMessageHandler.ts 100% 100% 100% 100%
src/features/stickyMessage/stickyMessageRemove.ts 100% 100% 100% 100%
src/features/stickyMessage/stickyMessageSet.ts 83.8% 81.25% 100% 83.8% 28-33, 50-55, 63-67
src/features/stickyMessage/stickyMessages.ts 99% 80% 100% 99% 79
src/features/tempRole/expireCheck.ts 11.59% 100% 0% 11.59% 9-69
src/features/tempRole/index.ts 52.38% 100% 0% 52.38% 11-20
src/features/tempRole/temporaryRoleCommand.ts 33.64% 100% 0% 33.64% 71-87, 90-153, 155-217
src/features/threadPruner/activeThreadsCommand.ts 20.37% 100% 0% 20.37% 31-88, 91-126, 128-162
src/features/threadPruner/getActiveThreads.ts 36.84% 100% 0% 36.84% 8-19
src/features/threadPruner/getThreadStats.ts 18.6% 100% 0% 18.6% 9-43
src/features/threadPruner/index.ts 80% 100% 0% 80% 8-9
src/features/userInfo/index.ts 80% 100% 0% 80% 8-9
src/features/userInfo/userInfoCommand.ts 33.33% 100% 0% 33.33% 12-35
src/types/UserModerationLogEntry.ts 100% 100% 100% 100%
src/types/defineCommand.ts 100% 100% 100% 100%
src/types/definePlugin.ts 100% 100% 100% 100%
src/utils/ActionSet.ts 19.58% 0% 0% 19.58% 15-92
src/utils/RuntimeConfiguration.ts 74.13% 60% 100% 74.13% 33-37, 41-48, 53-54
src/utils/RuntimeConfigurationSchema.ts 100% 100% 100% 100%
src/utils/cache.ts 100% 100% 100% 100%
src/utils/createLogger.ts 33.33% 100% 0% 33.33% 4-9
src/utils/fake.ts 83.33% 66.66% 100% 83.33% 22-26
src/utils/generateTsv.ts 100% 100% 100% 100%
src/utils/isOnlyEmoji.ts 100% 100% 100% 100%
src/utils/prompt.ts 25.45% 100% 0% 25.45% 15-55
src/utils/sendDm.ts 100% 100% 100% 100%
src/utils/toLocalDate.ts 100% 100% 100% 100%
src/utils/typeGuards.ts 70% 100% 0% 70% 8-10