Skip to content

Update dependency jwt-decode to v4 - #108

Open
renovate[bot] wants to merge 2 commits into
mainfrom
renovate/jwt-decode-4.x
Open

Update dependency jwt-decode to v4#108
renovate[bot] wants to merge 2 commits into
mainfrom
renovate/jwt-decode-4.x

Conversation

@renovate

@renovate renovate Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
jwt-decode ^3.1.2^4.0.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

auth0/jwt-decode (jwt-decode)

v4.0.0

Compare Source

Full Changelog

A new version of the library, including a couple of improvements:

  • No longer include a polyfill for atob, as this is supported in all major browsers (and node environments > 14).
  • Compile to ES2017, dropping support for anything that does not support ES2017 (which should be very limited according to caniuse)
  • Use Node's atob when running on node.
  • Drop support for Node 14 and 16, add support for Node 20.
  • Add support for package.json's exports field, for better CJS/ESM support
  • Reorganize build artifacts for better CJS/ESM support (cjs and esm needs to be their own directory with a cjs specific package.json file)
  • Drop manual UMD bundle creation in index.standalone.ts, but rely on rollup instead.
  • Infer JwtPayload and JwtHeader default types from the header argument by using overloads.

Even though some users might experience breaking changes, mostly because of the exports field, the majority should be able to update without making any changes, assuming the SDK is used in environments with support for atob.

Migration to v4.0.0

The jwtDecode function is now no longer the default export, and is instead provided as a named export. Make sure to update your code in places where you are importing this function:

-import jwtDecode from "jwt-decode";
+import { jwtDecode } from "jwt-decode";

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner July 20, 2026 18:10
@dtoxvanilla1991 dtoxvanilla1991 self-assigned this Jul 20, 2026
@renovate
renovate Bot force-pushed the renovate/jwt-decode-4.x branch 2 times, most recently from fe48d05 to d89f8b3 Compare July 24, 2026 00:23
@renovate
renovate Bot force-pushed the renovate/jwt-decode-4.x branch from d89f8b3 to eb368c4 Compare July 30, 2026 22:50
@renovate
renovate Bot force-pushed the renovate/jwt-decode-4.x branch from eb368c4 to 4bff911 Compare August 5, 2026 04:55
@victoreronmosele
victoreronmosele requested a review from a team as a code owner August 7, 2026 10:56
@victoreronmosele
victoreronmosele force-pushed the renovate/jwt-decode-4.x branch from 4071485 to 584abb9 Compare August 7, 2026 11:02
@renovate

renovate Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants