discord.js 15.0.0-dev.1741219964-e273afbb9 → 15.0.0-dev.1741953895-09beb8a6a

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.1741219964-e273afbb9",
4
+ "version": "15.0.0-dev.1741953895-09beb8a6a",
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",
@@ -61,10 +61,10 @@
61
61
  "undici": "6.21.1",
62
62
  "@discordjs/builders": "^1.9.0",
63
63
  "@discordjs/collection": "^2.1.1",
64
- "@discordjs/formatters": "^0.5.0",
65
64
  "@discordjs/rest": "^2.4.0",
66
- "@discordjs/ws": "^2.0.0",
67
- "@discordjs/util": "^1.1.1"
65
+ "@discordjs/formatters": "^0.5.0",
66
+ "@discordjs/util": "^1.1.1",
67
+ "@discordjs/ws": "^2.0.0"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@favware/cliff-jumper": "^4.1.0",
@@ -81,9 +81,9 @@
81
81
  "tslint": "6.1.3",
82
82
  "turbo": "^2.3.3",
83
83
  "typescript": "~5.5.4",
84
- "@discordjs/api-extractor": "^7.38.1",
85
84
  "@discordjs/docgen": "^0.12.1",
86
- "@discordjs/scripts": "^0.1.0"
85
+ "@discordjs/scripts": "^0.1.0",
86
+ "@discordjs/api-extractor": "^7.38.1"
87
87
  },
88
88
  "engines": {
89
89
  "node": ">=22.12.0"
@@ -656,7 +656,7 @@ class Client extends BaseClient {
656
656
  }
657
657
 
658
658
  /**
659
- * Calls {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval} on a script
659
+ * Calls {@link https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/eval} on a script
660
660
  * with the client as `this`.
661
661
  * @param {string} script Script to eval
662
662
  * @returns {*}
@@ -733,7 +733,7 @@ exports.Client = Client;
733
733
  */
734
734
 
735
735
  /**
736
- * A {@link https://developer.twitter.com/en/docs/twitter-ids Twitter snowflake},
736
+ * A {@link https://docs.x.com/resources/fundamentals/x-ids Twitter snowflake},
737
737
  * except the epoch is 2015-01-01T00:00:00.000Z.
738
738
  *
739
739
  * If we have a snowflake '266241948824764416' we can represent it as binary:
@@ -223,7 +223,7 @@ class GuildMemberManager extends CachedManager {
223
223
  query: initialQuery,
224
224
  time = 120e3,
225
225
  nonce = DiscordSnowflake.generate().toString(),
226
- }) {
226
+ } = {}) {
227
227
  if (nonce.length > 32) throw new DiscordjsRangeError(ErrorCodes.MemberFetchNonceLength);
228
228
 
229
229
  const query = initialQuery || (!users ? '' : undefined);
@@ -267,7 +267,7 @@ class Collector extends AsyncEventEmitter {
267
267
 
268
268
  /**
269
269
  * Allows collectors to be consumed with for-await-of loops
270
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of}
270
+ * @see {@link https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/for-await...of}
271
271
  */
272
272
  async *[Symbol.asyncIterator]() {
273
273
  const queue = [];