Skip to content

Commit 2948980

Browse files
authored
Merge pull request #504 from Yooooomi/misc/update-dependencies
updated dependencies, react19
2 parents 33d4b58 + 05d5842 commit 2948980

File tree

5 files changed

+1280
-389
lines changed

5 files changed

+1280
-389
lines changed

apps/client/package.json

+16-16
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,30 @@
1111
"typecheck": "tsc --noEmit"
1212
},
1313
"dependencies": {
14-
"@emotion/react": "^11.13.5",
15-
"@emotion/styled": "^11.13.5",
16-
"@mui/icons-material": "^6.1.8",
17-
"@mui/material": "^6.1.8",
18-
"@mui/system": "^6.1.8",
19-
"@mui/x-date-pickers": "^7.22.3",
20-
"@reduxjs/toolkit": "^2.3.0",
21-
"axios": "^1.7.7",
14+
"@emotion/react": "^11.14.0",
15+
"@emotion/styled": "^11.14.0",
16+
"@mui/icons-material": "^6.4.8",
17+
"@mui/material": "^6.4.8",
18+
"@mui/system": "^6.4.8",
19+
"@mui/x-date-pickers": "^7.28.0",
20+
"@reduxjs/toolkit": "^2.6.1",
21+
"axios": "^1.8.4",
2222
"clsx": "^2.1.1",
2323
"date-fns": "^4.1.0",
24-
"react": "^18.2.0",
24+
"react": "^19.0.0",
2525
"react-copy-to-clipboard": "^5.1.0",
26-
"react-dom": "^18.2.0",
26+
"react-dom": "^19.0.0",
2727
"react-infinite-scroll-component": "^6.1.0",
28-
"react-redux": "^9.1.2",
29-
"react-router-dom": "^7.0.1",
30-
"recharts": "^2.13.3",
28+
"react-redux": "^9.2.0",
29+
"react-router-dom": "^7.4.0",
30+
"recharts": "^2.15.1",
3131
"redux": "^5.0.1"
3232
},
3333
"devDependencies": {
34-
"@types/node": "^22.9.3",
34+
"@types/node": "^22.13.11",
3535
"@types/react-copy-to-clipboard": "^5.0.7",
36-
"@types/react-date-range": "^1.4.9",
37-
"@types/react-dom": "^18.3.1",
36+
"@types/react-date-range": "^1.4.10",
37+
"@types/react-dom": "^19.0.4",
3838
"@your_spotify/dev": "*",
3939
"react-scripts": "^5.0.1"
4040
},

apps/dev/package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33
"version": "0.0.1",
44
"private": true,
55
"dependencies": {
6-
"@typescript-eslint/eslint-plugin": "^8.15.0",
7-
"@typescript-eslint/parser": "^8.15.0",
6+
"@typescript-eslint/eslint-plugin": "^8.27.0",
7+
"@typescript-eslint/parser": "^8.27.0",
88
"@vercel/ncc": "^0.38.1",
9-
"concurrently": "^9.1.0",
10-
"eslint": "^9.15.0",
11-
"eslint-config-prettier": "^9.1.0",
12-
"eslint-import-resolver-typescript": "^3.6.1",
9+
"concurrently": "^9.1.2",
10+
"eslint": "^9.23.0",
11+
"eslint-config-prettier": "^10.1.1",
12+
"eslint-import-resolver-typescript": "^4.2.2",
1313
"eslint-plugin-import": "^2.31.0",
1414
"eslint-plugin-jsx-a11y": "^6.10.2",
15-
"eslint-plugin-prettier": "^5.2.1",
16-
"eslint-plugin-react": "^7.37.2",
17-
"eslint-plugin-react-hooks": "^5.0.0",
18-
"prettier": "^3.3.3",
15+
"eslint-plugin-prettier": "^5.2.3",
16+
"eslint-plugin-react": "^7.37.4",
17+
"eslint-plugin-react-hooks": "^5.2.0",
18+
"prettier": "^3.5.3",
1919
"ts-node": "^10.9.2",
20-
"typescript": "^5.7.2"
20+
"typescript": "^5.8.2"
2121
}
2222
}

apps/server/package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,27 @@
1212
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
1313
},
1414
"dependencies": {
15-
"axios": "^1.7.7",
15+
"axios": "^1.8.4",
1616
"cookie-parser": "^1.4.5",
1717
"cors": "^2.8.5",
18-
"express": "^4.21.1",
18+
"express": "^4.21.2",
1919
"jsonwebtoken": "^9.0.2",
2020
"migrate": "^2.1.0",
21-
"mongodb": "^6.11.0",
22-
"mongoose": "^8.8.2",
21+
"mongodb": "^6.15.0",
22+
"mongoose": "^8.12.2",
2323
"morgan": "^1.10.0",
24-
"multer": "^1.4.5-lts.1",
25-
"uuid": "^11.0.3",
26-
"zod": "^3.22.4"
24+
"multer": "^1.4.5-lts.2",
25+
"uuid": "^11.1.0",
26+
"zod": "^3.24.2"
2727
},
2828
"devDependencies": {
2929
"@types/axios": "^0.14.0",
30-
"@types/cookie-parser": "^1.4.7",
30+
"@types/cookie-parser": "^1.4.8",
3131
"@types/cors": "^2.8.17",
32-
"@types/jsonwebtoken": "^9.0.7",
32+
"@types/jsonwebtoken": "^9.0.9",
3333
"@types/morgan": "^1.9.9",
3434
"@types/multer": "^1.4.12",
35-
"@types/node": "^22.9.3",
35+
"@types/node": "^22.13.11",
3636
"@types/uuid": "^10.0.0",
3737
"@your_spotify/dev": "*"
3838
}

apps/server/src/routes/oauth.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ router.get("/spotify", async (req, res) => {
5151
throw new Error("No private data found, cannot sign JWT");
5252
}
5353
const token = sign({ userId: isOffline }, privateData.jwtPrivateKey, {
54-
expiresIn: getWithDefault("COOKIE_VALIDITY_MS", "1h"),
54+
expiresIn: getWithDefault("COOKIE_VALIDITY_MS", "1h") as `${number}`,
5555
});
5656
storeTokenInCookie(req, res, token);
5757
res.status(204).end();
@@ -120,7 +120,7 @@ router.get(
120120
{ userId: user._id.toString() },
121121
privateData.jwtPrivateKey,
122122
{
123-
expiresIn: getWithDefault("COOKIE_VALIDITY_MS", "1h"),
123+
expiresIn: getWithDefault("COOKIE_VALIDITY_MS", "1h") as `${number}`,
124124
},
125125
);
126126
storeTokenInCookie(req, res, token);

0 commit comments

Comments
 (0)