Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update all non-major dependencies #156

Merged
merged 2 commits into from
Aug 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@
"reset": "rimraf node_modules/ packages/**/node_modules packages/**/dist packages/**/types"
},
"devDependencies": {
"@changesets/cli": "^2.23.0",
"@changesets/cli": "^2.24.2",
"@sapphire/eslint-config": "4.3.7",
"@types/chai": "4.3.1",
"@types/chai": "4.3.3",
"@types/mocha": "9.1.1",
"@types/node": "16.11.43",
"@types/node": "16.11.47",
"@types/rimraf": "3.0.2",
"@typescript-eslint/eslint-plugin": "5.30.5",
"@typescript-eslint/parser": "5.30.5",
"@typescript-eslint/eslint-plugin": "5.32.0",
"@typescript-eslint/parser": "5.32.0",
"chai": "4.3.6",
"dotenv": "16.0.1",
"eslint": "8.19.0",
"eslint": "8.21.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
Expand All @@ -40,14 +40,14 @@
"lint-staged": "13.0.3",
"mocha": "10.0.0",
"nyc": "15.1.0",
"pnpm": "7.5.0",
"pnpm": "7.9.0",
"prettier": "2.7.1",
"pretty-quick": "3.1.3",
"rimraf": "3.0.2",
"ts-node": "10.8.2",
"typedoc": "0.23.5",
"ts-node": "10.9.1",
"typedoc": "0.23.10",
"typedoc-plugin-remove-references": "0.0.6",
"typedoc-plugin-rename-defaults": "^0.6.1",
"typedoc-plugin-rename-defaults": "^0.6.4",
"typescript": "4.7.4"
},
"contributors": [
Expand Down
2 changes: 1 addition & 1 deletion packages/gil/lib/BotClient.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Collection from "@discordjs/collection";
import { Collection } from "@discordjs/collection";
import { bgBlue, bgGreen, bgYellow, black } from "colorette";
import { Client, Message } from "guilded.js";
import path from "path";
Expand Down
2 changes: 1 addition & 1 deletion packages/gil/lib/inhibitors/cooldown.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Collection from "@discordjs/collection";
import { Collection } from "@discordjs/collection";
import type { Message } from "guilded.js";

import type { Command } from "../structures/Command";
Expand Down
2 changes: 1 addition & 1 deletion packages/gil/lib/structures/Command.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type Collection from "@discordjs/collection";
import type { Collection } from "@discordjs/collection";
import type { Message } from "guilded.js";

import type { BotClient } from "../BotClient";
Expand Down
2 changes: 1 addition & 1 deletion packages/gil/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"typescript": "4.7.4"
},
"dependencies": {
"@discordjs/collection": "^0.7.0",
"@discordjs/collection": "^0.8.0",
"colorette": "^2.0.19",
"guilded.js": "workspace:*"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/guilded.js/lib/cache.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Collection from "@discordjs/collection";
import { Collection } from "@discordjs/collection";

export interface CacheStructure<K, V> {
get: (key: K) => V | Promise<V>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Collection from "@discordjs/collection";
import { Collection } from "@discordjs/collection";
import type { Client } from "../../structures/Client";

export class CacheableStructManager<K, V> {
Expand Down
2 changes: 1 addition & 1 deletion packages/guilded.js/lib/managers/global/CalendarManager.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Collection from "@discordjs/collection";
import { Collection } from "@discordjs/collection";
import type { RESTGetCalendarEventsBody, RESTPatchCalendarEventBody, RESTPostCalendarEventBody } from "@guildedjs/guilded-api-typings";
import { Base } from "../../structures";
import { CalendarEvent } from "../../structures/CalendarEvent";
Expand Down
2 changes: 1 addition & 1 deletion packages/guilded.js/lib/managers/global/GuildBanManager.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Collection from "@discordjs/collection";
import { Collection } from "@discordjs/collection";
import { MemberBan } from "../../structures/Member";
import { CacheableStructManager } from "./CacheableStructManager";
import { buildMemberKey } from "../../util";
Expand Down
6 changes: 4 additions & 2 deletions packages/guilded.js/lib/managers/global/MemberManager.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { User } from "../../structures";
import { Member, PartialMember } from "../../structures/Member";
import { CacheableStructManager } from "./CacheableStructManager";
import Collection from "@discordjs/collection";
import { Collection } from "@discordjs/collection";
import type { SocialLink, UserSocialLink } from "@guildedjs/guilded-api-typings";
import { buildMemberKey } from "../../util";

Expand Down Expand Up @@ -35,7 +35,9 @@ export class GlobalMemberManager extends CacheableStructManager<string, Member>

/** Kick a member from a server */
kick(serverId: string, memberId: string): Promise<Member | null> {
return this.client.rest.router.kickMember(serverId, memberId).then((_) => this.client.members.cache.get(buildMemberKey(serverId, memberId)) ?? null);
return this.client.rest.router
.kickMember(serverId, memberId)
.then((_) => this.client.members.cache.get(buildMemberKey(serverId, memberId)) ?? null);
}

/** Get a list of the roles assigned to a member using the id of the member. */
Expand Down
2 changes: 1 addition & 1 deletion packages/guilded.js/lib/managers/global/MessageManager.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { RESTPostChannelMessagesBody, RESTGetChannelMessagesQuery, EmbedPayload } from "@guildedjs/guilded-api-typings";
import { Message } from "../../structures/Message";
import { CacheableStructManager } from "./CacheableStructManager";
import Collection from "@discordjs/collection";
import { Collection } from "@discordjs/collection";
import type { Embed } from "../../structures/Embed";
import { resolveContentToData } from "../../util";
import type { MessageContent } from "../../typings";
Expand Down
2 changes: 1 addition & 1 deletion packages/guilded.js/lib/managers/global/WebhookManager.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Collection from "@discordjs/collection";
import { Collection } from "@discordjs/collection";
import type { RESTPostServerWebhooksBody, RESTPutServerWebhookBody } from "@guildedjs/guilded-api-typings";
import { Webhook } from "../../structures/Webhook";
import { CacheableStructManager } from "./CacheableStructManager";
Expand Down
2 changes: 1 addition & 1 deletion packages/guilded.js/lib/structures/channels/Channel.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type Collection from "@discordjs/collection";
import type { Collection } from "@discordjs/collection";
import type {
RESTGetChannelMessagesQuery,
RESTPostChannelMessagesBody,
Expand Down
2 changes: 1 addition & 1 deletion packages/guilded.js/lib/structures/channels/DocChannel.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Collection from "@discordjs/collection";
import { Collection } from "@discordjs/collection";
import type { DocPayload, RESTPostDocsBody, RESTPutDocBody } from "@guildedjs/guilded-api-typings";
import { Channel } from "./Channel";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Collection from "@discordjs/collection";
import { Collection } from "@discordjs/collection";
import type { ForumTopicPayload } from "@guildedjs/guilded-api-typings";
import { Channel } from "./Channel";

Expand Down
2 changes: 1 addition & 1 deletion packages/guilded.js/lib/structures/channels/ListChannel.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Collection from "@discordjs/collection";
import { Collection } from "@discordjs/collection";
import type { ListItemPayload, ListItemSummaryPayload } from "@guildedjs/guilded-api-typings";
import { Channel } from "./Channel";

Expand Down
2 changes: 1 addition & 1 deletion packages/guilded.js/lib/structures/collectors/Collector.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Collection from "@discordjs/collection";
import { Collection } from "@discordjs/collection";
import type { MaybePromise } from "../../typings";
import type { Client } from "../Client";

Expand Down
4 changes: 2 additions & 2 deletions packages/guilded.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
},
"devDependencies": {
"@guildedjs/guilded-api-typings": "workspace:*",
"@types/node": "16.11.43",
"@types/node": "16.11.47",
"typescript": "4.7.4"
},
"dependencies": {
"@discordjs/collection": "^0.7.0",
"@discordjs/collection": "^0.8.0",
"@guildedjs/rest": "workspace:*",
"@guildedjs/webhook-client": "workspace:*",
"@guildedjs/ws": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/ws/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@guildedjs/guilded-api-typings": "workspace:*",
"@types/ws": "8.5.3",
"typed-emitter": "2.1.0",
"ws": "8.8.0"
"ws": "8.8.1"
},
"contributors": [
{
Expand Down
Loading