mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 13:03:31 +01:00
chore: deps
This commit is contained in:
18
package.json
18
package.json
@@ -38,25 +38,23 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://discord.js.org",
|
"homepage": "https://discord.js.org",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "^17.0.2",
|
"@commitlint/cli": "^17.0.3",
|
||||||
"@commitlint/config-angular": "^17.0.0",
|
"@commitlint/config-angular": "^17.0.3",
|
||||||
"@favware/cliff-jumper": "^1.8.3",
|
"@favware/cliff-jumper": "^1.8.5",
|
||||||
"@favware/npm-deprecate": "^1.0.4",
|
"@favware/npm-deprecate": "^1.0.4",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.30.0",
|
"@typescript-eslint/eslint-plugin": "^5.30.5",
|
||||||
"@typescript-eslint/parser": "^5.30.0",
|
"@typescript-eslint/parser": "^5.30.5",
|
||||||
"c8": "^7.11.3",
|
|
||||||
"conventional-changelog-cli": "^2.2.2",
|
"conventional-changelog-cli": "^2.2.2",
|
||||||
"eslint": "^8.18.0",
|
"eslint": "^8.19.0",
|
||||||
"eslint-config-marine": "^9.4.1",
|
"eslint-config-marine": "^9.4.1",
|
||||||
"eslint-config-prettier": "^8.5.0",
|
"eslint-config-prettier": "^8.5.0",
|
||||||
"eslint-import-resolver-typescript": "^3.1.1",
|
"eslint-import-resolver-typescript": "^3.2.4",
|
||||||
"eslint-plugin-import": "^2.26.0",
|
"eslint-plugin-import": "^2.26.0",
|
||||||
"husky": "^8.0.1",
|
"husky": "^8.0.1",
|
||||||
"is-ci": "^3.0.1",
|
"is-ci": "^3.0.1",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"turbo": "^1.3.1",
|
"turbo": "^1.3.1",
|
||||||
"typescript": "^4.7.4",
|
"typescript": "^4.7.4"
|
||||||
"vitest": "^0.17.0"
|
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.9.0"
|
"node": ">=16.9.0"
|
||||||
|
|||||||
@@ -47,15 +47,16 @@
|
|||||||
"@actions/core": "^1.9.0",
|
"@actions/core": "^1.9.0",
|
||||||
"tslib": "^2.4.0"
|
"tslib": "^2.4.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
|
||||||
"node": ">=16.9.0"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^18.0.0",
|
"@types/node": "^18.0.3",
|
||||||
"eslint": "^8.18.0",
|
"c8": "^7.11.3",
|
||||||
|
"eslint": "^8.19.0",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"tsup": "^6.1.2",
|
"tsup": "^6.1.3",
|
||||||
"typescript": "^4.7.4",
|
"typescript": "^4.7.4",
|
||||||
"vitest": "^0.17.0"
|
"vitest": "^0.17.0"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=16.9.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://discord.js.org",
|
"homepage": "https://discord.js.org",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@sapphire/shapeshift": "^3.2.0",
|
"@sapphire/shapeshift": "^3.4.1",
|
||||||
"discord-api-types": "^0.33.5",
|
"discord-api-types": "^0.33.5",
|
||||||
"fast-deep-equal": "^3.1.3",
|
"fast-deep-equal": "^3.1.3",
|
||||||
"ts-mixer": "^6.0.1",
|
"ts-mixer": "^6.0.1",
|
||||||
@@ -62,12 +62,13 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@discordjs/docgen": "workspace:^",
|
"@discordjs/docgen": "workspace:^",
|
||||||
"@discordjs/scripts": "workspace:^",
|
"@discordjs/scripts": "workspace:^",
|
||||||
"@favware/cliff-jumper": "^1.8.3",
|
"@favware/cliff-jumper": "^1.8.5",
|
||||||
"@microsoft/api-extractor": "^7.28.2",
|
"@microsoft/api-extractor": "^7.28.3",
|
||||||
"@types/node": "^18.0.0",
|
"@types/node": "^18.0.3",
|
||||||
"eslint": "^8.18.0",
|
"c8": "^7.11.3",
|
||||||
|
"eslint": "^8.19.0",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"tsup": "^6.1.2",
|
"tsup": "^6.1.3",
|
||||||
"typescript": "^4.7.4",
|
"typescript": "^4.7.4",
|
||||||
"vitest": "^0.17.0"
|
"vitest": "^0.17.0"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ export class SelectMenuBuilder extends UnsafeSelectMenuBuilder {
|
|||||||
...options.map((option) =>
|
...options.map((option) =>
|
||||||
option instanceof UnsafeSelectMenuOptionBuilder
|
option instanceof UnsafeSelectMenuOptionBuilder
|
||||||
? option
|
? option
|
||||||
: new UnsafeSelectMenuOptionBuilder(optionValidator.parse(option) as APISelectMenuOption),
|
: new UnsafeSelectMenuOptionBuilder(optionValidator.parse(option) as unknown as APISelectMenuOption),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
return this;
|
return this;
|
||||||
@@ -58,7 +58,7 @@ export class SelectMenuBuilder extends UnsafeSelectMenuBuilder {
|
|||||||
...options.map((option) =>
|
...options.map((option) =>
|
||||||
option instanceof UnsafeSelectMenuOptionBuilder
|
option instanceof UnsafeSelectMenuOptionBuilder
|
||||||
? option
|
? option
|
||||||
: new UnsafeSelectMenuOptionBuilder(optionValidator.parse(option) as APISelectMenuOption),
|
: new UnsafeSelectMenuOptionBuilder(optionValidator.parse(option) as unknown as APISelectMenuOption),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
return this;
|
return this;
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ export class ApplicationCommandOptionChannelTypesMixin {
|
|||||||
Reflect.set(this, 'channel_types', []);
|
Reflect.set(this, 'channel_types', []);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @ts-expect-error: Shapeshift TODO
|
||||||
this.channel_types!.push(...channelTypesPredicate.parse(channelTypes));
|
this.channel_types!.push(...channelTypesPredicate.parse(channelTypes));
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
|
|||||||
@@ -69,12 +69,12 @@ export class EmbedBuilder extends UnsafeEmbedBuilder {
|
|||||||
|
|
||||||
public override setImage(url: string | null): this {
|
public override setImage(url: string | null): this {
|
||||||
// Data assertions
|
// Data assertions
|
||||||
return super.setImage(imageURLPredicate.parse(url)!);
|
return super.setImage(imageURLPredicate.parse(url));
|
||||||
}
|
}
|
||||||
|
|
||||||
public override setThumbnail(url: string | null): this {
|
public override setThumbnail(url: string | null): this {
|
||||||
// Data assertions
|
// Data assertions
|
||||||
return super.setThumbnail(imageURLPredicate.parse(url)!);
|
return super.setThumbnail(imageURLPredicate.parse(url));
|
||||||
}
|
}
|
||||||
|
|
||||||
public override setTimestamp(timestamp: number | Date | null = Date.now()): this {
|
public override setTimestamp(timestamp: number | Date | null = Date.now()): this {
|
||||||
@@ -89,6 +89,6 @@ export class EmbedBuilder extends UnsafeEmbedBuilder {
|
|||||||
|
|
||||||
public override setURL(url: string | null): this {
|
public override setURL(url: string | null): this {
|
||||||
// Data assertions
|
// Data assertions
|
||||||
return super.setURL(urlPredicate.parse(url)!);
|
return super.setURL(urlPredicate.parse(url));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,12 +51,13 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@discordjs/docgen": "workspace:^",
|
"@discordjs/docgen": "workspace:^",
|
||||||
"@discordjs/scripts": "workspace:^",
|
"@discordjs/scripts": "workspace:^",
|
||||||
"@favware/cliff-jumper": "^1.8.3",
|
"@favware/cliff-jumper": "^1.8.5",
|
||||||
"@microsoft/api-extractor": "^7.28.2",
|
"@microsoft/api-extractor": "^7.28.3",
|
||||||
"@types/node": "^18.0.0",
|
"@types/node": "^18.0.3",
|
||||||
"eslint": "^8.18.0",
|
"c8": "^7.11.3",
|
||||||
|
"eslint": "^8.19.0",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"tsup": "^6.1.2",
|
"tsup": "^6.1.3",
|
||||||
"typescript": "^4.7.4",
|
"typescript": "^4.7.4",
|
||||||
"vitest": "^0.17.0"
|
"vitest": "^0.17.0"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -57,18 +57,18 @@
|
|||||||
"fast-deep-equal": "^3.1.3",
|
"fast-deep-equal": "^3.1.3",
|
||||||
"lodash.snakecase": "^4.1.1",
|
"lodash.snakecase": "^4.1.1",
|
||||||
"tslib": "^2.4.0",
|
"tslib": "^2.4.0",
|
||||||
"undici": "^5.5.1",
|
"undici": "^5.6.0",
|
||||||
"ws": "^8.8.0"
|
"ws": "^8.8.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@discordjs/docgen": "workspace:^",
|
"@discordjs/docgen": "workspace:^",
|
||||||
"@favware/cliff-jumper": "^1.8.3",
|
"@favware/cliff-jumper": "^1.8.5",
|
||||||
"@types/node": "^18.0.0",
|
"@types/node": "^18.0.3",
|
||||||
"dtslint": "^4.2.1",
|
"dtslint": "^4.2.1",
|
||||||
"eslint": "^8.18.0",
|
"eslint": "^8.19.0",
|
||||||
"jest": "^28.1.2",
|
"jest": "^28.1.2",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"tsd": "^0.21.0",
|
"tsd": "^0.22.0",
|
||||||
"tslint": "^6.1.3",
|
"tslint": "^6.1.3",
|
||||||
"typescript": "^4.7.4"
|
"typescript": "^4.7.4"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -53,15 +53,15 @@
|
|||||||
"commander": "^9.3.0",
|
"commander": "^9.3.0",
|
||||||
"jsdoc-to-markdown": "^7.1.1",
|
"jsdoc-to-markdown": "^7.1.1",
|
||||||
"tslib": "^2.4.0",
|
"tslib": "^2.4.0",
|
||||||
"typedoc": "^0.23.2"
|
"typedoc": "^0.23.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@favware/cliff-jumper": "^1.8.3",
|
"@favware/cliff-jumper": "^1.8.5",
|
||||||
"@types/jsdoc-to-markdown": "^7.0.3",
|
"@types/jsdoc-to-markdown": "^7.0.3",
|
||||||
"@types/node": "^18.0.0",
|
"@types/node": "^18.0.3",
|
||||||
"eslint": "^8.18.0",
|
"eslint": "^8.19.0",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"tsup": "^6.1.2",
|
"tsup": "^6.1.3",
|
||||||
"typescript": "^4.7.4"
|
"typescript": "^4.7.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|||||||
@@ -47,17 +47,17 @@
|
|||||||
"@discordjs/rest": "^0.5.0",
|
"@discordjs/rest": "^0.5.0",
|
||||||
"tslib": "^2.4.0"
|
"tslib": "^2.4.0"
|
||||||
},
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/node": "^18.0.3",
|
||||||
|
"eslint": "^8.19.0",
|
||||||
|
"prettier": "^2.7.1",
|
||||||
|
"tsup": "^6.1.3",
|
||||||
|
"typescript": "^4.7.4"
|
||||||
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.9.0"
|
"node": ">=16.9.0"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@types/node": "^18.0.0",
|
|
||||||
"eslint": "^8.18.0",
|
|
||||||
"prettier": "^2.7.1",
|
|
||||||
"tsup": "^6.1.2",
|
|
||||||
"typescript": "^4.7.4"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -55,19 +55,20 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@discordjs/rest": "^0.5.0",
|
"@discordjs/rest": "^0.5.0",
|
||||||
"tslib": "^2.4.0",
|
"tslib": "^2.4.0",
|
||||||
"undici": "^5.5.1"
|
"undici": "^5.6.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@discordjs/docgen": "workspace:^",
|
"@discordjs/docgen": "workspace:^",
|
||||||
"@discordjs/scripts": "workspace:^",
|
"@discordjs/scripts": "workspace:^",
|
||||||
"@favware/cliff-jumper": "^1.8.3",
|
"@favware/cliff-jumper": "^1.8.5",
|
||||||
"@microsoft/api-extractor": "^7.28.2",
|
"@microsoft/api-extractor": "^7.28.3",
|
||||||
"@types/node": "^18.0.0",
|
"@types/node": "^18.0.3",
|
||||||
"@types/supertest": "^2.0.12",
|
"@types/supertest": "^2.0.12",
|
||||||
"eslint": "^8.18.0",
|
"c8": "^7.11.3",
|
||||||
|
"eslint": "^8.19.0",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"supertest": "^6.2.3",
|
"supertest": "^6.2.4",
|
||||||
"tsup": "^6.1.2",
|
"tsup": "^6.1.3",
|
||||||
"typescript": "^4.7.4",
|
"typescript": "^4.7.4",
|
||||||
"vitest": "^0.17.0"
|
"vitest": "^0.17.0"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -52,20 +52,21 @@
|
|||||||
"homepage": "https://discord.js.org",
|
"homepage": "https://discord.js.org",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@discordjs/collection": "workspace:^",
|
"@discordjs/collection": "workspace:^",
|
||||||
"@sapphire/async-queue": "^1.3.1",
|
"@sapphire/async-queue": "^1.3.2",
|
||||||
"@sapphire/snowflake": "^3.2.2",
|
"@sapphire/snowflake": "^3.2.2",
|
||||||
"discord-api-types": "^0.33.5",
|
"discord-api-types": "^0.33.5",
|
||||||
"tslib": "^2.4.0",
|
"tslib": "^2.4.0",
|
||||||
"undici": "^5.5.1"
|
"undici": "^5.6.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@discordjs/docgen": "workspace:^",
|
"@discordjs/docgen": "workspace:^",
|
||||||
"@discordjs/scripts": "workspace:^",
|
"@discordjs/scripts": "workspace:^",
|
||||||
"@favware/cliff-jumper": "^1.8.3",
|
"@favware/cliff-jumper": "^1.8.5",
|
||||||
"@microsoft/api-extractor": "^7.28.2",
|
"@microsoft/api-extractor": "^7.28.3",
|
||||||
"eslint": "^8.18.0",
|
"c8": "^7.11.3",
|
||||||
|
"eslint": "^8.19.0",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"tsup": "^6.1.2",
|
"tsup": "^6.1.3",
|
||||||
"typescript": "^4.7.4",
|
"typescript": "^4.7.4",
|
||||||
"vitest": "^0.17.0"
|
"vitest": "^0.17.0"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -46,15 +46,16 @@
|
|||||||
"commander": "^9.3.0",
|
"commander": "^9.3.0",
|
||||||
"tslib": "^2.4.0"
|
"tslib": "^2.4.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
|
||||||
"node": ">=16.9.0"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^18.0.0",
|
"@types/node": "^18.0.3",
|
||||||
"eslint": "^8.18.0",
|
"c8": "^7.11.3",
|
||||||
|
"eslint": "^8.19.0",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"tsup": "^6.1.2",
|
"tsup": "^6.1.3",
|
||||||
"typescript": "^4.7.4",
|
"typescript": "^4.7.4",
|
||||||
"vitest": "^0.17.0"
|
"vitest": "^0.17.0"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=16.9.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -58,20 +58,20 @@
|
|||||||
"ws": "^8.8.0"
|
"ws": "^8.8.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.18.5",
|
"@babel/core": "^7.18.6",
|
||||||
"@babel/preset-env": "^7.18.2",
|
"@babel/preset-env": "^7.18.6",
|
||||||
"@babel/preset-typescript": "^7.17.12",
|
"@babel/preset-typescript": "^7.18.6",
|
||||||
"@discordjs/docgen": "workspace:^",
|
"@discordjs/docgen": "workspace:^",
|
||||||
"@discordjs/scripts": "workspace:^",
|
"@discordjs/scripts": "workspace:^",
|
||||||
"@favware/cliff-jumper": "^1.8.3",
|
"@favware/cliff-jumper": "^1.8.5",
|
||||||
"@microsoft/api-extractor": "^7.28.2",
|
"@microsoft/api-extractor": "^7.28.3",
|
||||||
"@types/jest": "^28.1.2",
|
"@types/jest": "^28.1.4",
|
||||||
"eslint": "^8.18.0",
|
"eslint": "^8.19.0",
|
||||||
"jest": "^28.1.2",
|
"jest": "^28.1.2",
|
||||||
"jest-websocket-mock": "^2.3.0",
|
"jest-websocket-mock": "^2.3.0",
|
||||||
"mock-socket": "^9.1.5",
|
"mock-socket": "^9.1.5",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"tsup": "^6.1.2",
|
"tsup": "^6.1.3",
|
||||||
"tweetnacl": "^1.0.3",
|
"tweetnacl": "^1.0.3",
|
||||||
"typescript": "^4.7.4"
|
"typescript": "^4.7.4"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -68,28 +68,28 @@
|
|||||||
"@testing-library/jest-dom": "^5.16.4",
|
"@testing-library/jest-dom": "^5.16.4",
|
||||||
"@testing-library/react": "^13.3.0",
|
"@testing-library/react": "^13.3.0",
|
||||||
"@testing-library/user-event": "^14.2.1",
|
"@testing-library/user-event": "^14.2.1",
|
||||||
"@types/node": "^16.11.41",
|
"@types/node": "^16.11.43",
|
||||||
"@types/react-dom": "^18.0.5",
|
"@types/react-dom": "^18.0.6",
|
||||||
"@types/react-syntax-highlighter": "^15.5.2",
|
"@types/react-syntax-highlighter": "^15.5.2",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.30.0",
|
"@typescript-eslint/eslint-plugin": "^5.30.5",
|
||||||
"@typescript-eslint/parser": "^5.30.0",
|
"@typescript-eslint/parser": "^5.30.5",
|
||||||
"@unocss/cli": "^0.42.0",
|
"@unocss/cli": "^0.43.2",
|
||||||
"@vitejs/plugin-react": "^1.3.2",
|
"@vitejs/plugin-react": "^1.3.2",
|
||||||
"c8": "^7.11.3",
|
"c8": "^7.11.3",
|
||||||
"concurrently": "^7.2.2",
|
"concurrently": "^7.2.2",
|
||||||
"cypress": "^10.3.0",
|
"cypress": "^10.3.0",
|
||||||
"eslint": "^8.18.0",
|
"eslint": "^8.19.0",
|
||||||
"eslint-config-marine": "^9.4.1",
|
"eslint-config-marine": "^9.4.1",
|
||||||
"eslint-config-prettier": "^8.5.0",
|
"eslint-config-prettier": "^8.5.0",
|
||||||
"eslint-import-resolver-typescript": "^3.1.1",
|
"eslint-import-resolver-typescript": "^3.2.4",
|
||||||
"eslint-plugin-import": "^2.26.0",
|
"eslint-plugin-import": "^2.26.0",
|
||||||
"eslint-plugin-react": "^7.30.1",
|
"eslint-plugin-react": "^7.30.1",
|
||||||
"eslint-plugin-react-hooks": "^4.6.0",
|
"eslint-plugin-react-hooks": "^4.6.0",
|
||||||
"happy-dom": "^5.3.4",
|
"happy-dom": "^6.0.2",
|
||||||
"msw": "^0.42.3",
|
"msw": "^0.43.0",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"typescript": "^4.7.4",
|
"typescript": "^4.7.4",
|
||||||
"unocss": "^0.42.0",
|
"unocss": "^0.43.2",
|
||||||
"vitest": "^0.17.0"
|
"vitest": "^0.17.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|||||||
Reference in New Issue
Block a user