Skip to content

Commit

Permalink
chore: deps
Browse files Browse the repository at this point in the history
  • Loading branch information
iCrawl committed Mar 20, 2023
1 parent c6bbfd4 commit 0c99894
Show file tree
Hide file tree
Showing 43 changed files with 6,804 additions and 3,193 deletions.
4 changes: 2 additions & 2 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Large diffs are not rendered by default.

807 changes: 0 additions & 807 deletions .yarn/releases/yarn-3.3.0.cjs

This file was deleted.

873 changes: 873 additions & 0 deletions .yarn/releases/yarn-3.5.0.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"

yarnPath: .yarn/releases/yarn-3.3.0.cjs
yarnPath: .yarn/releases/yarn-3.5.0.cjs
48 changes: 24 additions & 24 deletions apps/report/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,46 +27,46 @@
"ansi-to-html": "^0.7.2",
"hast-util-has-property": "^2.0.1",
"hast-util-is-element": "^2.1.3",
"hast-util-select": "^5.0.3",
"hast-util-select": "^5.0.5",
"hast-util-to-string": "^2.0.0",
"hastscript": "^7.2.0",
"next": "^13.1.1",
"next-mdx-remote": "^4.2.1",
"next": "^13.2.4",
"next-mdx-remote": "^4.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rehype-highlight": "^6.0.0",
"rehype-ignore": "^1.0.3",
"rehype-ignore": "^1.0.4",
"rehype-parse": "^8.0.4",
"rehype-raw": "^6.1.1",
"rehype-slug": "^5.1.0",
"remark-gfm": "^3.0.1",
"sharp": "^0.31.3",
"undici": "^5.14.0",
"undici": "^5.21.0",
"unified": "^10.1.2",
"unist-util-visit": "^4.1.1"
"unist-util-visit": "^4.1.2"
},
"devDependencies": {
"@next/bundle-analyzer": "^13.1.1",
"@testing-library/react": "^13.4.0",
"@types/node": "^18.11.18",
"@types/react-dom": "^18.0.10",
"@unocss/cli": "^0.48.3",
"@unocss/reset": "^0.48.3",
"@vercel/node": "^2.8.4",
"@vitejs/plugin-react": "^3.0.1",
"@vitest/coverage-c8": "^0.27.0",
"c8": "^7.12.0",
"@next/bundle-analyzer": "^13.2.4",
"@testing-library/react": "^14.0.0",
"@types/node": "^18.15.5",
"@types/react-dom": "^18.0.11",
"@unocss/cli": "^0.50.6",
"@unocss/reset": "^0.50.6",
"@vercel/node": "^2.9.13",
"@vitejs/plugin-react": "^3.1.0",
"@vitest/coverage-c8": "^0.29.7",
"c8": "^7.13.0",
"concurrently": "^7.6.0",
"cross-env": "^7.0.3",
"eslint": "^8.31.0",
"eslint-config-neon": "^0.1.40",
"eslint-formatter-pretty": "^4.1.0",
"happy-dom": "^8.1.3",
"eslint": "^8.36.0",
"eslint-config-neon": "^0.1.41",
"eslint-formatter-pretty": "^5.0.0",
"happy-dom": "^8.9.0",
"mdast": "^3.0.0",
"prettier": "^2.8.2",
"typescript": "^4.9.4",
"unocss": "^0.48.3",
"vitest": "^0.27.0"
"prettier": "^2.8.5",
"typescript": "^5.0.2",
"unocss": "^0.50.6",
"vitest": "^0.29.7"
},
"engines": {
"node": ">=16.0.0"
Expand Down
1 change: 1 addition & 0 deletions apps/report/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"allowJs": true,
"checkJs": true,
"isolatedModules": true,
"verbatimModuleSyntax": false,
"jsx": "preserve",
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"incremental": true,
Expand Down
46 changes: 23 additions & 23 deletions apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,38 +24,38 @@
"license": "AGPL-3.0",
"private": true,
"dependencies": {
"ariakit": "^2.0.0-next.41",
"cmdk": "^0.1.21",
"next": "^13.1.1",
"ariakit": "^2.0.0-next.43",
"cmdk": "^0.2.0",
"next": "^13.2.4",
"next-themes": "npm:@wits/next-themes@latest",
"pocketbase": "^0.9.1",
"pocketbase": "^0.12.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-use": "^17.4.0",
"sharp": "^0.31.3"
},
"devDependencies": {
"@next/bundle-analyzer": "^13.1.1",
"@testing-library/react": "^13.4.0",
"@types/node": "^18.11.18",
"@types/react-dom": "^18.0.10",
"@unocss/cli": "^0.48.3",
"@unocss/reset": "^0.48.3",
"@vercel/node": "^2.8.4",
"@vitejs/plugin-react": "^3.0.1",
"@vitest/coverage-c8": "^0.27.0",
"c8": "^7.12.0",
"@next/bundle-analyzer": "^13.2.4",
"@testing-library/react": "^14.0.0",
"@types/node": "^18.15.5",
"@types/react-dom": "^18.0.11",
"@unocss/cli": "^0.50.6",
"@unocss/reset": "^0.50.6",
"@vercel/node": "^2.9.13",
"@vitejs/plugin-react": "^3.1.0",
"@vitest/coverage-c8": "^0.29.7",
"c8": "^7.13.0",
"concurrently": "^7.6.0",
"cross-env": "^7.0.3",
"eslint": "^8.31.0",
"eslint-config-neon": "^0.1.40",
"eslint-formatter-pretty": "^4.1.0",
"happy-dom": "^8.1.3",
"prettier": "^2.8.2",
"prettier-plugin-tailwindcss": "^0.2.1",
"typescript": "^4.9.4",
"unocss": "^0.48.3",
"vitest": "^0.27.0"
"eslint": "^8.36.0",
"eslint-config-neon": "^0.1.41",
"eslint-formatter-pretty": "^5.0.0",
"happy-dom": "^8.9.0",
"prettier": "^2.8.5",
"prettier-plugin-tailwindcss": "^0.2.5",
"typescript": "^5.0.2",
"unocss": "^0.50.6",
"vitest": "^0.29.7"
},
"engines": {
"node": ">=16.0.0"
Expand Down
1 change: 1 addition & 0 deletions apps/website/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"allowJs": true,
"checkJs": true,
"isolatedModules": true,
"verbatimModuleSyntax": false,
"jsx": "preserve",
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"incremental": true,
Expand Down
44 changes: 22 additions & 22 deletions apps/yuudachi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,53 +27,53 @@
"private": true,
"dependencies": {
"@aero/sanitizer": "^1.2.0",
"@discordjs/rest": "^1.5.0",
"@discordjs/rest": "^1.6.0",
"@naval-base/ms": "^3.1.0",
"@skyra/i18next-backend": "^2.0.1",
"@swc/helpers": "^0.4.14",
"@yuudachi/framework": "workspace:^",
"bufferutil": "^4.0.7",
"bullmq": "^3.5.4",
"bullmq": "^3.10.1",
"common-tags": "^1.8.2",
"dayjs": "^1.11.7",
"diff": "^5.1.0",
"discord-api-types": "^0.37.27",
"discord.js": "^14.7.1",
"discord-api-types": "^0.37.36",
"discord.js": "^14.8.0",
"env-cmd": "^10.1.0",
"fastest-levenshtein": "^1.0.16",
"i18next": "^22.4.9",
"ioredis": "^5.2.4",
"i18next": "^22.4.12",
"ioredis": "^5.3.1",
"kleur": "^4.1.5",
"nanoid": "^4.0.0",
"postgres": "^3.3.3",
"prom-client": "^14.1.1",
"nanoid": "^4.0.1",
"postgres": "^3.3.4",
"prom-client": "^14.2.0",
"re2": "^1.18.0",
"readdirp": "^3.6.0",
"redis": "^4.5.1",
"redis": "^4.6.5",
"reflect-metadata": "^0.1.13",
"tsyringe": "^4.7.0",
"undici": "^5.14.0",
"utf-8-validate": "^6.0.0",
"ws": "^8.12.0"
"undici": "^5.21.0",
"utf-8-validate": "^6.0.3",
"ws": "^8.13.0"
},
"devDependencies": {
"@swc/cli": "^0.1.59",
"@swc/core": "^1.3.25",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.41",
"@types/aero__sanitizer": "^1.2.0",
"@types/common-tags": "^1.8.1",
"@types/diff": "^5.0.2",
"@types/node": "^18.11.18",
"@types/node": "^18.15.5",
"@types/ws": "^8.5.4",
"cpy-cli": "^4.2.0",
"cross-env": "^7.0.3",
"del-cli": "^5.0.0",
"eslint": "^8.31.0",
"eslint-config-neon": "^0.1.40",
"eslint-formatter-pretty": "^4.1.0",
"eslint": "^8.36.0",
"eslint-config-neon": "^0.1.41",
"eslint-formatter-pretty": "^5.0.0",
"ley": "^0.8.1",
"prettier": "^2.8.2",
"type-fest": "^3.5.1",
"typescript": "^4.9.4"
"prettier": "^2.8.5",
"type-fest": "^3.6.1",
"typescript": "^5.0.2"
},
"engines": {
"node": ">=16.0.0"
Expand Down
5 changes: 4 additions & 1 deletion apps/yuudachi/src/commands/moderation/ban.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ import { generateHistory } from "../../util/generateHistory.js";

@injectable()
export default class extends Command<typeof BanCommand> {
public constructor(@inject(kRedis) public readonly redis: Redis) {
public constructor(
// @ts-expect-error: Needs tsyringe update
@inject(kRedis) public readonly redis: Redis,
) {
super();
}

Expand Down
5 changes: 4 additions & 1 deletion apps/yuudachi/src/commands/moderation/clear.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ async function resolveSnowflakeOrLink(

@injectable()
export default class extends Command<typeof ClearCommand | typeof ClearContextCommand> {
public constructor(@inject(kWebhooks) public readonly webhooks: Map<string, Webhook>) {
public constructor(
// @ts-expect-error: Needs tsyringe update
@inject(kWebhooks) public readonly webhooks: Map<string, Webhook>,
) {
super(["clear", "Clear messages to"]);
}

Expand Down
5 changes: 4 additions & 1 deletion apps/yuudachi/src/commands/moderation/duration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ import type { DurationCommand } from "../../interactions/index.js";

@injectable()
export default class extends Command<typeof DurationCommand> {
public constructor(@inject(kRedis) public readonly redis: Redis) {
public constructor(
// @ts-expect-error: Needs tsyringe update
@inject(kRedis) public readonly redis: Redis,
) {
super();
}

Expand Down
5 changes: 4 additions & 1 deletion apps/yuudachi/src/commands/moderation/kick.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ import { generateHistory } from "../../util/generateHistory.js";

@injectable()
export default class extends Command<typeof KickCommand> {
public constructor(@inject(kRedis) public readonly redis: Redis) {
public constructor(
// @ts-expect-error: Needs tsyringe update
@inject(kRedis) public readonly redis: Redis,
) {
super();
}

Expand Down
5 changes: 4 additions & 1 deletion apps/yuudachi/src/commands/moderation/report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ import { user } from "./sub/report/user.js";
export default class extends Command<
typeof ReportCommand | typeof ReportMessageContextCommand | typeof ReportUserContextCommand
> {
public constructor(@inject(kRedis) public readonly redis: Redis) {
public constructor(
// @ts-expect-error: Needs tsyringe update
@inject(kRedis) public readonly redis: Redis,
) {
super(["report", "Report message", "Report user"]);
}

Expand Down
5 changes: 4 additions & 1 deletion apps/yuudachi/src/commands/moderation/softban.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ import { generateHistory } from "../../util/generateHistory.js";

@injectable()
export default class extends Command<typeof SoftbanCommand> {
public constructor(@inject(kRedis) public readonly redis: Redis) {
public constructor(
// @ts-expect-error: Needs tsyringe update
@inject(kRedis) public readonly redis: Redis,
) {
super();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export async function filter(
pattern: args.confusables === Confusables.OnlyPattern || args.confusables === Confusables.PatternAndMembers,
};

const fetchedMembers = await interaction.guild.members.fetch({ force: true });
const fetchedMembers = await interaction.guild.members.fetch();
const members = fetchedMembers.filter(
(member) =>
joinFilter(member, parsedJoinAfter, parsedJoinBefore) &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export async function validateMemberIds(
ids: Set<Snowflake>,
locale: string,
): Promise<IdValidationResult> {
const fetchedMembers = await interaction.guild.members.fetch({ force: true });
const fetchedMembers = await interaction.guild.members.fetch();
const result = new Collection<string, GuildMember>();

for (const id of ids) {
Expand Down
5 changes: 4 additions & 1 deletion apps/yuudachi/src/commands/moderation/timeout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ import { generateHistory } from "../../util/generateHistory.js";

@injectable()
export default class extends Command<typeof TimeoutCommand> {
public constructor(@inject(kRedis) public readonly redis: Redis) {
public constructor(
// @ts-expect-error: Needs tsyringe update
@inject(kRedis) public readonly redis: Redis,
) {
super();
}

Expand Down
5 changes: 4 additions & 1 deletion apps/yuudachi/src/commands/moderation/unban.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ import { generateHistory } from "../../util/generateHistory.js";

@injectable()
export default class extends Command<typeof UnbanCommand> {
public constructor(@inject(kRedis) public readonly redis: Redis) {
public constructor(
// @ts-expect-error: Needs tsyringe update
@inject(kRedis) public readonly redis: Redis,
) {
super();
}

Expand Down
6 changes: 5 additions & 1 deletion apps/yuudachi/src/events/anti-scam/messageCreate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ export default class implements Event {

public event = Events.MessageCreate as const;

public constructor(public readonly client: Client<true>, @inject(kRedis) public readonly redis: Redis) {}
public constructor(
public readonly client: Client<true>,
// @ts-expect-error: Needs tsyringe update
@inject(kRedis) public readonly redis: Redis,
) {}

public async execute(): Promise<void> {
for await (const [message] of on(this.client, this.event) as AsyncIterableIterator<[Message]>) {
Expand Down
1 change: 1 addition & 0 deletions apps/yuudachi/src/events/guild-log/messageDelete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export default class implements Event {

public constructor(
public readonly client: Client<true>,
// @ts-expect-error: Needs tsyringe update
@inject(kWebhooks) public readonly webhooks: Map<string, Webhook>,
) {}

Expand Down
1 change: 1 addition & 0 deletions apps/yuudachi/src/events/guild-log/messageDeleteBulk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default class implements Event {

public constructor(
public readonly client: Client<true>,
// @ts-expect-error: Needs tsyringe update
@inject(kWebhooks) public readonly webhooks: Map<string, Webhook>,
) {}

Expand Down
1 change: 1 addition & 0 deletions apps/yuudachi/src/events/guild-log/messageUpdate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export default class implements Event {

public constructor(
public readonly client: Client<true>,
// @ts-expect-error: Needs tsyringe update
@inject(kWebhooks) public readonly webhooks: Map<string, Webhook>,
) {}

Expand Down
1 change: 1 addition & 0 deletions apps/yuudachi/src/events/guild-log/threadCreate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export default class implements Event {

public constructor(
public readonly client: Client<true>,
// @ts-expect-error: Needs tsyringe update
@inject(kWebhooks) public readonly webhooks: Map<string, Webhook>,
) {}

Expand Down
1 change: 1 addition & 0 deletions apps/yuudachi/src/events/guild-log/threadDelete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export default class implements Event {

public constructor(
public readonly client: Client<true>,
// @ts-expect-error: Needs tsyringe update
@inject(kWebhooks) public readonly webhooks: Map<string, Webhook>,
) {}

Expand Down
Loading

2 comments on commit 0c99894

@vercel
Copy link

@vercel vercel bot commented on 0c99894 Mar 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

yuudachi-report – ./apps/report

yuudachi-report-discordjs.vercel.app
yuudachi-report.vercel.app
yuudachi-report-git-main-discordjs.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 0c99894 Mar 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

yuudachi – ./apps/website

yuudachi.vercel.app
yuudachi.dev
yuudachi-git-main-discordjs.vercel.app
yuudachi-discordjs.vercel.app
www.yuudachi.dev

Please sign in to comment.