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

Update dependency jwt-decode to v4 #870

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 - "after 9am every weekday,before 5pm every weekday" in timezone Europe/London, 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.

@renovate renovate bot force-pushed the renovate-jwt-decode-4.x branch 3 times, most recently from 2e847b7 to 6752e6e Compare December 4, 2023 10:19
@renovate renovate bot force-pushed the renovate-jwt-decode-4.x branch 6 times, most recently from 385f6e7 to 62c770b Compare December 18, 2023 10:06
@renovate renovate bot force-pushed the renovate-jwt-decode-4.x branch 7 times, most recently from 3e618d1 to 6aef168 Compare January 9, 2024 17:31
@renovate renovate bot force-pushed the renovate-jwt-decode-4.x branch 4 times, most recently from 779f0b2 to 767824f Compare February 2, 2024 13:48
@renovate renovate bot force-pushed the renovate-jwt-decode-4.x branch 3 times, most recently from fb0b8c6 to 80e18e6 Compare February 7, 2024 17:25
@renovate renovate bot force-pushed the renovate-jwt-decode-4.x branch from 80e18e6 to cdb8e44 Compare February 12, 2024 09:21
@renovate renovate bot force-pushed the renovate-jwt-decode-4.x branch 2 times, most recently from 02a9b2c to a214b52 Compare February 21, 2024 16:38
@renovate renovate bot force-pushed the renovate-jwt-decode-4.x branch 2 times, most recently from edafa84 to fea063e Compare March 12, 2024 10:05
@renovate renovate bot force-pushed the renovate-jwt-decode-4.x branch 2 times, most recently from c7ac799 to 6efec1b Compare April 17, 2024 16:11
@renovate renovate bot force-pushed the renovate-jwt-decode-4.x branch 12 times, most recently from 5edb45b to 6558055 Compare May 7, 2024 09:47
@renovate renovate bot force-pushed the renovate-jwt-decode-4.x branch from 6558055 to 362c12c Compare May 21, 2024 11:07
@renovate renovate bot force-pushed the renovate-jwt-decode-4.x branch 2 times, most recently from 1cb070b to 33cae7a Compare June 3, 2024 15:22
@renovate renovate bot force-pushed the renovate-jwt-decode-4.x branch 4 times, most recently from df79195 to 78fd5a5 Compare June 7, 2024 09:31
@renovate renovate bot force-pushed the renovate-jwt-decode-4.x branch 2 times, most recently from 67b69f4 to 55eb2eb Compare June 17, 2024 13:15
@renovate renovate bot force-pushed the renovate-jwt-decode-4.x branch 3 times, most recently from e6791a2 to 007682f Compare June 27, 2024 14:12
@renovate renovate bot force-pushed the renovate-jwt-decode-4.x branch 2 times, most recently from 7b525fc to ea133c2 Compare July 11, 2024 12:43
@renovate renovate bot force-pushed the renovate-jwt-decode-4.x branch from ea133c2 to 225ee1a Compare September 17, 2024 12:26
@renovate renovate bot force-pushed the renovate-jwt-decode-4.x branch from 225ee1a to 6e4befa Compare November 6, 2024 12:30
@renovate renovate bot force-pushed the renovate-jwt-decode-4.x branch from 6e4befa to 56d8617 Compare November 14, 2024 12:21
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.

0 participants