From f4cfd9ef8b0fa0df7e16308796f22eddd78b5916 Mon Sep 17 00:00:00 2001 From: Luca8991 Date: Thu, 18 Jan 2024 20:57:06 +0100 Subject: [PATCH 1/4] chore: update supported node engines --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9e46ab2..0b55fb9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,7 +36,7 @@ "util": "0.12.4" }, "engines": { - "node": "^14 || ^16 || ^18" + "node": "^12 || ^14 || ^16 || >=17" }, "peerDependencies": { "@dfinity/agent": "^0.20.1", @@ -6747,9 +6747,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001517", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001517.tgz", - "integrity": "sha512-Vdhm5S11DaFVLlyiKu4hiUTkpZu+y1KA/rZZqVQfOD5YdDT/eQKlkt7NaE0WGOFgX32diqt9MiP9CAiFeRklaA==", + "version": "1.0.30001579", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001579.tgz", + "integrity": "sha512-u5AUVkixruKHJjw/pj9wISlcMpgFWzSrczLZbrqBSxukQixmg0SJ5sZTpvaFvxU0HoQKd4yoyAogyrAz9pzJnA==", "dev": true, "funding": [ { diff --git a/package.json b/package.json index dad52f7..09c0cb0 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "util": "0.12.4" }, "engines": { - "node": "^14 || ^16 || ^18" + "node": "^12 || ^14 || ^16 || >=17" }, "browserslist": [ "last 2 chrome version", From 4ecfe4c573e2e9b5724025614b089a54ea9f6166 Mon Sep 17 00:00:00 2001 From: Luca8991 Date: Thu, 18 Jan 2024 21:00:15 +0100 Subject: [PATCH 2/4] chore: update gh actions versions --- .github/workflows/release.yml | 12 ++++++------ .github/workflows/tests.yml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8abd3cd..f8bfa21 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,13 +18,13 @@ jobs: type: ${{ steps.npm-publish.outputs.type }} version: ${{ steps.npm-publish.outputs.version }} steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: "18" + node-version: "20" - run: npm ci - run: npm run build - - uses: JS-DevTools/npm-publish@v2 + - uses: JS-DevTools/npm-publish@v3 id: npm-publish with: token: ${{ secrets.NPM_TOKEN }} @@ -37,7 +37,7 @@ jobs: version: ${{ steps.tag_version.outputs.new_tag }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Bump version and push tag id: tag_version uses: mathieudutour/github-tag-action@v6.1 @@ -50,7 +50,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Release uses: softprops/action-gh-release@v1 with: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a2aab2b..7ffc0e1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: "npm" cache-dependency-path: "package-lock.json" - name: Install dependencies From a749bbb4d5675b697aa493b9b70cdd0cb857cc80 Mon Sep 17 00:00:00 2001 From: Luca8991 Date: Thu, 18 Jan 2024 21:00:38 +0100 Subject: [PATCH 3/4] chore: bump to version v0.3.3 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0b55fb9..87edcb6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ic-websocket-js", - "version": "0.3.2", + "version": "0.3.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ic-websocket-js", - "version": "0.3.2", + "version": "0.3.3", "license": "MIT", "dependencies": { "loglevel": "^1.8.1" diff --git a/package.json b/package.json index 09c0cb0..19eee5b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ic-websocket-js", - "version": "0.3.2", + "version": "0.3.3", "description": "IC WebSocket on the Internet Computer", "license": "MIT", "repository": { From 7ab77fbaceef29d67a46bb9ac1f43f41c4eb0e21 Mon Sep 17 00:00:00 2001 From: Luca8991 Date: Thu, 18 Jan 2024 21:05:18 +0100 Subject: [PATCH 4/4] chore: remove support for node v12 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 87edcb6..afdfda5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,7 +36,7 @@ "util": "0.12.4" }, "engines": { - "node": "^12 || ^14 || ^16 || >=17" + "node": "^14 || ^16 || >=17" }, "peerDependencies": { "@dfinity/agent": "^0.20.1", diff --git a/package.json b/package.json index 19eee5b..92d3c12 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "util": "0.12.4" }, "engines": { - "node": "^12 || ^14 || ^16 || >=17" + "node": "^14 || ^16 || >=17" }, "browserslist": [ "last 2 chrome version",