Bump to node 8

This commit is contained in:
Crawl
2017-05-30 21:25:53 +02:00
parent 7896081966
commit 47029feafa
5 changed files with 6 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
{
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 6
"ecmaVersion": 2017
},
"env": {
"es6": true,

View File

@@ -2,6 +2,7 @@ language: node_js
node_js:
- "6"
- "7"
- "8"
cache:
directories:
- node_modules

View File

@@ -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`

View File

@@ -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.

View File

@@ -17,8 +17,7 @@
</div>
# 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`