Skip to content

Commit c982953

Browse files
authored
Update Frontend Packages August 2026 (#6359)
* Update frontend packages to clear bun audit vulnerabilities Bumps react-router-dom, @babel/core, @babel/preset-env off pinned vulnerable versions and takes the in-range bun update sweep (MUI 9.4, x-date-pickers 9.12, vite 8.2, eslint 10.9, js-yaml 4.3, etc). Adds overrides for nested duplicate copies (brace-expansion, nanoid, postcss, js-yaml, @babel/core) that bun update alone didn't reach. Updates a snapshot for a cosmetic MUI emotion class hash change. bun audit: 11 vulnerabilities (5 high, 5 moderate, 1 low) -> none. * Bump remaining in-range frontend minor/patch versions Updates all dependencies still behind within their current major version: @mui/x-tree-view, @sentry/react, @tanstack/react-query(-devtools), styled-components, @tanstack/eslint-plugin-query, @testing-library/react, @types/node, @types/react, @types/react-dom, @typescript-eslint/*, esbuild, globals, msw, openapi-typescript-codegen, prettier, vitest. Major-version bumps (i18next 26, react-i18next 17, react-dropzone 20, Babel 8, testing-library/jest-dom 7, @vitejs/plugin-react 6, js-yaml 5, jsdom 30, typescript 7) are left out of scope, as they need migration. Removes a now-unnecessary type assertion in useHopeDetailsQuery.ts flagged by @typescript-eslint/eslint-plugin 8.68. Updates 3 Vitest snapshots for cosmetic emotion/styled-components class hash changes.
1 parent 8c1b639 commit c982953

6 files changed

Lines changed: 413 additions & 399 deletions

File tree

src/frontend/bun.lock

Lines changed: 162 additions & 153 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/frontend/package.json

Lines changed: 42 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
"@date-io/moment": "^3.2.0",
2727
"@emotion/react": "^11.14.0",
2828
"@emotion/styled": "^11.14.1",
29-
"@mui/icons-material": "^9.2.0",
30-
"@mui/material": "^9.2.0",
31-
"@mui/styled-engine-sc": "^9.1.1",
32-
"@mui/system": "^9.2.0",
33-
"@mui/x-date-pickers": "^9.10.0",
34-
"@mui/x-tree-view": "9.10.0",
35-
"@sentry/react": "10.68.0",
36-
"@tanstack/react-query": "5.101.0",
37-
"@tanstack/react-query-devtools": "5.101.4",
29+
"@mui/icons-material": "^9.4.0",
30+
"@mui/material": "^9.4.0",
31+
"@mui/styled-engine-sc": "^9.4.0",
32+
"@mui/system": "^9.4.0",
33+
"@mui/x-date-pickers": "^9.12.0",
34+
"@mui/x-tree-view": "9.12.0",
35+
"@sentry/react": "10.72.0",
36+
"@tanstack/react-query": "5.102.8",
37+
"@tanstack/react-query-devtools": "5.102.8",
3838
"chart.js": "^4.5.1",
3939
"chartjs-plugin-annotation": "^3.1.0",
4040
"chartjs-plugin-datalabels": "^2.2.0",
@@ -53,46 +53,46 @@
5353
"react-dropzone": "15.0.0",
5454
"react-i18next": "16.5.4",
5555
"react-idle-timer": "^5.7.3",
56-
"react-router-dom": "7.18.1",
56+
"react-router-dom": "7.18.3",
5757
"react-use": "^17.6.1",
58-
"react-zoom-pan-pinch": "^4.0.3",
59-
"read-excel-file": "^9.3.5",
58+
"react-zoom-pan-pinch": "^4.0.4",
59+
"read-excel-file": "^9.3.10",
6060
"string.prototype.replaceall": "^1.0.11",
61-
"styled-components": "6.4.2",
61+
"styled-components": "6.5.3",
6262
"use-deep-compare-effect": "^1.8.1",
63-
"uuid": "^14.0.1",
63+
"uuid": "^14.0.2",
6464
"yup": "1.7.1"
6565
},
6666
"devDependencies": {
67-
"@babel/core": "7.29.0",
67+
"@babel/core": "7.29.7",
6868
"@babel/plugin-syntax-jsx": "^8.0.1",
6969
"@babel/plugin-transform-class-properties": "^8.0.1",
7070
"@babel/plugin-transform-object-rest-spread": "^8.0.1",
7171
"@babel/plugin-transform-typescript": "^8.0.1",
72-
"@babel/preset-env": "7.29.0",
72+
"@babel/preset-env": "7.29.7",
7373
"@babel/preset-react": "^7.29.7",
7474
"@babel/preset-typescript": "^8.0.1",
7575
"@emotion/babel-plugin": "^11.13.5",
7676
"@eslint/compat": "2.1.0",
77-
"@eslint/eslintrc": "^3.3.5",
77+
"@eslint/eslintrc": "^3.3.6",
7878
"@eslint/js": "10.0.1",
79-
"@tanstack/eslint-plugin-query": "5.101.2",
79+
"@tanstack/eslint-plugin-query": "5.102.8",
8080
"@testing-library/dom": "^10.4.1",
8181
"@testing-library/jest-dom": "6.9.1",
82-
"@testing-library/react": "16.3.2",
83-
"@types/lodash": "^4.17.24",
84-
"@types/node": "26.1.1",
85-
"@types/react": "19.2.17",
86-
"@types/react-dom": "19.2.3",
82+
"@testing-library/react": "16.3.3",
83+
"@types/lodash": "^4.17.25",
84+
"@types/node": "26.4.0",
85+
"@types/react": "19.2.18",
86+
"@types/react-dom": "19.2.5",
8787
"@types/react-router-dom": "^5.3.3",
88-
"@typescript-eslint/eslint-plugin": "8.64.0",
89-
"@typescript-eslint/parser": "8.64.0",
88+
"@typescript-eslint/eslint-plugin": "8.68.0",
89+
"@typescript-eslint/parser": "8.68.0",
9090
"@vitejs/plugin-react": "5.1.4",
9191
"braces": "3.0.3",
9292
"camelcase": "^9.0.0",
9393
"cross-spawn": "^7.0.6",
94-
"esbuild": "0.28.1",
95-
"eslint": "^10.5.0",
94+
"esbuild": "0.28.2",
95+
"eslint": "^10.9.1",
9696
"eslint-import-resolver-alias": "^1.1.2",
9797
"eslint-import-resolver-typescript": "4.4.5",
9898
"eslint-plugin-import": "^2.32.0",
@@ -101,30 +101,35 @@
101101
"eslint-plugin-react-hooks": "7.1.1",
102102
"form-data": "^4.0.6",
103103
"glob": "13.0.6",
104-
"globals": "17.6.0",
105-
"helmet": "^8.2.0",
106-
"js-yaml": "^4.2.0",
104+
"globals": "17.11.0",
105+
"helmet": "^8.3.0",
106+
"js-yaml": "^4.3.2",
107107
"jsdom": "29.1.1",
108108
"micromatch": "4.0.8",
109-
"msw": "2.14.6",
110-
"openapi-typescript-codegen": "^0.30.0",
109+
"msw": "2.15.0",
110+
"openapi-typescript-codegen": "^0.31.0",
111111
"path": "^0.12.7",
112-
"prettier": "3.9.4",
112+
"prettier": "3.9.6",
113113
"react-test-renderer": "19.2.8",
114-
"tough-cookie": "^6.0.1",
114+
"tough-cookie": "^6.0.2",
115115
"ts-node": "^10.9.2",
116116
"ts-prune": "^0.10.3",
117117
"typescript": "5.9.3",
118-
"vite": "^8.1.5",
118+
"vite": "^8.2.2",
119119
"vite-plugin-csp-guard": "4.0.1",
120120
"vite-tsconfig-paths": "6.1.1",
121-
"vitest": "4.1.10",
121+
"vitest": "4.1.11",
122122
"waait": "^1.0.5"
123123
},
124124
"overrides": {
125125
"@typescript-eslint/utils": "8.61.1",
126126
"minimatch": ">=9.0.5",
127127
"rollup": ">=4.59.0",
128-
"undici": "^7.25.0"
128+
"undici": "^7.29.0",
129+
"@babel/core": "^7.29.7",
130+
"brace-expansion": "^5.0.9",
131+
"nanoid": "^3.3.18",
132+
"postcss": "^8.5.26",
133+
"js-yaml": "^4.3.2"
129134
}
130135
}

0 commit comments

Comments
 (0)