Skip to content

Commit

Permalink
[BUMP] nbc to v1.24.0, client version, jwt to v0.0.9 and CI dependenc…
Browse files Browse the repository at this point in the history
…ies (#619)
  • Loading branch information
aricart committed May 3, 2024
1 parent f53e2aa commit 2e751cd
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 37 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/natsjs.yml
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
node-version: [21.x, 20.x, 18.x]
deno-version: [1.41.3]
deno-version: [1.43.1]

runs-on: ubuntu-latest

Expand All @@ -32,7 +32,7 @@ jobs:
with:
deno-version: ${{ matrix.deno-version }}
- name: Set NATS Server Version
run: echo "NATS_VERSION=v2.10.12" >> $GITHUB_ENV
run: echo "NATS_VERSION=v2.10.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 Down
2 changes: 1 addition & 1 deletion .github/workflows/npm.yml
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
node-version: [21.x]
deno-version: [1.41.3]
deno-version: [1.43.1]

runs-on: ubuntu-latest
permissions:
Expand Down
42 changes: 15 additions & 27 deletions package-lock.json

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

10 changes: 5 additions & 5 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "nats",
"version": "2.23.0",
"version": "2.24.0",
"description": "Node.js client for NATS, a lightweight, high-performance cloud native messaging system",
"keywords": [
"nats",
Expand Down Expand Up @@ -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.23.0 https://github.com/nats-io/nats.deno.git",
"clone-nbc": "shx mkdir -p ./.deps && cd ./.deps && git clone --branch v1.24.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 @@ -66,13 +66,13 @@
"nkeys.js": "1.1.0"
},
"devDependencies": {
"@types/node": "^20.11.30",
"@types/node": "^20.12.8",
"ava": "^5.3.x",
"minimist": "^1.2.8",
"nats-jwt": "^0.0.7",
"nats-jwt": "^0.0.9",
"nyc": "^15.1.0",
"shx": "^0.3.3",
"typescript": "5.4.3"
"typescript": "5.4.5"
},
"typings": "./lib/src/mod.d.ts",
"ava": {
Expand Down
4 changes: 2 additions & 2 deletions src/node_transport.ts
@@ -1,5 +1,5 @@
/*
* Copyright 2020-2023 The NATS Authors
* Copyright 2020-2024 The NATS Authors
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand Down Expand Up @@ -34,7 +34,7 @@ const { resolve } = require("path");
const { readFile, existsSync } = require("fs");
const dns = require("dns");

const VERSION = "2.23.0";
const VERSION = "2.24.0";
const LANG = "nats.js";

export class NodeTransport implements Transport {
Expand Down

0 comments on commit 2e751cd

Please sign in to comment.