discord.js 15.0.0-dev.1752321903-591668099 → 15.0.0-dev.1752452150-7e3d4e536

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "discord.js",
4
- "version": "15.0.0-dev.1752321903-591668099",
4
+ "version": "15.0.0-dev.1752452150-7e3d4e536",
5
5
  "description": "A powerful library for interacting with the Discord API",
6
6
  "main": "./src/index.js",
7
7
  "types": "./typings/index.d.ts",
@@ -55,33 +55,32 @@
55
55
  "dependencies": {
56
56
  "@sapphire/snowflake": "3.5.5",
57
57
  "@vladfrangu/async_event_emitter": "^2.4.6",
58
- "discord-api-types": "^0.38.15",
58
+ "discord-api-types": "^0.38.16",
59
59
  "fast-deep-equal": "3.1.3",
60
60
  "lodash.snakecase": "4.1.1",
61
- "magic-bytes.js": "^1.10.0",
61
+ "magic-bytes.js": "^1.12.1",
62
62
  "tslib": "^2.8.1",
63
- "undici": "7.8.0",
64
- "@discordjs/builders": "^1.11.1",
63
+ "undici": "7.11.0",
65
64
  "@discordjs/collection": "^2.1.1",
66
- "@discordjs/rest": "^2.5.0",
65
+ "@discordjs/builders": "^1.11.1",
67
66
  "@discordjs/util": "^1.1.1",
67
+ "@discordjs/formatters": "^0.6.1",
68
68
  "@discordjs/ws": "^2.0.2",
69
- "@discordjs/formatters": "^0.6.1"
69
+ "@discordjs/rest": "^2.5.0"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@favware/cliff-jumper": "^4.1.0",
73
- "@types/node": "^22.15.2",
73
+ "@types/node": "^22.16.3",
74
74
  "cross-env": "^7.0.3",
75
- "eslint": "^9.25.1",
75
+ "eslint": "^9.30.1",
76
76
  "eslint-config-neon": "^0.2.7",
77
77
  "eslint-formatter-compact": "^8.40.0",
78
- "eslint-formatter-pretty": "^5.0.0",
79
- "eslint-plugin-import": "^2.31.0",
80
- "eslint-plugin-jsdoc": "^50.6.11",
81
- "jest": "29.7.0",
82
- "prettier": "^3.5.3",
83
- "tsd": "^0.31.2",
84
- "turbo": "^2.5.2",
78
+ "eslint-formatter-pretty": "^6.0.1",
79
+ "eslint-plugin-import": "^2.32.0",
80
+ "eslint-plugin-jsdoc": "^51.3.4",
81
+ "prettier": "^3.6.2",
82
+ "tsd": "^0.32.0",
83
+ "turbo": "^2.5.4",
85
84
  "typescript": "~5.8.3",
86
85
  "@discordjs/api-extractor": "^7.52.7",
87
86
  "@discordjs/docgen": "^0.12.1",
package/src/index.js CHANGED
@@ -144,6 +144,7 @@ exports.Component = require('./structures/Component.js').Component;
144
144
  exports.ContainerComponent = require('./structures/ContainerComponent.js').ContainerComponent;
145
145
  exports.ContextMenuCommandInteraction =
146
146
  require('./structures/ContextMenuCommandInteraction.js').ContextMenuCommandInteraction;
147
+ exports.DirectoryChannel = require('./structures/DirectoryChannel.js').DirectoryChannel;
147
148
  exports.DMChannel = require('./structures/DMChannel.js').DMChannel;
148
149
  exports.Embed = require('./structures/Embed.js').Embed;
149
150
  exports.Emoji = require('./structures/Emoji.js').Emoji;
@@ -375,7 +375,7 @@ class ThreadChannel extends BaseChannel {
375
375
  async edit(options) {
376
376
  const newData = await this.client.rest.patch(Routes.channel(this.id), {
377
377
  body: {
378
- name: (options.name ?? this.name).trim(),
378
+ name: options.name,
379
379
  archived: options.archived,
380
380
  auto_archive_duration: options.autoArchiveDuration,
381
381
  rate_limit_per_user: options.rateLimitPerUser,