Skip to content

Commit b099623

Browse files
authored
Update dependencies post release (#1282)
* Remove @types/cytoscape & @types/uuid * Update to latest versions * Auto format because prettier tailwind plugin update * Fix ESLint config for React Compiler 1.0 * Disable lint rules on ancient code * Fix lint issue in UserPrefixes * Fix lint issue in ExplorerInjector * Update global test setup for mock reset
1 parent d378a7b commit b099623

File tree

76 files changed

+2622
-2687
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+2622
-2687
lines changed

eslint.config.mjs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default tseslint.config(
4141
pluginJs.configs.recommended,
4242
tseslint.configs.recommendedTypeChecked,
4343
reactLint.configs.flat.recommended,
44-
reactHooks.configs.recommended,
44+
reactHooks.configs.flat.recommended,
4545
{
4646
plugins: {
4747
"@tanstack/query": fixupPluginRules(tanstackQueryLint),
@@ -93,11 +93,6 @@ export default tseslint.config(
9393
"react/display-name": "off",
9494
"react/jsx-curly-brace-presence": "error",
9595

96-
// Hooks
97-
"react-hooks/rules-of-hooks": "error",
98-
"react-hooks/exhaustive-deps": "error",
99-
"react-hooks/react-compiler": "error",
100-
10196
// TanStack Query
10297
"@tanstack/query/exhaustive-deps": "error",
10398
"@tanstack/query/no-rest-destructuring": "warn",

package.json

Lines changed: 11 additions & 11 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": "^1.3.2",
33-
"@eslint/js": "^9.35.0",
34-
"@tanstack/eslint-plugin-query": "^5.86.0",
35-
"@vitest/coverage-v8": "3.2.4",
32+
"@eslint/compat": "^1.4.0",
33+
"@eslint/js": "^9.38.0",
34+
"@tanstack/eslint-plugin-query": "^5.91.2",
35+
"@vitest/coverage-v8": "4.0.3",
3636
"babel-plugin-react-compiler": "19.1.0-rc.3",
37-
"eslint": "^9.35.0",
37+
"eslint": "^9.38.0",
3838
"eslint-config-prettier": "^10.1.8",
3939
"eslint-plugin-react": "^7.37.5",
40-
"eslint-plugin-react-hooks": "6.0.0-rc1",
40+
"eslint-plugin-react-hooks": "7.0.1",
4141
"globals": "^16.4.0",
4242
"husky": "^9.1.7",
43-
"lint-staged": "^16.1.6",
43+
"lint-staged": "^16.2.6",
4444
"prettier": "^3.6.2",
45-
"prettier-plugin-tailwindcss": "^0.6.14",
46-
"typescript": "^5.9.2",
47-
"typescript-eslint": "^8.44.0",
48-
"vitest": "3.2.4"
45+
"prettier-plugin-tailwindcss": "^0.7.1",
46+
"typescript": "^5.9.3",
47+
"typescript-eslint": "^8.46.2",
48+
"vitest": "4.0.3"
4949
},
5050
"lint-staged": {
5151
"*.{js,ts,tsx}": [

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,34 +13,34 @@
1313
"author": "amazon",
1414
"license": "Apache-2.0",
1515
"dependencies": {
16-
"@aws-sdk/credential-providers": "^3.888.0",
16+
"@aws-sdk/credential-providers": "^3.917.0",
1717
"@graph-explorer/shared": "workspace:*",
1818
"aws4": "^1.13.2",
1919
"body-parser": "^2.2.0",
2020
"compression": "^1.8.1",
2121
"cors": "^2.8.5",
2222
"crypto-js": "^4.2.0",
2323
"date-fns": "^4.1.0",
24-
"dotenv": "^17.2.2",
24+
"dotenv": "^17.2.3",
2525
"express": "^5.1.0",
2626
"fs": "0.0.1-security",
2727
"https": "^1.0.0",
2828
"node-fetch": "^3.3.2",
29-
"pino": "^9.9.5",
30-
"pino-pretty": "^13.1.1",
29+
"pino": "^10.1.0",
30+
"pino-pretty": "^13.1.2",
3131
"zod": "^3.25.76"
3232
},
3333
"devDependencies": {
3434
"@types/aws4": "^1.11.6",
3535
"@types/body-parser": "^1.19.6",
3636
"@types/compression": "^1.8.1",
3737
"@types/cors": "^2.8.19",
38-
"@types/express": "^5.0.3",
39-
"@types/node": "^24.4.0",
40-
"@vitest/coverage-v8": "3.2.4",
41-
"memfs": "^4.39.0",
38+
"@types/express": "^5.0.4",
39+
"@types/node": "^24.9.1",
40+
"@vitest/coverage-v8": "4.0.3",
41+
"memfs": "^4.49.0",
4242
"rimraf": "^6.0.1",
43-
"tsx": "^4.20.5",
44-
"vitest": "3.2.4"
43+
"tsx": "^4.20.6",
44+
"vitest": "4.0.3"
4545
}
4646
}

packages/graph-explorer/package.json

Lines changed: 39 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"@radix-ui/react-tabs": "^1.1.13",
3232
"@radix-ui/react-toggle": "^1.1.10",
3333
"@radix-ui/react-tooltip": "^1.2.8",
34-
"@react-aria/textfield": "3.18.1",
35-
"@tanstack/react-query": "^5.87.4",
34+
"@react-aria/textfield": "3.18.2",
35+
"@tanstack/react-query": "^5.90.5",
3636
"babel-plugin-react-compiler": "19.1.0-rc.3",
3737
"clsx": "^2.1.1",
3838
"color": "^5.0.2",
@@ -48,77 +48,75 @@
4848
"dedent": "^1.7.0",
4949
"file-saver": "^2.0.5",
5050
"flat": "^6.0.1",
51-
"jotai": "^2.14.0",
51+
"jotai": "^2.15.0",
5252
"localforage": "^1.10.0",
5353
"lodash": "^4.17.21",
54-
"lucide-react": "^0.542.0",
55-
"motion": "^12.23.12",
54+
"lucide-react": "^0.548.0",
55+
"motion": "^12.23.24",
5656
"papaparse": "^5.5.3",
5757
"re-resizable": "^6.11.2",
58-
"react": "^19.1.1",
58+
"react": "^19.2.0",
5959
"react-colorful": "^5.6.1",
60-
"react-dom": "^19.1.1",
60+
"react-dom": "^19.2.0",
6161
"react-error-boundary": "^6.0.0",
62-
"react-hook-form": "^7.62.0",
62+
"react-hook-form": "^7.65.0",
6363
"react-inlinesvg": "^4.2.0",
6464
"react-laag": "^2.0.5",
65-
"react-router": "^7.9.1",
65+
"react-router": "^7.9.4",
6666
"react-table": "^7.8.0",
6767
"react-transition-group": "^4.4.5",
68-
"react-virtuoso": "^4.14.0",
68+
"react-virtuoso": "^4.14.1",
6969
"tailwind-merge": "^3.3.1",
7070
"tailwindcss-animate": "^1.0.7",
7171
"use-deep-compare-effect": "^1.8.1",
72-
"uuid": "^11.1.0",
72+
"uuid": "^13.0.0",
7373
"zod": "^3.25.76",
74-
"zod-validation-error": "^4.0.1"
74+
"zod-validation-error": "^4.0.2"
7575
},
7676
"devDependencies": {
77-
"@babel/core": "^7.28.4",
78-
"@babel/preset-env": "^7.28.3",
79-
"@babel/preset-react": "^7.27.1",
80-
"@babel/preset-typescript": "^7.27.1",
81-
"@react-stately/radio": "^3.11.1",
82-
"@react-types/button": "^3.14.0",
83-
"@react-types/checkbox": "^3.10.1",
84-
"@react-types/combobox": "^3.13.8",
85-
"@react-types/radio": "^3.9.1",
86-
"@react-types/shared": "^3.32.0",
87-
"@react-types/switch": "^3.5.14",
77+
"@babel/core": "^7.28.5",
78+
"@babel/preset-env": "^7.28.5",
79+
"@babel/preset-react": "^7.28.5",
80+
"@babel/preset-typescript": "^7.28.5",
81+
"@react-stately/radio": "^3.11.2",
82+
"@react-types/button": "^3.14.1",
83+
"@react-types/checkbox": "^3.10.2",
84+
"@react-types/combobox": "^3.13.9",
85+
"@react-types/radio": "^3.9.2",
86+
"@react-types/shared": "^3.32.1",
87+
"@react-types/switch": "^3.5.15",
8888
"@tailwindcss/container-queries": "^0.1.1",
89-
"@tanstack/react-query-devtools": "^5.87.4",
89+
"@tanstack/react-query-devtools": "^5.90.2",
9090
"@testing-library/dom": "^10.4.1",
91-
"@testing-library/jest-dom": "^6.8.0",
91+
"@testing-library/jest-dom": "^6.9.1",
9292
"@testing-library/react": "^16.3.0",
9393
"@testing-library/user-event": "^14.6.1",
9494
"@types/color": "^4.2.0",
9595
"@types/crypto-js": "^4.2.2",
96-
"@types/cytoscape": "^3.21.9",
9796
"@types/file-saver": "^2.0.7",
9897
"@types/flat": "^5.0.5",
9998
"@types/lodash": "^4.17.20",
100-
"@types/node": "^24.4.0",
99+
"@types/node": "^24.9.1",
101100
"@types/papaparse": "^5.3.16",
102-
"@types/react": "^19.1.13",
103-
"@types/react-dom": "^19.1.9",
101+
"@types/react": "^19.2.2",
102+
"@types/react-dom": "^19.2.2",
104103
"@types/react-table": "^7.7.20",
105104
"@types/react-transition-group": "^4.4.12",
106-
"@types/uuid": "^10.0.0",
107-
"@types/wicg-file-system-access": "^2023.10.6",
108-
"@vitejs/plugin-react": "^5.0.2",
109-
"@vitest/coverage-v8": "3.2.4",
105+
"@types/wicg-file-system-access": "^2023.10.7",
106+
"@vitejs/plugin-react": "^5.1.0",
107+
"@vitest/coverage-v8": "4.0.3",
110108
"autoprefixer": "^10.4.21",
111-
"core-js": "^3.45.1",
112-
"happy-dom": "^20.0.2",
113-
"jsdom": "^26.1.0",
114-
"lint-staged": "^16.1.6",
109+
"core-js": "^3.46.0",
110+
"happy-dom": "^20.0.8",
111+
"jsdom": "^27.0.1",
112+
"lint-staged": "^16.2.6",
115113
"postcss": "^8.5.6",
116114
"rimraf": "^6.0.1",
117-
"tailwindcss": "^3.4.17",
118-
"type-fest": "^4.41.0",
119-
"vite": "^7.1.5",
115+
"tailwindcss": "^3.4.18",
116+
"type-fest": "^5.1.0",
117+
"vite": "^7.1.12",
120118
"vite-tsconfig-paths": "^5.1.4",
121-
"vitest": "3.2.4"
119+
"vitest": "4.0.3"
122120
},
123121
"overrides": {
124122
"json5@>=2.0.0 <2.2.2": "2.2.2",

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,19 @@ export const buttonStyles = cva({
2727
variant: "filled",
2828
color: "primary",
2929
className:
30-
"bg-brand hover:bg-brand-hover data-open:bg-brand-hover text-white",
30+
"bg-brand text-white hover:bg-brand-hover data-open:bg-brand-hover",
3131
},
3232
{
3333
variant: "filled",
3434
color: "danger",
3535
className:
36-
"bg-danger hover:bg-danger-hover data-open:bg-danger-hover text-white",
36+
"bg-danger text-white hover:bg-danger-hover data-open:bg-danger-hover",
3737
},
3838
{
3939
variant: "default",
4040
color: "primary",
4141
className:
42-
"text-text-primary data-open:bg-gray-200 bg-gray-100 hover:bg-gray-200",
42+
"bg-gray-100 text-text-primary hover:bg-gray-200 data-open:bg-gray-200",
4343
},
4444
{
4545
variant: "default",

packages/graph-explorer/src/components/Button/LinkButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export function LinkButton({
1010
{...props}
1111
className={cn(
1212
className,
13-
"text-primary-main m-0 cursor-pointer border-0 bg-transparent p-0 underline underline-offset-2 hover:no-underline"
13+
"m-0 cursor-pointer border-0 bg-transparent p-0 text-primary-main underline underline-offset-2 hover:no-underline"
1414
)}
1515
/>
1616
);

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ const Checkbox = React.forwardRef<
1313
<CheckboxPrimitive.Root
1414
ref={ref}
1515
className={cn(
16-
"focus-visible:ring-ring bg-primary-main border-primary-main group peer size-[16px] shrink-0 rounded border text-white focus-visible:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50",
17-
"data-[state=unchecked]:bg-background-default data-[state=unchecked]:border-gray-400 dark:data-[state=unchecked]:border-gray-600",
16+
"focus-visible:ring-ring group peer size-[16px] shrink-0 rounded border border-primary-main bg-primary-main text-white focus-visible:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50",
17+
"data-[state=unchecked]:border-gray-400 data-[state=unchecked]:bg-background-default dark:data-[state=unchecked]:border-gray-600",
1818
className
1919
)}
2020
{...props}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ function CheckboxRow({
110110
<div className={cn("px-3", isTop && "pt-3", isBottom && "pb-3")}>
111111
<Label
112112
className={cn(
113-
"text-text-primary w-full border-x border-b px-3 py-3 hover:cursor-pointer",
114-
isTop && "bg-background-contrast/50 rounded-t-lg border-t",
113+
"w-full border-x border-b px-3 py-3 text-text-primary hover:cursor-pointer",
114+
isTop && "rounded-t-lg border-t bg-background-contrast/50",
115115
isBottom && "rounded-b-lg",
116116
className
117117
)}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function CollapsibleContent({
2626
<CollapsiblePrimitive.CollapsibleContent
2727
data-slot="collapsible-content"
2828
className={cn(
29-
"group-data-open:animate-expand group-data-closed:animate-collapse overflow-hidden",
29+
"overflow-hidden group-data-open:animate-expand group-data-closed:animate-collapse",
3030
className
3131
)}
3232
{...props}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const DialogOverlay = React.forwardRef<
1919
<DialogPrimitive.Overlay
2020
ref={ref}
2121
className={cn(
22-
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
22+
"fixed inset-0 z-50 bg-black/50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
2323
className
2424
)}
2525
{...props}
@@ -37,7 +37,7 @@ const DialogContent = React.forwardRef<
3737
<DialogPrimitive.Content
3838
ref={ref}
3939
className={cn(
40-
"bg-background-default data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 relative grid max-h-full w-[500px] overflow-y-auto rounded-lg duration-200",
40+
"relative grid max-h-full w-[500px] overflow-y-auto rounded-lg bg-background-default duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",
4141
className
4242
)}
4343
{...props}
@@ -108,7 +108,7 @@ const DialogDescription = React.forwardRef<
108108
>(({ className, ...props }, ref) => (
109109
<DialogPrimitive.Description
110110
ref={ref}
111-
className={cn("text-text-secondary text-sm", className)}
111+
className={cn("text-sm text-text-secondary", className)}
112112
{...props}
113113
/>
114114
));

0 commit comments

Comments
 (0)