Skip to content

Commit 73e757f

Browse files
authored
Update dependencies and enforce fast-xml-parser minimum version (#1497)
* Update all dependencies * Fix Error type issue
1 parent 6f440c8 commit 73e757f

File tree

5 files changed

+2585
-2397
lines changed

5 files changed

+2585
-2397
lines changed

package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,23 @@
2929
"dev": "pnpm --stream -r run dev"
3030
},
3131
"devDependencies": {
32-
"@eslint/compat": "^2.0.0",
32+
"@eslint/compat": "^2.0.2",
3333
"@eslint/js": "^9.39.2",
34-
"@tanstack/eslint-plugin-query": "^5.91.2",
34+
"@tanstack/eslint-plugin-query": "^5.91.4",
3535
"@vitest/coverage-v8": "4.0.10",
3636
"babel-plugin-react-compiler": "19.1.0-rc.3",
3737
"eslint": "^9.39.2",
3838
"eslint-config-prettier": "^10.1.8",
39-
"eslint-plugin-perfectionist": "^5.3.1",
39+
"eslint-plugin-perfectionist": "^5.4.0",
4040
"eslint-plugin-react": "^7.37.5",
4141
"eslint-plugin-react-hooks": "7.0.1",
4242
"globals": "^16.5.0",
4343
"husky": "^9.1.7",
4444
"lint-staged": "^16.2.7",
45-
"prettier": "^3.7.4",
45+
"prettier": "^3.8.1",
4646
"prettier-plugin-tailwindcss": "^0.7.2",
4747
"typescript": "^5.9.3",
48-
"typescript-eslint": "^8.52.0",
48+
"typescript-eslint": "^8.54.0",
4949
"vitest": "4.0.10"
5050
},
5151
"lint-staged": {
@@ -71,7 +71,8 @@
7171
"@adobe/css-tools@<4.3.2": ">=4.3.2",
7272
"undici@<5.28.3": ">=5.28.3",
7373
"ws@<8.17.1": ">=8.17.1",
74-
"@eslint/plugin-kit@<0.3.3": ">=0.3.3"
74+
"@eslint/plugin-kit@<0.3.3": ">=0.3.3",
75+
"fast-xml-parser@<5.3.4": ">=5.3.4"
7576
}
7677
}
7778
}

packages/graph-explorer-proxy-server/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,31 +13,31 @@
1313
"author": "amazon",
1414
"license": "Apache-2.0",
1515
"dependencies": {
16-
"@aws-sdk/credential-providers": "^3.965.0",
16+
"@aws-sdk/credential-providers": "^3.980.0",
1717
"@graph-explorer/shared": "workspace:*",
1818
"aws4": "^1.13.2",
1919
"body-parser": "^2.2.2",
2020
"compression": "^1.8.1",
21-
"cors": "^2.8.5",
21+
"cors": "^2.8.6",
2222
"crypto-js": "^4.2.0",
2323
"date-fns": "^4.1.0",
2424
"dotenv": "^17.2.3",
2525
"express": "^5.2.1",
2626
"https": "^1.0.0",
2727
"node-fetch": "^3.3.2",
28-
"pino": "^10.1.0",
28+
"pino": "^10.3.0",
2929
"pino-pretty": "^13.1.3",
30-
"zod": "^4.3.5"
30+
"zod": "^4.3.6"
3131
},
3232
"devDependencies": {
3333
"@types/aws4": "^1.11.6",
3434
"@types/body-parser": "^1.19.6",
3535
"@types/compression": "^1.8.1",
3636
"@types/cors": "^2.8.19",
3737
"@types/express": "^5.0.6",
38-
"@types/node": "^24.10.4",
38+
"@types/node": "^24.10.9",
3939
"@vitest/coverage-v8": "4.0.10",
40-
"memfs": "^4.51.1",
40+
"memfs": "^4.56.10",
4141
"rimraf": "^6.1.2",
4242
"tsx": "^4.21.0",
4343
"vitest": "4.0.10"

packages/graph-explorer/package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@hookform/resolvers": "^5.2.2",
2020
"@monaco-editor/react": "^4.7.0",
2121
"@react-aria/textfield": "3.18.2",
22-
"@tanstack/react-query": "^5.90.16",
22+
"@tanstack/react-query": "^5.90.20",
2323
"babel-plugin-react-compiler": "19.1.0-rc.3",
2424
"clsx": "^2.1.1",
2525
"color": "^5.0.3",
@@ -35,37 +35,37 @@
3535
"dedent": "^1.7.1",
3636
"file-saver": "^2.0.5",
3737
"flat": "^6.0.1",
38-
"jotai": "^2.16.1",
38+
"jotai": "^2.17.0",
3939
"jotai-family": "^1.0.1",
4040
"localforage": "^1.10.0",
41-
"lodash": "^4.17.21",
41+
"lodash": "^4.17.23",
4242
"lucide-react": "^0.554.0",
4343
"monaco-editor": "^0.55.1",
44-
"motion": "^12.24.12",
44+
"motion": "^12.29.2",
4545
"papaparse": "^5.5.3",
4646
"radix-ui": "^1.4.3",
4747
"re-resizable": "^6.11.2",
48-
"react": "^19.2.3",
48+
"react": "^19.2.4",
4949
"react-colorful": "^5.6.1",
50-
"react-dom": "^19.2.3",
51-
"react-error-boundary": "^6.0.2",
52-
"react-hook-form": "^7.70.0",
50+
"react-dom": "^19.2.4",
51+
"react-error-boundary": "^6.1.0",
52+
"react-hook-form": "^7.71.1",
5353
"react-inlinesvg": "^4.2.0",
5454
"react-laag": "^2.0.5",
55-
"react-router": "^7.12.0",
55+
"react-router": "^7.13.0",
5656
"react-table": "^7.8.0",
5757
"react-transition-group": "^4.4.5",
5858
"react-virtuoso": "^4.18.1",
5959
"sonner": "^2.0.7",
6060
"tailwind-merge": "^3.4.0",
6161
"use-deep-compare-effect": "^1.8.1",
6262
"uuid": "^13.0.0",
63-
"zod": "^4.3.5",
63+
"zod": "^4.3.6",
6464
"zod-validation-error": "^5.0.0"
6565
},
6666
"devDependencies": {
67-
"@babel/core": "^7.28.5",
68-
"@babel/preset-env": "^7.28.5",
67+
"@babel/core": "^7.29.0",
68+
"@babel/preset-env": "^7.29.0",
6969
"@babel/preset-react": "^7.28.5",
7070
"@babel/preset-typescript": "^7.28.5",
7171
"@react-stately/radio": "^3.11.3",
@@ -76,33 +76,33 @@
7676
"@react-types/shared": "^3.32.1",
7777
"@react-types/switch": "^3.5.15",
7878
"@tailwindcss/vite": "^4.1.18",
79-
"@tanstack/react-query-devtools": "^5.91.2",
79+
"@tanstack/react-query-devtools": "^5.91.3",
8080
"@testing-library/dom": "^10.4.1",
8181
"@testing-library/jest-dom": "^6.9.1",
82-
"@testing-library/react": "^16.3.1",
82+
"@testing-library/react": "^16.3.2",
8383
"@testing-library/user-event": "^14.6.1",
8484
"@types/color": "^4.2.0",
8585
"@types/crypto-js": "^4.2.2",
8686
"@types/file-saver": "^2.0.7",
8787
"@types/flat": "^5.0.5",
88-
"@types/lodash": "^4.17.21",
89-
"@types/node": "^24.10.4",
88+
"@types/lodash": "^4.17.23",
89+
"@types/node": "^24.10.9",
9090
"@types/papaparse": "^5.5.2",
91-
"@types/react": "^19.2.7",
91+
"@types/react": "^19.2.10",
9292
"@types/react-dom": "^19.2.3",
9393
"@types/react-table": "^7.7.20",
9494
"@types/react-transition-group": "^4.4.12",
9595
"@types/wicg-file-system-access": "^2023.10.7",
9696
"@vitejs/plugin-react": "^5.1.2",
9797
"@vitest/coverage-v8": "4.0.10",
98-
"core-js": "^3.47.0",
99-
"happy-dom": "^20.1.0",
98+
"core-js": "^3.48.0",
99+
"happy-dom": "^20.4.0",
100100
"jsdom": "^27.4.0",
101101
"lint-staged": "^16.2.7",
102102
"rimraf": "^6.1.2",
103103
"tailwindcss": "^4.1.18",
104104
"tw-animate-css": "^1.4.0",
105-
"type-fest": "^5.3.1",
105+
"type-fest": "^5.4.3",
106106
"vite": "^7.3.1",
107107
"vite-tsconfig-paths": "^5.1.4",
108108
"vitest": "4.0.10"

packages/graph-explorer/src/components/PanelError.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default function PanelError({
3030
onRetry,
3131
className,
3232
}: {
33-
error: Error;
33+
error: unknown;
3434
onRetry?: () => void;
3535
className?: string | undefined;
3636
}) {
@@ -58,7 +58,11 @@ export default function PanelError({
5858
);
5959
}
6060

61-
function ErrorDetailsButton({ error }: { error: Error }) {
61+
function ErrorDetailsButton({ error }: { error: unknown }) {
62+
const errorName = Error.isError(error) ? error.name : "Unknown Error";
63+
const errorMessage = Error.isError(error)
64+
? error.message
65+
: JSON.stringify(error, null, 2);
6266
return (
6367
<Dialog>
6468
<DialogTrigger asChild>
@@ -75,13 +79,13 @@ function ErrorDetailsButton({ error }: { error: Error }) {
7579
<FormItem>
7680
<Label>Error name</Label>
7781
<div className="gx-wrap-break-word text-base leading-snug">
78-
{error.name}
82+
{errorName}
7983
</div>
8084
</FormItem>
8185
<FormItem>
8286
<Label>Error message</Label>
8387
<div className="gx-wrap-break-word text-base leading-snug">
84-
{error.message}
88+
{errorMessage}
8589
</div>
8690
</FormItem>
8791
</DialogBody>

0 commit comments

Comments
 (0)