Update dependency jwt-decode to v4 #143

Open
renovate_bot wants to merge 1 commit from renovate/jwt-decode-4.x into master
renovate_bot commented 2023-10-27 10:03:57 +00:00 (Migrated from jonasled.dev)

This MR 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 MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

This MR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [jwt-decode](https://github.com/auth0/jwt-decode) | dependencies | major | [`^3.1.2` -> `^4.0.0`](https://renovatebot.com/diffs/npm/jwt-decode/3.1.2/4.0.0) | --- ### Release Notes <details> <summary>auth0/jwt-decode (jwt-decode)</summary> ### [`v4.0.0`](https://github.com/auth0/jwt-decode/blob/HEAD/CHANGELOG.md#Version-400) [Compare Source](https://github.com/auth0/jwt-decode/compare/v3.1.2...v4.0.0) [Full Changelog](https://github.com/auth0/jwt-decode/compare/v3.1.2..v4.0.0) A new version of the library, including a couple of improvements: - No longer include a polyfill for [atob](https://developer.mozilla.org/en-US/docs/Web/API/atob), as this is [supported in all major browsers](https://caniuse.com/?search=atob) (and [node environments > 14](https://developer.mozilla.org/en-US/docs/Web/API/atob#browser_compatibility)). - Compile to ES2017, dropping support for anything that does not support ES2017 (which should be very limited [according to caniuse](https://caniuse.com/?search=es2017)) - 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: ```diff -import jwtDecode from "jwt-decode"; +import { jwtDecode } from "jwt-decode"; ``` </details> --- ### 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 MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMy42IiwidXBkYXRlZEluVmVyIjoiMzcuMjY5LjMiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIifQ==-->
renovate_bot commented 2023-10-27 10:03:59 +00:00 (Migrated from jonasled.dev)

mentioned in issue #2

mentioned in issue #2
renovate_bot commented 2023-10-27 22:03:03 +00:00 (Migrated from jonasled.dev)

changed the description

changed the description
renovate_bot commented 2023-12-11 23:06:39 +00:00 (Migrated from jonasled.dev)

changed the description

changed the description
renovate_bot commented 2024-02-28 23:06:09 +00:00 (Migrated from jonasled.dev)

added 29 commits

  • 9b1c1482...1773eeb5 - 28 commits from branch master
  • 5b2ed28b - Update dependency jwt-decode to v4

Compare with previous version

added 29 commits <ul><li>9b1c1482...1773eeb5 - 28 commits from branch <code>master</code></li><li>5b2ed28b - Update dependency jwt-decode to v4</li></ul> [Compare with previous version](/jonasled/gartenbewaesserung/-/merge_requests/85/diffs?diff_id=11803&start_sha=9b1c14825fac9013f10bf104fbd55357d2dc4536)
renovate_bot commented 2024-03-07 11:11:13 +00:00 (Migrated from jonasled.dev)

added 23 commits

  • 5b2ed28b...20429181 - 22 commits from branch master
  • 6fe761ca - Update dependency jwt-decode to v4

Compare with previous version

added 23 commits <ul><li>5b2ed28b...20429181 - 22 commits from branch <code>master</code></li><li>6fe761ca - Update dependency jwt-decode to v4</li></ul> [Compare with previous version](/jonasled/gartenbewaesserung/-/merge_requests/85/diffs?diff_id=12132&start_sha=5b2ed28ba0eaa355c96c0626006ed4e21f559d41)
jonasled commented 2024-03-24 22:39:39 +00:00 (Migrated from jonasled.dev)

marked the checklist item If you want to rebase/retry this MR, check this box as completed

marked the checklist item **<!-- rebase-check -->If you want to rebase/retry this MR, check this box** as completed
renovate_bot commented 2024-03-24 23:20:33 +00:00 (Migrated from jonasled.dev)

marked the checklist item If you want to rebase/retry this MR, check this box as incomplete

marked the checklist item **<!-- rebase-check -->If you want to rebase/retry this MR, check this box** as incomplete
renovate_bot commented 2024-03-24 23:20:34 +00:00 (Migrated from jonasled.dev)

added 7 commits

  • 6fe761ca...30b94826 - 6 commits from branch master
  • ba5b36fe - Update dependency jwt-decode to v4

Compare with previous version

added 7 commits <ul><li>6fe761ca...30b94826 - 6 commits from branch <code>master</code></li><li>ba5b36fe - Update dependency jwt-decode to v4</li></ul> [Compare with previous version](/jonasled/gartenbewaesserung/-/merge_requests/85/diffs?diff_id=12887&start_sha=6fe761ca19a47cc89b6190d76a0211e9bd9e48e2)
renovate_bot commented 2024-04-03 22:16:25 +00:00 (Migrated from jonasled.dev)

added 11 commits

  • ba5b36fe...8bb4891f - 10 commits from branch master
  • 976c4d3a - Update dependency jwt-decode to v4

Compare with previous version

added 11 commits <ul><li>ba5b36fe...8bb4891f - 10 commits from branch <code>master</code></li><li>976c4d3a - Update dependency jwt-decode to v4</li></ul> [Compare with previous version](/jonasled/gartenbewaesserung/-/merge_requests/85/diffs?diff_id=13322&start_sha=ba5b36fe1290122cf3afa1a9ac41e2bb6318e589)
renovate_bot commented 2024-04-09 10:13:35 +00:00 (Migrated from jonasled.dev)

added 3 commits

  • 976c4d3a...290c7640 - 2 commits from branch master
  • db061f0d - Update dependency jwt-decode to v4

Compare with previous version

added 3 commits <ul><li>976c4d3a...290c7640 - 2 commits from branch <code>master</code></li><li>db061f0d - Update dependency jwt-decode to v4</li></ul> [Compare with previous version](/jonasled/gartenbewaesserung/-/merge_requests/85/diffs?diff_id=13520&start_sha=976c4d3a9dd357f784c75527863867fb1c0396dd)
Commenting is not possible because the repository is archived.
No reviewers
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jonasled/gartenbewaesserung!143
No description provided.