From ed1c1737df58350b6ca10c644344066170b8f334 Mon Sep 17 00:00:00 2001 From: Vlad Frangu Date: Mon, 2 Sep 2024 15:12:31 +0300 Subject: [PATCH] chore: everyone goes to node 18+ --- packages/builders/README.md | 2 +- packages/builders/package.json | 2 +- packages/discord.js/README.md | 2 +- packages/discord.js/package.json | 2 +- packages/formatters/README.md | 2 +- packages/formatters/package.json | 2 +- packages/rest/README.md | 4 +--- packages/rest/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 +- 14 files changed, 14 insertions(+), 16 deletions(-) diff --git a/packages/builders/README.md b/packages/builders/README.md index dc88b7fdfb35..08d2509eda90 100644 --- a/packages/builders/README.md +++ b/packages/builders/README.md @@ -23,7 +23,7 @@ ## Installation -**Node.js 16.11.0 or newer is required.** +**Node.js 18 or newer is required.** ```sh npm install @discordjs/builders diff --git a/packages/builders/package.json b/packages/builders/package.json index 2d49f7f6481b..9e5d39f20122 100644 --- a/packages/builders/package.json +++ b/packages/builders/package.json @@ -91,7 +91,7 @@ "vitest": "^2.0.5" }, "engines": { - "node": ">=16.11.0" + "node": ">=18" }, "publishConfig": { "access": "public", diff --git a/packages/discord.js/README.md b/packages/discord.js/README.md index d7eb0726c9e1..d334efbb4bf6 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.11.0 or newer is required.** +**Node.js 18 or newer is required.** ```sh npm install discord.js diff --git a/packages/discord.js/package.json b/packages/discord.js/package.json index 2a8a369b4f17..fdf5c9045756 100644 --- a/packages/discord.js/package.json +++ b/packages/discord.js/package.json @@ -98,7 +98,7 @@ "typescript": "~5.5.4" }, "engines": { - "node": ">=16.11.0" + "node": ">=18" }, "publishConfig": { "provenance": true diff --git a/packages/formatters/README.md b/packages/formatters/README.md index 65ad4b0d0e99..b1e9fe57939d 100644 --- a/packages/formatters/README.md +++ b/packages/formatters/README.md @@ -23,7 +23,7 @@ ## Installation -**Node.js 16.11.0 or newer is required.** +**Node.js 18 or newer is required.** ```sh npm install @discordjs/formatters diff --git a/packages/formatters/package.json b/packages/formatters/package.json index 9e1093cf05ce..ae0ee90b051e 100644 --- a/packages/formatters/package.json +++ b/packages/formatters/package.json @@ -75,7 +75,7 @@ "vitest": "^2.0.5" }, "engines": { - "node": ">=16.11.0" + "node": ">=18" }, "publishConfig": { "access": "public", diff --git a/packages/rest/README.md b/packages/rest/README.md index 6cc1e758cd6d..c7f21e812cba 100644 --- a/packages/rest/README.md +++ b/packages/rest/README.md @@ -23,9 +23,7 @@ ## Installation -**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) +**Node.js 18 or newer is required.** ```sh npm install @discordjs/rest diff --git a/packages/rest/package.json b/packages/rest/package.json index af0626d0be10..0eec7df15376 100644 --- a/packages/rest/package.json +++ b/packages/rest/package.json @@ -111,7 +111,7 @@ "vitest": "^2.0.5" }, "engines": { - "node": ">=16.11.0" + "node": ">=18" }, "publishConfig": { "access": "public", diff --git a/packages/util/README.md b/packages/util/README.md index bcdbc4ce19b7..42b8eafd0087 100644 --- a/packages/util/README.md +++ b/packages/util/README.md @@ -20,7 +20,7 @@ ## Installation -**Node.js 16.11.0 or newer is required.** +**Node.js 18 or newer is required.** ```sh npm install @discordjs/util diff --git a/packages/util/package.json b/packages/util/package.json index 26fd6945f6bc..437fa7270b3b 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -80,7 +80,7 @@ "vitest": "^2.0.5" }, "engines": { - "node": ">=16.11.0" + "node": ">=18" }, "publishConfig": { "access": "public", diff --git a/packages/voice/README.md b/packages/voice/README.md index 3a2c4e3a2f13..ea682f9107a3 100644 --- a/packages/voice/README.md +++ b/packages/voice/README.md @@ -32,7 +32,7 @@ ## Installation -**Node.js 16.11.0 or newer is required.** +**Node.js 18 or newer is required.** ```sh npm install @discordjs/voice diff --git a/packages/voice/package.json b/packages/voice/package.json index 389af180083f..cefe7ffbbf2e 100644 --- a/packages/voice/package.json +++ b/packages/voice/package.json @@ -93,7 +93,7 @@ "typescript": "~5.5.4" }, "engines": { - "node": ">=16.11.0" + "node": ">=18" }, "publishConfig": { "access": "public", diff --git a/packages/ws/README.md b/packages/ws/README.md index 61be4e93573b..c3a9dc92931c 100644 --- a/packages/ws/README.md +++ b/packages/ws/README.md @@ -23,7 +23,7 @@ ## Installation -**Node.js 16.11.0 or newer is required.** +**Node.js 18 or newer is required.** ```sh npm install @discordjs/ws diff --git a/packages/ws/package.json b/packages/ws/package.json index 2c913f43ebbd..29481ea43222 100644 --- a/packages/ws/package.json +++ b/packages/ws/package.json @@ -105,7 +105,7 @@ "zlib-sync": "^0.1.9" }, "engines": { - "node": ">=16.11.0" + "node": ">=18" }, "publishConfig": { "access": "public",