Skip to content

fix(deps): update dependency jwt-decode to v4#175

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/jwt-decode-4.x
Open

fix(deps): update dependency jwt-decode to v4#175
renovate[bot] wants to merge 1 commit intomainfrom
renovate/jwt-decode-4.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Aug 3, 2025

This PR contains the following updates:

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

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: Branch creation - Between 12:00 AM and 11:59 PM ( * 0-23 * * * ) in timezone America/New_York, Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, 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.

@vercel
Copy link
Copy Markdown

vercel bot commented Aug 3, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
admin-web-app Ready Ready Preview, Comment Mar 5, 2026 5:29pm

Request Review

@renovate renovate bot added the renovate label Aug 3, 2025
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from 75d9eb7 to 48eb8c0 Compare August 8, 2025 12:42
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from 48eb8c0 to 5568997 Compare August 10, 2025 20:22
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from 5568997 to 770e177 Compare August 13, 2025 14:09
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from 770e177 to 0496d43 Compare August 19, 2025 18:59
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from 0496d43 to ce413a9 Compare September 21, 2025 02:04
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from ce413a9 to bae9d59 Compare September 21, 2025 02:33
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from bae9d59 to ad548a1 Compare September 24, 2025 04:33
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from ad548a1 to 8ba76f1 Compare September 24, 2025 17:48
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from 8ba76f1 to e289eb0 Compare September 25, 2025 19:09
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from e289eb0 to f564e2e Compare October 21, 2025 10:09
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from f564e2e to 3208f63 Compare October 24, 2025 05:10
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from 3208f63 to ec556e7 Compare October 25, 2025 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants