From 188877c50af70f0d5cffb246620fa277435c6ce6 Mon Sep 17 00:00:00 2001
From: Toast <96593068+AnxietyisReal@users.noreply.github.com>
Date: Mon, 14 Aug 2023 05:49:33 +1000
Subject: [PATCH] docs: Update Node.js requirement to 16.11.0 (#9764)
* Update Node.js requirement in README file
* chore: update the rest of files with nodejs 16.11.0
* Update 03-updating-to-v14.mdx
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
---
.github/ISSUE_TEMPLATE/01-package_bug_report.yml | 6 +++---
.../01-installing-node-discordjs.mdx | 6 +++---
.../src/content/05-additional-info/03-updating-to-v14.mdx | 2 +-
package.json | 2 +-
packages/actions/package.json | 2 +-
packages/api-extractor-utils/package.json | 2 +-
packages/brokers/README.md | 2 +-
packages/brokers/package.json | 2 +-
packages/builders/README.md | 2 +-
packages/builders/package.json | 2 +-
packages/collection/README.md | 2 +-
packages/collection/package.json | 2 +-
packages/core/README.md | 2 +-
packages/core/package.json | 2 +-
packages/discord.js/README.md | 2 +-
packages/discord.js/package.json | 2 +-
packages/docgen/package.json | 2 +-
packages/formatters/README.md | 2 +-
packages/formatters/package.json | 2 +-
packages/proxy-container/package.json | 2 +-
packages/proxy/README.md | 2 +-
packages/proxy/package.json | 2 +-
packages/rest/README.md | 2 +-
packages/rest/package.json | 2 +-
packages/scripts/package.json | 2 +-
packages/scripts/src/template/template.package.json | 2 +-
packages/ui/package.json | 2 +-
packages/util/README.md | 2 +-
packages/util/package.json | 2 +-
packages/voice/README.md | 2 +-
packages/voice/package.json | 2 +-
packages/ws/README.md | 2 +-
packages/ws/package.json | 2 +-
33 files changed, 37 insertions(+), 37 deletions(-)
diff --git a/.github/ISSUE_TEMPLATE/01-package_bug_report.yml b/.github/ISSUE_TEMPLATE/01-package_bug_report.yml
index 69096b255cef..8bf399f46312 100644
--- a/.github/ISSUE_TEMPLATE/01-package_bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/01-package_bug_report.yml
@@ -61,9 +61,9 @@ body:
label: Versions
description: List necessary versions here. This includes your package version, runtime version, operating system etc.
placeholder: |
- - discord.js 14.9.0 (`npm ls discord.js` or another package)
- - Node.js 16.9.0 (`node --version`)
- - TypeScript 5.0.4 (`npm ls typescript` if you use it)
+ - discord.js 14.12.1 (`npm ls discord.js` or another package)
+ - Node.js 16.11.0 (`node --version`)
+ - TypeScript 5.1.6 (`npm ls typescript` if you use it)
- macOS Ventura 13.3.1
validations:
required: true
diff --git a/apps/guide/src/content/02-installations-and-preparations/01-installing-node-discordjs.mdx b/apps/guide/src/content/02-installations-and-preparations/01-installing-node-discordjs.mdx
index b35c3700cc64..ee1657f08c14 100644
--- a/apps/guide/src/content/02-installations-and-preparations/01-installing-node-discordjs.mdx
+++ b/apps/guide/src/content/02-installations-and-preparations/01-installing-node-discordjs.mdx
@@ -7,11 +7,11 @@ category: Installations and preparations
## Installing Node.js
-To use discord.js, you'll need to install [Node.js](https://nodejs.org/). discord.js v14 requires Node v16.9.0 or higher.
+To use discord.js, you'll need to install [Node.js](https://nodejs.org/). discord.js v14 requires Node v16.11.0 or higher.
To check if you already have Node installed on your machine \(e.g., if you're using a VPS\), run _`node -v`_ in your
- terminal. If it outputs _`v16.9.0`_ or higher, then you're good to go! Otherwise, continue reading.
+ terminal. If it outputs _`v16.11.0`_ or higher, then you're good to go! Otherwise, continue reading.
On Windows, it's as simple as installing any other program. Download the latest version from [the Node.js website](https://nodejs.org/), open the downloaded file, and follow the steps from the installer.
@@ -48,7 +48,7 @@ On macOS, either:
On Linux, you can quickly open the terminal with Ctrl + Alt + T.
-With the terminal open, run the _`node -v`_ command to make sure you've successfully installed Node.js. If it outputs _`v16.9.0`_ or higher, great!
+With the terminal open, run the _`node -v`_ command to make sure you've successfully installed Node.js. If it outputs _`v16.11.0`_ or higher, great!
### Initiating a project folder
diff --git a/apps/guide/src/content/05-additional-info/03-updating-to-v14.mdx b/apps/guide/src/content/05-additional-info/03-updating-to-v14.mdx
index bc8aadb9f4d4..dc95ae2eaf9a 100644
--- a/apps/guide/src/content/05-additional-info/03-updating-to-v14.mdx
+++ b/apps/guide/src/content/05-additional-info/03-updating-to-v14.mdx
@@ -7,7 +7,7 @@ category: Additional info
## Before you start
-v14 requires Node 16.9 or higher to use, so make sure you're up to date. To check your Node.js version, use _`node --version`_ in your terminal or command prompt, and if it's not high enough, update it! There are many resources online to help you with this step based on your host system.
+v14 requires Node 16.11 or higher to use, so make sure you're up to date. To check your Node.js version, use _`node --version`_ in your terminal or command prompt, and if it's not high enough, update it! There are many resources online to help you with this step based on your host system.
### Various packages are now included in v14
diff --git a/package.json b/package.json
index 18ed2c0ef8b9..88d755d4cad9 100644
--- a/package.json
+++ b/package.json
@@ -71,7 +71,7 @@
"yaml@^2.1.1": "patch:yaml@npm%3A2.2.2#./.yarn/patches/yaml-npm-2.2.2-6e3cddb343.patch"
},
"engines": {
- "node": ">=16.9.0"
+ "node": ">=16.11.0"
},
"workspaces": [
"apps/*",
diff --git a/packages/actions/package.json b/packages/actions/package.json
index 0d225f6a016c..ab58052a8b11 100644
--- a/packages/actions/package.json
+++ b/packages/actions/package.json
@@ -61,6 +61,6 @@
"vitest": "^0.34.1"
},
"engines": {
- "node": ">=16.9.0"
+ "node": ">=16.11.0"
}
}
diff --git a/packages/api-extractor-utils/package.json b/packages/api-extractor-utils/package.json
index 982ae78ff86d..d1d5763eeac1 100644
--- a/packages/api-extractor-utils/package.json
+++ b/packages/api-extractor-utils/package.json
@@ -47,7 +47,7 @@
"typescript": "^5.1.6"
},
"engines": {
- "node": ">=16.9.0"
+ "node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
diff --git a/packages/brokers/README.md b/packages/brokers/README.md
index e0d6da045058..00ab904f2cb5 100644
--- a/packages/brokers/README.md
+++ b/packages/brokers/README.md
@@ -23,7 +23,7 @@
## Installation
-**Node.js 16.9.0 or newer is required.**
+**Node.js 16.11.0 or newer is required.**
```sh
npm install @discordjs/brokers
diff --git a/packages/brokers/package.json b/packages/brokers/package.json
index bb3a0e1c68e1..5636d76ffe0d 100644
--- a/packages/brokers/package.json
+++ b/packages/brokers/package.json
@@ -78,7 +78,7 @@
"vitest": "^0.34.1"
},
"engines": {
- "node": ">=16.9.0"
+ "node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
diff --git a/packages/builders/README.md b/packages/builders/README.md
index dd6661387b94..dc88b7fdfb35 100644
--- a/packages/builders/README.md
+++ b/packages/builders/README.md
@@ -23,7 +23,7 @@
## Installation
-**Node.js 16.9.0 or newer is required.**
+**Node.js 16.11.0 or newer is required.**
```sh
npm install @discordjs/builders
diff --git a/packages/builders/package.json b/packages/builders/package.json
index 1ec475e43843..d0261b437327 100644
--- a/packages/builders/package.json
+++ b/packages/builders/package.json
@@ -82,7 +82,7 @@
"vitest": "^0.34.1"
},
"engines": {
- "node": ">=16.9.0"
+ "node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
diff --git a/packages/collection/README.md b/packages/collection/README.md
index 709f8900908b..4ddde140eb89 100644
--- a/packages/collection/README.md
+++ b/packages/collection/README.md
@@ -23,7 +23,7 @@
## Installation
-**Node.js 16.9.0 or newer is required.**
+**Node.js 16.11.0 or newer is required.**
```sh
npm install @discordjs/collection
diff --git a/packages/collection/package.json b/packages/collection/package.json
index 11993e37fb3e..4f5eeee60e0c 100644
--- a/packages/collection/package.json
+++ b/packages/collection/package.json
@@ -68,7 +68,7 @@
"vitest": "^0.34.1"
},
"engines": {
- "node": ">=16.9.0"
+ "node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
diff --git a/packages/core/README.md b/packages/core/README.md
index 76db8c52b988..27d8dd3c2eae 100644
--- a/packages/core/README.md
+++ b/packages/core/README.md
@@ -23,7 +23,7 @@
## Installation
-**Node.js 16.9.0 or newer is required.**
+**Node.js 16.11.0 or newer is required.**
```sh
npm install @discordjs/core
diff --git a/packages/core/package.json b/packages/core/package.json
index 9133352dc0c7..267a632e4cff 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -78,7 +78,7 @@
"vitest": "^0.34.1"
},
"engines": {
- "node": ">=16.9.0"
+ "node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
diff --git a/packages/discord.js/README.md b/packages/discord.js/README.md
index f70fc9360660..377d40c4dd79 100644
--- a/packages/discord.js/README.md
+++ b/packages/discord.js/README.md
@@ -29,7 +29,7 @@ discord.js is a powerful [Node.js](https://nodejs.org) module that allows you to
## Installation
-**Node.js 16.9.0 or newer is required.**
+**Node.js 16.11.0 or newer is required.**
```sh
npm install discord.js
diff --git a/packages/discord.js/package.json b/packages/discord.js/package.json
index f20fc7d0cc0c..2742e32738db 100644
--- a/packages/discord.js/package.json
+++ b/packages/discord.js/package.json
@@ -80,6 +80,6 @@
"typescript": "^5.1.6"
},
"engines": {
- "node": ">=16.9.0"
+ "node": ">=16.11.0"
}
}
diff --git a/packages/docgen/package.json b/packages/docgen/package.json
index 7687803710c1..819565ca0c79 100644
--- a/packages/docgen/package.json
+++ b/packages/docgen/package.json
@@ -60,7 +60,7 @@
"typescript": "^5.1.6"
},
"engines": {
- "node": ">=16.9.0"
+ "node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
diff --git a/packages/formatters/README.md b/packages/formatters/README.md
index 6cce0f0c75f1..b846625ac635 100644
--- a/packages/formatters/README.md
+++ b/packages/formatters/README.md
@@ -23,7 +23,7 @@
## Installation
-**Node.js 16.9.0 or newer is required.**
+**Node.js 16.11.0 or newer is required.**
```sh
npm install @discordjs/formatters
diff --git a/packages/formatters/package.json b/packages/formatters/package.json
index f2cd82ee1f3d..c152ca79bde4 100644
--- a/packages/formatters/package.json
+++ b/packages/formatters/package.json
@@ -64,7 +64,7 @@
"vitest": "^0.34.1"
},
"engines": {
- "node": ">=16.9.0"
+ "node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
diff --git a/packages/proxy-container/package.json b/packages/proxy-container/package.json
index 3d1393c52c59..3d8b168cb0b1 100644
--- a/packages/proxy-container/package.json
+++ b/packages/proxy-container/package.json
@@ -60,7 +60,7 @@
"typescript": "^5.1.6"
},
"engines": {
- "node": ">=16.9.0"
+ "node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
diff --git a/packages/proxy/README.md b/packages/proxy/README.md
index 6058d7263fe0..a8e863e7222a 100644
--- a/packages/proxy/README.md
+++ b/packages/proxy/README.md
@@ -23,7 +23,7 @@
## Installation
-**Node.js 16.9.0 or newer is required.**
+**Node.js 16.11.0 or newer is required.**
```sh
npm install @discordjs/proxy
diff --git a/packages/proxy/package.json b/packages/proxy/package.json
index 3543b9ae58bb..e30a1bd511d7 100644
--- a/packages/proxy/package.json
+++ b/packages/proxy/package.json
@@ -79,7 +79,7 @@
"vitest": "^0.34.1"
},
"engines": {
- "node": ">=16.9.0"
+ "node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
diff --git a/packages/rest/README.md b/packages/rest/README.md
index 0fc87632729b..243b28ccb83c 100644
--- a/packages/rest/README.md
+++ b/packages/rest/README.md
@@ -23,7 +23,7 @@
## Installation
-**Node.js 16.9.0 or newer is required.**
+**Node.js 16.11.0 or newer is required.**
Note: native fetch (not recommended) is unavailable in this node version, either use a newer node version or use the more performant `undiciRequest` strategy (default)
diff --git a/packages/rest/package.json b/packages/rest/package.json
index b53201b78dec..27bee80fb729 100644
--- a/packages/rest/package.json
+++ b/packages/rest/package.json
@@ -93,7 +93,7 @@
"vitest": "^0.34.1"
},
"engines": {
- "node": ">=16.9.0"
+ "node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
diff --git a/packages/scripts/package.json b/packages/scripts/package.json
index df120b7e6a36..b8bdee3d500b 100644
--- a/packages/scripts/package.json
+++ b/packages/scripts/package.json
@@ -69,6 +69,6 @@
"vitest": "^0.34.1"
},
"engines": {
- "node": ">=16.9.0"
+ "node": ">=16.11.0"
}
}
diff --git a/packages/scripts/src/template/template.package.json b/packages/scripts/src/template/template.package.json
index d40b762d3ed1..f33c1e58f0b2 100644
--- a/packages/scripts/src/template/template.package.json
+++ b/packages/scripts/src/template/template.package.json
@@ -59,7 +59,7 @@
"vitest": "^0.29.8"
},
"engines": {
- "node": ">=16.9.0"
+ "node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
diff --git a/packages/ui/package.json b/packages/ui/package.json
index 9e53ee5a3ad5..7ede2bca2c12 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -86,7 +86,7 @@
"vitest": "^0.34.1"
},
"engines": {
- "node": ">=16.9.0"
+ "node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
diff --git a/packages/util/README.md b/packages/util/README.md
index 8715896bda99..999ae8909425 100644
--- a/packages/util/README.md
+++ b/packages/util/README.md
@@ -20,7 +20,7 @@
## Installation
-**Node.js 16.9.0 or newer is required.**
+**Node.js 16.11.0 or newer is required.**
```sh
npm install @discordjs/util
diff --git a/packages/util/package.json b/packages/util/package.json
index bcdb1ae1c04f..02dfd012090a 100644
--- a/packages/util/package.json
+++ b/packages/util/package.json
@@ -69,7 +69,7 @@
"vitest": "^0.34.1"
},
"engines": {
- "node": ">=16.9.0"
+ "node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
diff --git a/packages/voice/README.md b/packages/voice/README.md
index 9120b0e7bf82..69b5012e4601 100644
--- a/packages/voice/README.md
+++ b/packages/voice/README.md
@@ -32,7 +32,7 @@
## Installation
-**Node.js 16.9.0 or newer is required.**
+**Node.js 16.11.0 or newer is required.**
```sh
npm install @discordjs/voice
diff --git a/packages/voice/package.json b/packages/voice/package.json
index 178169fdc0e1..9d6954ac718a 100644
--- a/packages/voice/package.json
+++ b/packages/voice/package.json
@@ -83,7 +83,7 @@
"typescript": "^5.1.6"
},
"engines": {
- "node": ">=16.9.0"
+ "node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
diff --git a/packages/ws/README.md b/packages/ws/README.md
index b51e75c0964d..b75c1b228ec3 100644
--- a/packages/ws/README.md
+++ b/packages/ws/README.md
@@ -23,7 +23,7 @@
## Installation
-**Node.js 16.9.0 or newer is required.**
+**Node.js 16.11.0 or newer is required.**
```sh
npm install @discordjs/ws
diff --git a/packages/ws/package.json b/packages/ws/package.json
index 287a7a792bd2..39057b6a47da 100644
--- a/packages/ws/package.json
+++ b/packages/ws/package.json
@@ -91,7 +91,7 @@
"zlib-sync": "^0.1.8"
},
"engines": {
- "node": ">=16.9.0"
+ "node": ">=16.11.0"
},
"publishConfig": {
"access": "public"