Skip to content

Commit

Permalink
[BUMP] nbc to 1.12.0, bumped client version to 2.12.0, bumped CI deps (
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart authored Feb 9, 2023
1 parent 63e7580 commit 8a07054
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 86 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/natsjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ jobs:

steps:
- name: Checkout NATS.js
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Use Deno Version ${{ matrix.deno-version }}
uses: denolib/setup-deno@master
uses: denoland/setup-deno@v1.1.1
with:
deno-version: 1.29.2
deno-version: 1.30.3
- name: Set NATS Server Version
run: echo "NATS_VERSION=v2.9.11" >> $GITHUB_ENV
run: echo "NATS_VERSION=v2.9.14" >> $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 All @@ -46,7 +46,7 @@ jobs:
if: matrix.node-version == '18.x'
run: npm run coveralls
- name: Upload coverage
uses: coverallsapp/github-action@v1.1.2
uses: coverallsapp/github-action@1.1.3
if: matrix.node-version == '18.x'
with:
github-token: ${{ secrets.github_token }}
Expand Down
127 changes: 55 additions & 72 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nats",
"version": "2.11.0",
"version": "2.12.0",
"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.11.0 https://github.com/nats-io/nats.deno.git",
"clone-nbc": "shx mkdir -p ./.deps && cd ./.deps && git clone --branch v1.12.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",
Expand All @@ -57,18 +57,18 @@
"node": ">= 14.0.0"
},
"dependencies": {
"nkeys.js": "1.0.4",
"nkeys.js": "1.0.5",
"web-streams-polyfill": "^3.2.1"
},
"devDependencies": {
"@types/node": "^18.11.18",
"ava": "^5.1.0",
"@types/node": "^18.13.x",
"ava": "^5.2.x",
"minimist": "^1.2.7",
"nats-jwt": "^0.0.3-1",
"nats-jwt": "^0.0.5",
"nyc": "^15.1.0",
"shx": "^0.3.3",
"tslint": "^6.1.3",
"typescript": "^4.9.x"
"typescript": "^4.9.5"
},
"typings": "./lib/src/mod.d.ts",
"ava": {
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.11.0";
const VERSION = "2.12.0";
const LANG = "nats.js";

export class NodeTransport implements Transport {
Expand Down

0 comments on commit 8a07054

Please sign in to comment.