From f8010430348903e901f8f8dd8db55646a538776a Mon Sep 17 00:00:00 2001 From: achingbrain Date: Thu, 2 Dec 2021 11:42:09 +0000 Subject: [PATCH] chore: update peer-id Pulls in the new peer-id Needs a new release of `libp2p-floodsub` and `@chainsafe/libp2p-noise` though they are just dev deps so this could go out without them. BREAKING CHANGE: requires node 15+ --- .github/workflows/main.yml | 13 +++++++++++-- package.json | 12 ++++++------ 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d5f2b811..576af4dc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,6 +12,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: lts/* - run: npm install - run: npm run lint - run: npm run prebuild @@ -22,11 +25,11 @@ jobs: strategy: matrix: os: [windows-latest, ubuntu-latest, macos-latest] - node: [14] + node: [16] fail-fast: false steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v2 with: node-version: ${{ matrix.node }} - run: npm install @@ -38,6 +41,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: lts/* - run: npm install - run: npm run prebuild - run: npx aegir test -t browser -t webworker --bail @@ -46,6 +52,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: lts/* - run: npm install - run: npm run prebuild - run: npx aegir test -t browser -t webworker --bail -- --browser firefox diff --git a/package.json b/package.json index e9a7d921..faeb6542 100644 --- a/package.json +++ b/package.json @@ -44,8 +44,8 @@ "denque": "^1.5.0", "err-code": "^3.0.1", "it-pipe": "^1.1.0", - "libp2p-interfaces": "^1.1.0", - "peer-id": "^0.15.3", + "libp2p-interfaces": "^2.0.1", + "peer-id": "^0.16.0", "protobufjs": "^6.11.2", "time-cache": "^0.3.0", "uint8arrays": "^3.0.0" @@ -56,7 +56,7 @@ "@types/mocha": "^8.2.2", "@typescript-eslint/eslint-plugin": "^3.0.2", "@typescript-eslint/parser": "^3.0.2", - "aegir": "^35.0.1", + "aegir": "^36.0.2", "benchmark": "^2.1.4", "buffer": "^6.0.3", "chai": "^4.2.0", @@ -71,9 +71,9 @@ "eslint-plugin-promise": "^4.2.1", "eslint-plugin-standard": "^4.0.1", "it-pair": "^1.0.0", - "libp2p": "^0.32.0", - "libp2p-floodsub": "^0.27.0", - "libp2p-interfaces-compliance-tests": "^1.0.1", + "libp2p": "^0.35.0", + "libp2p-floodsub": "^0.28.0", + "libp2p-interfaces-compliance-tests": "^2.0.3", "libp2p-mplex": "^0.10.3", "libp2p-websockets": "^0.16.1", "lodash": "^4.17.15",