Skip to content

Commit fc64921

Browse files
committed
Drop node.js v8 support
Related mochajs#4163
1 parent 9c10ada commit fc64921

File tree

6 files changed

+7
-14
lines changed

6 files changed

+7
-14
lines changed

.github/CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Follow these steps to get going. If you are having trouble, don't be afraid to [
4242

4343
> 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)).
4444
45-
1. [Install Node.js 8.x or newer](https://nodejs.org/en/download/).
45+
1. [Install Node.js 10.x or newer](https://nodejs.org/en/download/).
4646
- 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.
4747
- You will need [Google Chrome](https://www.google.com/chrome/) to run browser-based tests locally.
4848
1. Follow [Github's documentation](https://help.github.com/articles/fork-a-repo/) on setting up Git, forking and cloning.

.travis.yml

-6
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ jobs:
4646
- <<: *node
4747
node_js: '10'
4848

49-
- <<: *node
50-
node_js: '8'
51-
5249
- script: npm start test.bundle test.browser
5350
# XXX: update when canvas supplies a prebuilt binary for Node.js v12.x
5451
node_js: 10
@@ -83,9 +80,6 @@ jobs:
8380
- <<: *smoke
8481
node_js: '10'
8582

86-
- <<: *smoke
87-
node_js: '8'
88-
8983
- stage: precache
9084
script: true
9185

appveyor.yml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ environment:
1515
- nodejs_version: '13'
1616
- nodejs_version: '12'
1717
- nodejs_version: '10'
18-
- nodejs_version: '8'
1918
matrix:
2019
fast_finish: true
2120
install:

docs/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ _So you wanna build the site?_
66

77
## Prerequisites
88

9-
- Node.js v8.x or greater
9+
- Node.js v10.x or greater
1010

1111
## Development
1212

docs/index.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ or as a development dependency for your project:
9898
$ npm install --save-dev mocha
9999
```
100100

101-
> As of v7.0.0, Mocha requires Node.js v8.0.0 or newer.
101+
> As of v7.0.0, Mocha requires Node.js v10.0.0 or newer.
102102
103103
## Getting Started
104104

@@ -1608,17 +1608,17 @@ mocha.setup({
16081608

16091609
### Browser-specific Option(s)
16101610

1611-
Browser Mocha supports many, but not all [cli options](#command-line-usage).
1611+
Browser Mocha supports many, but not all [cli options](#command-line-usage).
16121612
To use a [cli option](#command-line-usage) that contains a "-", please convert the option to camel-case, (eg. `check-leaks` to `checkLeaks`).
16131613

16141614
#### Options that differ slightly from [cli options](#command-line-usage):
16151615

1616-
`reporter` _{string|constructor}_
1616+
`reporter` _{string|constructor}_
16171617
You can pass a reporter's name or a custom reporter's constructor. You can find **recommended** reporters for the browser [here](#reporting). It is possible to use [built-in reporters](#reporters) as well. Their employment in browsers is neither recommended nor supported, open the console to see the test results.
16181618

16191619
#### Options that _only_ function in browser context:
16201620

1621-
`noHighlighting` _{boolean}_
1621+
`noHighlighting` _{boolean}_
16221622
If set to `true`, do not attempt to use syntax highlighting on output test code.
16231623

16241624
### Reporting

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@
526526
"test": "./test"
527527
},
528528
"engines": {
529-
"node": ">= 8.0.0"
529+
"node": ">= 10.0.0"
530530
},
531531
"scripts": {
532532
"prepublishOnly": "nps test clean build",

0 commit comments

Comments
 (0)