chore: pin discord-api-deps, revert undici

This commit is contained in:
iCrawl 2023-08-17 21:31:04 +02:00
parent af0f1aa765
commit 7fa9ea3f0f
No known key found for this signature in database
GPG key ID: 1AB888B16355FBB2
14 changed files with 35 additions and 72 deletions

View file

@ -1 +1,2 @@
CODEOWNERS
CHANGELOG.md

View file

@ -45,7 +45,7 @@
"@actions/glob": "^0.4.0",
"@planetscale/database": "^1.10.0",
"tslib": "^2.6.1",
"undici": "^5.23.0"
"undici": "5.22.1"
},
"devDependencies": {
"@types/node": "16.18.40",

View file

@ -59,7 +59,7 @@
"@discordjs/formatters": "workspace:^",
"@discordjs/util": "workspace:^",
"@sapphire/shapeshift": "^3.9.2",
"discord-api-types": "^0.37.50",
"discord-api-types": "0.37.50",
"fast-deep-equal": "^3.1.3",
"ts-mixer": "^6.0.3",
"tslib": "^2.6.1"

View file

@ -59,7 +59,7 @@
"@discordjs/ws": "workspace:^",
"@sapphire/snowflake": "^3.5.1",
"@vladfrangu/async_event_emitter": "^2.2.2",
"discord-api-types": "^0.37.50"
"discord-api-types": "0.37.50"
},
"devDependencies": {
"@favware/cliff-jumper": "^2.1.1",

View file

@ -2,37 +2,6 @@
All notable changes to this project will be documented in this file.
# [14.13.0](https://github.com/discordjs/discord.js/compare/14.12.1...14.13.0) - (2023-08-17)
## Bug Fixes
- **Action:** Do not add the client user as a recipient (#9774) ([24fbb11](https://github.com/discordjs/discord.js/commit/24fbb11ba2f7e8f8f604752159d2053f2cee16ec))
- **DMChannel:** Correct partial typo (#9773) ([c1ff545](https://github.com/discordjs/discord.js/commit/c1ff545bf1c018875f5a9ceb828c9f84ed391920))
- **CachedManager:** Allow overriding constructor for makeCache (#9763) ([346fa57](https://github.com/discordjs/discord.js/commit/346fa57f95a99d5b4e1169bb85706c4c25bf71d0))
- **types:** Fixed CachedManager constructor arguments in type (#9761) ([b3c85d3](https://github.com/discordjs/discord.js/commit/b3c85d34a6ced8a8e2cd15a6e3879fb2dd5121d0))
- **Action:** Do not set `undefined` values (#9755) ([d8e3755](https://github.com/discordjs/discord.js/commit/d8e37551ceefe9f82566e3f45edc69bb7f9d1463))
## Documentation
- **EmbedBuilder:** `@readonly` length (#9778) ([8f572a6](https://github.com/discordjs/discord.js/commit/8f572a6badd45b916d3a46dd489653d2d6efb2a8))
- **WebhookEditOptions:** Add all of the types (#9776) ([d5be424](https://github.com/discordjs/discord.js/commit/d5be4242c6a6f90b90af54e27071ecc0f5422944))
- Update Node.js requirement to 16.11.0 (#9764) ([188877c](https://github.com/discordjs/discord.js/commit/188877c50af70f0d5cffb246620fa277435c6ce6))
## Features
- **Client:** Add deleteWebhook method (#9777) ([d90ba8d](https://github.com/discordjs/discord.js/commit/d90ba8dce8de630db14b77764ec35201998c7ce7))
- **ClientPresence:** Allow setting activity state (#9743) ([9ed1b59](https://github.com/discordjs/discord.js/commit/9ed1b59df6acb6356d5950b43d04885d5e692887))
- **ClientApplication:** Approximate guild count and new `GET` route (#9713) ([632a9b4](https://github.com/discordjs/discord.js/commit/632a9b4965cd24ffffdf0f88f1a9eedeb6b284f7))
- **Role:** Add `flags` (#9694) ([3b18e5b](https://github.com/discordjs/discord.js/commit/3b18e5b08dc3ec2aba37d3e6a55e42ce8af7dbab))
- **Attachment:** Add `flags` (#9686) ([692f0fc](https://github.com/discordjs/discord.js/commit/692f0fc96d9f92161b64fb83f02b71d43d2d7c9c))
- Add `Client#webhooksUpdate` (#9732) ([0de071d](https://github.com/discordjs/discord.js/commit/0de071d0a5524ba1fbb8cab5d7e74567103f7129))
## Typings
- **GuildInvitableChannelResolvable:** Allow forum channels (#9775) ([727dc09](https://github.com/discordjs/discord.js/commit/727dc094d52a5b169e46917b64308ab87a7144b1))
- Make activity name required (#9765) ([0a9a3ed](https://github.com/discordjs/discord.js/commit/0a9a3ede292b92235a103b6776477a707da4d84b))
- **BaseButtonComponentData:** Narrow component type (#9735) ([a30d46c](https://github.com/discordjs/discord.js/commit/a30d46c5f5909eee86704bbb9e34fb7bb09b2c27))
# [14.12.1](https://github.com/discordjs/discord.js/compare/14.12.0...14.12.1) - (2023-08-01)
## Bug Fixes

View file

@ -1,6 +1,6 @@
{
"name": "discord.js",
"version": "14.13.0",
"version": "14.12.1",
"description": "A powerful library for interacting with the Discord API",
"scripts": {
"test": "yarn docs:test && yarn test:typescript",
@ -62,7 +62,7 @@
"fast-deep-equal": "^3.1.3",
"lodash.snakecase": "^4.1.1",
"tslib": "^2.6.1",
"undici": "^5.23.0",
"undici": "5.22.1",
"ws": "^8.13.0"
},
"devDependencies": {

View file

@ -46,7 +46,7 @@
},
"homepage": "https://discord.js.org",
"dependencies": {
"discord-api-types": "^0.37.50"
"discord-api-types": "0.37.50"
},
"devDependencies": {
"@favware/cliff-jumper": "^2.1.1",

View file

@ -60,7 +60,7 @@
"@discordjs/rest": "workspace:^",
"@discordjs/util": "workspace:^",
"@discordjs/ws": "workspace:^",
"discord-api-types": "^0.37.50"
"discord-api-types": "0.37.50"
},
"devDependencies": {
"@favware/cliff-jumper": "^2.1.1",

View file

@ -59,7 +59,7 @@
"@discordjs/rest": "workspace:^",
"@discordjs/util": "workspace:^",
"tslib": "^2.6.1",
"undici": "^5.23.0"
"undici": "5.22.1"
},
"devDependencies": {
"@favware/cliff-jumper": "^2.1.1",

View file

@ -71,10 +71,10 @@
"@sapphire/async-queue": "^1.5.0",
"@sapphire/snowflake": "^3.5.1",
"@vladfrangu/async_event_emitter": "^2.2.2",
"discord-api-types": "^0.37.50",
"discord-api-types": "0.37.50",
"magic-bytes.js": "^1.0.15",
"tslib": "^2.6.1",
"undici": "^5.23.0"
"undici": "5.22.1"
},
"devDependencies": {
"@favware/cliff-jumper": "^2.1.1",

View file

@ -51,7 +51,7 @@
"commander": "^11.0.0",
"fs-extra": "^11.1.1",
"tslib": "^2.6.1",
"undici": "^5.23.0",
"undici": "5.22.1",
"yaml": "2.3.1"
},
"devDependencies": {

View file

@ -55,7 +55,7 @@
"homepage": "https://discord.js.org",
"dependencies": {
"@types/ws": "^8.5.5",
"discord-api-types": "^0.37.50",
"discord-api-types": "0.37.50",
"prism-media": "^1.3.5",
"tslib": "^2.6.1",
"ws": "^8.13.0"

View file

@ -67,7 +67,7 @@
"@sapphire/async-queue": "^1.5.0",
"@types/ws": "^8.5.5",
"@vladfrangu/async_event_emitter": "^2.2.2",
"discord-api-types": "^0.37.50",
"discord-api-types": "0.37.50",
"tslib": "^2.6.1",
"ws": "^8.13.0"
},
@ -86,7 +86,7 @@
"tsup": "^7.2.0",
"turbo": "^1.10.12",
"typescript": "^5.1.6",
"undici": "^5.23.0",
"undici": "5.22.1",
"vitest": "^0.34.2",
"zlib-sync": "^0.1.8"
},

View file

@ -2048,7 +2048,7 @@ __metadata:
tsup: ^7.2.0
turbo: ^1.10.12
typescript: ^5.1.6
undici: ^5.23.0
undici: 5.22.1
vitest: ^0.34.2
languageName: unknown
linkType: soft
@ -2106,7 +2106,7 @@ __metadata:
"@types/node": 16.18.40
"@vitest/coverage-v8": ^0.34.2
cross-env: ^7.0.3
discord-api-types: ^0.37.50
discord-api-types: 0.37.50
downlevel-dts: ^0.11.0
esbuild-plugin-version-injector: ^1.2.0
eslint: ^8.47.0
@ -2158,7 +2158,7 @@ __metadata:
"@vitest/coverage-v8": ^0.34.2
"@vladfrangu/async_event_emitter": ^2.2.2
cross-env: ^7.0.3
discord-api-types: ^0.37.50
discord-api-types: 0.37.50
esbuild-plugin-version-injector: ^1.2.0
eslint: ^8.47.0
eslint-config-neon: ^0.1.47
@ -2225,7 +2225,7 @@ __metadata:
"@types/node": 16.18.40
"@vitest/coverage-v8": ^0.34.2
cross-env: ^7.0.3
discord-api-types: ^0.37.50
discord-api-types: 0.37.50
eslint: ^8.47.0
eslint-config-neon: ^0.1.47
eslint-formatter-pretty: ^5.0.0
@ -2307,7 +2307,7 @@ __metadata:
"@types/node": 18.17.5
"@vitest/coverage-v8": ^0.34.2
cross-env: ^7.0.3
discord-api-types: ^0.37.50
discord-api-types: 0.37.50
esbuild-plugin-version-injector: ^1.2.0
eslint: ^8.47.0
eslint-config-neon: ^0.1.47
@ -2360,7 +2360,7 @@ __metadata:
tsup: ^7.2.0
turbo: ^1.10.12
typescript: ^5.1.6
undici: ^5.23.0
undici: 5.22.1
vitest: ^0.34.2
languageName: unknown
linkType: soft
@ -2379,7 +2379,7 @@ __metadata:
"@vitest/coverage-v8": ^0.34.2
"@vladfrangu/async_event_emitter": ^2.2.2
cross-env: ^7.0.3
discord-api-types: ^0.37.50
discord-api-types: 0.37.50
esbuild-plugin-version-injector: ^1.2.0
eslint: ^8.47.0
eslint-config-neon: ^0.1.47
@ -2390,7 +2390,7 @@ __metadata:
tsup: ^7.2.0
turbo: ^1.10.12
typescript: ^5.1.6
undici: ^5.23.0
undici: 5.22.1
vitest: ^0.34.2
languageName: unknown
linkType: soft
@ -2417,7 +2417,7 @@ __metadata:
tsup: ^7.2.0
turbo: ^1.10.12
typescript: ^5.1.6
undici: ^5.23.0
undici: 5.22.1
vitest: ^0.34.2
yaml: 2.3.1
languageName: unknown
@ -2499,7 +2499,7 @@ __metadata:
"@types/node": 16.18.40
"@types/ws": ^8.5.5
cross-env: ^7.0.3
discord-api-types: ^0.37.50
discord-api-types: 0.37.50
esbuild-plugin-version-injector: ^1.2.0
eslint: ^8.47.0
eslint-config-neon: ^0.1.47
@ -2591,7 +2591,7 @@ __metadata:
"@vitest/coverage-v8": ^0.34.2
"@vladfrangu/async_event_emitter": ^2.2.2
cross-env: ^7.0.3
discord-api-types: ^0.37.50
discord-api-types: 0.37.50
esbuild-plugin-version-injector: ^1.2.0
eslint: ^8.47.0
eslint-config-neon: ^0.1.47
@ -2602,7 +2602,7 @@ __metadata:
tsup: ^7.2.0
turbo: ^1.10.12
typescript: ^5.1.6
undici: ^5.23.0
undici: 5.22.1
vitest: ^0.34.2
ws: ^8.13.0
zlib-sync: ^0.1.8
@ -11392,13 +11392,6 @@ __metadata:
languageName: node
linkType: hard
"discord-api-types@npm:^0.37.50":
version: 0.37.54
resolution: "discord-api-types@npm:0.37.54"
checksum: f149961be9129673a0e3764285c8f47da22a30ea3e2466db06ffad44d1823094f7011ffe2d3d89b1b5ddd9940651afc72b3a05f84ce443a59f8480e2578dd1e1
languageName: node
linkType: hard
"discord.js@workspace:packages/discord.js":
version: 0.0.0-use.local
resolution: "discord.js@workspace:packages/discord.js"
@ -11427,7 +11420,7 @@ __metadata:
tslint: ^6.1.3
turbo: ^1.10.12
typescript: ^5.1.6
undici: ^5.23.0
undici: 5.22.1
ws: ^8.13.0
languageName: unknown
linkType: soft
@ -23992,17 +23985,17 @@ __metadata:
"typescript@patch:typescript@^4.6.4 || ^5.0.0#~builtin<compat/typescript>, typescript@patch:typescript@^5.1.6#~builtin<compat/typescript>":
version: 5.1.6
resolution: "typescript@patch:typescript@npm%3A5.1.6#~builtin<compat/typescript>::version=5.1.6&hash=77c9e2"
resolution: "typescript@patch:typescript@npm%3A5.1.6#~builtin<compat/typescript>::version=5.1.6&hash=5da071"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 21e88b0a0c0226f9cb9fd25b9626fb05b4c0f3fddac521844a13e1f30beb8f14e90bd409a9ac43c812c5946d714d6e0dee12d5d02dfc1c562c5aacfa1f49b606
checksum: f53bfe97f7c8b2b6d23cf572750d4e7d1e0c5fff1c36d859d0ec84556a827b8785077bc27676bf7e71fae538e517c3ecc0f37e7f593be913d884805d931bc8be
languageName: node
linkType: hard
"typescript@patch:typescript@next#~builtin<compat/typescript>":
version: 5.3.0-dev.20230817
resolution: "typescript@patch:typescript@npm%3A5.3.0-dev.20230817#~builtin<compat/typescript>::version=5.3.0-dev.20230817&hash=77c9e2"
resolution: "typescript@patch:typescript@npm%3A5.3.0-dev.20230817#~builtin<compat/typescript>::version=5.3.0-dev.20230817&hash=14eedb"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
@ -24105,12 +24098,12 @@ __metadata:
languageName: node
linkType: hard
"undici@npm:^5.23.0":
version: 5.23.0
resolution: "undici@npm:5.23.0"
"undici@npm:5.22.1":
version: 5.22.1
resolution: "undici@npm:5.22.1"
dependencies:
busboy: ^1.6.0
checksum: 906ca4fb1d47163d2cee2ecbbc664a1d92508a2cdf1558146621109f525c983a83597910b36e6ba468240e95259be5939cea6babc99fc0c36360b16630f66784
checksum: 048a3365f622be44fb319316cedfaa241c59cf7f3368ae7667a12323447e1822e8cc3d00f6956c852d1478a6fde1cbbe753f49e05f2fdaed229693e716ebaf35
languageName: node
linkType: hard