From f8fbfe2650afd60034b7ae5062a031e4c1045176 Mon Sep 17 00:00:00 2001 From: Alberto Ricart Date: Wed, 27 Mar 2024 09:44:58 -0500 Subject: [PATCH] [BUMP] bumped NBC to 1.21.0 (#614) [BUMP] ci dependencies --- .github/workflows/natsjs.yml | 4 ++-- .github/workflows/npm.yml | 2 +- package-lock.json | 20 ++++++++++---------- package.json | 8 ++++---- src/node_transport.ts | 2 +- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/natsjs.yml b/.github/workflows/natsjs.yml index 02c257a..424663d 100644 --- a/.github/workflows/natsjs.yml +++ b/.github/workflows/natsjs.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: node-version: [21.x, 20.x, 18.x] - deno-version: [1.38.3] + deno-version: [1.41.3] runs-on: ubuntu-latest @@ -32,7 +32,7 @@ jobs: with: deno-version: ${{ matrix.deno-version }} - name: Set NATS Server Version - run: echo "NATS_VERSION=v2.10.6" >> $GITHUB_ENV + run: echo "NATS_VERSION=v2.10.12" >> $GITHUB_ENV - name: Get nats-server run: | wget "https://github.com/nats-io/nats-server/releases/download/$NATS_VERSION/nats-server-$NATS_VERSION-linux-amd64.zip" -O tmp.zip diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index 1d80fa5..8a833a9 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: node-version: [21.x] - deno-version: [1.38.3] + deno-version: [1.41.3] runs-on: ubuntu-latest permissions: diff --git a/package-lock.json b/package-lock.json index e40fd5e..bf6ec18 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,24 +1,24 @@ { "name": "nats", - "version": "2.20.0", + "version": "2.21.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "nats", - "version": "2.20.0", + "version": "2.21.0", "license": "Apache-2.0", "dependencies": { "nkeys.js": "1.1.0" }, "devDependencies": { - "@types/node": "^20.11.26", + "@types/node": "^20.11.30", "ava": "^5.3.x", "minimist": "^1.2.8", "nats-jwt": "^0.0.7", "nyc": "^15.1.0", "shx": "^0.3.3", - "typescript": "5.4.2" + "typescript": "5.4.3" }, "engines": { "node": ">= 14.0.0" @@ -570,9 +570,9 @@ } }, "node_modules/@types/node": { - "version": "20.11.26", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.26.tgz", - "integrity": "sha512-YwOMmyhNnAWijOBQweOJnQPl068Oqd4K3OFbTc6AHJwzweUwwWG3GIFY74OKks2PJUDkQPeddOQES9mLn1CTEQ==", + "version": "20.11.30", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.30.tgz", + "integrity": "sha512-dHM6ZxwlmuZaRmUPfv1p+KrdD1Dci04FbdEm/9wEMouFqxYoFl5aMkt0VMAUtYRQDyYvD41WJLukhq/ha3YuTw==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -3386,9 +3386,9 @@ } }, "node_modules/typescript": { - "version": "5.4.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.2.tgz", - "integrity": "sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==", + "version": "5.4.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.3.tgz", + "integrity": "sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==", "dev": true, "bin": { "tsc": "bin/tsc", diff --git a/package.json b/package.json index 0472e9b..10c6760 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nats", - "version": "2.20.0", + "version": "2.21.0", "description": "Node.js client for NATS, a lightweight, high-performance cloud native messaging system", "keywords": [ "nats", @@ -42,7 +42,7 @@ "cjs-jetstream": "deno run --allow-all ./bin/cjs-fix-imports.ts -o jetstream/ ./.deps/nats.deno/jetstream/", "cjs": "npm run cjs-nbc && npm run cjs-jetstream", "clean": "shx rm -Rf ./lib/* ./nats-base-client ./.deps", - "clone-nbc": "shx mkdir -p ./.deps && cd ./.deps && git clone --branch v1.20.1 https://github.com/nats-io/nats.deno.git", + "clone-nbc": "shx mkdir -p ./.deps && cd ./.deps && git clone --branch v1.21.0 https://github.com/nats-io/nats.deno.git", "fmt": "deno fmt ./src/ ./examples/ ./test/", "prepack": "npm run clone-nbc && npm run cjs && npm run check-package && npm run build", "ava": "nyc ava --verbose -T 60000", @@ -66,13 +66,13 @@ "nkeys.js": "1.1.0" }, "devDependencies": { - "@types/node": "^20.11.26", + "@types/node": "^20.11.30", "ava": "^5.3.x", "minimist": "^1.2.8", "nats-jwt": "^0.0.7", "nyc": "^15.1.0", "shx": "^0.3.3", - "typescript": "5.4.2" + "typescript": "5.4.3" }, "typings": "./lib/src/mod.d.ts", "ava": { diff --git a/src/node_transport.ts b/src/node_transport.ts index c8f51c4..2c06f2a 100644 --- a/src/node_transport.ts +++ b/src/node_transport.ts @@ -34,7 +34,7 @@ const { resolve } = require("path"); const { readFile, existsSync } = require("fs"); const dns = require("dns"); -const VERSION = "2.20.0"; +const VERSION = "2.21.0"; const LANG = "nats.js"; export class NodeTransport implements Transport {