Skip to content

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

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

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

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 27, 2023

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 - 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 force-pushed the renovate/jwt-decode-4.x branch 5 times, most recently from 5039825 to d41c39b Compare November 6, 2023 16:53
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch 2 times, most recently from b87ea26 to 1da1ba0 Compare November 8, 2023 12:20
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch 7 times, most recently from 8631277 to 2da0597 Compare December 5, 2023 01:26
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch 6 times, most recently from efe847d to 806292a Compare December 13, 2023 03:09
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch 2 times, most recently from 19eaa80 to 635d380 Compare December 18, 2023 01:46
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch 3 times, most recently from 5610ed9 to 0bee12e Compare December 30, 2023 03:35
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch 4 times, most recently from 7afa1fb to f27eb4e Compare January 11, 2024 09:25
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch 4 times, most recently from 8a5ac7a to 9a98120 Compare July 22, 2025 18:35
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch 2 times, most recently from 9ffa32a to 361c7fd Compare July 24, 2025 20:05
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch 2 times, most recently from 07e4b9a to 788380f Compare August 12, 2025 20:51
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from 788380f to 38a579f Compare September 18, 2025 12:46
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch 2 times, most recently from 0e704e3 to 0b3cc0a Compare October 6, 2025 14:08
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch 3 times, most recently from 1bdca25 to 957b6f3 Compare November 3, 2025 07:37
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from 957b6f3 to 8407637 Compare November 12, 2025 15:53
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch 4 times, most recently from fee82aa to db7a565 Compare December 3, 2025 05:09
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch 2 times, most recently from accabe3 to d294891 Compare December 14, 2025 06:38
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from d294891 to 7905dad Compare December 16, 2025 15:20
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch 4 times, most recently from 64d22db to a6e2509 Compare January 15, 2026 22:44
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from a6e2509 to a7eea39 Compare January 21, 2026 22:39
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from a7eea39 to 63ba1c0 Compare February 3, 2026 15:17
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from 63ba1c0 to 3af7240 Compare February 5, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants