Skip to content

Commit

Permalink
Bump jwt-decode from 3.1.2 to 4.0.0 in /ui (#2714)
Browse files Browse the repository at this point in the history
* Bump jwt-decode from 3.1.2 to 4.0.0 in /ui

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](auth0/jwt-decode@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>

* Make jwt-decode a named import.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Caio Cotts <caio@cotts.com.br>
  • Loading branch information
dependabot[bot] and caiocotts authored Dec 18, 2023
1 parent df3de04 commit 4ccc0a9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
17 changes: 10 additions & 7 deletions ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"deepmerge": "^4.3.1",
"history": "^4.10.1",
"inflection": "^1.13.1",
"jwt-decode": "^3.1.2",
"jwt-decode": "^4.0.0",
"lodash.pick": "^4.4.0",
"lodash.throttle": "^4.1.1",
"navidrome-music-player": "4.25.1",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/authProvider.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import jwtDecode from 'jwt-decode'
import { jwtDecode } from 'jwt-decode'
import { baseUrl } from './utils'
import config from './config'

Expand Down
2 changes: 1 addition & 1 deletion ui/src/dataProvider/httpClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { fetchUtils } from 'react-admin'
import { v4 as uuidv4 } from 'uuid'
import { baseUrl } from '../utils'
import config from '../config'
import jwtDecode from 'jwt-decode'
import { jwtDecode } from 'jwt-decode'

const customAuthorizationHeader = 'X-ND-Authorization'
const clientUniqueIdHeader = 'X-ND-Client-Unique-Id'
Expand Down

0 comments on commit 4ccc0a9

Please sign in to comment.