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 #442

Closed
wants to merge 1 commit into from

Conversation

descope[bot]
Copy link
Contributor

@descope descope bot commented Mar 19, 2024

This PR contains the following updates:

Package Type Update Change
jwt-decode dependencies major 3.1.2 -> 4.0.0

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 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 has been generated by Renovate Bot.

@descope descope bot added the renovate label Mar 19, 2024
Copy link

vercel bot commented Mar 19, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
access-key-management-widget ❌ Failed (Inspect) Jul 9, 2024 5:13am
audit-management-widget ❌ Failed (Inspect) Jul 9, 2024 5:13am
role-management-widget ❌ Failed (Inspect) Jul 9, 2024 5:13am
user-management-widget ❌ Failed (Inspect) Jul 9, 2024 5:13am
user-profile-widget ❌ Failed (Inspect) Jul 9, 2024 5:13am

@descope descope bot force-pushed the renovate/jwt-decode-4.x branch from e88d3a8 to 11c6f77 Compare March 19, 2024 13:17
@descope descope bot force-pushed the renovate/jwt-decode-4.x branch 2 times, most recently from 4cf3087 to f493a16 Compare March 19, 2024 13:58
@descope descope bot force-pushed the renovate/jwt-decode-4.x branch from f493a16 to 155a037 Compare March 19, 2024 19:43
@descope descope bot force-pushed the renovate/jwt-decode-4.x branch from 155a037 to 5b6bb75 Compare March 19, 2024 21:35
@descope descope bot force-pushed the renovate/jwt-decode-4.x branch from 5b6bb75 to 2f09023 Compare March 19, 2024 23:20
@descope descope bot force-pushed the renovate/jwt-decode-4.x branch from 2f09023 to 7c1ce62 Compare March 20, 2024 01:05
@descope descope bot force-pushed the renovate/jwt-decode-4.x branch from 7c1ce62 to b15517b Compare March 20, 2024 02:47
@descope descope bot force-pushed the renovate/jwt-decode-4.x branch from dfaf37f to ea1bf86 Compare June 9, 2024 09:18
@descope descope bot force-pushed the renovate/jwt-decode-4.x branch from ea1bf86 to e9fb802 Compare June 10, 2024 10:44
@descope descope bot force-pushed the renovate/jwt-decode-4.x branch from e9fb802 to f9e94cb Compare June 25, 2024 21:42
@descope descope bot changed the title fix(deps): update dependency jwt-decode to v4 chore(deps): update dependency jwt-decode to v4 Jul 9, 2024
@descope descope bot force-pushed the renovate/jwt-decode-4.x branch from f9e94cb to 9b7006b Compare July 9, 2024 04:51
@descope descope bot changed the title chore(deps): update dependency jwt-decode to v4 fix(deps): update dependency jwt-decode to v4 Jul 9, 2024
@dorsha dorsha closed this Jul 9, 2024
@dorsha dorsha deleted the renovate/jwt-decode-4.x branch July 9, 2024 11:34
@descope
Copy link
Contributor Author

descope bot commented Jul 9, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 4.x releases. But if you manually upgrade to 4.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

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.

None yet

1 participant