Skip to content

Commit

Permalink
docs: update to at least Node.js v18 (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
hakanson authored Feb 6, 2025
1 parent 543cf67 commit 69f6d19
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Please provide a clear and concise description of what the bug is.
**Versions**
Which version of `aws-jwt-verify` are you using?
Are you using the library in Node.js or in the Web browser?
If Node.js, which version of Node.js are you using? (Should be at least 16)
If Node.js, which version of Node.js are you using? (Should be at least 18)
If Web browser, which web browser and which version of it are you using?
If using TypeScript, which version of TypeScript are you using? (Should be at least 4)

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ How can we help you?
**Versions**
Which version of `aws-jwt-verify` are you using?
Are you using the library in Node.js or in the Web browser?
If Node.js, which version of Node.js are you using? (Should be at least 16)
If Node.js, which version of Node.js are you using? (Should be at least 18)
If Web browser, which web browser and which version of it are you using?
If using TypeScript, which version of TypeScript are you using? (Should be at least 4)
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

`npm install aws-jwt-verify`

This library can be used with Node.js 16 or higher. If used with TypeScript, TypeScript 4 or higher is required.
This library can be used with Node.js 18 or higher. If used with TypeScript, TypeScript 4 or higher is required.

This library can also be used in Web browsers.

Expand Down Expand Up @@ -88,7 +88,7 @@ try {
## Philosophy of this library

- Do one thing and do it well. Focus solely on **verifying** JWTs.
- Pure **TypeScript** library that can be used in **Node.js** v16 and above (both CommonJS and ESM supported), as well in the modern evergreen Web browser.
- Pure **TypeScript** library that can be used in **Node.js** v18 and above (both CommonJS and ESM supported), as well in the modern evergreen Web browser.
- Support both **Amazon Cognito** as well as any other **OIDC-compatible IDP** as first class citizen.
- **0** runtime dependencies, batteries included. This library includes all necessary code to verify JWTs. E.g. it contains a simple (and pluggable) **HTTP** helper to fetch the **JWKS** from the JWKS URI.
- Opinionated towards the **best practices** as described by the IETF in [JSON Web Token Best Current Practices](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-jwt-bcp-02#section-3).
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@
"url": "https://github.com/awslabs/aws-jwt-verify.git"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
}
}

0 comments on commit 69f6d19

Please sign in to comment.