π OpenHands: AI-Driven Development
chore(deps-dev): bump the eslint group across 1 directory with 3 updates (#13938)
dependabot[bot]cf3fbdbc3ffd
diff --git a/frontend/package-lock.json b/frontend/package-lock.jsonindex fd5e6ae24a..639bf0b266 100644--- a/frontend/package-lock.json+++ b/frontend/package-lock.json@@ -53,7 +53,7 @@"@playwright/test": "^1.57.0","@react-router/dev": "^7.12.0","@tailwindcss/typography": "^0.5.19",- "@tanstack/eslint-plugin-query": "^5.91.3",+ "@tanstack/eslint-plugin-query": "^5.100.10","@testing-library/dom": "^10.4.1","@testing-library/jest-dom": "^6.9.1","@testing-library/react": "^16.3.2",@@ -70,13 +70,13 @@"eslint-config-airbnb": "^19.0.4","eslint-config-airbnb-typescript": "^18.0.0","eslint-config-prettier": "^10.1.8",- "eslint-plugin-i18next": "^6.1.3",+ "eslint-plugin-i18next": "^6.1.4","eslint-plugin-import": "^2.32.0","eslint-plugin-jsx-a11y": "^6.10.2","eslint-plugin-prettier": "^5.5.5","eslint-plugin-react": "^7.37.5","eslint-plugin-react-hooks": "^4.6.2",- "eslint-plugin-unused-imports": "^4.2.0",+ "eslint-plugin-unused-imports": "^4.4.1","husky": "^9.1.7","jsdom": "^27.4.0","lint-staged": "^16.2.7",@@ -6067,20 +6067,25 @@}},"node_modules/@tanstack/eslint-plugin-query": {- "version": "5.91.3",- "resolved": "https://registry.npmjs.org/@tanstack/eslint-plugin-query/-/eslint-plugin-query-5.91.3.tgz",- "integrity": "sha512-5GMGZMYFK9dOvjpdedjJs4hU40EdPuO2AjzObQzP7eOSsikunCfrXaU3oNGXSsvoU9ve1Z1xQZZuDyPi0C1M7Q==",+ "version": "5.100.10",+ "resolved": "https://registry.npmjs.org/@tanstack/eslint-plugin-query/-/eslint-plugin-query-5.100.10.tgz",+ "integrity": "sha512-Ddou3agTWv5rvHSBby4yHlugUFHVh0nyo2fyoZ81qSxaTBIwNCoPgpiJhjo5QkThrH1wGC7k548BcMTszZCkBw==","dev": true,- "license": "MIT","dependencies": {- "@typescript-eslint/utils": "^8.48.0"+ "@typescript-eslint/utils": "^8.58.1"},"funding": {"type": "github","url": "https://github.com/sponsors/tannerlinsley"},"peerDependencies": {- "eslint": "^8.57.0 || ^9.0.0"+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",+ "typescript": "^5.4.0 || ^6.0.0"+ },+ "peerDependenciesMeta": {+ "typescript": {+ "optional": true+ }}},"node_modules/@tanstack/query-core": {@@ -6468,14 +6473,13 @@}},"node_modules/@typescript-eslint/project-service": {- "version": "8.54.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.54.0.tgz",- "integrity": "sha512-YPf+rvJ1s7MyiWM4uTRhE4DvBXrEV+d8oC3P9Y2eT7S+HBS0clybdMIPnhiATi9vZOYDc7OQ1L/i6ga6NFYK/g==",+ "version": "8.59.3",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.59.3.tgz",+ "integrity": "sha512-ECiUWa/KYRGDFUqTNehaRgzDshnJfkTABJxVemHk4ko22gcr0ukloKjWvyQ64g8YCV/UI47kN1dbmjf/GaQYng==","dev": true,- "license": "MIT","dependencies": {- "@typescript-eslint/tsconfig-utils": "^8.54.0",- "@typescript-eslint/types": "^8.54.0",+ "@typescript-eslint/tsconfig-utils": "^8.59.3",+ "@typescript-eslint/types": "^8.59.3","debug": "^4.4.3"},"engines": {@@ -6486,15 +6490,14 @@"url": "https://opencollective.com/typescript-eslint"},"peerDependencies": {- "typescript": ">=4.8.4 <6.0.0"+ "typescript": ">=4.8.4 <6.1.0"}},"node_modules/@typescript-eslint/project-service/node_modules/@typescript-eslint/types": {- "version": "8.54.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.54.0.tgz",- "integrity": "sha512-PDUI9R1BVjqu7AUDsRBbKMtwmjWcn4J3le+5LpcFgWULN3LvHC5rkc9gCVxbrsrGmO1jfPybN5s6h4Jy+OnkAA==",+ "version": "8.59.3",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.59.3.tgz",+ "integrity": "sha512-ePFoH0g4ludssdRFqqDxQePCxU4WQyRa9+XVwjm7yLn0FKhMeoetC+qBEEI1Eyb1pGSDveTIT09Bvw2WhlGayg==","dev": true,- "license": "MIT","engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"},@@ -6522,11 +6525,10 @@}},"node_modules/@typescript-eslint/tsconfig-utils": {- "version": "8.54.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.54.0.tgz",- "integrity": "sha512-dRgOyT2hPk/JwxNMZDsIXDgyl9axdJI3ogZ2XWhBPsnZUv+hPesa5iuhdYt2gzwA9t8RE5ytOJ6xB0moV0Ujvw==",+ "version": "8.59.3",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.59.3.tgz",+ "integrity": "sha512-PcIJHjmaREXLgIAIzLnSY9VucEzz8FKXsRgFa1DmdGCK/5tJpW03TKJF01Q6VZd1lLdz2sIKPWaDUZN9dp//dw==","dev": true,- "license": "MIT","engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"},@@ -6535,7 +6537,7 @@"url": "https://opencollective.com/typescript-eslint"},"peerDependencies": {- "typescript": ">=4.8.4 <6.0.0"+ "typescript": ">=4.8.4 <6.1.0"}},"node_modules/@typescript-eslint/type-utils": {@@ -6633,16 +6635,15 @@}},"node_modules/@typescript-eslint/utils": {- "version": "8.54.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.54.0.tgz",- "integrity": "sha512-9Cnda8GS57AQakvRyG0PTejJNlA2xhvyNtEVIMlDWOOeEyBkYWhGPnfrIAnqxLMTSTo6q8g12XVjjev5l1NvMA==",+ "version": "8.59.3",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.59.3.tgz",+ "integrity": "sha512-JAvT14goBzRzzzZyqq3P9BLArIxTtQURUtFgQ/V7FO+eU+Gg6ES+5ymOPP1wRxXcxAYeivCk4uS3jCKWI1K8Zg==","dev": true,- "license": "MIT","dependencies": {"@eslint-community/eslint-utils": "^4.9.1",- "@typescript-eslint/scope-manager": "8.54.0",- "@typescript-eslint/types": "8.54.0",- "@typescript-eslint/typescript-estree": "8.54.0"+ "@typescript-eslint/scope-manager": "8.59.3",+ "@typescript-eslint/types": "8.59.3",+ "@typescript-eslint/typescript-estree": "8.59.3"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -6652,19 +6653,18 @@"url": "https://opencollective.com/typescript-eslint"},"peerDependencies": {- "eslint": "^8.57.0 || ^9.0.0",- "typescript": ">=4.8.4 <6.0.0"+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",+ "typescript": ">=4.8.4 <6.1.0"}},"node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/scope-manager": {- "version": "8.54.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.54.0.tgz",- "integrity": "sha512-27rYVQku26j/PbHYcVfRPonmOlVI6gihHtXFbTdB5sb6qA0wdAQAbyXFVarQ5t4HRojIz64IV90YtsjQSSGlQg==",+ "version": "8.59.3",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.59.3.tgz",+ "integrity": "sha512-t2LvZnoEfzKtnPjgeEu41xw5gxq9mQVfYy4OoZ4Vlt0sk3JwxmhCca/AR7DwOiHrjWgjAj6as4AhRLKSDfvZIA==","dev": true,- "license": "MIT","dependencies": {- "@typescript-eslint/types": "8.54.0",- "@typescript-eslint/visitor-keys": "8.54.0"+ "@typescript-eslint/types": "8.59.3",+ "@typescript-eslint/visitor-keys": "8.59.3"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -6675,11 +6675,10 @@}},"node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/types": {- "version": "8.54.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.54.0.tgz",- "integrity": "sha512-PDUI9R1BVjqu7AUDsRBbKMtwmjWcn4J3le+5LpcFgWULN3LvHC5rkc9gCVxbrsrGmO1jfPybN5s6h4Jy+OnkAA==",+ "version": "8.59.3",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.59.3.tgz",+ "integrity": "sha512-ePFoH0g4ludssdRFqqDxQePCxU4WQyRa9+XVwjm7yLn0FKhMeoetC+qBEEI1Eyb1pGSDveTIT09Bvw2WhlGayg==","dev": true,- "license": "MIT","engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"},@@ -6689,21 +6688,20 @@}},"node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/typescript-estree": {- "version": "8.54.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.54.0.tgz",- "integrity": "sha512-BUwcskRaPvTk6fzVWgDPdUndLjB87KYDrN5EYGetnktoeAvPtO4ONHlAZDnj5VFnUANg0Sjm7j4usBlnoVMHwA==",+ "version": "8.59.3",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.59.3.tgz",+ "integrity": "sha512-CbRjVRAf7Lr9Kr8RopKcbY45p2VfmmHrm0ygOCYFi7oU8q19m0Fs/6iHS7kNOmwpp+ob07ZVcAqlxUod9lYdmg==","dev": true,- "license": "MIT","dependencies": {- "@typescript-eslint/project-service": "8.54.0",- "@typescript-eslint/tsconfig-utils": "8.54.0",- "@typescript-eslint/types": "8.54.0",- "@typescript-eslint/visitor-keys": "8.54.0",+ "@typescript-eslint/project-service": "8.59.3",+ "@typescript-eslint/tsconfig-utils": "8.59.3",+ "@typescript-eslint/types": "8.59.3",+ "@typescript-eslint/visitor-keys": "8.59.3","debug": "^4.4.3",- "minimatch": "^9.0.5",+ "minimatch": "^10.2.2","semver": "^7.7.3","tinyglobby": "^0.2.15",- "ts-api-utils": "^2.4.0"+ "ts-api-utils": "^2.5.0"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -6713,18 +6711,17 @@"url": "https://opencollective.com/typescript-eslint"},"peerDependencies": {- "typescript": ">=4.8.4 <6.0.0"+ "typescript": ">=4.8.4 <6.1.0"}},"node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/visitor-keys": {- "version": "8.54.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.54.0.tgz",- "integrity": "sha512-VFlhGSl4opC0bprJiItPQ1RfUhGDIBokcPwaFH4yiBCaNPeld/9VeXbiPO1cLyorQi1G1vL+ecBk1x8o1axORA==",+ "version": "8.59.3",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.59.3.tgz",+ "integrity": "sha512-f1UQF7ggd42YiwI5wGrRaPsa+P0CINBlrkLPmGfpq/u/I/oVtecoEIfFR9ag/oa1sLOsRNZ6xehf6qMZhQGBDg==","dev": true,- "license": "MIT","dependencies": {- "@typescript-eslint/types": "8.54.0",- "eslint-visitor-keys": "^4.2.1"+ "@typescript-eslint/types": "8.59.3",+ "eslint-visitor-keys": "^5.0.0"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -6734,25 +6731,59 @@"url": "https://opencollective.com/typescript-eslint"}},+ "node_modules/@typescript-eslint/utils/node_modules/balanced-match": {+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",+ "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==",+ "dev": true,+ "engines": {+ "node": "18 || 20 || >=22"+ }+ },+ "node_modules/@typescript-eslint/utils/node_modules/brace-expansion": {+ "version": "5.0.6",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz",+ "integrity": "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==",+ "dev": true,+ "dependencies": {+ "balanced-match": "^4.0.2"+ },+ "engines": {+ "node": "18 || 20 || >=22"+ }+ },"node_modules/@typescript-eslint/utils/node_modules/eslint-visitor-keys": {- "version": "4.2.1",- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz",- "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==",+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz",+ "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==","dev": true,- "license": "Apache-2.0","engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ "node": "^20.19.0 || ^22.13.0 || >=24"},"funding": {"url": "https://opencollective.com/eslint"}},+ "node_modules/@typescript-eslint/utils/node_modules/minimatch": {+ "version": "10.2.5",+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",+ "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",+ "dev": true,+ "dependencies": {+ "brace-expansion": "^5.0.5"+ },+ "engines": {+ "node": "18 || 20 || >=22"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ }+ },"node_modules/@typescript-eslint/utils/node_modules/ts-api-utils": {- "version": "2.4.0",- "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.4.0.tgz",- "integrity": "sha512-3TaVTaAv2gTiMB35i3FiGJaRfwb3Pyn/j3m/bfAvGe8FB7CF6u+LMYqYlDh7reQf7UNvoTvdfAqHGmPGOSsPmA==",+ "version": "2.5.0",+ "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz",+ "integrity": "sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==","dev": true,- "license": "MIT","engines": {"node": ">=18.12"},@@ -9147,11 +9178,10 @@}},"node_modules/eslint-plugin-i18next": {- "version": "6.1.3",- "resolved": "https://registry.npmjs.org/eslint-plugin-i18next/-/eslint-plugin-i18next-6.1.3.tgz",- "integrity": "sha512-z/h4oBRd9wI1ET60HqcLSU6XPeAh/EPOrBBTyCdkWeMoYrWAaUVA+DOQkWTiNIyCltG4NTmy62SQisVXxoXurw==",+ "version": "6.1.4",+ "resolved": "https://registry.npmjs.org/eslint-plugin-i18next/-/eslint-plugin-i18next-6.1.4.tgz",+ "integrity": "sha512-BekXQu1VaVFkREepQGsntBYoKuPsf89V16n/s2xpKMtsw0/lDseds1wBhj3RtO1dKnHsfTPaG+xul1vF0R7LEQ==","dev": true,- "license": "ISC","dependencies": {"lodash": "^4.17.21","requireindex": "~1.1.0"@@ -9455,14 +9485,13 @@}},"node_modules/eslint-plugin-unused-imports": {- "version": "4.3.0",- "resolved": "https://registry.npmjs.org/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-4.3.0.tgz",- "integrity": "sha512-ZFBmXMGBYfHttdRtOG9nFFpmUvMtbHSjsKrS20vdWdbfiVYsO3yA2SGYy9i9XmZJDfMGBflZGBCm70SEnFQtOA==",+ "version": "4.4.1",+ "resolved": "https://registry.npmjs.org/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-4.4.1.tgz",+ "integrity": "sha512-oZGYUz1X3sRMGUB+0cZyK2VcvRX5lm/vB56PgNNcU+7ficUCKm66oZWKUubXWnOuPjQ8PvmXtCViXBMONPe7tQ==","dev": true,- "license": "MIT","peerDependencies": {"@typescript-eslint/eslint-plugin": "^8.0.0-0 || ^7.0.0 || ^6.0.0 || ^5.0.0",- "eslint": "^9.0.0 || ^8.0.0"+ "eslint": "^10.0.0 || ^9.0.0 || ^8.0.0"},"peerDependenciesMeta": {"@typescript-eslint/eslint-plugin": {diff --git a/frontend/package.json b/frontend/package.jsonindex 57c932c5eb..9affe2553c 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -84,7 +84,7 @@"@playwright/test": "^1.57.0","@react-router/dev": "^7.12.0","@tailwindcss/typography": "^0.5.19",- "@tanstack/eslint-plugin-query": "^5.91.3",+ "@tanstack/eslint-plugin-query": "^5.100.10","@testing-library/dom": "^10.4.1","@testing-library/jest-dom": "^6.9.1","@testing-library/react": "^16.3.2",@@ -101,13 +101,13 @@"eslint-config-airbnb": "^19.0.4","eslint-config-airbnb-typescript": "^18.0.0","eslint-config-prettier": "^10.1.8",- "eslint-plugin-i18next": "^6.1.3",+ "eslint-plugin-i18next": "^6.1.4","eslint-plugin-import": "^2.32.0","eslint-plugin-jsx-a11y": "^6.10.2","eslint-plugin-prettier": "^5.5.5","eslint-plugin-react": "^7.37.5","eslint-plugin-react-hooks": "^4.6.2",- "eslint-plugin-unused-imports": "^4.2.0",+ "eslint-plugin-unused-imports": "^4.4.1","husky": "^9.1.7","jsdom": "^27.4.0","lint-staged": "^16.2.7",diff --git a/frontend/src/hooks/query/use-unified-vscode-url.ts b/frontend/src/hooks/query/use-unified-vscode-url.tsindex a67e834906..892ba32811 100644--- a/frontend/src/hooks/query/use-unified-vscode-url.ts+++ b/frontend/src/hooks/query/use-unified-vscode-url.ts@@ -1,15 +1,14 @@import { useQuery } from "@tanstack/react-query";-import { useTranslation } from "react-i18next";import { useConversationId } from "#/hooks/use-conversation-id";import { I18nKey } from "#/i18n/declaration";-import { transformVSCodeUrl } from "#/utils/vscode-url-helper";import { useRuntimeIsReady } from "#/hooks/use-runtime-is-ready";+import { transformVSCodeUrl } from "#/utils/vscode-url-helper";import { useBatchAppConversations } from "./use-batch-app-conversations";import { useBatchSandboxes } from "./use-batch-sandboxes";interface VSCodeUrlResult {url: string | null;- error: string | null;+ error: I18nKey | null;}/**@@ -18,7 +17,6 @@ interface VSCodeUrlResult {* - V1: Gets the VSCode URL from sandbox exposed_urls*/export const useUnifiedVSCodeUrl = () => {- const { t } = useTranslation();const { conversationId } = useConversationId();const runtimeIsReady = useRuntimeIsReady({ allowAgentError: true });@@ -42,7 +40,7 @@ export const useUnifiedVSCodeUrl = () => {if (!sandbox) {return {url: null,- error: t(I18nKey.VSCODE$URL_NOT_AVAILABLE),+ error: I18nKey.VSCODE$URL_NOT_AVAILABLE,};}@@ -53,7 +51,7 @@ export const useUnifiedVSCodeUrl = () => {if (!vscodeUrl) {return {url: null,- error: t(I18nKey.VSCODE$URL_NOT_AVAILABLE),+ error: I18nKey.VSCODE$URL_NOT_AVAILABLE,};}diff --git a/frontend/src/routes/vscode-tab.tsx b/frontend/src/routes/vscode-tab.tsxindex 7edb546aa2..f3493e4e59 100644--- a/frontend/src/routes/vscode-tab.tsx+++ b/frontend/src/routes/vscode-tab.tsx@@ -66,7 +66,7 @@ function VSCodeTab() {return (<div className="w-full h-full flex items-center text-center justify-center text-2xl text-tertiary-light">{iframeError ||- data?.error ||+ (data?.error ? t(data.error) : null) ||String(error) ||t(I18nKey.VSCODE$URL_NOT_AVAILABLE)}</div>