🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Bump jwt-decode from 3.1.2 to 4.0.0 in /ui (#2714)
dependabot[bot]4ccc0a92bfb7
diff --git a/ui/package-lock.json b/ui/package-lock.jsonindex 0855eea14..2ec04cee4 100644--- a/ui/package-lock.json+++ b/ui/package-lock.json@@ -18,7 +18,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",@@ -13324,9 +13324,12 @@}},"node_modules/jwt-decode": {- "version": "3.1.2",- "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz",- "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A=="+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-4.0.0.tgz",+ "integrity": "sha512-+KJGIyHgkGuIq3IEBNftfhW/LfWhXUIY6OmyVWjliu5KH1y0fw7VQ8YndE2O4qZdMSd9SqbnC8GOcZEy0Om7sA==",+ "engines": {+ "node": ">=18"+ }},"node_modules/keyv": {"version": "3.1.0",@@ -31000,9 +31003,9 @@}},"jwt-decode": {- "version": "3.1.2",- "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz",- "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A=="+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-4.0.0.tgz",+ "integrity": "sha512-+KJGIyHgkGuIq3IEBNftfhW/LfWhXUIY6OmyVWjliu5KH1y0fw7VQ8YndE2O4qZdMSd9SqbnC8GOcZEy0Om7sA=="},"keyv": {"version": "3.1.0",diff --git a/ui/package.json b/ui/package.jsonindex be71847f9..50f3a4879 100644--- a/ui/package.json+++ b/ui/package.json@@ -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",diff --git a/ui/src/authProvider.js b/ui/src/authProvider.jsindex 86d45b446..c22e9345d 100644--- a/ui/src/authProvider.js+++ b/ui/src/authProvider.js@@ -1,4 +1,4 @@-import jwtDecode from 'jwt-decode'+import { jwtDecode } from 'jwt-decode'import { baseUrl } from './utils'import config from './config'diff --git a/ui/src/dataProvider/httpClient.js b/ui/src/dataProvider/httpClient.jsindex 0e9f5433a..5ade3c0ce 100644--- a/ui/src/dataProvider/httpClient.js+++ b/ui/src/dataProvider/httpClient.js@@ -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'