diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c3c30e1c5..66717370b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,10 +15,10 @@ jobs: - name: Checkout repository uses: actions/checkout@master - - name: Install Node v12 + - name: Install Node v14 uses: actions/setup-node@master with: - node-version: 12 + node-version: 14 - name: Install dependencies run: npm ci @@ -35,10 +35,10 @@ jobs: - name: Checkout repository uses: actions/checkout@master - - name: Install Node v12 + - name: Install Node v14 uses: actions/setup-node@master with: - node-version: 12 + node-version: 14 - name: Install dependencies run: npm ci diff --git a/.github/workflows/test-cron.yml b/.github/workflows/test-cron.yml index ec1fdb113..cbfd9eee9 100644 --- a/.github/workflows/test-cron.yml +++ b/.github/workflows/test-cron.yml @@ -10,10 +10,10 @@ jobs: - name: Checkout repository uses: actions/checkout@v1 - - name: Install Node v12 + - name: Install Node v14 uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 14 - name: Install dependencies run: npm ci @@ -28,10 +28,10 @@ jobs: - name: Checkout repository uses: actions/checkout@v1 - - name: Install Node v12 + - name: Install Node v14 uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 14 - name: Install dependencies run: npm ci @@ -46,10 +46,10 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 - - name: Install Node v12 + - name: Install Node v14 uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 14 - name: Install dependencies run: npm ci @@ -67,10 +67,10 @@ jobs: - name: Checkout repository uses: actions/checkout@v1 - - name: Install Node v12 + - name: Install Node v14 uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 14 - name: Install dependencies run: npm ci diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 43ab5c096..4a0f3b20f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,10 +8,10 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 - - name: Install Node v12 + - name: Install Node v14 uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 14 - name: Install dependencies run: npm ci @@ -26,10 +26,10 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 - - name: Install Node v12 + - name: Install Node v14 uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 14 - name: Install dependencies run: npm ci @@ -44,10 +44,10 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 - - name: Install Node v12 + - name: Install Node v14 uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 14 - name: Install dependencies run: npm ci @@ -65,10 +65,10 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 - - name: Install Node v12 + - name: Install Node v14 uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 14 - name: Install dependencies run: npm ci diff --git a/README.md b/README.md index cbc2bb0ef..46535a506 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ discord.js is a powerful [Node.js](https://nodejs.org) module that allows you to ## Installation -**Node.js 12.0.0 or newer is required.** +**Node.js 14.0.0 or newer is required.** Ignore any warnings about unmet peer dependencies, as they're all optional. Without voice support: `npm install discord.js` diff --git a/docs/general/faq.md b/docs/general/faq.md index 6624a727f..466cac1c9 100644 --- a/docs/general/faq.md +++ b/docs/general/faq.md @@ -4,7 +4,7 @@ These questions are some of the most frequently asked. ## No matter what, I get `SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode`‽ -Update to Node.js 12.0.0 or newer. +Update to Node.js 14.0.0 or newer. ## How do I get voice working? diff --git a/docs/general/welcome.md b/docs/general/welcome.md index 2d639c6ad..efd7a7e74 100644 --- a/docs/general/welcome.md +++ b/docs/general/welcome.md @@ -33,7 +33,7 @@ discord.js is a powerful [Node.js](https://nodejs.org) module that allows you to ## Installation -**Node.js 12.0.0 or newer is required.** +**Node.js 14.0.0 or newer is required.** Ignore any warnings about unmet peer dependencies, as they're all optional. Without voice support: `npm install discord.js` diff --git a/package.json b/package.json index 83bf9031a..9c0848ee4 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "webpack-cli": "^3.3.12" }, "engines": { - "node": ">=12.0.0" + "node": ">=14.0.0" }, "browser": { "@discordjs/opus": false,