Bump jwt-decode from 3.1.2 to 4.0.0 in /js (#24349)

* Bump jwt-decode from 3.1.2 to 4.0.0 in /js

Bumps [jwt-decode](https://github.com/auth0/jwt-decode) from 3.1.2 to 4.0.0.
- [Release notes](https://github.com/auth0/jwt-decode/releases)
- [Changelog](https://github.com/auth0/jwt-decode/blob/main/CHANGELOG.md)
- [Commits](https://github.com/auth0/jwt-decode/compare/v3.1.2...v4.0.0)

---
updated-dependencies:
- dependency-name: jwt-decode
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
This commit is contained in:
dependabot[bot] 2023-10-27 14:20:43 +02:00 committed by GitHub
parent aee13a1f71
commit 80c71b1951
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 6 deletions

View file

@ -53,6 +53,6 @@
"dependencies": { "dependencies": {
"base64-js": "^1.5.1", "base64-js": "^1.5.1",
"js-sha256": "^0.10.1", "js-sha256": "^0.10.1",
"jwt-decode": "^3.1.2" "jwt-decode": "^4.0.0"
} }
} }

View file

@ -16,7 +16,7 @@
*/ */
import base64 from 'base64-js'; import base64 from 'base64-js';
import sha256 from 'js-sha256'; import sha256 from 'js-sha256';
import jwtDecode from 'jwt-decode'; import { jwtDecode } from 'jwt-decode';
if (typeof Promise === 'undefined') { if (typeof Promise === 'undefined') {
throw Error('Keycloak requires an environment that supports Promises. Make sure that you include the appropriate polyfill.'); throw Error('Keycloak requires an environment that supports Promises. Make sure that you include the appropriate polyfill.');

View file

@ -360,8 +360,8 @@ importers:
specifier: ^0.10.1 specifier: ^0.10.1
version: 0.10.1 version: 0.10.1
jwt-decode: jwt-decode:
specifier: ^3.1.2 specifier: ^4.0.0
version: 3.1.2 version: 4.0.0
devDependencies: devDependencies:
'@rollup/plugin-commonjs': '@rollup/plugin-commonjs':
specifier: ^25.0.7 specifier: ^25.0.7
@ -5010,8 +5010,9 @@ packages:
object.values: 1.1.7 object.values: 1.1.7
dev: true dev: true
/jwt-decode@3.1.2: /jwt-decode@4.0.0:
resolution: {integrity: sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==} resolution: {integrity: sha512-+KJGIyHgkGuIq3IEBNftfhW/LfWhXUIY6OmyVWjliu5KH1y0fw7VQ8YndE2O4qZdMSd9SqbnC8GOcZEy0Om7sA==}
engines: {node: '>=18'}
dev: false dev: false
/keyv@4.5.3: /keyv@4.5.3: