Update npm dependencies, drop Node.js 14 support

* eslint 8.56.0 --> 8.57.0 (No longer supports Node.js 14)
* eslint-config-wikimedia 0.26.0 --> 0.27.0
* mocha 10.2.0 --> 10.4.0

Drop Node.js 14 support, and add support for Node.js 20.

Bug: https://phabricator.wikimedia.org/T360422
This commit is contained in:
Abijeet
2024-04-12 18:45:47 +05:30
committed by Kartik Mistry
parent a4bc253c92
commit 1ee116b1d8
3 changed files with 603 additions and 698 deletions

View File

@@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-v: [14.x, 16.x, 18.x]
node-v: [16.x, 18.x, 20.x]
steps:
- name: Checkout
uses: actions/checkout@v2

1263
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -22,9 +22,9 @@
],
"main": "src/index.js",
"devDependencies": {
"eslint": "8.56.0",
"eslint-config-wikimedia": "0.26.0",
"mocha": "10.2.0"
"eslint": "8.57.0",
"eslint-config-wikimedia": "0.27.0",
"mocha": "10.4.0"
},
"repository": {
"type": "git",