Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore(eslint): bump eslint-config-next to v16 for useEffectEvent (#48458)

Charis50e1eb743665
diff --git a/apps/studio/.github/eslint-rule-baselines.json b/apps/studio/.github/eslint-rule-baselines.json
index bb9dff36ebb..e19a3747373 100644
--- a/apps/studio/.github/eslint-rule-baselines.json
+++ b/apps/studio/.github/eslint-rule-baselines.json
@@ -2,7 +2,7 @@
"rules": {
"react-hooks/exhaustive-deps": 160,
"import/no-anonymous-default-export": 57,
- "@tanstack/query/exhaustive-deps": 9,
+ "@tanstack/query/exhaustive-deps": 89,
"@typescript-eslint/no-explicit-any": 875,
"no-restricted-imports": 0,
"no-restricted-exports": 193,
@@ -208,11 +208,86 @@
"@tanstack/query/exhaustive-deps": {
"components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.tsx": 1,
"components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.utils.tsx": 2,
+ "data/auth/index-worker-status-query.ts": 1,
+ "data/auth/user-query.ts": 1,
+ "data/auth/user-search-indexes-query.ts": 1,
+ "data/auth/users-count-query.ts": 1,
+ "data/auth/users-infinite-query.ts": 1,
"data/branches/branch-diff-query.ts": 1,
+ "data/config/disk-breakdown-query.ts": 1,
+ "data/config/project-upgrade-status-query.ts": 1,
+ "data/database-cron-jobs/database-cron-job-query.ts": 1,
+ "data/database-cron-jobs/database-cron-jobs-count-estimate-query.ts": 1,
+ "data/database-cron-jobs/database-cron-jobs-count-query.ts": 1,
+ "data/database-cron-jobs/database-cron-jobs-infinite-query.ts": 1,
+ "data/database-cron-jobs/database-cron-jobs-minimal-infinite-query.ts": 1,
+ "data/database-cron-jobs/database-cron-jobs-runs-infinite-query.ts": 1,
+ "data/database-cron-jobs/database-cron-timezone-query.ts": 1,
+ "data/database-event-triggers/database-event-triggers-query.ts": 1,
+ "data/database-extensions/database-extensions-query.ts": 1,
+ "data/database-functions/database-functions-query.ts": 1,
+ "data/database-indexes/indexes-query.ts": 1,
+ "data/database-integrations/stripe/sync-state-query.ts": 1,
+ "data/database-policies/database-policies-query.ts": 1,
+ "data/database-publications/database-publications-query.ts": 1,
+ "data/database-queues/database-queue-messages-infinite-query.ts": 1,
+ "data/database-queues/database-queues-expose-postgrest-status-query.ts": 1,
+ "data/database-queues/database-queues-metrics-query.ts": 1,
+ "data/database-queues/database-queues-query.ts": 1,
+ "data/database-roles/database-roles-query.ts": 1,
+ "data/database-triggers/database-triggers-query.ts": 2,
+ "data/database/activity-query.ts": 1,
+ "data/database/constraints-query.ts": 1,
+ "data/database/database-size-query.ts": 1,
"data/database/foreign-key-constraints-query.ts": 1,
- "data/database/schemas-query.ts": 1,
- "data/entity-types/entity-types-infinite-query.ts": 1,
- "data/tables/tables-query.ts": 2
+ "data/database/keywords-query.ts": 1,
+ "data/database/max-connections-query.ts": 1,
+ "data/database/migrations-query.ts": 1,
+ "data/database/retrieve-index-advisor-result-query.ts": 1,
+ "data/database/retrieve-index-from-select-query.ts": 1,
+ "data/database/schemas-query.ts": 2,
+ "data/database/supamonitor-enabled-query.ts": 1,
+ "data/database/table-columns-query.ts": 1,
+ "data/database/table-definition-query.ts": 1,
+ "data/database/table-index-advisor-query.ts": 1,
+ "data/database/view-definition-query.ts": 1,
+ "data/entity-types/entity-types-infinite-query.ts": 2,
+ "data/enumerated-types/enumerated-types-query.ts": 1,
+ "data/fdw/fdws-query.ts": 1,
+ "data/foreign-tables/foreign-tables-query.ts": 1,
+ "data/invoices/invoices-query.ts": 1,
+ "data/logs/unified-log-inspection-query.ts": 1,
+ "data/materialized-views/materialized-views-query.ts": 1,
+ "data/misc/get-default-region-query.ts": 1,
+ "data/oauth-server-apps/oauth-openid-configuration-query.ts": 1,
+ "data/organizations/organization-audit-logs-query.ts": 1,
+ "data/organizations/organization-billing-subscription-preview.ts": 1,
+ "data/organizations/organization-creation-preview.ts": 1,
+ "data/organizations/organization-credit-top-up-preview.ts": 1,
+ "data/pg-graphql/schema-comment-query.ts": 1,
+ "data/privileges/column-privileges-query.ts": 1,
+ "data/privileges/exposed-functions-query.ts": 1,
+ "data/privileges/exposed-tables-query.ts": 1,
+ "data/privileges/table-privileges-query.ts": 1,
+ "data/profile/profile-audit-logs-query.ts": 1,
+ "data/projects/project-detail-query.ts": 1,
+ "data/projects/project-type-generation-query.ts": 1,
+ "data/read-replicas/replica-lag-query.ts": 1,
+ "data/sql/ongoing-queries-query.ts": 1,
+ "data/storage/bucket-objects-infinite-query.ts": 1,
+ "data/storage/iceberg-namespace-tables-query.ts": 1,
+ "data/storage/public-buckets-with-select-policies-query.ts": 1,
+ "data/table-editor/table-editor-query.ts": 1,
+ "data/table-rows/table-rows-count-query.ts": 1,
+ "data/table-rows/table-rows-query.ts": 1,
+ "data/tables/table-names-query.ts": 1,
+ "data/tables/table-retrieve-query.ts": 1,
+ "data/tables/tables-query.ts": 4,
+ "data/usage/org-usage-query.ts": 1,
+ "data/usage/resource-warnings-query.ts": 1,
+ "data/vault/vault-secret-decrypted-value-query.ts": 1,
+ "data/vault/vault-secrets-query.ts": 1,
+ "data/views/views-query.ts": 1
},
"@typescript-eslint/no-explicit-any": {
"components/grid/SupabaseGrid.tsx": 1,
diff --git a/apps/studio/components/grid/components/header/filter/FilterPopoverNew.tsx b/apps/studio/components/grid/components/header/filter/FilterPopoverNew.tsx
index 07a5a4aff64..dc8a5e96c39 100644
--- a/apps/studio/components/grid/components/header/filter/FilterPopoverNew.tsx
+++ b/apps/studio/components/grid/components/header/filter/FilterPopoverNew.tsx
@@ -143,7 +143,6 @@ export const FilterPopoverNew = ({
useEffect(() => {
syncFromFilters()
- // eslint-disable-next-line react-hooks/exhaustive-deps -- useEffectEvent fn intentionally not a dep (eslint-plugin-react-hooks v5 doesn't recognize stable useEffectEvent yet)
}, [filters])
const columns = useMemo(() => snap.table?.columns ?? [], [snap.table?.columns])
diff --git a/apps/studio/components/grid/hooks/useFilterLifeCycle.ts b/apps/studio/components/grid/hooks/useFilterLifeCycle.ts
index 934bae3df11..a86f43cb67d 100644
--- a/apps/studio/components/grid/hooks/useFilterLifeCycle.ts
+++ b/apps/studio/components/grid/hooks/useFilterLifeCycle.ts
@@ -22,7 +22,6 @@ export function useInitializeFiltersFromUrl() {
useEffect(() => {
initializeFilters()
- // eslint-disable-next-line react-hooks/exhaustive-deps -- useEffectEvent fn intentionally not a dep (eslint-plugin-react-hooks v5 doesn't recognize stable useEffectEvent yet)
}, [])
}
diff --git a/apps/studio/components/grid/utils/gridColumns.tsx b/apps/studio/components/grid/utils/gridColumns.tsx
index fc9445a81d3..5c648162593 100644
--- a/apps/studio/components/grid/utils/gridColumns.tsx
+++ b/apps/studio/components/grid/utils/gridColumns.tsx
@@ -228,7 +228,6 @@ function getCellRenderer(
if (!columnDef.isUpdatable) {
formatter = DefaultFormatter
} else {
- // eslint-disable-next-line react/display-name
formatter = (p: any) => <ForeignKeyFormatter {...p} tableId={metadata.tableId} />
}
break
diff --git a/apps/studio/components/interfaces/ApiAuthorization/ApiAuthorization.Valid.tsx b/apps/studio/components/interfaces/ApiAuthorization/ApiAuthorization.Valid.tsx
index 507b06fa481..621e49ea9d7 100644
--- a/apps/studio/components/interfaces/ApiAuthorization/ApiAuthorization.Valid.tsx
+++ b/apps/studio/components/interfaces/ApiAuthorization/ApiAuthorization.Valid.tsx
@@ -108,7 +108,6 @@ function usePrefillFormOnOrganizationsSuccess(
if (organizationsState._tag === 'success') {
prefillForm()
}
- // eslint-disable-next-line react-hooks/exhaustive-deps -- useEffectEvent fn intentionally not a dep (eslint-plugin-react-hooks v5 doesn't recognize stable useEffectEvent yet)
}, [organizationsState._tag])
}
diff --git a/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreviewContext.tsx b/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreviewContext.tsx
index ce32634141e..63541a53ed4 100644
--- a/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreviewContext.tsx
+++ b/apps/studio/components/interfaces/App/FeaturePreview/FeaturePreviewContext.tsx
@@ -66,7 +66,6 @@ export const FeaturePreviewContextProvider = ({ children }: PropsWithChildren) =
// flag-derived defaults (e.g. default opt-in) are reflected in `flags`.
if (hasLoaded) setIsInitialized(true)
}
- // eslint-disable-next-line react-hooks/exhaustive-deps -- useEffectEvent fn intentionally not a dep (eslint-plugin-react-hooks v5 doesn't recognize stable useEffectEvent yet)
}, [hasLoaded])
const value = {
diff --git a/apps/studio/components/interfaces/ConnectSheet/content/nextjs/app/supabasejs/content.tsx b/apps/studio/components/interfaces/ConnectSheet/content/nextjs/app/supabasejs/content.tsx
index e9b3722ba28..382b36fc728 100644
--- a/apps/studio/components/interfaces/ConnectSheet/content/nextjs/app/supabasejs/content.tsx
+++ b/apps/studio/components/interfaces/ConnectSheet/content/nextjs/app/supabasejs/content.tsx
@@ -137,5 +137,4 @@ export const createClient = (request: NextRequest) => {
}
// [Joshen] Used as a dynamic import
-// eslint-disable-next-line no-restricted-exports
export default ContentFile
diff --git a/apps/studio/components/interfaces/Observability/DatabaseInfrastructureSection.tsx b/apps/studio/components/interfaces/Observability/DatabaseInfrastructureSection.tsx
index f101e93db6c..13c5d8eeb54 100644
--- a/apps/studio/components/interfaces/Observability/DatabaseInfrastructureSection.tsx
+++ b/apps/studio/components/interfaces/Observability/DatabaseInfrastructureSection.tsx
@@ -39,7 +39,6 @@ export const DatabaseInfrastructureSection = ({
const { data: project } = useSelectedProjectQuery()
// refreshKey forces date recalculation when user clicks refresh button
- // eslint-disable-next-line react-hooks/exhaustive-deps
const { startDate, endDate, infraInterval } = useMemo(() => {
const now = dayjs()
const end = now.toISOString()
diff --git a/apps/studio/components/interfaces/Organization/SSO/SSOConfig.tsx b/apps/studio/components/interfaces/Organization/SSO/SSOConfig.tsx
index 6b0c41936ea..674a4a047b8 100644
--- a/apps/studio/components/interfaces/Organization/SSO/SSOConfig.tsx
+++ b/apps/studio/components/interfaces/Organization/SSO/SSOConfig.tsx
@@ -226,7 +226,6 @@ export const SSOConfig = () => {
useEffect(() => {
syncFormFromConfig()
- // eslint-disable-next-line react-hooks/exhaustive-deps -- useEffectEvent fn intentionally not a dep (eslint-plugin-react-hooks v5 doesn't recognize stable useEffectEvent yet)
}, [ssoConfig, organization?.slug])
// Automatically add an empty domain field when SP-initiated is enabled
@@ -239,7 +238,6 @@ export const SSOConfig = () => {
useEffect(() => {
ensureDomainField()
- // eslint-disable-next-line react-hooks/exhaustive-deps -- useEffectEvent fn intentionally not a dep (eslint-plugin-react-hooks v5 doesn't recognize stable useEffectEvent yet)
}, [enableSpInitiated])
return (
diff --git a/apps/studio/components/interfaces/QueryInsights/hooks/useQueryInsightsTableColumns.tsx b/apps/studio/components/interfaces/QueryInsights/hooks/useQueryInsightsTableColumns.tsx
index cd3fb64bea2..fa7eb460936 100644
--- a/apps/studio/components/interfaces/QueryInsights/hooks/useQueryInsightsTableColumns.tsx
+++ b/apps/studio/components/interfaces/QueryInsights/hooks/useQueryInsightsTableColumns.tsx
@@ -1,6 +1,5 @@
import { ArrowDown, ArrowRight, ArrowUp, ChevronDown, ExternalLink, ScanSearch } from 'lucide-react'
import { useMemo, type RefObject } from 'react'
-// eslint-disable-next-line no-restricted-imports
import { type Column, type DataGridHandle } from 'react-data-grid'
import {
Button,
diff --git a/apps/studio/components/interfaces/Realtime/Inspector/RealtimeTokensPopover.tsx b/apps/studio/components/interfaces/Realtime/Inspector/RealtimeTokensPopover.tsx
index 537edafb374..f8d5e327f44 100644
--- a/apps/studio/components/interfaces/Realtime/Inspector/RealtimeTokensPopover.tsx
+++ b/apps/studio/components/interfaces/Realtime/Inspector/RealtimeTokensPopover.tsx
@@ -49,7 +49,6 @@ export const RealtimeTokensPopover = ({ config, onChangeConfig }: RealtimeTokens
onRoleUpdated()
}
isMounted.current = true
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, [snap.role])
useEffect(() => {
diff --git a/apps/studio/components/interfaces/SQLEditor/SQLEditorControllers.tsx b/apps/studio/components/interfaces/SQLEditor/SQLEditorControllers.tsx
index b4af89af282..0aa70a05313 100644
--- a/apps/studio/components/interfaces/SQLEditor/SQLEditorControllers.tsx
+++ b/apps/studio/components/interfaces/SQLEditor/SQLEditorControllers.tsx
@@ -212,8 +212,6 @@ export const SQLEditorControllersProvider = ({ children }: PropsWithChildren) =>
useEffect(() => {
// Save the departing snippet's scroll position on unmount / snippet switch.
return () => saveScrollPosition(id)
- // Temporary until we update eslint to ignore useEffectEvent
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, [id])
useEffect(() => {
diff --git a/apps/studio/components/interfaces/SQLEditor/useSnippetEditor.ts b/apps/studio/components/interfaces/SQLEditor/useSnippetEditor.ts
index f7bfd296d9c..aa2316904c4 100644
--- a/apps/studio/components/interfaces/SQLEditor/useSnippetEditor.ts
+++ b/apps/studio/components/interfaces/SQLEditor/useSnippetEditor.ts
@@ -76,9 +76,6 @@ export function useSnippetEditor({ id, snippetName }: { id: string; snippetName:
})
useEffect(() => {
seedFromContentParam()
- // The useEffectEvent return is stable and must not be a dependency; this
- // disable can go once our eslint version understands useEffectEvent.
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, [])
return { snippet, disableEdit, handleEditorChange }
diff --git a/apps/studio/components/interfaces/SQLEditor/useSqlEditorAi.ts b/apps/studio/components/interfaces/SQLEditor/useSqlEditorAi.ts
index 5b41e45e647..97c5e589d6b 100644
--- a/apps/studio/components/interfaces/SQLEditor/useSqlEditorAi.ts
+++ b/apps/studio/components/interfaces/SQLEditor/useSqlEditorAi.ts
@@ -290,8 +290,6 @@ export function useSqlEditorAi({ id, editorMountCount, diff, prompt }: UseSqlEdi
})
useEffect(() => {
resetDiff()
- // Temporary until we update eslint to ignore useEffectEvent
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, [id])
const syncDiffEditor = useEffectEvent(() => {
@@ -301,8 +299,6 @@ export function useSqlEditorAi({ id, editorMountCount, diff, prompt }: UseSqlEdi
})
useEffect(() => {
syncDiffEditor()
- // Temporary until we update eslint to ignore useEffectEvent
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, [selectedDiffType, sourceSqlDiff])
const drainDiffRequest = useEffectEvent(() => {
@@ -328,8 +324,6 @@ export function useSqlEditorAi({ id, editorMountCount, diff, prompt }: UseSqlEdi
})
useEffect(() => {
drainDiffRequest()
- // until we can upgrade eslint to ignore useEffectEvent
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, [diffRequest.pending, editorMountCount])
// We want to check if the diff editor is mounted and if it is, we want to show the widget
diff --git a/apps/studio/components/interfaces/Settings/API/DataApiEnableSwitch.tsx b/apps/studio/components/interfaces/Settings/API/DataApiEnableSwitch.tsx
index 1ee28fc0afb..6a3e262ae2f 100644
--- a/apps/studio/components/interfaces/Settings/API/DataApiEnableSwitch.tsx
+++ b/apps/studio/components/interfaces/Settings/API/DataApiEnableSwitch.tsx
@@ -61,7 +61,6 @@ export const DataApiEnableSwitch = () => {
})
useEffect(() => {
syncForm()
- // eslint-disable-next-line react-hooks/exhaustive-deps -- useEffectEvent fn intentionally not a dep (eslint-plugin-react-hooks v5 doesn't recognize stable useEffectEvent yet)
}, [isEnabled])
const doUpdate = useCallback(
diff --git a/apps/studio/components/interfaces/Settings/API/DataApiProjectUrlCard.tsx b/apps/studio/components/interfaces/Settings/API/DataApiProjectUrlCard.tsx
index 59e9016b8ba..e6e59078fc0 100644
--- a/apps/studio/components/interfaces/Settings/API/DataApiProjectUrlCard.tsx
+++ b/apps/studio/components/interfaces/Settings/API/DataApiProjectUrlCard.tsx
@@ -45,7 +45,6 @@ export const DataApiProjectUrlCard = () => {
})
useEffect(() => {
syncSelectedDb()
- // eslint-disable-next-line react-hooks/exhaustive-deps -- useEffectEvent fn intentionally not a dep (eslint-plugin-react-hooks v5 doesn't recognize stable useEffectEvent yet)
}, [querySource, projectRef])
const selectedDatabase = databases?.find((db) => db.identifier === state.selectedDatabaseId)
diff --git a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceConfiguration.tsx b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceConfiguration.tsx
index b59b45ceee6..4534fba7cea 100644
--- a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceConfiguration.tsx
+++ b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceConfiguration.tsx
@@ -254,7 +254,6 @@ const InstanceConfigurationUI = ({ diagramOnly = false }: InstanceConfigurationU
})
useEffect(() => {
runMeasuredLayout()
- // eslint-disable-next-line react-hooks/exhaustive-deps -- useEffectEvent fn intentionally not a dep (eslint-plugin-react-hooks v5 doesn't recognize stable useEffectEvent yet)
}, [nodesInitialized])
return (
diff --git a/apps/studio/components/interfaces/Storage/StorageExplorer/StorageExplorer.tsx b/apps/studio/components/interfaces/Storage/StorageExplorer/StorageExplorer.tsx
index 0ff022f434e..e372d772d45 100644
--- a/apps/studio/components/interfaces/Storage/StorageExplorer/StorageExplorer.tsx
+++ b/apps/studio/components/interfaces/Storage/StorageExplorer/StorageExplorer.tsx
@@ -101,7 +101,6 @@ export const StorageExplorer = () => {
useEffect(() => {
if (bucket && projectRef) fetchContents(bucket)
- // eslint-disable-next-line react-hooks/exhaustive-deps -- useEffectEvent fn intentionally not a dep (eslint-plugin-react-hooks v5 doesn't recognize stable useEffectEvent yet)
}, [bucket, projectRef, debouncedSearchString, selectedBucket.id])
/** Checkbox selection methods */
diff --git a/apps/studio/components/interfaces/Storage/StoragePolicies/StoragePoliciesBucketsSection.tsx b/apps/studio/components/interfaces/Storage/StoragePolicies/StoragePoliciesBucketsSection.tsx
index 42835b9e1cc..b9650073a87 100644
--- a/apps/studio/components/interfaces/Storage/StoragePolicies/StoragePoliciesBucketsSection.tsx
+++ b/apps/studio/components/interfaces/Storage/StoragePolicies/StoragePoliciesBucketsSection.tsx
@@ -160,7 +160,6 @@ const BucketsPoliciesVirtualizedList = ({
})
useEffect(() => {
fetchNext()
- // eslint-disable-next-line react-hooks/exhaustive-deps -- useEffectEvent fn intentionally not a dep (eslint-plugin-react-hooks v5 doesn't recognize stable useEffectEvent yet)
}, [lastItem])
return (
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/useSpreadsheetImport.ts b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/useSpreadsheetImport.ts
index fc231f0dd3e..c8ea23c5a56 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/useSpreadsheetImport.ts
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/useSpreadsheetImport.ts
@@ -228,7 +228,6 @@ export function useSpreadsheetImport({
})
useEffect(() => {
return cleanup
- // eslint-disable-next-line react-hooks/exhaustive-deps -- useEffectEvent fn intentionally not a dep (eslint-plugin-react-hooks v5 doesn't recognize stable useEffectEvent yet)
}, [])
// When the component mounts with a file already in global state (e.g. dropped onto the
@@ -242,7 +241,6 @@ export function useSpreadsheetImport({
})
useEffect(() => {
processOnMount()
- // eslint-disable-next-line react-hooks/exhaustive-deps -- useEffectEvent fn intentionally not a dep (eslint-plugin-react-hooks v5 doesn't recognize stable useEffectEvent yet)
}, [])
const processSpreadsheet = useCallback(
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ApiAccessToggle.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ApiAccessToggle.tsx
index 6128fb98ef9..a12c45f9276 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ApiAccessToggle.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ApiAccessToggle.tsx
@@ -164,7 +164,6 @@ const useTableApiAccessHandler = (
})
useEffect(() => {
resetState()
- // eslint-disable-next-line react-hooks/exhaustive-deps -- useEffectEvent fn intentionally not a dep (eslint-plugin-react-hooks v5 doesn't recognize stable useEffectEvent yet)
}, [params.type, selectedSchema, permissionsTemplateSchema, permissionsTemplateTable])
const syncDefaultPrivileges = useEffectEvent(() => {
@@ -174,7 +173,6 @@ const useTableApiAccessHandler = (
})
useEffect(() => {
syncDefaultPrivileges()
- // eslint-disable-next-line react-hooks/exhaustive-deps -- useEffectEvent fn intentionally not a dep (eslint-plugin-react-hooks v5 doesn't recognize stable useEffectEvent yet)
}, [defaultPrivilegesQuery.status])
const syncApiPrivileges = useEffectEvent(() => {
@@ -195,7 +193,6 @@ const useTableApiAccessHandler = (
})
useEffect(() => {
syncApiPrivileges()
- // eslint-disable-next-line react-hooks/exhaustive-deps -- useEffectEvent fn intentionally not a dep (eslint-plugin-react-hooks v5 doesn't recognize stable useEffectEvent yet)
}, [apiAccessStatus.status])
const isPending =
diff --git a/apps/studio/components/interfaces/UnifiedLogs/components/LogsFilterBar.tsx b/apps/studio/components/interfaces/UnifiedLogs/components/LogsFilterBar.tsx
index 6e985f95a8b..723adb10cd8 100644
--- a/apps/studio/components/interfaces/UnifiedLogs/components/LogsFilterBar.tsx
+++ b/apps/studio/components/interfaces/UnifiedLogs/components/LogsFilterBar.tsx
@@ -149,7 +149,6 @@ export const LogsFilterBar = () => {
useEffect(() => {
syncFromColumnFilters()
- // eslint-disable-next-line react-hooks/exhaustive-deps -- useEffectEvent fn intentionally not a dep (eslint-plugin-react-hooks v5 doesn't recognize stable useEffectEvent yet)
}, [columnFilters, user])
return (
diff --git a/apps/studio/data/projects/project-detail-query.ts b/apps/studio/data/projects/project-detail-query.ts
index 6bb81111f0c..a7b8a58cde6 100644
--- a/apps/studio/data/projects/project-detail-query.ts
+++ b/apps/studio/data/projects/project-detail-query.ts
@@ -123,7 +123,6 @@ export const useProjectDetailQuery = <TData = ProjectDetailData>(
export function prefetchProjectDetail(client: QueryClient, { ref }: ProjectDetailVariables) {
return client.fetchQuery({
- // eslint-disable-next-line @tanstack/query/exhaustive-deps
queryKey: projectKeys.detail(ref),
queryFn: ({ client, signal }) =>
getProjectDetail({ ref, skipWake: true }, signal, undefined, client),
diff --git a/apps/studio/eslint.config.cjs b/apps/studio/eslint.config.cjs
index c01030124c2..d5434834af9 100644
--- a/apps/studio/eslint.config.cjs
+++ b/apps/studio/eslint.config.cjs
@@ -1,7 +1,6 @@
const { defineConfig } = require('eslint/config')
const { fixupPluginRules } = require('@eslint/compat')
const barrelFiles = require('eslint-plugin-barrel-files')
-const jsxA11y = require('eslint-plugin-jsx-a11y')
const valtio = require('eslint-plugin-valtio')
// [email protected] (latest) still calls the ESLint 8
// `context.getScope()`, which ESLint 9 removed. fixupPluginRules shims the
@@ -44,9 +43,9 @@ module.exports = defineConfig([
{ files: ['**/*.ts', '**/*.tsx'] },
supabaseConfig,
{
+ files: ['**/*.{js,jsx,mjs,ts,tsx,mts,cts}'],
plugins: {
'barrel-files': barrelFiles,
- 'jsx-a11y': jsxA11y,
valtio,
'react-hook-form': fixupPluginRules(reactHookForm),
},
diff --git a/apps/studio/hooks/analytics/useComputeMetrics.ts b/apps/studio/hooks/analytics/useComputeMetrics.ts
index 6ca5e0e42e6..63e3a5ba620 100644
--- a/apps/studio/hooks/analytics/useComputeMetrics.ts
+++ b/apps/studio/hooks/analytics/useComputeMetrics.ts
@@ -23,7 +23,6 @@ export function useComputeMetrics({ projectRef }: { projectRef?: string }): Comp
// Intentionally anchored to mount time so the query key stays stable across re-renders.
// React Query's staleTime handles background refresh without shifting the window.
- // eslint-disable-next-line react-hooks/exhaustive-deps
const { startDate, endDate } = useMemo(() => {
const now = dayjs()
return {
diff --git a/apps/studio/pages/cli/login.tsx b/apps/studio/pages/cli/login.tsx
index e663e16ca98..04aba48ac85 100644
--- a/apps/studio/pages/cli/login.tsx
+++ b/apps/studio/pages/cli/login.tsx
@@ -167,7 +167,6 @@ export const CliLoginScreen = ({
return () => {
isActive = false
}
- // eslint-disable-next-line react-hooks/exhaustive-deps -- useEffectEvent fn intentionally not a dep (eslint-plugin-react-hooks v5 doesn't recognize stable useEffectEvent yet)
}, [deviceCode, isLoggedIn, publicKey, routerReady, sessionId, tokenName])
if (status._tag === 'loading') {
diff --git a/apps/www/eslint.config.cjs b/apps/www/eslint.config.cjs
index 8ebf71dad2a..e676d7ca68c 100644
--- a/apps/www/eslint.config.cjs
+++ b/apps/www/eslint.config.cjs
@@ -4,6 +4,7 @@ const supabaseConfig = require('eslint-config-supabase/next')
module.exports = defineConfig([
supabaseConfig,
{
+ files: ['**/*.{js,jsx,mjs,ts,tsx,mts,cts}'],
rules: {
'react-hooks/rules-of-hooks': 'warn',
'react/no-unescaped-entities': 'warn',
diff --git a/packages/eslint-config-supabase/next.js b/packages/eslint-config-supabase/next.js
index 20e41c405b7..e32fe76ca7b 100644
--- a/packages/eslint-config-supabase/next.js
+++ b/packages/eslint-config-supabase/next.js
@@ -1,21 +1,31 @@
const { defineConfig } = require('eslint/config')
-const js = require('@eslint/js')
-const { FlatCompat } = require('@eslint/eslintrc')
const prettierConfig = require('eslint-config-prettier/flat')
const { default: turboConfig } = require('eslint-config-turbo/flat')
const tanstackQuery = require('@tanstack/eslint-plugin-query')
-const tseslint = require('@typescript-eslint/eslint-plugin')
const tsparser = require('@typescript-eslint/parser')
+const nextCoreWebVitals = require('eslint-config-next/core-web-vitals')
+
+const NEXT_PLUGIN_FILES = ['**/*.{js,jsx,mjs,ts,tsx,mts,cts}']
// Custom Supabase rules
const noAwaitBeforeCopyToClipboard = require('./rules/no-await-before-copy-to-clipboard')
const requireExplicitTabIndex = require('./rules/require-explicit-tabindex')
-const compat = new FlatCompat({
- baseDirectory: __dirname,
- recommendedConfig: js.configs.recommended,
- allConfig: js.configs.all,
-})
+// Transitional config that turns off all the React Compiler hook rules that come bundled
+// with core-web-vitals@16. We want to upgrade to get exhaustive-deps updates without
+// blowing up our error count.
+const compilerRulesOff = {}
+for (const cfg of nextCoreWebVitals) {
+ for (const key of Object.keys(cfg.rules ?? {})) {
+ if (
+ key.startsWith('react-hooks/') &&
+ key !== 'react-hooks/exhaustive-deps' &&
+ key !== 'react-hooks/rules-of-hooks'
+ ) {
+ compilerRulesOff[key] = 'off'
+ }
+ }
+}
// Custom Supabase ESLint plugin
const supabasePlugin = {
@@ -37,7 +47,6 @@ const typescriptConfig = {
},
},
plugins: {
- '@typescript-eslint': tseslint,
supabase: supabasePlugin,
},
rules: {
@@ -50,6 +59,10 @@ const typescriptConfig = {
module.exports = defineConfig([
// Global ignore for build output and static assets
{ ignores: ['.next', 'dist', 'public', '.contentlayer'] },
+ // eslint-config-next v16 registers its plugins for `.mts`/`.cts` (v15 didn't lint
+ // them at all), which newly surfaces errors in build/tooling scripts. Keep the prior
+ // lint surface and leave `.mts`/`.cts` unlinted; revisit as a separate change.
+ { ignores: ['**/*.mts', '**/*.cts'] },
turboConfig,
prettierConfig,
tanstackQuery.configs['flat/recommended'],
@@ -59,12 +72,14 @@ module.exports = defineConfig([
},
},
typescriptConfig,
+ ...nextCoreWebVitals,
{
- extends: compat.extends('next/core-web-vitals'),
+ files: NEXT_PLUGIN_FILES,
linterOptions: {
reportUnusedDisableDirectives: 'warn',
},
rules: {
+ ...compilerRulesOff,
'@next/next/no-html-link-for-pages': 'off',
'react/jsx-key': 'off',
'no-restricted-imports': [
diff --git a/packages/eslint-config-supabase/package.json b/packages/eslint-config-supabase/package.json
index 54b36915b7b..3d40e794f5d 100644
--- a/packages/eslint-config-supabase/package.json
+++ b/packages/eslint-config-supabase/package.json
@@ -8,12 +8,9 @@
"clean": "rimraf .turbo tsconfig.tsbuildinfo"
},
"devDependencies": {
- "@eslint/eslintrc": "^3.0.0",
- "@eslint/js": "^9.0.0",
"@tanstack/eslint-plugin-query": "^5.0.0",
- "@typescript-eslint/eslint-plugin": "^8.48.0",
"@typescript-eslint/parser": "^8.48.0",
- "eslint-config-next": "^15.5.0",
+ "eslint-config-next": "^16.0.0",
"eslint-config-prettier": "^10.0.0",
"eslint-config-turbo": "^2.5.0",
"@typescript/native": "catalog:",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 12e2b783928..99d33c59376 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -2329,18 +2329,9 @@ importers:
packages/eslint-config-supabase:
devDependencies:
- '@eslint/eslintrc':
- specifier: ^3.0.0
- version: 3.3.1([email protected])
- '@eslint/js':
- specifier: ^9.0.0
- version: 9.37.0
'@tanstack/eslint-plugin-query':
specifier: ^5.0.0
- '@typescript-eslint/eslint-plugin':
- specifier: ^8.48.0
'@typescript-eslint/parser':
specifier: ^8.48.0
@@ -2348,8 +2339,8 @@ importers:
specifier: 'catalog:'
eslint-config-next:
- specifier: ^15.5.0
+ specifier: ^16.0.0
eslint-config-prettier:
specifier: ^10.0.0
@@ -3803,6 +3794,12 @@ packages:
cpu: [x64]
os: [win32]
+ '@eslint-community/[email protected]':
+ resolution: {integrity: sha512-cuadcxVFE8sDK6iWJbs8Sn0av2Nrh2QSGQhVlBW9AaAHqHwjWsZHT8LJ4hFGPh7ASBV2deFdM7H/DPjulmh8rg==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ peerDependencies:
+ eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
+
'@eslint-community/[email protected]':
resolution: {integrity: sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -3813,6 +3810,10 @@ packages:
resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==}
engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
+ '@eslint-community/[email protected]':
+ resolution: {integrity: sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==}
+ engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
+
'@eslint/[email protected]':
resolution: {integrity: sha512-LgaSCymEpw7tF53xvDw9SNsraPb1IBHxpdABIOM0hW8UAlP8znrjYtuxfR58FSJ3L9BhwD+FaPRFQpZq84Nh6g==}
engines: {node: ^20.19.0 || ^22.13.0 || >=24}
@@ -4753,8 +4754,8 @@ packages:
resolution: {integrity: sha512-0do5A3BJ2gxWr0ZCMcD6BhW+e595jyxdTl3rXTS6lOtD8ektMiW6CO+EPwt1Eca1DBnm90r/7GdiKWBKxH++DA==}
- resolution: {integrity: sha512-SR1vhXNNg16T4zffhJ4TS7Xn7eq4NfKfcOsRwea7RIAHrjRpI9ALYbamqIJqkAhowLlERffiwk0FMvTLNdnVtw==}
+ resolution: {integrity: sha512-uF2z/qAK2q7B5/6CpnFcBRX6jOq5iCO+Uqh1UkJhXljX1JwLarLYhhoJadO6dPb6moTprOKewMXheBcbIoSbug==}
resolution: {integrity: sha512-dnpuJRfqqCPFfLDy2hIej41JAl424zk1JOgRd7jjWu2aTeX6oi0gXdcnMAK4lhf7Xl9zSkL2stzDc1YtlB1xyg==}
@@ -7124,9 +7125,6 @@ packages:
resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==}
- '@rushstack/[email protected]':
- resolution: {integrity: sha512-qC/xYId4NMebE6w/V33Fh9gWxLgURiNYgVNObbJl2LZv0GUUItCcCqC5axQSwRaAgaxl2mELq1rMzlswaQ0Zxg==}
-
'@sec-ant/[email protected]':
resolution: {integrity: sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==}
@@ -8652,13 +8650,13 @@ packages:
resolution: {integrity: sha512-T7SEL8b/eN7AEhHQ8oFt7c6Y+l3p8OpH7KwJIe+5oBOPLMMioPeMsUTB3huNgEnXhiittV8Ohdw21Jg8E/f70Q==}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-XxXP5tL1txl13YFtrECECQYeZjBZad4fyd3cFV4a19LkAY/bIp9fev3US4S5fDVV2JaYFiKAZ/GRTOLer+mbyQ==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-IEgob78X12rHpUmtcwFsXhZdVGJtwTVP8FiCLZkR6GlYVrl2PcuB+KhCE5BlVC/eQpQnu8WXRtkHZuPar+gCRA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- '@typescript-eslint/parser': ^8.48.0
- eslint: ^8.57.0 || ^9.0.0
- typescript: '>=4.8.4 <6.0.0'
+ '@typescript-eslint/parser': ^8.65.0
+ eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
+ typescript: '>=4.8.4 <6.1.0'
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-jCzKdm/QK0Kg4V4IK/oMlRZlY+QOcdjv89U2NgKHZk1CYTj82/RVSx1mV/0gqCVMJ/DA+Zf/S4NBWNF8GQ+eqQ==}
@@ -8667,39 +8665,72 @@ packages:
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <6.0.0'
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-CZ4nMxWwgu1HEEFNkeaCptra9QCtkmKdgf3sWh1rl1trIhmxLilgTV4cwcbQ4wemnT4sWQN8CaKOmdYx+g2gMA==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
+ typescript: '>=4.8.4 <6.1.0'
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-Ne4CTZyRh1BecBf84siv42wv5vQvVmgtk8AuiEffKTUo3DrBaGYZueJSxxBZ8fjk/N3DrgChH4TOdIOwOwiqqw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '>=4.8.4 <6.0.0'
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-SxnPhbTsGahizDgbu7oqFH/xVtzIqMd/s+WtnSxNxJZJpLbdT5IPdzg8EZxO3+PoKahXmwJLeNQOpKJb3/bi7Q==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ typescript: '>=4.8.4 <6.1.0'
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-uGSSsbrtJrLduti0Q1Q9+BF1/iFKaxGoQwjWOIVNJv0o6omrdyR8ct37m4xIl5Zzpkp69Kkmvom7QFTtue89YQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-Esbl8OSYiVxBokYgWPf7VVWg/BE798wXhimnn9ML9Pt5qoDf8bfQlgjlKXR/k98+AcNzlLKYrpCcrcuZ9DZLgg==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-WNebjBdFdyu10sR1M4OXTt2OkMd5KWIL+LLfeH9KhgP+jzfDV/LI3eXzwJ1s9+Yc0Kzo2fQCdY/OpdusCMmh6w==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '>=4.8.4 <6.0.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-zbeVaVqeXhhab6QNEKfK96Xyc7UQuoFWERhEnj3mLVnUWrQnv15cJNseUni7f3g557gm0e46LZ6IJ4NJVOgOpw==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-j6GzGqCiRdA7Qhur2VVmKZAkBLfnHFQfx4TaJGL9RMveZqCo48jSHHO0DTgizEnGhtWnqmbtCUSrqSkdiY/0Hg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- eslint: ^8.57.0 || ^9.0.0
- typescript: '>=4.8.4 <6.0.0'
+ typescript: '>=4.8.4 <6.1.0'
+
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-YjaZ7PRI5qY7ax2L3PbvX0rRyGtipAReCWs0mhhDBHjH/vl0g0BonaGXrKdKpMbIIsMIwDgbk/xzkBTyAltS5g==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
+ typescript: '>=4.8.4 <6.1.0'
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-cQMcGQQH7kwKoVswD1xdOytxQR60MWKM1di26xSUtxehaDs/32Zpqsu5WJlXTtTTqyAVK8R7hvsUnIXRS+bjvA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-JSSwWNy+H0E/01jJEM+hrX6N0OFDzFzeIhHFSAS01tlVaevpG8cFyYRPhS5yjGOvBUx3sqQHVMjCL1CAZZMxBg==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-ljHab1CSO4rGrQIAyizUS6UGHHCiAYhbfcIZ1zVJr5nMryxlXMVWS3duFPSKvSUbFPwkXMFk1k0EMIjub4sRRQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '>=4.8.4 <6.0.0'
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-JboAE2swaYt4tb1fHhHTABE2K+OLy09XfcTbhnk4Pw96f9dd2e9iYsJ28gBggHlo5z5x1rkyWvcPoTuNTd4oGg==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ typescript: '>=4.8.4 <6.1.0'
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-yTJO1XuGxCsSfIVt1+1UrLHtue8xz16V8apzPYI06W0HbEbEWHxHXgZaAgavIkoh+GeV6hKKd5jm0sS6OYxWXQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -8707,10 +8738,21 @@ packages:
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <6.0.0'
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-gXiwIHsYreboxeJucHKPvgwl7dXt50mF8s1/c00cP/WoVTyWKFdtfhRWwZiXYFU5H2O8vVoSLNrexFZjYS/SGA==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
+ typescript: '>=4.8.4 <6.1.0'
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-T0XJMaRPOH3+LBbAfzR2jalckP1MSG/L9eUtY0DEzUyVaXJ/t6zN0nR7co5kz0Jko/nkSYCBRkz1djvjajVTTg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-8C71BQkGjiMmXtop7pHVJu1l2NNShFdkCyD6a2ezzs5vU/L3LRtb69EtcteFwz0mYMPzIgOw0n6OV4VBUWZd7A==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
'@typescript/[email protected]':
resolution: {integrity: sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ==}
engines: {node: '>=16.20.0'}
@@ -9382,6 +9424,10 @@ packages:
resolution: {integrity: sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-FmeCCAenzH0KH381SPT5FZmiA/TmpndpcaShhfgEN9eCVjnFBqq3l1xrI42y8+PPLI6hypzou4GXw00WHmPBLQ==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-/+3GRL7dDAGEfM6TseQk/U+mi18TU2Ms9I3UlLdUMhz2hbvGNTKdj9xniwXfUqgYhHxRx0+8UnKkvlNwVU+cWQ==}
@@ -9393,14 +9439,18 @@ packages:
resolution: {integrity: sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ==}
+ resolution: {integrity: sha512-F/TKATkzseUExPlfvmwQKGITM3DGTK+vkAsCZoDc5daVygbJBnjEUCbgkAvVFsgfXfX4YIqZ/27G3k3tdXrTxQ==}
engines: {node: '>= 0.4'}
resolution: {integrity: sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-rwG/ja1neyLqCuGZ5YYrznA62D4mZXg0i1cIskIUKSiqF3Cje9/wXAls9B9s1Wa2fomMsIv8czB8jZcPmxCXFg==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg==}
engines: {node: '>= 0.4'}
@@ -10880,6 +10930,10 @@ packages:
resolution: {integrity: sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==}
+ resolution: {integrity: sha512-d9T8ucsEhh8Bi1woXCf+TIKDIROLG5WCkxg8geBCbvk22kzwC5G2OnXVMO6FUsvQlgUUXQ2itephWDLqDzbeCw==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==}
engines: {node: '>= 0.4'}
@@ -11017,10 +11071,10 @@ packages:
resolution: {integrity: sha512-FVVO4DNEPub7/VWGERJytT+tllOP2SRt8rdlcneHNWXSECMU7Aj1nXwGfhhsL3h1aZGJbYokIe27wyN7CJpAfA==}
engines: {node: '>= 10'}
- resolution: {integrity: sha512-BzgVVuT3kfJes8i2GHenC1SRJ+W3BTML11lAOYFOOPzrk2xp66jBOAGEFRw+3LkYCln5UzvFsLhojrshb5Zfaw==}
+ resolution: {integrity: sha512-iaaf4vvKo5h2LBdGt0JuRv7t0Ysqr9FMCiFxbptDg8LqOE//mIKR80DdpOnSVM7qjLH3jT8P0aFiwXxBEGZRXw==}
peerDependencies:
- eslint: ^7.23.0 || ^8.0.0 || ^9.0.0
+ eslint: '>=9.0.0'
typescript: '>=3.3.1'
peerDependenciesMeta:
typescript:
@@ -11069,13 +11123,34 @@ packages:
eslint-import-resolver-webpack:
optional: true
+ resolution: {integrity: sha512-W2WCRZ9Dqntd+2u8jJcVMV2PKulc6RdLgUUoh/yQr3uB6lo/ZOeGx11sv60/8S4QFFKNslAlWhr9u0Ef7ZW6Ig==}
+ engines: {node: '>=4'}
+ peerDependencies:
+ '@typescript-eslint/parser': '*'
+ eslint: '*'
+ eslint-import-resolver-node: '*'
+ eslint-import-resolver-typescript: '*'
+ eslint-import-resolver-webpack: '*'
+ peerDependenciesMeta:
+ '@typescript-eslint/parser':
+ optional: true
+ eslint:
+ optional: true
+ eslint-import-resolver-node:
+ optional: true
+ eslint-import-resolver-typescript:
+ optional: true
+ eslint-import-resolver-webpack:
+ optional: true
+
resolution: {integrity: sha512-t0q23FIpvHDTtnORW+bDJziGsal5uh9RJTJ1fyH8drd4lICOoXhJ5pLMUZ5C0VQei6dNmwTzzoTRgMkO9JgHEQ==}
peerDependencies:
eslint: '>= 5'
- resolution: {integrity: sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A==}
+ resolution: {integrity: sha512-whOE1HFo/qJDyX4SnXzP4N6zOWn79WhnCUY/iDR0mPfQZO8wcYE4JClzI2oZrhBnnMUCBCHZhO6VQyoBU95mZA==}
engines: {node: '>=4'}
peerDependencies:
'@typescript-eslint/parser': '*'
@@ -11094,11 +11169,11 @@ packages:
resolution: {integrity: sha512-+KHoQvjGa6gxxDaVTDPXmqOL+tJ2fWTBggBQTafoVTTe41xLnq94+ZXpb7oTDDRMP97UN908iIX3mNwQqnRxHw==}
engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg==}
- engines: {node: '>=10'}
+ resolution: {integrity: sha512-f2I7Gw6JbvCexzIInuSbZpfdQ44D7iqdWX01FKLvrPgqxoE7oMj8clOfto8U6vYiz4yd5oKu39rRSVOe1zRu0g==}
+ engines: {node: '>=18'}
peerDependencies:
- eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0
+ eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 || ^10.0.0
resolution: {integrity: sha512-Qteup0SqU15kdocexFNAJMvCJEfa2xUKNV4CC1xsVMrIIqEy3SQ/rqyxCWNzfrd3/ldy6HMlD2e0JDVpDg2qIA==}
@@ -11132,6 +11207,10 @@ packages:
resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ resolution: {integrity: sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==}
+ engines: {node: ^20.19.0 || ^22.13.0 || >=24}
+
resolution: {integrity: sha512-XyLmROnACWqSxiGYArdef1fItQd47weqB7iwtfr9JHwRrqIXZdcFMvvEcL9xHCmL0SNsOvF0c42lWyM1U5dgig==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -11768,6 +11847,10 @@ packages:
resolution: {integrity: sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==}
engines: {node: '>=18'}
+ resolution: {integrity: sha512-ob/2LcVVaVGCYN+r14cnwnoDPUufjiYgSqRhiFD0Q1iI4Odora5RE8Iv1D24hAz5oMophRGkGz+yuvQmmUMnMw==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==}
engines: {node: '>= 0.4'}
@@ -11803,9 +11886,6 @@ packages:
resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
- resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==}
-
resolution: {integrity: sha512-sDDd5/zvocRU5fy1SPI0rVUWoK2pQft2BBV4L2/hW75OzTBSRsuOJRDZL/EHcwxdZ+Fc2XpPLUYQXFvT48GnfQ==}
peerDependencies:
@@ -12052,6 +12132,12 @@ packages:
resolution: {integrity: sha512-IScLbePpkvO846sIwOtOTDjutRMWdXdJmXdMvk6gCBHxFO8d+QKOQedyZSxFTTFYRSmlgSTDtXqqq4pcenBXLQ==}
+ resolution: {integrity: sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==}
+
+ resolution: {integrity: sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==}
+
resolution: {integrity: sha512-Ox1pJVrDCyGHMG9CFg1tmrRUMRPRsAWYc/PinY0XzJU4K7y7vjNoLKIQ7BR5UJMCxNN8EM1MNDmHWA/B3aZUuw==}
engines: {node: '>=6'}
@@ -16574,6 +16660,12 @@ packages:
peerDependencies:
typescript: '>=4.8.4'
+ resolution: {integrity: sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==}
+ engines: {node: '>=18.12'}
+ peerDependencies:
+ typescript: '>=4.8.4'
+
resolution: {integrity: sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==}
engines: {node: '>=6.10'}
@@ -16708,6 +16800,13 @@ packages:
resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==}
+ resolution: {integrity: sha512-/ggrHAwyjENDusvyxbuqxAC2dTnZg/Z8F+fgQtYIz+L6n/9HfSlEZcFGV/NsMNa6CkGk0xUjUAFwC0vHOflvIA==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
+ typescript: '>=4.8.4 <6.1.0'
+
resolution: {integrity: sha512-bGdAIrZ0wiGDo5l8c++HWtbaNCWTS4UTv7RaTH/ThVIgjkveJt83m74bBHMJkuCbslY8ixgLBVZJIOiQlQTjfQ==}
engines: {node: '>=14.17'}
@@ -17696,6 +17795,12 @@ packages:
peerDependencies:
zod: ^3.25 || ^4
+ resolution: {integrity: sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==}
+ engines: {node: '>=18.0.0'}
+ peerDependencies:
+ zod: ^3.25.0 || ^4.0.0
+
resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==}
@@ -19191,6 +19296,11 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ dependencies:
+ eslint-visitor-keys: 3.4.3
+
dependencies:
@@ -19198,6 +19308,8 @@ snapshots:
'@eslint-community/[email protected]': {}
+ '@eslint-community/[email protected]': {}
+
dependencies:
'@eslint/core': 1.2.1
@@ -20480,7 +20592,7 @@ snapshots:
'@next/[email protected]': {}
dependencies:
fast-glob: 3.3.1
@@ -22767,8 +22879,6 @@ snapshots:
'@rtsao/[email protected]': {}
- '@rushstack/[email protected]': {}
-
'@sec-ant/[email protected]': {}
'@sentry/[email protected]': {}
@@ -24613,19 +24723,18 @@ snapshots:
'@types/[email protected]': {}
dependencies:
- '@eslint-community/regexpp': 4.12.1
- '@typescript-eslint/scope-manager': 8.48.0
- '@typescript-eslint/visitor-keys': 8.48.0
+ '@eslint-community/regexpp': 4.12.2
+ '@typescript-eslint/scope-manager': 8.65.0
+ '@typescript-eslint/visitor-keys': 8.65.0
- graphemer: 1.4.0
ignore: 7.0.5
natural-compare: 1.4.0
- ts-api-utils: 2.1.0([email protected])
+ ts-api-utils: 2.5.0([email protected])
typescript: 6.0.2
transitivePeerDependencies:
- supports-color
@@ -24642,6 +24751,18 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@typescript-eslint/scope-manager': 8.65.0
+ '@typescript-eslint/types': 8.65.0
+ '@typescript-eslint/typescript-estree': 8.65.0([email protected])([email protected])
+ '@typescript-eslint/visitor-keys': 8.65.0
+ debug: 4.4.3([email protected])
+ typescript: 6.0.2
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
'@typescript-eslint/tsconfig-utils': 8.48.0([email protected])
@@ -24651,29 +24772,49 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@typescript-eslint/tsconfig-utils': 8.65.0([email protected])
+ '@typescript-eslint/types': 8.65.0
+ debug: 4.4.3([email protected])
+ typescript: 6.0.2
+ transitivePeerDependencies:
+ - supports-color
+
'@typescript-eslint/[email protected]':
dependencies:
'@typescript-eslint/types': 8.48.0
'@typescript-eslint/visitor-keys': 8.48.0
+ '@typescript-eslint/[email protected]':
+ dependencies:
+ '@typescript-eslint/types': 8.65.0
+ '@typescript-eslint/visitor-keys': 8.65.0
+
'@typescript-eslint/[email protected]([email protected])':
dependencies:
typescript: 6.0.2
+ '@typescript-eslint/[email protected]([email protected])':
dependencies:
- '@typescript-eslint/types': 8.48.0
- '@typescript-eslint/typescript-estree': 8.48.0([email protected])([email protected])
+ typescript: 6.0.2
+
+ dependencies:
+ '@typescript-eslint/types': 8.65.0
+ '@typescript-eslint/typescript-estree': 8.65.0([email protected])([email protected])
debug: 4.4.3([email protected])
- ts-api-utils: 2.1.0([email protected])
+ ts-api-utils: 2.5.0([email protected])
typescript: 6.0.2
transitivePeerDependencies:
- supports-color
'@typescript-eslint/[email protected]': {}
+ '@typescript-eslint/[email protected]': {}
+
dependencies:
'@typescript-eslint/project-service': 8.48.0([email protected])([email protected])
@@ -24689,6 +24830,21 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@typescript-eslint/project-service': 8.65.0([email protected])([email protected])
+ '@typescript-eslint/tsconfig-utils': 8.65.0([email protected])
+ '@typescript-eslint/types': 8.65.0
+ '@typescript-eslint/visitor-keys': 8.65.0
+ debug: 4.4.3([email protected])
+ minimatch: 10.2.3
+ semver: 7.8.1
+ tinyglobby: 0.2.17
+ ts-api-utils: 2.5.0([email protected])
+ typescript: 6.0.2
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
'@eslint-community/eslint-utils': 4.9.0([email protected]([email protected])([email protected]))
@@ -24700,11 +24856,27 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@eslint-community/eslint-utils': 4.10.1([email protected]([email protected])([email protected]))
+ '@typescript-eslint/scope-manager': 8.65.0
+ '@typescript-eslint/types': 8.65.0
+ '@typescript-eslint/typescript-estree': 8.65.0([email protected])([email protected])
+ typescript: 6.0.2
+ transitivePeerDependencies:
+ - supports-color
+
'@typescript-eslint/[email protected]':
dependencies:
'@typescript-eslint/types': 8.48.0
eslint-visitor-keys: 4.2.1
+ '@typescript-eslint/[email protected]':
+ dependencies:
+ '@typescript-eslint/types': 8.65.0
+ eslint-visitor-keys: 5.0.1
+
'@typescript/[email protected]':
optional: true
@@ -25431,6 +25603,17 @@ snapshots:
get-intrinsic: 1.3.0
is-string: 1.1.1
+ dependencies:
+ call-bind: 1.0.8
+ call-bound: 1.0.4
+ define-properties: 1.2.1
+ es-abstract: 1.24.0
+ es-object-atoms: 1.1.1
+ get-intrinsic: 1.3.0
+ is-string: 1.1.1
+ math-intrinsics: 1.1.0
+
@@ -25444,14 +25627,15 @@ snapshots:
es-object-atoms: 1.1.1
es-shim-unscopables: 1.0.2
dependencies:
call-bind: 1.0.8
+ call-bound: 1.0.4
define-properties: 1.2.1
es-abstract: 1.24.0
es-errors: 1.3.0
es-object-atoms: 1.1.1
- es-shim-unscopables: 1.0.2
+ es-shim-unscopables: 1.1.0
dependencies:
@@ -25460,6 +25644,13 @@ snapshots:
es-abstract: 1.24.0
es-shim-unscopables: 1.0.2
+ dependencies:
+ call-bind: 1.0.8
+ define-properties: 1.2.1
+ es-abstract: 1.24.0
+ es-shim-unscopables: 1.0.2
+
dependencies:
call-bind: 1.0.8
@@ -27116,6 +27307,10 @@ snapshots:
dependencies:
hasown: 2.0.4
+ dependencies:
+ hasown: 2.0.4
+
dependencies:
is-callable: 1.2.7
@@ -27252,22 +27447,22 @@ snapshots:
eslint-barrel-file-utils-win32-ia32-msvc: 0.0.10
eslint-barrel-file-utils-win32-x64-msvc: 0.0.10
dependencies:
- '@next/eslint-plugin-next': 15.5.4
- '@rushstack/eslint-patch': 1.10.3
+ '@next/eslint-plugin-next': 16.2.12
eslint-import-resolver-node: 0.3.9([email protected])
eslint-plugin-jsx-a11y: 6.10.2([email protected]([email protected])([email protected]))
- eslint-plugin-react-hooks: 5.2.0([email protected]([email protected])([email protected]))
+ globals: 16.4.0
optionalDependencies:
typescript: 6.0.2
transitivePeerDependencies:
+ - '@typescript-eslint/parser'
- eslint-import-resolver-webpack
- supports-color
@@ -27289,13 +27484,13 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
debug: 4.4.3([email protected])
enhanced-resolve: 5.20.1
fast-glob: 3.3.3
get-tsconfig: 4.10.0
is-core-module: 2.16.1
@@ -27313,7 +27508,18 @@ snapshots:
eslint-import-resolver-node: 0.3.9([email protected])
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ debug: 3.2.7([email protected])
+ optionalDependencies:
+ eslint-import-resolver-node: 0.3.9([email protected])
transitivePeerDependencies:
- supports-color
@@ -27323,18 +27529,18 @@ snapshots:
eslint-barrel-file-utils: 0.0.10
requireindex: 1.2.0
dependencies:
'@rtsao/scc': 1.1.0
- array-includes: 3.1.8
- array.prototype.findlastindex: 1.2.5
- array.prototype.flat: 1.3.2
+ array-includes: 3.1.9
+ array.prototype.findlastindex: 1.2.6
+ array.prototype.flat: 1.3.3
array.prototype.flatmap: 1.3.3
debug: 3.2.7([email protected])
doctrine: 2.1.0
eslint-import-resolver-node: 0.3.9([email protected])
hasown: 2.0.4
is-core-module: 2.16.1
is-glob: 4.0.3
@@ -27375,9 +27581,16 @@ snapshots:
dependencies:
requireindex: 1.1.0
dependencies:
+ '@babel/core': 7.29.7([email protected])
+ '@babel/parser': 7.29.7
+ hermes-parser: 0.25.1
+ zod: 4.4.3
+ zod-validation-error: 4.0.2([email protected])
+ transitivePeerDependencies:
+ - supports-color
dependencies:
@@ -27423,6 +27636,8 @@ snapshots:
+
dependencies:
'@eslint-community/eslint-utils': 4.9.0([email protected]([email protected])([email protected]))
@@ -28173,6 +28388,8 @@ snapshots:
+
dependencies:
define-properties: 1.2.1
@@ -28219,8 +28436,6 @@ snapshots:
-
dependencies:
@@ -28598,6 +28813,12 @@ snapshots:
+
+ dependencies:
+ hermes-estree: 0.25.1
+
@@ -34311,6 +34532,10 @@ snapshots:
dependencies:
typescript: 6.0.2
+ dependencies:
+ typescript: 6.0.2
+
@@ -34463,6 +34688,17 @@ snapshots:
+ dependencies:
+ '@typescript-eslint/typescript-estree': 8.65.0([email protected])([email protected])
+ typescript: 6.0.2
+ transitivePeerDependencies:
+ - supports-color
+
@@ -35509,6 +35745,10 @@ snapshots:
dependencies:
zod: 3.25.76
+ dependencies:
+ zod: 4.4.3
+