Make minimum support node version 16

A number of libp2p packages do not support node 14 anymore.
This commit is contained in:
Franck Royer 2022-01-06 13:31:05 +11:00
parent defcf133e4
commit ddec271621
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
6 changed files with 7 additions and 5 deletions

View File

@ -14,7 +14,7 @@ jobs:
BUF_VERSION: '0.56.0'
strategy:
matrix:
node: [14]
node: [16]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:

View File

@ -21,7 +21,7 @@ jobs:
- name: Install NodeJS
uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '16'
- name: Cache npm cache
uses: actions/cache@v2

View File

@ -22,7 +22,7 @@ jobs:
- name: Install NodeJS
uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '16'
- name: Cache npm cache
uses: actions/cache@v2

View File

@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Test: Upgrade nim-waku node to v0.6.
- Minimum node version changed to 16.
### Fixed

3
package-lock.json generated
View File

@ -5,6 +5,7 @@
"requires": true,
"packages": {
"": {
"name": "js-waku",
"version": "0.14.2",
"license": "MIT OR Apache-2.0",
"dependencies": {
@ -80,7 +81,7 @@
"webpack-cli": "^4.9.0"
},
"engines": {
"node": ">=14"
"node": ">=16"
}
},
"node_modules/@babel/code-frame": {

View File

@ -50,7 +50,7 @@
"reset-hard": "git clean -dfx && git reset --hard && npm i && npm run build && for d in examples/*; do (cd $d; npm i); done"
},
"engines": {
"node": ">=14"
"node": ">=16"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^5.0.0",