Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support of Node v12 #4845

Merged
merged 1 commit into from Mar 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .browserslistrc
@@ -1,4 +1,4 @@
node >= 12
node >= 14
last 2 Chrome versions
last 2 Edge versions
last 2 Firefox versions
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/browser-test.yml
Expand Up @@ -14,17 +14,17 @@ jobs:
steps:
- uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: 'Cache node_modules'
uses: actions/cache@v2
with:
path: '~/.npm'
key: "ubuntu-latest-node-full-v14-${{ hashFiles('**/package-lock.json') }}"
key: "ubuntu-latest-node-full-v16-${{ hashFiles('**/package-lock.json') }}"
restore-keys: |
ubuntu-latest-node-full-v14-
ubuntu-latest-node-full-v16-
- name: Install Dependencies
run: npm ci
- name: Run Browser Tests
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/mocha.yml
Expand Up @@ -29,7 +29,6 @@ jobs:
- ubuntu-latest
- windows-2019
node:
- 12
- 14
- 16
- 17
Expand Down Expand Up @@ -74,7 +73,6 @@ jobs:
- ubuntu-latest
- windows-2019
node:
- 12
- 14
- 16
- 17
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Expand Up @@ -64,7 +64,7 @@ or as a development dependency for your project:
$ npm install --save-dev mocha
```

> As of v9.0.0, Mocha requires Node.js v12.0.0 or newer.
> As of v10.0.0, Mocha requires Node.js v14.0.0 or newer.

## Getting Started

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -44,7 +44,7 @@
"test": "./test"
},
"engines": {
"node": ">= 12.0.0"
"node": ">= 14.0.0"
},
"scripts": {
"prepublishOnly": "nps test clean build",
Expand Down