mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 13:03:31 +01:00
chore: everyone goes to node 18+
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
**Node.js 16.11.0 or newer is required.**
|
**Node.js 18 or newer is required.**
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install @discordjs/builders
|
npm install @discordjs/builders
|
||||||
|
|||||||
@@ -91,7 +91,7 @@
|
|||||||
"vitest": "^2.0.5"
|
"vitest": "^2.0.5"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.11.0"
|
"node": ">=18"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public",
|
"access": "public",
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ discord.js is a powerful [Node.js](https://nodejs.org) module that allows you to
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
**Node.js 16.11.0 or newer is required.**
|
**Node.js 18 or newer is required.**
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install discord.js
|
npm install discord.js
|
||||||
|
|||||||
@@ -98,7 +98,7 @@
|
|||||||
"typescript": "~5.5.4"
|
"typescript": "~5.5.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.11.0"
|
"node": ">=18"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"provenance": true
|
"provenance": true
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
**Node.js 16.11.0 or newer is required.**
|
**Node.js 18 or newer is required.**
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install @discordjs/formatters
|
npm install @discordjs/formatters
|
||||||
|
|||||||
@@ -75,7 +75,7 @@
|
|||||||
"vitest": "^2.0.5"
|
"vitest": "^2.0.5"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.11.0"
|
"node": ">=18"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public",
|
"access": "public",
|
||||||
|
|||||||
@@ -23,9 +23,7 @@
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
**Node.js 16.11.0 or newer is required.**
|
**Node.js 18 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)
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install @discordjs/rest
|
npm install @discordjs/rest
|
||||||
|
|||||||
@@ -111,7 +111,7 @@
|
|||||||
"vitest": "^2.0.5"
|
"vitest": "^2.0.5"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.11.0"
|
"node": ">=18"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public",
|
"access": "public",
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
**Node.js 16.11.0 or newer is required.**
|
**Node.js 18 or newer is required.**
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install @discordjs/util
|
npm install @discordjs/util
|
||||||
|
|||||||
@@ -80,7 +80,7 @@
|
|||||||
"vitest": "^2.0.5"
|
"vitest": "^2.0.5"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.11.0"
|
"node": ">=18"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public",
|
"access": "public",
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
**Node.js 16.11.0 or newer is required.**
|
**Node.js 18 or newer is required.**
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install @discordjs/voice
|
npm install @discordjs/voice
|
||||||
|
|||||||
@@ -93,7 +93,7 @@
|
|||||||
"typescript": "~5.5.4"
|
"typescript": "~5.5.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.11.0"
|
"node": ">=18"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public",
|
"access": "public",
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
**Node.js 16.11.0 or newer is required.**
|
**Node.js 18 or newer is required.**
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install @discordjs/ws
|
npm install @discordjs/ws
|
||||||
|
|||||||
@@ -105,7 +105,7 @@
|
|||||||
"zlib-sync": "^0.1.9"
|
"zlib-sync": "^0.1.9"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.11.0"
|
"node": ">=18"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public",
|
"access": "public",
|
||||||
|
|||||||
Reference in New Issue
Block a user