From 0c57ae8841edf368952f79b56649f3ac8a33698e Mon Sep 17 00:00:00 2001 From: Alberto Ricart Date: Mon, 14 Feb 2022 16:48:36 -0600 Subject: [PATCH] Fix 483 (#484) [UPDATE] changed to use [nbc v1.6.1](https://github.com/nats-io/nats.deno/releases/tag/v1.6.1) [FIX] #483 - this change may increase the memory footprint on older versions of node. For more info see nbc release notes above. --- .github/workflows/natsjs.yml | 2 +- package.json | 4 ++-- src/node_transport.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/natsjs.yml b/.github/workflows/natsjs.yml index 4d10bf0..7fc571c 100644 --- a/.github/workflows/natsjs.yml +++ b/.github/workflows/natsjs.yml @@ -31,7 +31,7 @@ jobs: with: deno-version: 1.17.3 - name: Set NATS Server Version - run: echo "NATS_VERSION=v2.7.1" >> $GITHUB_ENV + run: echo "NATS_VERSION=v2.7.2" >> $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/package.json b/package.json index 3b511b1..96baf77 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nats", - "version": "2.6.0", + "version": "2.6.1", "description": "Node.js client for NATS, a lightweight, high-performance cloud native messaging system", "keywords": [ "nats", @@ -40,7 +40,7 @@ "build": "tsc", "cjs": "deno run --allow-all bin/cjs-fix-imports.ts -o nats-base-client/ ./.deps/nats.deno/nats-base-client/", "clean": "shx rm -Rf ./lib/* ./nats-base-client ./.deps", - "clone-nbc": "shx mkdir -p ./.deps && cd ./.deps && git clone --branch v1.6.0 https://github.com/nats-io/nats.deno.git", + "clone-nbc": "shx mkdir -p ./.deps && cd ./.deps && git clone --branch v1.6.1 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", diff --git a/src/node_transport.ts b/src/node_transport.ts index 10b36e0..0ad8af9 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.6.0"; +const VERSION = "2.6.1"; const LANG = "nats.js"; export class NodeTransport implements Transport {