-
Notifications
You must be signed in to change notification settings - Fork 111
Update dependency jose to v6 #426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚩 CJS export path may break on Node.js < 22 with jose v6 The package declares a CJS export at (Refers to lines 22-25) Was this helpful? React with 👍 or 👎 to provide feedback.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚩 No changeset included for the jose major version bump The three Was this helpful? React with 👍 or 👎 to provide feedback. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -46,7 +46,7 @@ | |
| "@bufbuild/protobuf": "^1.10.1", | ||
| "@livekit/protocol": "^1.46.3", | ||
| "camelcase-keys": "^9.0.0", | ||
| "jose": "^5.1.2" | ||
| "jose": "^6.0.0" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔴 Package engines field claims Node.js >=18 but jose v6 drops Node.js 18 support and breaks CJS on Node <22 Updating jose to Impact on CJS consumersThe package exports a CJS entry point at The Prompt for agentsWas this helpful? React with 👍 or 👎 to provide feedback.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 In jose v6, the Prompt for agentsWas this helpful? React with 👍 or 👎 to provide feedback.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚩 engines field claims Node.js 18 support but jose v6 drops it The Was this helpful? React with 👍 or 👎 to provide feedback. |
||
| }, | ||
| "devDependencies": { | ||
| "@changesets/cli": "^2.27.1", | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚩 No code changes accompany the major version bump
This PR bumps jose from v5 to v6 (a major version) but includes zero code changes. Major version bumps typically include breaking changes. While the existing tests may pass if all used APIs remain compatible, the lack of any accompanying code changes warrants careful review of the jose v6 migration guide to ensure no behavioral changes affect JWT generation or verification.
Was this helpful? React with 👍 or 👎 to provide feedback.