Skip to content

Commit

Permalink
Fix 483 (#484)
Browse files Browse the repository at this point in the history
[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.
  • Loading branch information
aricart authored Feb 14, 2022
1 parent ac75b22 commit 0c57ae8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/natsjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/node_transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0c57ae8

Please sign in to comment.