From 47029feafad3f66dc9617dfe8f26a9f91b51c03e Mon Sep 17 00:00:00 2001 From: Crawl Date: Tue, 30 May 2017 21:25:53 +0200 Subject: [PATCH] Bump to node 8 --- .eslintrc.json | 2 +- .travis.yml | 1 + README.md | 2 +- docs/general/faq.md | 2 +- docs/general/welcome.md | 5 ++--- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 49d819f4b..3d157716f 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,7 +1,7 @@ { "extends": "eslint:recommended", "parserOptions": { - "ecmaVersion": 6 + "ecmaVersion": 2017 }, "env": { "es6": true, diff --git a/.travis.yml b/.travis.yml index 74323ddbf..7c558aaba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: node_js node_js: - "6" - "7" + - "8" cache: directories: - node_modules diff --git a/README.md b/README.md index 1bf3f39ac..80253e7c1 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ discord.js is a powerful [node.js](https://nodejs.org) module that allows you to - 100% coverage of the Discord API ## Installation -**Node.js 6.0.0 or newer is required.** +**Node.js 8.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 --save` diff --git a/docs/general/faq.md b/docs/general/faq.md index d7e4188b8..2ec9493be 100644 --- a/docs/general/faq.md +++ b/docs/general/faq.md @@ -4,7 +4,7 @@ If you have issues not listed here, please ask in the [official Discord server]( Always make sure to read the documentation. ## No matter what, I get `SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode`‽ -Update to Node.js 6.0.0 or newer. +Update to Node.js 8.0.0 or newer. ## How do I get voice working? - Install FFMPEG. diff --git a/docs/general/welcome.md b/docs/general/welcome.md index 01a3d6717..7cd79baeb 100644 --- a/docs/general/welcome.md +++ b/docs/general/welcome.md @@ -17,8 +17,7 @@ # Welcome! -Welcome to the discord.js v11.1.0 documentation. -v11.1.0 features improved voice and gateway stability, as well as support for new features such as audit logs and searching for messages. +Welcome to the discord.js v12.0.0 documentation. ## About discord.js is a powerful [node.js](https://nodejs.org) module that allows you to interact with the @@ -30,7 +29,7 @@ discord.js is a powerful [node.js](https://nodejs.org) module that allows you to - 100% coverage of the Discord API ## Installation -**Node.js 6.0.0 or newer is required.** +**Node.js 8.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 --save`