Skip to content
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

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 27, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
jwt-decode ^3.1.2 -> ^4.0.0 age adoption passing 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 jwtDecodefrom "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 from 0648de1 to 70aa646 Compare August 19, 2024 08:41
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch 2 times, most recently from 98d138d to ee6b7cd Compare September 1, 2024 15:17
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch 3 times, most recently from 238b7ea to 7e73c53 Compare September 9, 2024 12:46
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from 7e73c53 to b490b7d Compare September 11, 2024 19:19
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch 5 times, most recently from e91365d to 60ef452 Compare September 26, 2024 04:04
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from 60ef452 to f8960a9 Compare October 8, 2024 00:29
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch 4 times, most recently from 8322d40 to 319068b Compare October 23, 2024 18:40
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch 4 times, most recently from 9eab3f9 to afd6a8e Compare November 3, 2024 06:17
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch 4 times, most recently from bfc9f89 to 6e06c0d Compare November 28, 2024 16:03
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch 3 times, most recently from 2791924 to abab44b Compare December 10, 2024 14:38
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from abab44b to 77b6ea5 Compare December 10, 2024 18:26
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