Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Drop node.js v8 support (#4164)

Ulises Gascónc7f5e882b6ff
diff --git a/.eslintrc.yml b/.eslintrc.yml
index 96f28ebb..34c77cab 100644
--- a/.eslintrc.yml
+++ b/.eslintrc.yml
@@ -28,7 +28,7 @@ overrides:
- test/integration/helpers.js
- lib/growl.js
parserOptions:
- ecmaVersion: 2017
+ ecmaVersion: 2018
env:
browser: false
- files:
@@ -83,7 +83,7 @@ overrides:
- files:
- test/**/*.mjs
parserOptions:
- ecmaVersion: 2017
+ ecmaVersion: 2018
sourceType: module
- files:
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 027a7f96..4614aa04 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -42,7 +42,7 @@ Follow these steps to get going. If you are having trouble, don't be afraid to [
> PRO TIP: After `npm install`, run `npm start` to see a list of commands which can be run with `npm start <command>` (powered by [nps](https://npm.im/nps)).
-1. [Install Node.js 8.x or newer](https://nodejs.org/en/download/).
+1. [Install Node.js 10.x or newer](https://nodejs.org/en/download/).
- If you're new to installing Node, a tool like [nvm](https://github.com/creationix/nvm#install-script) can help you manage multiple version installations.
- You will need [Google Chrome](https://www.google.com/chrome/) to run browser-based tests locally.
1. Follow [Github's documentation](https://help.github.com/articles/fork-a-repo/) on setting up Git, forking and cloning.
diff --git a/.travis.yml b/.travis.yml
index adc8c5e8..26976b9c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -46,9 +46,6 @@ jobs:
- <<: *node
node_js: '10'
- - <<: *node
- node_js: '8'
-
- script: npm start test.bundle test.browser
# XXX: update when canvas supplies a prebuilt binary for Node.js v12.x
node_js: 10
@@ -83,9 +80,6 @@ jobs:
- <<: *smoke
node_js: '10'
- - <<: *smoke
- node_js: '8'
-
- stage: precache
script: true
diff --git a/appveyor.yml b/appveyor.yml
index 821ef903..af8559d7 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -15,7 +15,6 @@ environment:
- nodejs_version: '13'
- nodejs_version: '12'
- nodejs_version: '10'
- - nodejs_version: '8'
matrix:
fast_finish: true
install:
diff --git a/docs/README.md b/docs/README.md
index b9f8da6d..0aeef4d5 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -6,7 +6,7 @@ _So you wanna build the site?_
## Prerequisites
-- Node.js v8.x or greater
+- Node.js v10.x or greater
## Development
diff --git a/docs/index.md b/docs/index.md
index 1a67af10..1ef8793f 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -99,7 +99,7 @@ or as a development dependency for your project:
$ npm install --save-dev mocha
```
-> As of v7.0.0, Mocha requires Node.js v8.0.0 or newer.
+> As of v8.0.0, Mocha requires Node.js v10.0.0 or newer.
## Getting Started
diff --git a/package.json b/package.json
index 4c48449d..a3de8e44 100644
--- a/package.json
+++ b/package.json
@@ -34,7 +34,7 @@
"test": "./test"
},
"engines": {
- "node": ">= 8.0.0"
+ "node": ">= 10.0.0"
},
"scripts": {
"prepublishOnly": "nps test clean build",