Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@
"dev": "pnpm --stream -r run dev"
},
"devDependencies": {
"@eslint/compat": "^2.0.0",
"@eslint/compat": "^2.0.2",
"@eslint/js": "^9.39.2",
"@tanstack/eslint-plugin-query": "^5.91.2",
"@tanstack/eslint-plugin-query": "^5.91.4",
"@vitest/coverage-v8": "4.0.10",
"babel-plugin-react-compiler": "19.1.0-rc.3",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-perfectionist": "^5.3.1",
"eslint-plugin-perfectionist": "^5.4.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "7.0.1",
"globals": "^16.5.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"prettier": "^3.7.4",
"prettier": "^3.8.1",
"prettier-plugin-tailwindcss": "^0.7.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.52.0",
"typescript-eslint": "^8.54.0",
"vitest": "4.0.10"
},
"lint-staged": {
Expand All @@ -71,7 +71,8 @@
"@adobe/css-tools@<4.3.2": ">=4.3.2",
"undici@<5.28.3": ">=5.28.3",
"ws@<8.17.1": ">=8.17.1",
"@eslint/plugin-kit@<0.3.3": ">=0.3.3"
"@eslint/plugin-kit@<0.3.3": ">=0.3.3",
"fast-xml-parser@<5.3.4": ">=5.3.4"
}
}
}
12 changes: 6 additions & 6 deletions packages/graph-explorer-proxy-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,31 @@
"author": "amazon",
"license": "Apache-2.0",
"dependencies": {
"@aws-sdk/credential-providers": "^3.965.0",
"@aws-sdk/credential-providers": "^3.980.0",
"@graph-explorer/shared": "workspace:*",
"aws4": "^1.13.2",
"body-parser": "^2.2.2",
"compression": "^1.8.1",
"cors": "^2.8.5",
"cors": "^2.8.6",
"crypto-js": "^4.2.0",
"date-fns": "^4.1.0",
"dotenv": "^17.2.3",
"express": "^5.2.1",
"https": "^1.0.0",
"node-fetch": "^3.3.2",
"pino": "^10.1.0",
"pino": "^10.3.0",
"pino-pretty": "^13.1.3",
"zod": "^4.3.5"
"zod": "^4.3.6"
},
"devDependencies": {
"@types/aws4": "^1.11.6",
"@types/body-parser": "^1.19.6",
"@types/compression": "^1.8.1",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/node": "^24.10.4",
"@types/node": "^24.10.9",
"@vitest/coverage-v8": "4.0.10",
"memfs": "^4.51.1",
"memfs": "^4.56.10",
"rimraf": "^6.1.2",
"tsx": "^4.21.0",
"vitest": "4.0.10"
Expand Down
40 changes: 20 additions & 20 deletions packages/graph-explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@hookform/resolvers": "^5.2.2",
"@monaco-editor/react": "^4.7.0",
"@react-aria/textfield": "3.18.2",
"@tanstack/react-query": "^5.90.16",
"@tanstack/react-query": "^5.90.20",
"babel-plugin-react-compiler": "19.1.0-rc.3",
"clsx": "^2.1.1",
"color": "^5.0.3",
Expand All @@ -35,37 +35,37 @@
"dedent": "^1.7.1",
"file-saver": "^2.0.5",
"flat": "^6.0.1",
"jotai": "^2.16.1",
"jotai": "^2.17.0",
"jotai-family": "^1.0.1",
"localforage": "^1.10.0",
"lodash": "^4.17.21",
"lodash": "^4.17.23",
"lucide-react": "^0.554.0",
"monaco-editor": "^0.55.1",
"motion": "^12.24.12",
"motion": "^12.29.2",
"papaparse": "^5.5.3",
"radix-ui": "^1.4.3",
"re-resizable": "^6.11.2",
"react": "^19.2.3",
"react": "^19.2.4",
"react-colorful": "^5.6.1",
"react-dom": "^19.2.3",
"react-error-boundary": "^6.0.2",
"react-hook-form": "^7.70.0",
"react-dom": "^19.2.4",
"react-error-boundary": "^6.1.0",
"react-hook-form": "^7.71.1",
"react-inlinesvg": "^4.2.0",
"react-laag": "^2.0.5",
"react-router": "^7.12.0",
"react-router": "^7.13.0",
"react-table": "^7.8.0",
"react-transition-group": "^4.4.5",
"react-virtuoso": "^4.18.1",
"sonner": "^2.0.7",
"tailwind-merge": "^3.4.0",
"use-deep-compare-effect": "^1.8.1",
"uuid": "^13.0.0",
"zod": "^4.3.5",
"zod": "^4.3.6",
"zod-validation-error": "^5.0.0"
},
"devDependencies": {
"@babel/core": "^7.28.5",
"@babel/preset-env": "^7.28.5",
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.0",
"@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@react-stately/radio": "^3.11.3",
Expand All @@ -76,33 +76,33 @@
"@react-types/shared": "^3.32.1",
"@react-types/switch": "^3.5.15",
"@tailwindcss/vite": "^4.1.18",
"@tanstack/react-query-devtools": "^5.91.2",
"@tanstack/react-query-devtools": "^5.91.3",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/color": "^4.2.0",
"@types/crypto-js": "^4.2.2",
"@types/file-saver": "^2.0.7",
"@types/flat": "^5.0.5",
"@types/lodash": "^4.17.21",
"@types/node": "^24.10.4",
"@types/lodash": "^4.17.23",
"@types/node": "^24.10.9",
"@types/papaparse": "^5.5.2",
"@types/react": "^19.2.7",
"@types/react": "^19.2.10",
"@types/react-dom": "^19.2.3",
"@types/react-table": "^7.7.20",
"@types/react-transition-group": "^4.4.12",
"@types/wicg-file-system-access": "^2023.10.7",
"@vitejs/plugin-react": "^5.1.2",
"@vitest/coverage-v8": "4.0.10",
"core-js": "^3.47.0",
"happy-dom": "^20.1.0",
"core-js": "^3.48.0",
"happy-dom": "^20.4.0",
"jsdom": "^27.4.0",
"lint-staged": "^16.2.7",
"rimraf": "^6.1.2",
"tailwindcss": "^4.1.18",
"tw-animate-css": "^1.4.0",
"type-fest": "^5.3.1",
"type-fest": "^5.4.3",
"vite": "^7.3.1",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "4.0.10"
Expand Down
12 changes: 8 additions & 4 deletions packages/graph-explorer/src/components/PanelError.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function PanelError({
onRetry,
className,
}: {
error: Error;
error: unknown;
onRetry?: () => void;
className?: string | undefined;
}) {
Expand Down Expand Up @@ -58,7 +58,11 @@ export default function PanelError({
);
}

function ErrorDetailsButton({ error }: { error: Error }) {
function ErrorDetailsButton({ error }: { error: unknown }) {
const errorName = Error.isError(error) ? error.name : "Unknown Error";
const errorMessage = Error.isError(error)
? error.message
: JSON.stringify(error, null, 2);
return (
<Dialog>
<DialogTrigger asChild>
Expand All @@ -75,13 +79,13 @@ function ErrorDetailsButton({ error }: { error: Error }) {
<FormItem>
<Label>Error name</Label>
<div className="gx-wrap-break-word text-base leading-snug">
{error.name}
{errorName}
</div>
</FormItem>
<FormItem>
<Label>Error message</Label>
<div className="gx-wrap-break-word text-base leading-snug">
{error.message}
{errorMessage}
</div>
</FormItem>
</DialogBody>
Expand Down
Loading