Skip to content

Commit

Permalink
fix(deps): update all non-major dependencies (#2642)
Browse files Browse the repository at this point in the history
* fix(deps): update all non-major dependencies

* chore: i already said i was sorry

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jeroen Claassens <support@favware.tech>
  • Loading branch information
renovate[bot] and favna committed Jul 15, 2024
1 parent 3bd4c4a commit 1b28116
Show file tree
Hide file tree
Showing 7 changed files with 140 additions and 323 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Skyra Docker image
uses: docker/build-push-action@v6.3.0
uses: docker/build-push-action@v6.4.0
with:
push: true
context: .
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"@sapphire/stopwatch": "^1.5.2",
"@sapphire/time-utilities": "^1.7.12",
"@sapphire/utilities": "^3.16.2",
"@sentry/node": "^8.15.0",
"@sentry/node": "^8.17.0",
"@skyra/ai": "^1.2.0",
"@skyra/char": "^1.0.3",
"@skyra/env-utilities": "^1.3.0",
Expand Down Expand Up @@ -105,7 +105,7 @@
"@types/he": "^1.2.3",
"@types/node": "^20.11.17",
"@types/pg": "^8.11.6",
"@types/ws": "^8.5.10",
"@types/ws": "^8.5.11",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"@vitest/coverage-v8": "^1.6.0",
Expand All @@ -114,7 +114,7 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"lint-staged": "^15.2.7",
"prettier": "^3.3.2",
"prettier": "^3.3.3",
"tsc-watch": "^6.2.0",
"typescript": "^5.4.5",
"vitest": "^1.6.0"
Expand Down Expand Up @@ -150,6 +150,6 @@
"prettier": "@sapphire/prettier-config",
"packageManager": "yarn@4.3.1",
"volta": {
"node": "20.15.0"
"node": "20.15.1"
}
}
2 changes: 1 addition & 1 deletion src/arguments/roleName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class UserArgument extends Argument<Role> {

public resolveRole(query: string, guild: Guild) {
const role = RoleMentionRegex.exec(query) ?? SnowflakeRegex.exec(query);
return role ? guild.roles.cache.get(role[1]) ?? null : null;
return role ? (guild.roles.cache.get(role[1]) ?? null) : null;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/lib/database/settings/schema/SchemaGroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class SchemaGroup extends AliasedCollection<string, ISchemaValue> impleme

public getPathArray([key, ...tail]: NonEmptyArray<string>): ISchemaValue | null {
if (tail.length === 0) {
return key === '' || key === '.' ? this : this.get(key) ?? null;
return key === '' || key === '.' ? this : (this.get(key) ?? null);
}

const value = this.get(key);
Expand Down
2 changes: 1 addition & 1 deletion src/lib/util/functions/emojis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,5 +149,5 @@ export function getEmojiObject(emoji: string): EmojiObject | null {
export function resolveEmojiId(emoji: EmojiObject | SerializedEmoji): string {
if (isNullish(emoji)) return '';

return typeof emoji === 'string' ? getEmojiId(emoji) : emoji.id ?? encodeURIComponent(emoji.name!);
return typeof emoji === 'string' ? getEmojiId(emoji) : (emoji.id ?? encodeURIComponent(emoji.name!));
}
4 changes: 3 additions & 1 deletion src/listeners/guilds/guildUpdateNotify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,9 @@ export class UserListener extends Listener<typeof Events.GuildUpdate> {

private displayWidgetEnabled(t: TFunction, previous: boolean | null, next: boolean | null): string {
return t(
next ?? !previous ? LanguageKeys.Events.Guilds.Logs.ServerUpdateWidgetEnabled : LanguageKeys.Events.Guilds.Logs.ServerUpdateWidgetDisabled
(next ?? !previous)
? LanguageKeys.Events.Guilds.Logs.ServerUpdateWidgetEnabled
: LanguageKeys.Events.Guilds.Logs.ServerUpdateWidgetDisabled
);
}
}
Loading

0 comments on commit 1b28116

Please sign in to comment.