Skip to content

Commit 3d6d894

Browse files
authored
Bump Node.js and Deno versions, update dependencies (#48)
Upgrade Node.js to 24.x and Deno to 2.5.x in CI workflow. Update various dependencies, including `typescript`, `typedoc`, and others, for improved compatibility and performance. Add new imports and dependencies where necessary.
1 parent b7b6d72 commit 3d6d894

File tree

10 files changed

+166
-142
lines changed

10 files changed

+166
-142
lines changed

.github/workflows/jwtjs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
test:
1414
strategy:
1515
matrix:
16-
deno-version: [2.1.x]
16+
deno-version: [2.5.x]
1717
environment: CI
1818
runs-on: ubuntu-latest
1919
steps:
@@ -30,4 +30,4 @@ jobs:
3030
wget "https://github.com/nats-io/nsc/releases/latest/download/nsc-linux-amd64.zip" -O tmp.zip
3131
unzip tmp.zip
3232
- name: Run Tests
33-
run: deno test --allow-all --unstable --failfast --coverage=./cov
33+
run: deno test --allow-all --failfast --coverage=./cov

.github/workflows/npm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
test:
99
strategy:
1010
matrix:
11-
node-version: [23.x]
12-
deno-version: [2.1.x]
11+
node-version: [24.x]
12+
deno-version: [2.5.x]
1313

1414
runs-on: ubuntu-latest
1515
permissions:

bin/cjs-fix-imports.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,8 @@
1313
* limitations under the License.
1414
*/
1515

16-
import { parseArgs } from "jsr:@std/cli@0.224.3/parse-args";
17-
import {
18-
basename,
19-
extname,
20-
join,
21-
resolve,
22-
} from "https://deno.land/std@0.136.0/path/mod.ts";
16+
import { parseArgs } from "@std/cli";
17+
import { basename, extname, join, resolve } from "@std/path";
2318

2419
const argv = parseArgs(
2520
Deno.args,

deno.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@
1616
},
1717
"imports": {
1818
"@std/assert": "jsr:@std/assert@^1.0.11",
19+
"@std/cli": "jsr:@std/cli@^1.0.11",
1920
"@std/fs": "jsr:@std/fs@^1.0.14",
2021
"@std/path": "jsr:@std/path@^1.0.8",
21-
"@nats-io/nkeys": "jsr:@nats-io/nkeys@2.0.3"
22+
"@nats-io/nkeys": "jsr:@nats-io/nkeys@2.0.3",
23+
"@nats-io/nuid": "jsr:@nats-io/nuid@^2.0.2"
2224
},
2325
"lint": {
2426
"exclude": ["docs/", "lib/", "debug/", "cjs_src/"]

deno.lock

Lines changed: 82 additions & 68 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dependencies.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
This file lists the dependencies used in this repository.
44

5-
| Dependency | License |
6-
| ---------------- | ------------ |
7-
| "nkeys.js@1.1.0" | "Apache-2.0" |
5+
| Dependency | License |
6+
| -------------------- | ---------- |
7+
| @nats-io/nkeys@2.0.3 | Apache-2.0 |
8+
| @nats-io/nuid@^2.0.2 | Apache-2.0 |
9+
| Dev Dependencies | |
10+
| @types/node | MIT |
11+
| shx | MIT |
12+
| typedoc | Apache-2.0 |
13+
| typescript | Apache-2.0 |

0 commit comments

Comments
 (0)