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

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 27, 2023

Mend Renovate

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 - "every weekend" in timezone Europe/Paris, 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 Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Oct 27, 2023
@socket-security
Copy link

Updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
jwt-decode 3.1.2...4.0.0 None +0/-0 13.9 kB auth0-oss

@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from f14ec59 to 0c346a3 Compare October 28, 2023 13:00
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from 0c346a3 to d738447 Compare October 28, 2023 13:25
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from d738447 to 6d67cbc Compare October 28, 2023 13:26
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from 6d67cbc to 330fdee Compare October 30, 2023 12:42
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from 330fdee to ca44d08 Compare October 30, 2023 14:43
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from ca44d08 to fb9e010 Compare October 30, 2023 14:44
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from fb9e010 to b7b4082 Compare November 6, 2023 22:05
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from b7b4082 to f9f5985 Compare November 6, 2023 22:06
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from f9f5985 to dbc00e2 Compare November 6, 2023 22:44
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from dbc00e2 to 9ccf731 Compare November 7, 2023 18:18
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from 9ccf731 to cdb9313 Compare November 7, 2023 18:19
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from cdb9313 to 5b29a0e Compare November 8, 2023 21:20
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from 5b29a0e to e6e88dd Compare November 8, 2023 21:20
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from e6e88dd to fabce90 Compare November 9, 2023 09:27
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from f25d1ac to 4dad83f Compare December 11, 2023 03:06
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from 4dad83f to cfd31ef Compare December 11, 2023 15:47
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from cfd31ef to 4f4c660 Compare December 11, 2023 15:49
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from 4f4c660 to 70ca2e2 Compare December 11, 2023 15:56
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from 70ca2e2 to b7db59e Compare December 11, 2023 15:58
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from b7db59e to d0fe4df Compare December 11, 2023 21:56
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from d0fe4df to b293207 Compare December 11, 2023 22:45
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from b293207 to a5478d3 Compare December 12, 2023 17:26
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from a5478d3 to 4356a7e Compare December 12, 2023 17:27
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from 4356a7e to 8f4926d Compare December 13, 2023 15:22
@renovate renovate bot force-pushed the renovate/jwt-decode-4.x branch from 8f4926d to f29356a Compare December 13, 2023 15:25
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@pYassine pYassine closed this Dec 14, 2023
Copy link
Contributor Author

renovate bot commented Dec 14, 2023

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.

@renovate renovate bot deleted the renovate/jwt-decode-4.x branch December 14, 2023 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants