Skip to content

Commit f4e21b0

Browse files
committed
chore(deps): build updates
- example as pnpm-managed workspace - update dependencies - drop EOL node.js 18
1 parent aed5e44 commit f4e21b0

9 files changed

Lines changed: 1475 additions & 1428 deletions

File tree

.github/workflows/nodejs-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
node-version: [18.x, 20.x, 22.x]
16+
node-version: [20.x, 22.x]
1717

1818
steps:
1919
- name: Repository checkout

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Duo especially thanks [Lukas Hroch](https://github.com/lukashroch) for creating
1212

1313
## Getting Started
1414

15-
This library requires Node.js LTS (v18 or later).
15+
This library requires Node.js LTS (v20 or later).
1616

1717
To use this client in your existing developing environment, install it with your package manager of choice.
1818

example/.eslintrc.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

example/README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,13 @@ Navigate to example folder
1414
cd duo_universal_nodejs/example
1515
```
1616

17-
Install dependencies
18-
```
19-
pnpm install
20-
```
21-
2217
## Run the application
2318

2419
1. Copy the Client ID, Client Secret, and API Hostname values for your Web SDK application into `src/config.js`
2520

2621
2. Start the application
2722
```
28-
pnpm run start
23+
pnpm start
2924
```
3025

3126
3. Navigate to http://localhost:3000

example/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"keywords": [],
1111
"license": "MIT",
1212
"dependencies": {
13-
"body-parser": "^1.20.3",
13+
"body-parser": "^2.2.0",
1414
"@duosecurity/duo_universal": "file:..",
15-
"express": "^4.21.2",
15+
"express": "^5.1.0",
1616
"express-session": "^1.18.1",
1717
"nunjucks": "^3.2.4"
1818
}

0 commit comments

Comments
 (0)