diff --git a/.github/workflows/natsjs.yml b/.github/workflows/natsjs.yml index bcf81965..dc248fc5 100644 --- a/.github/workflows/natsjs.yml +++ b/.github/workflows/natsjs.yml @@ -13,8 +13,8 @@ jobs: test: strategy: matrix: - node-version: [21.x, 20.x, 18.x] - deno-version: [1.43.1] + node-version: [22.x, 20.x, 18.x] + deno-version: [1.43.5] runs-on: ubuntu-latest diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index 801e6175..57a08d8b 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -8,8 +8,8 @@ jobs: test: strategy: matrix: - node-version: [21.x] - deno-version: [1.43.1] + node-version: [22.x] + deno-version: [1.43.5] runs-on: ubuntu-latest permissions: diff --git a/package-lock.json b/package-lock.json index d294b97d..c8e79dc2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,18 +1,18 @@ { "name": "nats", - "version": "2.25.0", + "version": "2.26.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "nats", - "version": "2.25.0", + "version": "2.26.0", "license": "Apache-2.0", "dependencies": { "nkeys.js": "1.1.0" }, "devDependencies": { - "@types/node": "^20.12.8", + "@types/node": "^20.12.12", "ava": "^5.3.x", "minimist": "^1.2.8", "nats-jwt": "^0.0.9", @@ -570,9 +570,9 @@ } }, "node_modules/@types/node": { - "version": "20.12.8", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.8.tgz", - "integrity": "sha512-NU0rJLJnshZWdE/097cdCBbyW1h4hEg0xpovcoAQYHl8dnEyp/NAOiE45pvc+Bd1Dt+2r94v2eGFpQJ4R7g+2w==", + "version": "20.12.12", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.12.tgz", + "integrity": "sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==", "dev": true, "dependencies": { "undici-types": "~5.26.4" diff --git a/package.json b/package.json index 0eb1d42c..b6875bfc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nats", - "version": "2.25.0", + "version": "2.26.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.25.0 https://github.com/nats-io/nats.deno.git", + "clone-nbc": "shx mkdir -p ./.deps && cd ./.deps && git clone --branch v1.26.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,7 +66,7 @@ "nkeys.js": "1.1.0" }, "devDependencies": { - "@types/node": "^20.12.8", + "@types/node": "^20.12.12", "ava": "^5.3.x", "minimist": "^1.2.8", "nats-jwt": "^0.0.9", diff --git a/src/node_transport.ts b/src/node_transport.ts index 173a58b7..343f8259 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.25.0"; +const VERSION = "2.26.0"; const LANG = "nats.js"; export class NodeTransport implements Transport {