From bd463b19ec13f8d33d4fc499bb6c4f1b0d4ba06f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 00:38:28 +0000 Subject: [PATCH] chore(deps): update typescript-eslint monorepo to v8 (major) (#1710) * chore(deps): update typescript-eslint monorepo to v8 * instrument * react-base16-styling * Disable react/prop-types * react-json-tree * redux-devtools-ui * inspector-monitor * react-dock * log-monitor * map2tree * d3-state-visualizer * test-tab * rtk-query-monitor * slider-monitor * trace-tab * chart-monitor * app-core * utils * test-tab-demo * inspector-monitor-demo * redux-devtools-counter-demo * redux-devtools-todomvc-demo * remote * cli * react-dock-demo --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nathan Bierema --- eslintrc.ts.react.base.json | 3 +- package.json | 4 +- .../examples/tree/package.json | 4 +- packages/d3-state-visualizer/package.json | 4 +- .../src/charts/tree/tree.ts | 4 +- packages/d3tooltip/package.json | 4 +- packages/map2tree/package.json | 4 +- packages/map2tree/src/index.ts | 12 +- packages/react-base16-styling/package.json | 4 +- packages/react-base16-styling/src/index.ts | 4 +- packages/react-dock/demo/package.json | 4 +- packages/react-dock/demo/src/App.tsx | 2 +- packages/react-dock/package.json | 4 +- packages/react-dock/src/Dock.tsx | 4 +- packages/react-dock/src/autoprefix.ts | 2 +- .../react-json-tree/examples/package.json | 4 +- packages/react-json-tree/package.json | 4 +- .../react-json-tree/src/JSONNestedNode.tsx | 2 +- .../src/getCollectionEntries.ts | 3 +- packages/redux-devtools-app-core/package.json | 4 +- .../src/actions/index.ts | 2 +- .../src/components/Settings/index.tsx | 3 +- .../monitors/InspectorWrapper/ChartTab.tsx | 6 +- .../InspectorWrapper/VisualDiffTab.tsx | 16 +- .../src/reducers/instances.ts | 1 - .../src/utils/commitExcessActions.ts | 2 +- packages/redux-devtools-app/package.json | 4 +- .../redux-devtools-chart-monitor/package.json | 4 +- .../src/Chart.tsx | 6 +- packages/redux-devtools-cli/package.json | 4 +- .../redux-devtools-cli/src/db/connector.ts | 2 +- .../redux-devtools-dock-monitor/package.json | 4 +- .../redux-devtools-extension/package.json | 4 +- .../demo/package.json | 4 +- .../demo/src/getOptions.ts | 6 +- .../package.json | 4 +- .../src/TestGenerator.tsx | 7 +- .../package.json | 4 +- .../src/openFile.ts | 2 +- .../containers/StackFrame.tsx | 2 +- .../containers/StackFrameCodeBlock.tsx | 2 +- .../react-error-overlay/utils/getSourceMap.ts | 4 +- .../utils/getStackFrames.ts | 3 +- .../utils/isInternalFile.ts | 6 +- .../src/react-error-overlay/utils/mapper.ts | 2 +- .../src/react-error-overlay/utils/parser.ts | 4 +- .../demo/package.json | 4 +- .../demo/src/getOptions.ts | 6 +- .../package.json | 4 +- .../src/ActionList.tsx | 11 +- .../src/tabs/getItemString.tsx | 6 +- .../redux-devtools-instrument/package.json | 4 +- .../src/instrument.ts | 9 +- .../redux-devtools-log-monitor/package.json | 4 +- .../src/LogMonitor.tsx | 2 +- .../src/LogMonitorEntryList.tsx | 2 +- packages/redux-devtools-remote/package.json | 4 +- .../src/configureStore.ts | 2 +- .../redux-devtools-remote/src/devTools.ts | 16 +- .../demo/package.json | 4 +- .../package.json | 4 +- .../src/styles/tree.tsx | 3 +- .../redux-devtools-serialize/package.json | 4 +- .../examples/todomvc/package.json | 4 +- .../examples/todomvc/src/containers/Root.ts | 4 +- .../todomvc/src/store/configureStore.ts | 4 +- .../package.json | 4 +- .../src/SliderMonitor.tsx | 10 +- packages/redux-devtools-ui/package.json | 4 +- .../src/Container/styles/index.ts | 2 +- .../src/Form/styles/index.ts | 2 +- .../src/Slider/styles/common.ts | 2 +- .../src/utils/createStyledComponent.ts | 12 +- packages/redux-devtools-utils/package.json | 4 +- packages/redux-devtools-utils/src/index.ts | 5 +- .../examples/counter/package.json | 4 +- .../examples/counter/src/containers/Root.ts | 4 +- .../counter/src/store/configureStore.dev.ts | 2 +- .../counter/src/store/configureStore.ts | 4 +- .../examples/todomvc/package.json | 4 +- .../examples/todomvc/src/containers/Root.ts | 4 +- .../todomvc/src/store/configureStore.ts | 4 +- packages/redux-devtools/package.json | 4 +- pnpm-lock.yaml | 428 ++++++++++-------- 84 files changed, 421 insertions(+), 371 deletions(-) diff --git a/eslintrc.ts.react.base.json b/eslintrc.ts.react.base.json index f17dc31c..814d877e 100644 --- a/eslintrc.ts.react.base.json +++ b/eslintrc.ts.react.base.json @@ -46,6 +46,7 @@ "@typescript-eslint/prefer-string-starts-ends-with": "off", "@typescript-eslint/no-duplicate-type-constituents": "off", "@typescript-eslint/array-type": "off", - "@typescript-eslint/prefer-function-type": "off" + "@typescript-eslint/prefer-function-type": "off", + "react/prop-types": "off" } } diff --git a/package.json b/package.json index 1d802258..33ff3562 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "@babel/eslint-parser": "^7.24.8", "@changesets/cli": "^2.27.7", "@nrwl/nx-cloud": "^19.0.0", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jest": "^28.6.0", diff --git a/packages/d3-state-visualizer/examples/tree/package.json b/packages/d3-state-visualizer/examples/tree/package.json index 1820a120..6fbc2e28 100644 --- a/packages/d3-state-visualizer/examples/tree/package.json +++ b/packages/d3-state-visualizer/examples/tree/package.json @@ -33,8 +33,8 @@ "@babel/preset-env": "^7.24.8", "@babel/preset-typescript": "^7.24.7", "@types/node": "^20.14.11", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "babel-loader": "^9.1.3", "cross-env": "^7.0.3", "eslint": "^8.57.0", diff --git a/packages/d3-state-visualizer/package.json b/packages/d3-state-visualizer/package.json index 7b723dbd..f0dfe97a 100644 --- a/packages/d3-state-visualizer/package.json +++ b/packages/d3-state-visualizer/package.json @@ -46,8 +46,8 @@ }, "devDependencies": { "@types/ramda": "^0.30.1", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "rimraf": "^6.0.1", diff --git a/packages/d3-state-visualizer/src/charts/tree/tree.ts b/packages/d3-state-visualizer/src/charts/tree/tree.ts index 058886c8..f8db0f54 100644 --- a/packages/d3-state-visualizer/src/charts/tree/tree.ts +++ b/packages/d3-state-visualizer/src/charts/tree/tree.ts @@ -14,9 +14,9 @@ import { tooltip } from 'd3tooltip'; import type { StyleValue } from 'd3tooltip'; export interface Options { - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type state?: {} | null; - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type tree?: Node | {}; rootKeyName: string; diff --git a/packages/d3tooltip/package.json b/packages/d3tooltip/package.json index 48d3ba67..bcf84765 100644 --- a/packages/d3tooltip/package.json +++ b/packages/d3tooltip/package.json @@ -34,8 +34,8 @@ }, "devDependencies": { "@types/d3": "^7.4.3", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "d3": "^7.9.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", diff --git a/packages/map2tree/package.json b/packages/map2tree/package.json index c82818e0..22092ecb 100755 --- a/packages/map2tree/package.json +++ b/packages/map2tree/package.json @@ -42,8 +42,8 @@ "devDependencies": { "@types/jest": "^29.5.12", "@types/lodash-es": "^4.17.12", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jest": "^28.6.0", diff --git a/packages/map2tree/src/index.ts b/packages/map2tree/src/index.ts index 322379e5..53338110 100644 --- a/packages/map2tree/src/index.ts +++ b/packages/map2tree/src/index.ts @@ -45,9 +45,9 @@ export function map2tree( root: unknown, options: { key?: string; pushMethod?: 'push' | 'unshift' } = {}, tree: Node = { name: options.key || 'state', children: [] }, - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type ): Node | {} { - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type if (!isPlainObject(root) && root && !(root as { toJS: () => {} }).toJS) { return {}; } @@ -60,13 +60,13 @@ export function map2tree( } mapValues( - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type root && (root as { toJS: () => {} }).toJS - ? // eslint-disable-next-line @typescript-eslint/ban-types + ? // eslint-disable-next-line @typescript-eslint/no-empty-object-type (root as { toJS: () => {} }).toJS() - : // eslint-disable-next-line @typescript-eslint/ban-types + : // eslint-disable-next-line @typescript-eslint/no-empty-object-type (root as {}), - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type (maybeImmutable: { toJS?: () => {} }, key) => { const value = maybeImmutable && maybeImmutable.toJS diff --git a/packages/react-base16-styling/package.json b/packages/react-base16-styling/package.json index 7332a01d..7a4dae50 100644 --- a/packages/react-base16-styling/package.json +++ b/packages/react-base16-styling/package.json @@ -45,8 +45,8 @@ "@types/color": "^3.0.6", "@types/jest": "^29.5.12", "@types/lodash-es": "^4.17.12", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jest": "^28.6.0", diff --git a/packages/react-base16-styling/src/index.ts b/packages/react-base16-styling/src/index.ts index 99efaa18..645f24d8 100644 --- a/packages/react-base16-styling/src/index.ts +++ b/packages/react-base16-styling/src/index.ts @@ -126,7 +126,7 @@ const mergeStylings = ( ): StylingConfig => { const keys = Object.keys(defaultStylings); for (const key in customStylings) { - if (keys.indexOf(key) === -1) keys.push(key); + if (!keys.includes(key)) keys.push(key); } return keys.reduce( @@ -241,7 +241,7 @@ export const createStyling: CurriedFunction3< const customStyling = Object.keys(themeOrStyling).reduce( (s, key) => - BASE16_KEYS.indexOf(key) === -1 + !BASE16_KEYS.includes(key) ? ((s[key] = (themeOrStyling as StylingConfig)[key]), s) : s, {} as StylingConfig, diff --git a/packages/react-dock/demo/package.json b/packages/react-dock/demo/package.json index f5f3fe24..953fe458 100644 --- a/packages/react-dock/demo/package.json +++ b/packages/react-dock/demo/package.json @@ -27,8 +27,8 @@ "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "@types/styled-components": "^5.1.34", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "babel-loader": "^9.1.3", "cross-env": "^7.0.3", "eslint": "^8.57.0", diff --git a/packages/react-dock/demo/src/App.tsx b/packages/react-dock/demo/src/App.tsx index 752a8f2e..b3699c72 100644 --- a/packages/react-dock/demo/src/App.tsx +++ b/packages/react-dock/demo/src/App.tsx @@ -51,7 +51,7 @@ interface State { size: number; } -// eslint-disable-next-line @typescript-eslint/ban-types +// eslint-disable-next-line @typescript-eslint/no-empty-object-type export default class App extends Component<{}, State> { state: State = { positionIdx: 0, diff --git a/packages/react-dock/package.json b/packages/react-dock/package.json index c70745b2..6dd0e740 100644 --- a/packages/react-dock/package.json +++ b/packages/react-dock/package.json @@ -43,8 +43,8 @@ "@types/jest": "^29.5.12", "@types/react": "^18.3.3", "@types/react-test-renderer": "^18.3.0", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jest": "^28.6.0", diff --git a/packages/react-dock/src/Dock.tsx b/packages/react-dock/src/Dock.tsx index a555c6cf..1a51d381 100644 --- a/packages/react-dock/src/Dock.tsx +++ b/packages/react-dock/src/Dock.tsx @@ -385,7 +385,7 @@ export default class Dock extends Component { handleDimClick = () => { if (this.props.dimMode === 'opaque') { - this.props.onVisibleChange && this.props.onVisibleChange(false); + if (this.props.onVisibleChange) this.props.onVisibleChange(false); } }; @@ -471,7 +471,7 @@ export default class Dock extends Component { break; } - this.props.onSizeChange && this.props.onSizeChange(size); + if (this.props.onSizeChange) this.props.onSizeChange(size); if (!isControlled) { this.setState({ size }); diff --git a/packages/react-dock/src/autoprefix.ts b/packages/react-dock/src/autoprefix.ts index 49e08736..7d37111c 100644 --- a/packages/react-dock/src/autoprefix.ts +++ b/packages/react-dock/src/autoprefix.ts @@ -48,7 +48,7 @@ function prefixProp(key: string, value: Value) { export default function autoprefix(style: CSSProperties) { return Object.keys(style).reduce( (obj, key) => - vendorSpecificProperties.indexOf(key) !== -1 + vendorSpecificProperties.includes(key) ? { ...obj, ...prefixProp(key, style[key as keyof CSSProperties]), diff --git a/packages/react-json-tree/examples/package.json b/packages/react-json-tree/examples/package.json index d0cba03f..9300c73e 100644 --- a/packages/react-json-tree/examples/package.json +++ b/packages/react-json-tree/examples/package.json @@ -33,8 +33,8 @@ "@types/node": "^20.14.11", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "babel-loader": "^9.1.3", "cross-env": "^7.0.3", "eslint": "^8.57.0", diff --git a/packages/react-json-tree/package.json b/packages/react-json-tree/package.json index 07ac86df..8e560f91 100644 --- a/packages/react-json-tree/package.json +++ b/packages/react-json-tree/package.json @@ -47,8 +47,8 @@ "@types/jest": "^29.5.12", "@types/react": "^18.3.3", "@types/react-test-renderer": "^18.3.0", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jest": "^28.6.0", diff --git a/packages/react-json-tree/src/JSONNestedNode.tsx b/packages/react-json-tree/src/JSONNestedNode.tsx index 956f1e5f..fbc9a47b 100644 --- a/packages/react-json-tree/src/JSONNestedNode.tsx +++ b/packages/react-json-tree/src/JSONNestedNode.tsx @@ -66,7 +66,7 @@ function renderChildNodes( ); } else { const { key, value } = entry; - const isCircular = circularCache.indexOf(value) !== -1; + const isCircular = circularCache.includes(value); childNodes.push( ; } diff --git a/packages/redux-devtools-app-core/src/components/Settings/index.tsx b/packages/redux-devtools-app-core/src/components/Settings/index.tsx index 7f00de4a..0624d3fe 100644 --- a/packages/redux-devtools-app-core/src/components/Settings/index.tsx +++ b/packages/redux-devtools-app-core/src/components/Settings/index.tsx @@ -11,7 +11,6 @@ interface State { selected: string | undefined; } -// eslint-disable-next-line @typescript-eslint/ban-types export default class Settings extends Component { state: State = { selected: undefined }; @@ -27,7 +26,7 @@ export default class Settings extends Component { { name: 'State Tree', component: StateTree }, ]; return ( - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type tabs={tabs as any} selected={this.state.selected || tabs[0].name} diff --git a/packages/redux-devtools-app-core/src/containers/monitors/InspectorWrapper/ChartTab.tsx b/packages/redux-devtools-app-core/src/containers/monitors/InspectorWrapper/ChartTab.tsx index 7009069b..15a00cf9 100644 --- a/packages/redux-devtools-app-core/src/containers/monitors/InspectorWrapper/ChartTab.tsx +++ b/packages/redux-devtools-app-core/src/containers/monitors/InspectorWrapper/ChartTab.tsx @@ -21,7 +21,7 @@ type Props = DispatchProps & OwnProps; class ChartTab extends Component { node?: HTMLDivElement | null; - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type renderChart?: (nextState?: {} | null | undefined) => void; shouldComponentUpdate() { @@ -40,7 +40,7 @@ class ChartTab extends Component { this.node!.innerHTML = ''; this.createChart(nextProps); } else if (nextProps.data !== this.props.data) { - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type this.renderChart!(nextProps.data as {} | null | undefined); } } @@ -51,7 +51,7 @@ class ChartTab extends Component { createChart(props: Props) { this.renderChart = tree(this.node!, this.getChartTheme(props.theme)); - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type this.renderChart(props.data as {} | null | undefined); } diff --git a/packages/redux-devtools-app-core/src/containers/monitors/InspectorWrapper/VisualDiffTab.tsx b/packages/redux-devtools-app-core/src/containers/monitors/InspectorWrapper/VisualDiffTab.tsx index 8fe54ee6..60a84aaa 100644 --- a/packages/redux-devtools-app-core/src/containers/monitors/InspectorWrapper/VisualDiffTab.tsx +++ b/packages/redux-devtools-app-core/src/containers/monitors/InspectorWrapper/VisualDiffTab.tsx @@ -19,7 +19,7 @@ export const StyledContainer = styled.div` padding: 2px 3px; border-radius: 3px; position: relative; - ${/* eslint-disable-next-line @typescript-eslint/ban-types */ ''} + ${/* eslint-disable-next-line @typescript-eslint/no-empty-object-type */ ''} color: ${(props: ThemedStyledProps<{}, Theme>) => props.theme.base07}; display: inline-block; } @@ -44,7 +44,7 @@ export const StyledContainer = styled.div` .jsondiffpatch-modified .jsondiffpatch-right-value:before { vertical-align: top; padding: 2px; - ${/* eslint-disable-next-line @typescript-eslint/ban-types */ ''} + ${/* eslint-disable-next-line @typescript-eslint/no-empty-object-type */ ''} color: ${(props: ThemedStyledProps<{}, Theme>) => props.theme.base0E}; content: ' => '; } @@ -52,7 +52,7 @@ export const StyledContainer = styled.div` .jsondiffpatch-added .jsondiffpatch-value pre, .jsondiffpatch-modified .jsondiffpatch-right-value pre, .jsondiffpatch-textdiff-added { - ${/* eslint-disable-next-line @typescript-eslint/ban-types */ ''} + ${/* eslint-disable-next-line @typescript-eslint/no-empty-object-type */ ''} background: ${(props: ThemedStyledProps<{}, Theme>) => effects.color(props.theme.base0B, 'alpha', 0.2)}; } @@ -60,7 +60,7 @@ export const StyledContainer = styled.div` .jsondiffpatch-deleted pre, .jsondiffpatch-modified .jsondiffpatch-left-value pre, .jsondiffpatch-textdiff-deleted { - ${/* eslint-disable-next-line @typescript-eslint/ban-types */ ''} + ${/* eslint-disable-next-line @typescript-eslint/no-empty-object-type */ ''} background: ${(props: ThemedStyledProps<{}, Theme>) => effects.color(props.theme.base08, 'alpha', 0.2)}; text-decoration: line-through; @@ -129,13 +129,13 @@ export const StyledContainer = styled.div` padding: 2px 0; padding-right: 5px; vertical-align: top; - ${/* eslint-disable-next-line @typescript-eslint/ban-types */ ''} + ${/* eslint-disable-next-line @typescript-eslint/no-empty-object-type */ ''} color: ${(props: ThemedStyledProps<{}, Theme>) => props.theme.base0D}; } .jsondiffpatch-property-name:after { content: ': '; - ${/* eslint-disable-next-line @typescript-eslint/ban-types */ ''} + ${/* eslint-disable-next-line @typescript-eslint/no-empty-object-type */ ''} color: ${(props: ThemedStyledProps<{}, Theme>) => props.theme.base07}; } @@ -172,7 +172,7 @@ export const StyledContainer = styled.div` } .jsondiffpatch-value pre:after { - ${/* eslint-disable-next-line @typescript-eslint/ban-types */ ''} + ${/* eslint-disable-next-line @typescript-eslint/no-empty-object-type */ ''} color: ${(props: ThemedStyledProps<{}, Theme>) => props.theme.base07}; content: ','; } @@ -196,7 +196,7 @@ export const StyledContainer = styled.div` .jsondiffpatch-moved .jsondiffpatch-moved-destination { display: inline-block; - ${/* eslint-disable-next-line @typescript-eslint/ban-types */ ''} + ${/* eslint-disable-next-line @typescript-eslint/no-empty-object-type */ ''} background: ${(props: ThemedStyledProps<{}, Theme>) => props.theme.base0A}; } diff --git a/packages/redux-devtools-app-core/src/reducers/instances.ts b/packages/redux-devtools-app-core/src/reducers/instances.ts index 7448f10e..b7c759b4 100644 --- a/packages/redux-devtools-app-core/src/reducers/instances.ts +++ b/packages/redux-devtools-app-core/src/reducers/instances.ts @@ -94,7 +94,6 @@ function updateState( const actionsById = request.actionsById; if (actionsById) { payload = { - // eslint-disable-next-line @typescript-eslint/ban-types ...payload, actionsById: parseJSON(actionsById, serialize), computedStates: parseJSON(request.computedStates, serialize), diff --git a/packages/redux-devtools-app-core/src/utils/commitExcessActions.ts b/packages/redux-devtools-app-core/src/utils/commitExcessActions.ts index 40cdb206..157bff3b 100644 --- a/packages/redux-devtools-app-core/src/utils/commitExcessActions.ts +++ b/packages/redux-devtools-app-core/src/utils/commitExcessActions.ts @@ -20,7 +20,7 @@ export default function commitExcessActions(liftedState: State, n = 1) { } liftedState.skippedActionIds = liftedState.skippedActionIds.filter( - (id) => idsToDelete.indexOf(id) === -1, + (id) => !idsToDelete.includes(id), ); liftedState.stagedActionIds = [ 0, diff --git a/packages/redux-devtools-app/package.json b/packages/redux-devtools-app/package.json index 6f464c5c..599678fe 100644 --- a/packages/redux-devtools-app/package.json +++ b/packages/redux-devtools-app/package.json @@ -68,8 +68,8 @@ "@types/socketcluster-client": "^19.1.0", "@types/styled-components": "^5.1.34", "@types/webpack-env": "^1.18.5", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "babel-loader": "^9.1.3", "cross-env": "^7.0.3", "css-loader": "^7.1.2", diff --git a/packages/redux-devtools-chart-monitor/package.json b/packages/redux-devtools-chart-monitor/package.json index 6e38df07..eafd2608 100644 --- a/packages/redux-devtools-chart-monitor/package.json +++ b/packages/redux-devtools-chart-monitor/package.json @@ -54,8 +54,8 @@ "@babel/preset-typescript": "^7.24.7", "@redux-devtools/core": "^4.0.0", "@types/react": "^18.3.3", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-react": "^7.35.0", diff --git a/packages/redux-devtools-chart-monitor/src/Chart.tsx b/packages/redux-devtools-chart-monitor/src/Chart.tsx index 10a13d50..ab82fd21 100644 --- a/packages/redux-devtools-chart-monitor/src/Chart.tsx +++ b/packages/redux-devtools-chart-monitor/src/Chart.tsx @@ -27,14 +27,14 @@ export interface Props> class Chart> extends Component> { divRef = createRef(); - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type renderChart?: (state?: {} | null | undefined) => void; componentDidMount() { const { select, state, defaultIsVisible } = this.props; this.renderChart = tree(this.divRef.current!, this.props); if (defaultIsVisible) { - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type this.renderChart(select(state!) as {} | null | undefined); } } @@ -43,7 +43,7 @@ class Chart> extends Component> { const { state, select, monitorState } = nextProps; if (monitorState.isVisible !== false) { - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type this.renderChart!(select(state!) as {} | null | undefined); } } diff --git a/packages/redux-devtools-cli/package.json b/packages/redux-devtools-cli/package.json index 7dd5a436..0ae4b751 100644 --- a/packages/redux-devtools-cli/package.json +++ b/packages/redux-devtools-cli/package.json @@ -84,8 +84,8 @@ "@types/styled-components": "^5.1.34", "@types/supertest": "^6.0.2", "@types/uuid": "^10.0.0", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jest": "^28.6.0", diff --git a/packages/redux-devtools-cli/src/db/connector.ts b/packages/redux-devtools-cli/src/db/connector.ts index e19a890d..d42e4fe3 100644 --- a/packages/redux-devtools-cli/src/db/connector.ts +++ b/packages/redux-devtools-cli/src/db/connector.ts @@ -4,7 +4,7 @@ import knex from 'knex'; import type { Knex } from 'knex'; import { AGServer } from 'socketcluster-server'; -// eslint-disable-next-line @typescript-eslint/ban-types +// eslint-disable-next-line @typescript-eslint/no-empty-object-type type KnexFunction = ( config: Knex.Config | string, ) => Knex; diff --git a/packages/redux-devtools-dock-monitor/package.json b/packages/redux-devtools-dock-monitor/package.json index ec48d405..cfa4508a 100644 --- a/packages/redux-devtools-dock-monitor/package.json +++ b/packages/redux-devtools-dock-monitor/package.json @@ -56,8 +56,8 @@ "@redux-devtools/core": "^4.0.0", "@types/parse-key": "^0.2.2", "@types/react": "^18.3.3", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-react": "^7.35.0", diff --git a/packages/redux-devtools-extension/package.json b/packages/redux-devtools-extension/package.json index f3d5685f..f4841650 100644 --- a/packages/redux-devtools-extension/package.json +++ b/packages/redux-devtools-extension/package.json @@ -39,8 +39,8 @@ "@babel/plugin-transform-runtime": "^7.24.7", "@babel/preset-env": "^7.24.8", "@babel/preset-typescript": "^7.24.7", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "redux": "^4.2.1", diff --git a/packages/redux-devtools-inspector-monitor-test-tab/demo/package.json b/packages/redux-devtools-inspector-monitor-test-tab/demo/package.json index 2a8e7326..9604f837 100644 --- a/packages/redux-devtools-inspector-monitor-test-tab/demo/package.json +++ b/packages/redux-devtools-inspector-monitor-test-tab/demo/package.json @@ -39,8 +39,8 @@ "@types/redux-logger": "3.0.12", "@types/styled-components": "^5.1.34", "@types/webpack-env": "^1.18.5", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "babel-loader": "^9.1.3", "cross-env": "^7.0.3", "css-loader": "^7.1.2", diff --git a/packages/redux-devtools-inspector-monitor-test-tab/demo/src/getOptions.ts b/packages/redux-devtools-inspector-monitor-test-tab/demo/src/getOptions.ts index 99aa45c8..77c930ec 100644 --- a/packages/redux-devtools-inspector-monitor-test-tab/demo/src/getOptions.ts +++ b/packages/redux-devtools-inspector-monitor-test-tab/demo/src/getOptions.ts @@ -7,10 +7,10 @@ export interface Options { export default function getOptions(location: { search: string }) { return { - useExtension: location.search.indexOf('ext') !== -1, - supportImmutable: location.search.indexOf('immutable') !== -1, + useExtension: location.search.includes('ext'), + supportImmutable: location.search.includes('immutable'), theme: getTheme(location), - dark: location.search.indexOf('dark') !== -1, + dark: location.search.includes('dark'), }; } diff --git a/packages/redux-devtools-inspector-monitor-test-tab/package.json b/packages/redux-devtools-inspector-monitor-test-tab/package.json index e2c9d836..a1861012 100644 --- a/packages/redux-devtools-inspector-monitor-test-tab/package.json +++ b/packages/redux-devtools-inspector-monitor-test-tab/package.json @@ -70,8 +70,8 @@ "@types/jsan": "^3.1.5", "@types/object-path": "^0.11.4", "@types/react": "^18.3.3", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jest": "^28.6.0", diff --git a/packages/redux-devtools-inspector-monitor-test-tab/src/TestGenerator.tsx b/packages/redux-devtools-inspector-monitor-test-tab/src/TestGenerator.tsx index 2449c09c..05a2dbe4 100644 --- a/packages/redux-devtools-inspector-monitor-test-tab/src/TestGenerator.tsx +++ b/packages/redux-devtools-inspector-monitor-test-tab/src/TestGenerator.tsx @@ -14,7 +14,7 @@ export const fromPath = (path: (string | number)[]) => function getState( s: { state: S; error?: string } | undefined, - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type defaultValue?: {}, ) { if (!s) return defaultValue; @@ -25,7 +25,7 @@ export function compare( s1: { state: S; error?: string } | undefined, s2: { state: S; error?: string }, cb: (value: { path: string; curState: number | string | undefined }) => void, - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type defaultValue?: {}, ) { const paths: string[] = []; // Already processed @@ -36,9 +36,8 @@ export function compare( let path = fromPath(event.newPath); if (event.type === 'remove-item' || event.type === 'move-item') { - if (paths.length && paths.indexOf(path) !== -1) return; + if (paths.length && paths.includes(path)) return; paths.push(path); - // eslint-disable-next-line @typescript-eslint/ban-types const v = objectPath.get(s2.state as unknown as object, event.newPath); curState = v.length; path += '.length'; diff --git a/packages/redux-devtools-inspector-monitor-trace-tab/package.json b/packages/redux-devtools-inspector-monitor-trace-tab/package.json index a2a50531..01edabc4 100644 --- a/packages/redux-devtools-inspector-monitor-trace-tab/package.json +++ b/packages/redux-devtools-inspector-monitor-trace-tab/package.json @@ -58,8 +58,8 @@ "@types/path-browserify": "^1.0.2", "@types/react": "^18.3.3", "@types/source-map": "0.5.2", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jest": "^28.6.0", diff --git a/packages/redux-devtools-inspector-monitor-trace-tab/src/openFile.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/openFile.ts index eabda508..e51a2584 100644 --- a/packages/redux-devtools-inspector-monitor-trace-tab/src/openFile.ts +++ b/packages/redux-devtools-inspector-monitor-trace-tab/src/openFile.ts @@ -1,6 +1,6 @@ import StackFrame from './react-error-overlay/utils/stack-frame'; -const isFF = navigator.userAgent.indexOf('Firefox') !== -1; +const isFF = navigator.userAgent.includes('Firefox'); function openResource( fileName: string, diff --git a/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/containers/StackFrame.tsx b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/containers/StackFrame.tsx index 135ce817..993383ab 100644 --- a/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/containers/StackFrame.tsx +++ b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/containers/StackFrame.tsx @@ -76,7 +76,7 @@ class StackFrame extends Component { return null; } // e.g. "/path-to-my-app/webpack/bootstrap eaddeb46b67d75e4dfc1" - const isInternalWebpackBootstrapCode = fileName.trim().indexOf(' ') !== -1; + const isInternalWebpackBootstrapCode = fileName.trim().includes(' '); if (isInternalWebpackBootstrapCode) { return null; } diff --git a/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/containers/StackFrameCodeBlock.tsx b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/containers/StackFrameCodeBlock.tsx index 246a137d..aaafdf64 100644 --- a/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/containers/StackFrameCodeBlock.tsx +++ b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/containers/StackFrameCodeBlock.tsx @@ -83,7 +83,7 @@ function StackFrameCodeBlock(props: StackFrameCodeBlockPropsType) { if (text == null) { continue; } - if (text.indexOf(` ${lineNum} |`) === -1) { + if (!text.includes(` ${lineNum} |`)) { continue; } // $FlowFixMe diff --git a/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/getSourceMap.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/getSourceMap.ts index 4b919477..25afb8df 100644 --- a/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/getSourceMap.ts +++ b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/getSourceMap.ts @@ -88,7 +88,9 @@ export function extractSourceMapUrl( match = next; } if (!(match && match[1])) { - return Promise.reject(`Cannot find a source map directive for ${fileUri}.`); + return Promise.reject( + new Error(`Cannot find a source map directive for ${fileUri}.`), + ); } return Promise.resolve(match[1].toString()); } diff --git a/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/getStackFrames.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/getStackFrames.ts index 04b6ce3b..a49f36c6 100644 --- a/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/getStackFrames.ts +++ b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/getStackFrames.ts @@ -51,8 +51,7 @@ function getStackFrames( return enhancedFrames.filter( ({ functionName, fileName }) => (functionName == null || - functionName.indexOf('__stack_frame_overlay_proxy_console__') === - -1) && + !functionName.includes('__stack_frame_overlay_proxy_console__')) && !toExclude.test(fileName!), ); }); diff --git a/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/isInternalFile.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/isInternalFile.ts index a0ae7819..de386e5a 100644 --- a/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/isInternalFile.ts +++ b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/isInternalFile.ts @@ -12,9 +12,9 @@ function isInternalFile( return ( sourceFileName == null || sourceFileName === '' || - sourceFileName.indexOf('/~/') !== -1 || - sourceFileName.indexOf('/node_modules/') !== -1 || - sourceFileName.trim().indexOf(' ') !== -1 || + sourceFileName.includes('/~/') || + sourceFileName.includes('/node_modules/') || + sourceFileName.trim().includes(' ') || fileName == null || fileName === '' ); diff --git a/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/mapper.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/mapper.ts index 695ffa33..f285c843 100644 --- a/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/mapper.ts +++ b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/mapper.ts @@ -30,7 +30,7 @@ async function map( if (fileName == null) { return; } - if (files.indexOf(fileName) !== -1) { + if (files.includes(fileName)) { return; } files.push(fileName); diff --git a/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/parser.ts b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/parser.ts index 04e4b9ab..f18b7cb4 100644 --- a/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/parser.ts +++ b/packages/redux-devtools-inspector-monitor-trace-tab/src/react-error-overlay/utils/parser.ts @@ -50,10 +50,10 @@ function parseStack(stack: string[]): StackFrame[] { ); } else { // Strip eval, we don't care about it - if (e.indexOf('(eval ') !== -1) { + if (e.includes('(eval ')) { e = e.replace(/(\(eval at [^()]*)|(\),.*$)/g, ''); } - if (e.indexOf('(at ') !== -1) { + if (e.includes('(at ')) { e = e.replace(/\(at /, '('); } const data = e.trim().split(/\s+/g).slice(1); diff --git a/packages/redux-devtools-inspector-monitor/demo/package.json b/packages/redux-devtools-inspector-monitor/demo/package.json index 0de962b6..34340bff 100644 --- a/packages/redux-devtools-inspector-monitor/demo/package.json +++ b/packages/redux-devtools-inspector-monitor/demo/package.json @@ -36,8 +36,8 @@ "@types/react-dom": "^18.3.0", "@types/redux-logger": "3.0.12", "@types/webpack-env": "^1.18.5", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "babel-loader": "^9.1.3", "cross-env": "^7.0.3", "eslint": "^8.57.0", diff --git a/packages/redux-devtools-inspector-monitor/demo/src/getOptions.ts b/packages/redux-devtools-inspector-monitor/demo/src/getOptions.ts index 99aa45c8..77c930ec 100644 --- a/packages/redux-devtools-inspector-monitor/demo/src/getOptions.ts +++ b/packages/redux-devtools-inspector-monitor/demo/src/getOptions.ts @@ -7,10 +7,10 @@ export interface Options { export default function getOptions(location: { search: string }) { return { - useExtension: location.search.indexOf('ext') !== -1, - supportImmutable: location.search.indexOf('immutable') !== -1, + useExtension: location.search.includes('ext'), + supportImmutable: location.search.includes('immutable'), theme: getTheme(location), - dark: location.search.indexOf('dark') !== -1, + dark: location.search.includes('dark'), }; } diff --git a/packages/redux-devtools-inspector-monitor/package.json b/packages/redux-devtools-inspector-monitor/package.json index abb3a6a9..defd78b4 100644 --- a/packages/redux-devtools-inspector-monitor/package.json +++ b/packages/redux-devtools-inspector-monitor/package.json @@ -65,8 +65,8 @@ "@types/hex-rgba": "^1.0.3", "@types/lodash.debounce": "^4.0.9", "@types/react": "^18.3.3", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-react": "^7.35.0", diff --git a/packages/redux-devtools-inspector-monitor/src/ActionList.tsx b/packages/redux-devtools-inspector-monitor/src/ActionList.tsx index 03a8700a..a72278a0 100644 --- a/packages/redux-devtools-inspector-monitor/src/ActionList.tsx +++ b/packages/redux-devtools-inspector-monitor/src/ActionList.tsx @@ -136,11 +136,10 @@ export default function ActionList>({ const lowerSearchValue = searchValue && searchValue.toLowerCase(); const filteredActionIds = searchValue - ? actionIds.filter( - (id) => - actions[id].action.type - .toLowerCase() - .indexOf(lowerSearchValue as string) !== -1, + ? actionIds.filter((id) => + actions[id].action.type + .toLowerCase() + .includes(lowerSearchValue as string), ) : actionIds; @@ -218,7 +217,7 @@ export default function ActionList>({ onJumpClick={() => onJumpToState(actionId)} onCommitClick={() => onCommit()} hideActionButtons={hideActionButtons} - isSkipped={skippedActionIds.indexOf(actionId) !== -1} + isSkipped={skippedActionIds.includes(actionId)} /> ))} diff --git a/packages/redux-devtools-inspector-monitor/src/tabs/getItemString.tsx b/packages/redux-devtools-inspector-monitor/src/tabs/getItemString.tsx index 55edff0e..d06d0fa0 100644 --- a/packages/redux-devtools-inspector-monitor/src/tabs/getItemString.tsx +++ b/packages/redux-devtools-inspector-monitor/src/tabs/getItemString.tsx @@ -23,8 +23,7 @@ function getShortTypeString(val: any, diff: boolean | undefined) { } else if (val === undefined) { return 'undef'; } else if (typeof val === 'object') { - // eslint-disable-next-line @typescript-eslint/ban-types - return Object.keys(val as {}).length > 0 ? '{…}' : '{}'; + return Object.keys(val as object).length > 0 ? '{…}' : '{}'; } else if (typeof val === 'function') { return 'fn'; } else if (typeof val === 'string') { @@ -43,8 +42,7 @@ function getText( isDiff: boolean | undefined, ) { if (type === 'Object') { - // eslint-disable-next-line @typescript-eslint/ban-types - const keys = Object.keys(data as {}); + const keys = Object.keys(data as object); if (!isWideLayout) return keys.length ? '{…}' : '{}'; const str = keys diff --git a/packages/redux-devtools-instrument/package.json b/packages/redux-devtools-instrument/package.json index f53063b9..139b8163 100644 --- a/packages/redux-devtools-instrument/package.json +++ b/packages/redux-devtools-instrument/package.json @@ -54,8 +54,8 @@ "@types/jest": "^29.5.12", "@types/lodash": "^4.17.7", "@types/node": "^20.14.11", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jest": "^28.6.0", diff --git a/packages/redux-devtools-instrument/src/instrument.ts b/packages/redux-devtools-instrument/src/instrument.ts index 3f1ff7e4..c6df45d0 100644 --- a/packages/redux-devtools-instrument/src/instrument.ts +++ b/packages/redux-devtools-instrument/src/instrument.ts @@ -137,7 +137,7 @@ export const ActionCreators = { action: A, trace?: ((action: A) => string | undefined) | boolean, traceLimit?: number, - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type toExcludeFromTrace?: Function, ) { if (!isPlainObject(action)) { @@ -281,7 +281,6 @@ function computeWithTryCatch>( try { nextState = reducer(state, action); } catch (err) { - // eslint-disable-next-line @typescript-eslint/ban-types nextError = (err as object).toString(); if (isChrome) { // In Chrome, rethrowing provides better source map support @@ -346,7 +345,7 @@ function recomputeStates>( const previousEntry = nextComputedStates[i - 1]; const previousState = previousEntry ? previousEntry.state : committedState; - const shouldSkip = skippedActionIds.indexOf(actionId) > -1; + const shouldSkip = skippedActionIds.includes(actionId); let entry; if (shouldSkip) { entry = previousEntry; @@ -378,7 +377,7 @@ function liftAction>( action: A, trace?: ((action: A) => string | undefined) | boolean, traceLimit?: number, - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type toExcludeFromTrace?: Function, ) { return ActionCreators.performAction( @@ -477,7 +476,7 @@ function liftReducerWith< } skippedActionIds = skippedActionIds.filter( - (id) => idsToDelete.indexOf(id) === -1, + (id) => !idsToDelete.includes(id), ); stagedActionIds = [0, ...stagedActionIds.slice(excess + 1)]; committedState = computedStates[excess].state; diff --git a/packages/redux-devtools-log-monitor/package.json b/packages/redux-devtools-log-monitor/package.json index b176e29e..2ba914d0 100644 --- a/packages/redux-devtools-log-monitor/package.json +++ b/packages/redux-devtools-log-monitor/package.json @@ -57,8 +57,8 @@ "@babel/preset-typescript": "^7.24.7", "@redux-devtools/core": "^4.0.0", "@types/react": "^18.3.3", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-react": "^7.35.0", diff --git a/packages/redux-devtools-log-monitor/src/LogMonitor.tsx b/packages/redux-devtools-log-monitor/src/LogMonitor.tsx index 5b80055d..f4540ddf 100644 --- a/packages/redux-devtools-log-monitor/src/LogMonitor.tsx +++ b/packages/redux-devtools-log-monitor/src/LogMonitor.tsx @@ -164,7 +164,7 @@ class LogMonitor> extends PureComponent< const { skippedActionIds } = this.props; const start = Math.min(consecutiveToggleStartId, id); const end = Math.max(consecutiveToggleStartId, id); - const active = skippedActionIds.indexOf(consecutiveToggleStartId) > -1; + const active = skippedActionIds.includes(consecutiveToggleStartId); this.props.dispatch(setActionsActive(start, end + 1, active)); this.props.dispatch(startConsecutiveToggle(null)); } else if (id > 0) { diff --git a/packages/redux-devtools-log-monitor/src/LogMonitorEntryList.tsx b/packages/redux-devtools-log-monitor/src/LogMonitorEntryList.tsx index 8ff98bc7..29bd500c 100644 --- a/packages/redux-devtools-log-monitor/src/LogMonitorEntryList.tsx +++ b/packages/redux-devtools-log-monitor/src/LogMonitorEntryList.tsx @@ -60,7 +60,7 @@ export default class LogMonitorEntryList< actionId={actionId} state={state} previousState={previousState} - collapsed={skippedActionIds.indexOf(actionId) > -1} + collapsed={skippedActionIds.includes(actionId)} inFuture={i > currentStateIndex} selected={consecutiveToggleStartId === i} error={error} diff --git a/packages/redux-devtools-remote/package.json b/packages/redux-devtools-remote/package.json index 89c4236f..87f93154 100644 --- a/packages/redux-devtools-remote/package.json +++ b/packages/redux-devtools-remote/package.json @@ -59,8 +59,8 @@ "@types/node": "^20.14.11", "@types/rn-host-detect": "^1.2.2", "@types/socketcluster-client": "^19.1.0", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "redux": "^4.2.1", diff --git a/packages/redux-devtools-remote/src/configureStore.ts b/packages/redux-devtools-remote/src/configureStore.ts index 67cc2cc7..94997f28 100644 --- a/packages/redux-devtools-remote/src/configureStore.ts +++ b/packages/redux-devtools-remote/src/configureStore.ts @@ -7,7 +7,7 @@ export default function configureStore< MonitorState, MonitorAction extends Action, >( - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type next: StoreEnhancerStoreCreator<{}, unknown>, subscriber: Reducer, options: Options, diff --git a/packages/redux-devtools-remote/src/devTools.ts b/packages/redux-devtools-remote/src/devTools.ts index b32ffbe5..239af699 100644 --- a/packages/redux-devtools-remote/src/devTools.ts +++ b/packages/redux-devtools-remote/src/devTools.ts @@ -160,7 +160,7 @@ interface ActionMessage { interface DispatchMessage> { readonly type: 'DISPATCH'; - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type readonly action: LiftedAction; } @@ -175,7 +175,7 @@ type Message> = | DispatchMessage; class DevToolsEnhancer> { - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type store!: EnhancedStore; filters: LocalFilter | undefined; instanceId?: string; @@ -309,7 +309,7 @@ class DevToolsEnhancer> { ) { this.store.liftedStore.dispatch({ type: 'IMPORT_STATE', - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type nextLiftedState: parse(message.state) as LiftedState, }); } else if (message.type === 'UPDATE') { @@ -483,7 +483,7 @@ class DevToolsEnhancer> { return false; }; - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type monitorReducer = (state = {}, action: LiftedAction) => { this.lastAction = action.type; if (!this.started && this.sendOnError === 2 && this.store.liftedStore) @@ -492,26 +492,26 @@ class DevToolsEnhancer> { if ( this.startOn && !this.started && - this.startOn.indexOf((action as PerformAction).action.type) !== -1 + this.startOn.includes((action as PerformAction).action.type) ) async(this.start); else if ( this.stopOn && this.started && - this.stopOn.indexOf((action as PerformAction).action.type) !== -1 + this.stopOn.includes((action as PerformAction).action.type) ) async(this.stop); else if ( this.sendOn && !this.started && - this.sendOn.indexOf((action as PerformAction).action.type) !== -1 + this.sendOn.includes((action as PerformAction).action.type) ) async(this.send); } return state; }; - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type handleChange(state: S, liftedState: LiftedState, maxAge: number) { if (this.checkForReducerErrors(liftedState)) return; diff --git a/packages/redux-devtools-rtk-query-monitor/demo/package.json b/packages/redux-devtools-rtk-query-monitor/demo/package.json index 5f9c9230..096762c5 100644 --- a/packages/redux-devtools-rtk-query-monitor/demo/package.json +++ b/packages/redux-devtools-rtk-query-monitor/demo/package.json @@ -39,8 +39,8 @@ "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "@types/styled-components": "^5.1.34", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "babel-loader": "^9.1.3", "copy-webpack-plugin": "^12.0.2", "cross-env": "^7.0.3", diff --git a/packages/redux-devtools-rtk-query-monitor/package.json b/packages/redux-devtools-rtk-query-monitor/package.json index 698b88f1..41143e4e 100644 --- a/packages/redux-devtools-rtk-query-monitor/package.json +++ b/packages/redux-devtools-rtk-query-monitor/package.json @@ -72,8 +72,8 @@ "@types/hex-rgba": "^1.0.3", "@types/lodash.debounce": "^4.0.9", "@types/react": "^18.3.3", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jest": "^28.6.0", diff --git a/packages/redux-devtools-rtk-query-monitor/src/styles/tree.tsx b/packages/redux-devtools-rtk-query-monitor/src/styles/tree.tsx index 763c2756..ac4ac512 100644 --- a/packages/redux-devtools-rtk-query-monitor/src/styles/tree.tsx +++ b/packages/redux-devtools-rtk-query-monitor/src/styles/tree.tsx @@ -45,8 +45,7 @@ function getText( isDiff: boolean | undefined, ) { if (type === 'Object') { - // eslint-disable-next-line @typescript-eslint/ban-types - const keys = Object.keys(data as {}); + const keys = Object.keys(data as object); if (!previewContent) return keys.length ? '{…}' : '{}'; const str = keys diff --git a/packages/redux-devtools-serialize/package.json b/packages/redux-devtools-serialize/package.json index a95372c0..73bf96c2 100644 --- a/packages/redux-devtools-serialize/package.json +++ b/packages/redux-devtools-serialize/package.json @@ -49,8 +49,8 @@ "@babel/preset-typescript": "^7.24.7", "@types/jest": "^29.5.12", "@types/jsan": "^3.1.5", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jest": "^28.6.0", diff --git a/packages/redux-devtools-slider-monitor/examples/todomvc/package.json b/packages/redux-devtools-slider-monitor/examples/todomvc/package.json index 9a4dc263..872d286b 100644 --- a/packages/redux-devtools-slider-monitor/examples/todomvc/package.json +++ b/packages/redux-devtools-slider-monitor/examples/todomvc/package.json @@ -38,8 +38,8 @@ "@types/react-dom": "^18.3.0", "@types/styled-components": "^5.1.34", "@types/webpack-env": "^1.18.5", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "babel-loader": "^9.1.3", "cross-env": "^7.0.3", "css-loader": "^7.1.2", diff --git a/packages/redux-devtools-slider-monitor/examples/todomvc/src/containers/Root.ts b/packages/redux-devtools-slider-monitor/examples/todomvc/src/containers/Root.ts index 15e0f4cc..818975c5 100644 --- a/packages/redux-devtools-slider-monitor/examples/todomvc/src/containers/Root.ts +++ b/packages/redux-devtools-slider-monitor/examples/todomvc/src/containers/Root.ts @@ -8,8 +8,8 @@ interface Props { } const Root: ComponentType = process.env.NODE_ENV === 'production' - ? // eslint-disable-next-line @typescript-eslint/no-var-requires + ? // eslint-disable-next-line @typescript-eslint/no-require-imports require('./Root.prod').default - : // eslint-disable-next-line @typescript-eslint/no-var-requires + : // eslint-disable-next-line @typescript-eslint/no-require-imports require('./Root.dev').default; export default Root; diff --git a/packages/redux-devtools-slider-monitor/examples/todomvc/src/store/configureStore.ts b/packages/redux-devtools-slider-monitor/examples/todomvc/src/store/configureStore.ts index cac10a06..6e57d5df 100644 --- a/packages/redux-devtools-slider-monitor/examples/todomvc/src/store/configureStore.ts +++ b/packages/redux-devtools-slider-monitor/examples/todomvc/src/store/configureStore.ts @@ -6,8 +6,8 @@ const configureStore: ( initialState?: PreloadedState, ) => Store = process.env.NODE_ENV === 'production' - ? // eslint-disable-next-line @typescript-eslint/no-var-requires + ? // eslint-disable-next-line @typescript-eslint/no-require-imports require('./configureStore.prod').default - : // eslint-disable-next-line @typescript-eslint/no-var-requires + : // eslint-disable-next-line @typescript-eslint/no-require-imports require('./configureStore.dev').default; export default configureStore; diff --git a/packages/redux-devtools-slider-monitor/package.json b/packages/redux-devtools-slider-monitor/package.json index 810047ae..2a9abecf 100644 --- a/packages/redux-devtools-slider-monitor/package.json +++ b/packages/redux-devtools-slider-monitor/package.json @@ -46,8 +46,8 @@ "@redux-devtools/core": "^4.0.0", "@types/node": "^20.14.11", "@types/react": "^18.3.3", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-react": "^7.35.0", diff --git a/packages/redux-devtools-slider-monitor/src/SliderMonitor.tsx b/packages/redux-devtools-slider-monitor/src/SliderMonitor.tsx index 0851e2bb..5679385e 100644 --- a/packages/redux-devtools-slider-monitor/src/SliderMonitor.tsx +++ b/packages/redux-devtools-slider-monitor/src/SliderMonitor.tsx @@ -21,7 +21,7 @@ import SliderButton from './SliderButton'; const { reset, jumpToAction } = ActionCreators; interface ExternalProps> { - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type dispatch: Dispatch>; preserveScrollTop: boolean; select: (state: S) => unknown; @@ -37,9 +37,9 @@ interface DefaultProps { keyboardEnabled: boolean; } -interface SliderMonitorProps> // eslint-disable-next-line @typescript-eslint/ban-types +interface SliderMonitorProps> // eslint-disable-next-line @typescript-eslint/no-empty-object-type extends LiftedState { - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type dispatch: Dispatch>; preserveScrollTop: boolean; select: (state: S) => unknown; @@ -376,10 +376,10 @@ export default SliderMonitor as unknown as React.ComponentType< > & { update( monitorProps: ExternalProps>, - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type state: {} | undefined, action: Action, - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type ): {}; defaultProps: DefaultProps; }; diff --git a/packages/redux-devtools-ui/package.json b/packages/redux-devtools-ui/package.json index 5a459b4b..f2c64a4b 100644 --- a/packages/redux-devtools-ui/package.json +++ b/packages/redux-devtools-ui/package.json @@ -79,8 +79,8 @@ "@types/jest": "^29.5.12", "@types/react": "^18.3.3", "@types/styled-components": "^5.1.34", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "babel-loader": "^9.1.3", "csstype": "^3.1.3", "eslint": "^8.57.0", diff --git a/packages/redux-devtools-ui/src/Container/styles/index.ts b/packages/redux-devtools-ui/src/Container/styles/index.ts index e73b75e7..c101c40b 100644 --- a/packages/redux-devtools-ui/src/Container/styles/index.ts +++ b/packages/redux-devtools-ui/src/Container/styles/index.ts @@ -8,7 +8,7 @@ export const MainContainerWrapper = styled.div` width: 100%; flex-flow: column nowrap; overflow: auto; - ${/* eslint-disable-next-line @typescript-eslint/ban-types */ ''} + ${/* eslint-disable-next-line @typescript-eslint/no-empty-object-type */ ''} background-color: ${(props: ThemedStyledProps<{}, Theme>) => color(props.theme.base00, 'lighten', 0.03)}; color: ${(props) => props.theme.base07}; diff --git a/packages/redux-devtools-ui/src/Form/styles/index.ts b/packages/redux-devtools-ui/src/Form/styles/index.ts index 8a256267..f9ad52a1 100644 --- a/packages/redux-devtools-ui/src/Form/styles/index.ts +++ b/packages/redux-devtools-ui/src/Form/styles/index.ts @@ -1,7 +1,7 @@ import { css, ThemedStyledProps } from 'styled-components'; import { Theme } from '../../themes/default'; -// eslint-disable-next-line @typescript-eslint/ban-types +// eslint-disable-next-line @typescript-eslint/no-empty-object-type export default ({ theme }: ThemedStyledProps<{}, Theme>) => css` padding: 10px; line-height: 1.846; diff --git a/packages/redux-devtools-ui/src/Slider/styles/common.ts b/packages/redux-devtools-ui/src/Slider/styles/common.ts index 5154bce0..20360d03 100644 --- a/packages/redux-devtools-ui/src/Slider/styles/common.ts +++ b/packages/redux-devtools-ui/src/Slider/styles/common.ts @@ -1,7 +1,7 @@ import { css, ThemedStyledProps } from 'styled-components'; import { Theme } from '../../themes/default'; -// eslint-disable-next-line @typescript-eslint/ban-types +// eslint-disable-next-line @typescript-eslint/no-empty-object-type export const containerStyle = ({ theme }: ThemedStyledProps<{}, Theme>) => css` display: flex; align-items: center; diff --git a/packages/redux-devtools-ui/src/utils/createStyledComponent.ts b/packages/redux-devtools-ui/src/utils/createStyledComponent.ts index 95f9d3ec..44bae93d 100644 --- a/packages/redux-devtools-ui/src/utils/createStyledComponent.ts +++ b/packages/redux-devtools-ui/src/utils/createStyledComponent.ts @@ -12,7 +12,7 @@ import { ThemeFromProvider } from './theme'; type StyleFunction< C extends keyof JSX.IntrinsicElements | React.ComponentType, - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type O extends object = {}, > = InterpolationFunction< ThemedStyledProps & O, Theme> @@ -20,7 +20,7 @@ type StyleFunction< interface StylesObject< C extends keyof JSX.IntrinsicElements | React.ComponentType, - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type O extends object = {}, > { [type: string]: StyleFunction; @@ -28,13 +28,13 @@ interface StylesObject< type Styles< C extends keyof JSX.IntrinsicElements | React.ComponentType, - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type O extends object = {}, > = StylesObject | StyleFunction; function isStylesObject< C extends keyof JSX.IntrinsicElements | React.ComponentType, - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type O extends object = {}, >(styles: Styles): styles is StylesObject { return typeof styles === 'object'; @@ -42,7 +42,7 @@ function isStylesObject< const getStyle = < C extends keyof JSX.IntrinsicElements | React.ComponentType, - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type O extends object = {}, >( styles: Styles, @@ -57,7 +57,7 @@ function isThemeFromProvider( export default function createStyledComponent< C extends keyof JSX.IntrinsicElements | React.ComponentType, - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type O extends object = {}, >( styles: Styles, diff --git a/packages/redux-devtools-utils/package.json b/packages/redux-devtools-utils/package.json index e28231ba..261ba45e 100644 --- a/packages/redux-devtools-utils/package.json +++ b/packages/redux-devtools-utils/package.json @@ -53,8 +53,8 @@ "@types/jsan": "^3.1.5", "@types/lodash": "^4.17.7", "@types/node": "^20.14.11", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "rimraf": "^6.0.1", diff --git a/packages/redux-devtools-utils/src/index.ts b/packages/redux-devtools-utils/src/index.ts index 29a4f1e4..d901fa27 100644 --- a/packages/redux-devtools-utils/src/index.ts +++ b/packages/redux-devtools-utils/src/index.ts @@ -15,7 +15,6 @@ export interface ActionCreatorObject { readonly args: readonly string[]; } -// eslint-disable-next-line @typescript-eslint/ban-types function flatTree( obj: { [key: string]: ActionCreator> }, namespace = '', @@ -217,9 +216,9 @@ export function getSeralizeParameter( } export function getStackTrace( - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type config: { trace?: () => {}; traceLimit: number }, - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type toExcludeFromTrace?: Function | undefined, ) { if (!config.trace) return undefined; diff --git a/packages/redux-devtools/examples/counter/package.json b/packages/redux-devtools/examples/counter/package.json index 218b5806..2fad71fc 100644 --- a/packages/redux-devtools/examples/counter/package.json +++ b/packages/redux-devtools/examples/counter/package.json @@ -37,8 +37,8 @@ "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "@types/webpack-env": "^1.18.5", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "babel-loader": "^9.1.3", "cross-env": "^7.0.3", "eslint": "^8.57.0", diff --git a/packages/redux-devtools/examples/counter/src/containers/Root.ts b/packages/redux-devtools/examples/counter/src/containers/Root.ts index 57e22c84..10913395 100644 --- a/packages/redux-devtools/examples/counter/src/containers/Root.ts +++ b/packages/redux-devtools/examples/counter/src/containers/Root.ts @@ -8,8 +8,8 @@ interface Props { } const Root: ComponentType = process.env.NODE_ENV === 'production' - ? // eslint-disable-next-line @typescript-eslint/no-var-requires + ? // eslint-disable-next-line @typescript-eslint/no-require-imports require('./Root.prod').default - : // eslint-disable-next-line @typescript-eslint/no-var-requires + : // eslint-disable-next-line @typescript-eslint/no-require-imports require('./Root.dev').default; export default Root; diff --git a/packages/redux-devtools/examples/counter/src/store/configureStore.dev.ts b/packages/redux-devtools/examples/counter/src/store/configureStore.dev.ts index 2f7c07dc..8e34713c 100644 --- a/packages/redux-devtools/examples/counter/src/store/configureStore.dev.ts +++ b/packages/redux-devtools/examples/counter/src/store/configureStore.dev.ts @@ -28,7 +28,7 @@ export default function configureStore( if (module.hot) { module.hot.accept('../reducers', () => - // eslint-disable-next-line @typescript-eslint/no-var-requires + // eslint-disable-next-line @typescript-eslint/no-require-imports store.replaceReducer(require('../reducers').default as Reducer), ); } diff --git a/packages/redux-devtools/examples/counter/src/store/configureStore.ts b/packages/redux-devtools/examples/counter/src/store/configureStore.ts index 96e80b7d..a7bd9046 100644 --- a/packages/redux-devtools/examples/counter/src/store/configureStore.ts +++ b/packages/redux-devtools/examples/counter/src/store/configureStore.ts @@ -6,8 +6,8 @@ const configureStore: ( initialState?: PreloadedState, ) => Store = process.env.NODE_ENV === 'production' - ? // eslint-disable-next-line @typescript-eslint/no-var-requires + ? // eslint-disable-next-line @typescript-eslint/no-require-imports require('./configureStore.prod').default - : // eslint-disable-next-line @typescript-eslint/no-var-requires + : // eslint-disable-next-line @typescript-eslint/no-require-imports require('./configureStore.dev').default; export default configureStore; diff --git a/packages/redux-devtools/examples/todomvc/package.json b/packages/redux-devtools/examples/todomvc/package.json index fb1aa118..333f4762 100644 --- a/packages/redux-devtools/examples/todomvc/package.json +++ b/packages/redux-devtools/examples/todomvc/package.json @@ -50,8 +50,8 @@ "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "@types/webpack-env": "^1.18.5", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "babel-loader": "^9.1.3", "cross-env": "^7.0.3", "css-loader": "^7.1.2", diff --git a/packages/redux-devtools/examples/todomvc/src/containers/Root.ts b/packages/redux-devtools/examples/todomvc/src/containers/Root.ts index 15e0f4cc..818975c5 100644 --- a/packages/redux-devtools/examples/todomvc/src/containers/Root.ts +++ b/packages/redux-devtools/examples/todomvc/src/containers/Root.ts @@ -8,8 +8,8 @@ interface Props { } const Root: ComponentType = process.env.NODE_ENV === 'production' - ? // eslint-disable-next-line @typescript-eslint/no-var-requires + ? // eslint-disable-next-line @typescript-eslint/no-require-imports require('./Root.prod').default - : // eslint-disable-next-line @typescript-eslint/no-var-requires + : // eslint-disable-next-line @typescript-eslint/no-require-imports require('./Root.dev').default; export default Root; diff --git a/packages/redux-devtools/examples/todomvc/src/store/configureStore.ts b/packages/redux-devtools/examples/todomvc/src/store/configureStore.ts index cac10a06..6e57d5df 100644 --- a/packages/redux-devtools/examples/todomvc/src/store/configureStore.ts +++ b/packages/redux-devtools/examples/todomvc/src/store/configureStore.ts @@ -6,8 +6,8 @@ const configureStore: ( initialState?: PreloadedState, ) => Store = process.env.NODE_ENV === 'production' - ? // eslint-disable-next-line @typescript-eslint/no-var-requires + ? // eslint-disable-next-line @typescript-eslint/no-require-imports require('./configureStore.prod').default - : // eslint-disable-next-line @typescript-eslint/no-var-requires + : // eslint-disable-next-line @typescript-eslint/no-require-imports require('./configureStore.dev').default; export default configureStore; diff --git a/packages/redux-devtools/package.json b/packages/redux-devtools/package.json index 853c4602..68295df9 100644 --- a/packages/redux-devtools/package.json +++ b/packages/redux-devtools/package.json @@ -57,8 +57,8 @@ "@types/lodash": "^4.17.7", "@types/node": "^20.14.11", "@types/react": "^18.3.3", - "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jest": "^28.6.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 88bb011f..5a57e0e6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,11 +21,11 @@ importers: specifier: ^19.0.0 version: 19.0.0 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -34,7 +34,7 @@ importers: version: 9.1.0(eslint@8.57.0) eslint-plugin-jest: specifier: ^28.6.0 - version: 28.6.0(@typescript-eslint/eslint-plugin@7.16.1)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) + version: 28.6.0(@typescript-eslint/eslint-plugin@8.0.0)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) eslint-plugin-react: specifier: ^7.35.0 version: 7.35.0(eslint@8.57.0) @@ -182,7 +182,7 @@ importers: version: 19.0.4(eslint-plugin-import@2.29.1)(eslint-plugin-jsx-a11y@6.9.0)(eslint-plugin-react-hooks@4.6.2)(eslint-plugin-react@7.35.0)(eslint@8.57.0) eslint-plugin-import: specifier: ^2.29.1 - version: 2.29.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0) + version: 2.29.1(@typescript-eslint/parser@8.0.0)(eslint@8.57.0) eslint-plugin-jsx-a11y: specifier: ^6.9.0 version: 6.9.0(eslint@8.57.0) @@ -251,11 +251,11 @@ importers: specifier: ^0.30.1 version: 0.30.1 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -291,11 +291,11 @@ importers: specifier: ^20.14.11 version: 20.14.11 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) babel-loader: specifier: ^9.1.3 version: 9.1.3(@babel/core@7.24.9)(webpack@5.93.0) @@ -336,11 +336,11 @@ importers: specifier: ^7.4.3 version: 7.4.3 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) d3: specifier: ^7.9.0 version: 7.9.0 @@ -370,11 +370,11 @@ importers: specifier: ^4.17.12 version: 4.17.12 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -383,7 +383,7 @@ importers: version: 9.1.0(eslint@8.57.0) eslint-plugin-jest: specifier: ^28.6.0 - version: 28.6.0(@typescript-eslint/eslint-plugin@7.16.1)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) + version: 28.6.0(@typescript-eslint/eslint-plugin@8.0.0)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) immutable: specifier: ^4.3.6 version: 4.3.6 @@ -425,11 +425,11 @@ importers: specifier: ^4.17.12 version: 4.17.12 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -438,7 +438,7 @@ importers: version: 9.1.0(eslint@8.57.0) eslint-plugin-jest: specifier: ^28.6.0 - version: 28.6.0(@typescript-eslint/eslint-plugin@7.16.1)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) + version: 28.6.0(@typescript-eslint/eslint-plugin@8.0.0)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) jest: specifier: ^29.7.0 version: 29.7.0(@types/node@20.14.11)(ts-node@10.9.2) @@ -474,11 +474,11 @@ importers: specifier: ^18.3.0 version: 18.3.0 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -487,7 +487,7 @@ importers: version: 9.1.0(eslint@8.57.0) eslint-plugin-jest: specifier: ^28.6.0 - version: 28.6.0(@typescript-eslint/eslint-plugin@7.16.1)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) + version: 28.6.0(@typescript-eslint/eslint-plugin@8.0.0)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) eslint-plugin-react: specifier: ^7.35.0 version: 7.35.0(eslint@8.57.0) @@ -565,11 +565,11 @@ importers: specifier: ^5.1.34 version: 5.1.34 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) babel-loader: specifier: ^9.1.3 version: 9.1.3(@babel/core@7.24.9)(webpack@5.93.0) @@ -629,11 +629,11 @@ importers: specifier: ^18.3.0 version: 18.3.0 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -642,7 +642,7 @@ importers: version: 9.1.0(eslint@8.57.0) eslint-plugin-jest: specifier: ^28.6.0 - version: 28.6.0(@typescript-eslint/eslint-plugin@7.16.1)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) + version: 28.6.0(@typescript-eslint/eslint-plugin@8.0.0)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) eslint-plugin-react: specifier: ^7.35.0 version: 7.35.0(eslint@8.57.0) @@ -708,11 +708,11 @@ importers: specifier: ^18.3.0 version: 18.3.0 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) babel-loader: specifier: ^9.1.3 version: 9.1.3(@babel/core@7.24.9)(webpack@5.93.0) @@ -799,11 +799,11 @@ importers: specifier: ^18.3.3 version: 18.3.3 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -812,7 +812,7 @@ importers: version: 9.1.0(eslint@8.57.0) eslint-plugin-jest: specifier: ^28.6.0 - version: 28.6.0(@typescript-eslint/eslint-plugin@7.16.1)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) + version: 28.6.0(@typescript-eslint/eslint-plugin@8.0.0)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) eslint-plugin-react: specifier: ^7.35.0 version: 7.35.0(eslint@8.57.0) @@ -932,11 +932,11 @@ importers: specifier: ^1.18.5 version: 1.18.5 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) babel-loader: specifier: ^9.1.3 version: 9.1.3(@babel/core@7.24.9)(webpack@5.93.0) @@ -1116,11 +1116,11 @@ importers: specifier: ^5.1.34 version: 5.1.34 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) cross-env: specifier: ^7.0.3 version: 7.0.3 @@ -1135,7 +1135,7 @@ importers: version: 9.1.0(eslint@8.57.0) eslint-plugin-jest: specifier: ^28.6.0 - version: 28.6.0(@typescript-eslint/eslint-plugin@7.16.1)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) + version: 28.6.0(@typescript-eslint/eslint-plugin@8.0.0)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) eslint-plugin-react: specifier: ^7.35.0 version: 7.35.0(eslint@8.57.0) @@ -1222,11 +1222,11 @@ importers: specifier: ^18.3.3 version: 18.3.3 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -1379,11 +1379,11 @@ importers: specifier: ^10.0.0 version: 10.0.0 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -1392,7 +1392,7 @@ importers: version: 9.1.0(eslint@8.57.0) eslint-plugin-jest: specifier: ^28.6.0 - version: 28.6.0(@typescript-eslint/eslint-plugin@7.16.1)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) + version: 28.6.0(@typescript-eslint/eslint-plugin@8.0.0)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) jest: specifier: ^29.7.0 version: 29.7.0(@types/node@20.14.11)(ts-node@10.9.2) @@ -1458,11 +1458,11 @@ importers: specifier: ^18.3.3 version: 18.3.3 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -1516,11 +1516,11 @@ importers: specifier: ^7.24.7 version: 7.24.7(@babel/core@7.24.9) '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -1628,11 +1628,11 @@ importers: specifier: ^18.3.3 version: 18.3.3 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -1743,11 +1743,11 @@ importers: specifier: ^18.3.3 version: 18.3.3 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -1756,7 +1756,7 @@ importers: version: 9.1.0(eslint@8.57.0) eslint-plugin-jest: specifier: ^28.6.0 - version: 28.6.0(@typescript-eslint/eslint-plugin@7.16.1)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) + version: 28.6.0(@typescript-eslint/eslint-plugin@8.0.0)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) eslint-plugin-react: specifier: ^7.35.0 version: 7.35.0(eslint@8.57.0) @@ -1873,11 +1873,11 @@ importers: specifier: ^1.18.5 version: 1.18.5 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) babel-loader: specifier: ^9.1.3 version: 9.1.3(@babel/core@7.24.9)(webpack@5.93.0) @@ -2006,11 +2006,11 @@ importers: specifier: 0.5.2 version: 0.5.2 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -2019,7 +2019,7 @@ importers: version: 9.1.0(eslint@8.57.0) eslint-plugin-jest: specifier: ^28.6.0 - version: 28.6.0(@typescript-eslint/eslint-plugin@7.16.1)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) + version: 28.6.0(@typescript-eslint/eslint-plugin@8.0.0)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) eslint-plugin-react: specifier: ^7.35.0 version: 7.35.0(eslint@8.57.0) @@ -2130,11 +2130,11 @@ importers: specifier: ^1.18.5 version: 1.18.5 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) babel-loader: specifier: ^9.1.3 version: 9.1.3(@babel/core@7.24.9)(webpack@5.93.0) @@ -2212,11 +2212,11 @@ importers: specifier: ^20.14.11 version: 20.14.11 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -2225,7 +2225,7 @@ importers: version: 9.1.0(eslint@8.57.0) eslint-plugin-jest: specifier: ^28.6.0 - version: 28.6.0(@typescript-eslint/eslint-plugin@7.16.1)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) + version: 28.6.0(@typescript-eslint/eslint-plugin@8.0.0)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) jest: specifier: ^29.7.0 version: 29.7.0(@types/node@20.14.11)(ts-node@10.9.2) @@ -2291,11 +2291,11 @@ importers: specifier: ^18.3.3 version: 18.3.3 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -2373,11 +2373,11 @@ importers: specifier: ^19.1.0 version: 19.1.0 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -2482,11 +2482,11 @@ importers: specifier: ^18.3.3 version: 18.3.3 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -2495,7 +2495,7 @@ importers: version: 9.1.0(eslint@8.57.0) eslint-plugin-jest: specifier: ^28.6.0 - version: 28.6.0(@typescript-eslint/eslint-plugin@7.16.1)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) + version: 28.6.0(@typescript-eslint/eslint-plugin@8.0.0)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) eslint-plugin-react: specifier: ^7.35.0 version: 7.35.0(eslint@8.57.0) @@ -2615,11 +2615,11 @@ importers: specifier: ^5.1.34 version: 5.1.34 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) babel-loader: specifier: ^9.1.3 version: 9.1.3(@babel/core@7.24.9)(webpack@5.93.0) @@ -2703,11 +2703,11 @@ importers: specifier: ^3.1.5 version: 3.1.5 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -2716,7 +2716,7 @@ importers: version: 9.1.0(eslint@8.57.0) eslint-plugin-jest: specifier: ^28.6.0 - version: 28.6.0(@typescript-eslint/eslint-plugin@7.16.1)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) + version: 28.6.0(@typescript-eslint/eslint-plugin@8.0.0)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) immutable: specifier: ^4.3.6 version: 4.3.6 @@ -2779,11 +2779,11 @@ importers: specifier: ^18.3.3 version: 18.3.3 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -2876,11 +2876,11 @@ importers: specifier: ^1.18.5 version: 1.18.5 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) babel-loader: specifier: ^9.1.3 version: 9.1.3(@babel/core@7.24.9)(webpack@5.93.0) @@ -3036,11 +3036,11 @@ importers: specifier: ^5.1.34 version: 5.1.34 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) babel-loader: specifier: ^9.1.3 version: 9.1.3(@babel/core@7.24.9)(webpack@5.93.0) @@ -3055,7 +3055,7 @@ importers: version: 9.1.0(eslint@8.57.0) eslint-plugin-jest: specifier: ^28.6.0 - version: 28.6.0(@typescript-eslint/eslint-plugin@7.16.1)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) + version: 28.6.0(@typescript-eslint/eslint-plugin@8.0.0)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3) eslint-plugin-react: specifier: ^7.35.0 version: 7.35.0(eslint@8.57.0) @@ -3175,11 +3175,11 @@ importers: specifier: ^20.14.11 version: 20.14.11 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -3245,11 +3245,11 @@ importers: specifier: ^1.18.5 version: 1.18.5 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) babel-loader: specifier: ^9.1.3 version: 9.1.3(@babel/core@7.24.9)(webpack@5.93.0) @@ -3345,11 +3345,11 @@ importers: specifier: ^1.18.5 version: 1.18.5 '@typescript-eslint/eslint-plugin': - specifier: ^7.16.1 - version: 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.16.1 - version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) + specifier: ^8.0.0 + version: 8.0.0(eslint@8.57.0)(typescript@5.5.3) babel-loader: specifier: ^9.1.3 version: 9.1.3(@babel/core@7.24.9)(webpack@5.93.0) @@ -9669,23 +9669,23 @@ packages: '@types/node': 20.14.11 optional: true - /@typescript-eslint/eslint-plugin@7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3): - resolution: {integrity: sha512-SxdPak/5bO0EnGktV05+Hq8oatjAYVY3Zh2bye9pGZy6+jwyR3LG3YKkV4YatlsgqXP28BTeVm9pqwJM96vf2A==} - engines: {node: ^18.18.0 || >=20.0.0} + /@typescript-eslint/eslint-plugin@8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3): + resolution: {integrity: sha512-STIZdwEQRXAHvNUS6ILDf5z3u95Gc8jzywunxSNqX00OooIemaaNIA0vEgynJlycL5AjabYLLrIyHd4iazyvtg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - '@typescript-eslint/parser': ^7.0.0 - eslint: ^8.56.0 + '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 + eslint: ^8.57.0 || ^9.0.0 typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: '@eslint-community/regexpp': 4.11.0 - '@typescript-eslint/parser': 7.16.1(eslint@8.57.0)(typescript@5.5.3) - '@typescript-eslint/scope-manager': 7.16.1 - '@typescript-eslint/type-utils': 7.16.1(eslint@8.57.0)(typescript@5.5.3) - '@typescript-eslint/utils': 7.16.1(eslint@8.57.0)(typescript@5.5.3) - '@typescript-eslint/visitor-keys': 7.16.1 + '@typescript-eslint/parser': 8.0.0(eslint@8.57.0)(typescript@5.5.3) + '@typescript-eslint/scope-manager': 8.0.0 + '@typescript-eslint/type-utils': 8.0.0(eslint@8.57.0)(typescript@5.5.3) + '@typescript-eslint/utils': 8.0.0(eslint@8.57.0)(typescript@5.5.3) + '@typescript-eslint/visitor-keys': 8.0.0 eslint: 8.57.0 graphemer: 1.4.0 ignore: 5.3.1 @@ -9696,20 +9696,20 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3): - resolution: {integrity: sha512-u+1Qx86jfGQ5i4JjK33/FnawZRpsLxRnKzGE6EABZ40KxVT/vWsiZFEBBHjFOljmmV3MBYOHEKi0Jm9hbAOClA==} - engines: {node: ^18.18.0 || >=20.0.0} + /@typescript-eslint/parser@8.0.0(eslint@8.57.0)(typescript@5.5.3): + resolution: {integrity: sha512-pS1hdZ+vnrpDIxuFXYQpLTILglTjSYJ9MbetZctrUawogUsPdz31DIIRZ9+rab0LhYNTsk88w4fIzVheiTbWOQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^8.56.0 + eslint: ^8.57.0 || ^9.0.0 typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 7.16.1 - '@typescript-eslint/types': 7.16.1 - '@typescript-eslint/typescript-estree': 7.16.1(typescript@5.5.3) - '@typescript-eslint/visitor-keys': 7.16.1 + '@typescript-eslint/scope-manager': 8.0.0 + '@typescript-eslint/types': 8.0.0 + '@typescript-eslint/typescript-estree': 8.0.0(typescript@5.5.3) + '@typescript-eslint/visitor-keys': 8.0.0 debug: 4.3.5(supports-color@5.5.0) eslint: 8.57.0 typescript: 5.5.3 @@ -9733,23 +9733,30 @@ packages: '@typescript-eslint/visitor-keys': 7.16.1 dev: true - /@typescript-eslint/type-utils@7.16.1(eslint@8.57.0)(typescript@5.5.3): - resolution: {integrity: sha512-rbu/H2MWXN4SkjIIyWcmYBjlp55VT+1G3duFOIukTNFxr9PI35pLc2ydwAfejCEitCv4uztA07q0QWanOHC7dA==} - engines: {node: ^18.18.0 || >=20.0.0} + /@typescript-eslint/scope-manager@8.0.0: + resolution: {integrity: sha512-V0aa9Csx/ZWWv2IPgTfY7T4agYwJyILESu/PVqFtTFz9RIS823mAze+NbnBI8xiwdX3iqeQbcTYlvB04G9wyQw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + dependencies: + '@typescript-eslint/types': 8.0.0 + '@typescript-eslint/visitor-keys': 8.0.0 + dev: true + + /@typescript-eslint/type-utils@8.0.0(eslint@8.57.0)(typescript@5.5.3): + resolution: {integrity: sha512-mJAFP2mZLTBwAn5WI4PMakpywfWFH5nQZezUQdSKV23Pqo6o9iShQg1hP2+0hJJXP2LnZkWPphdIq4juYYwCeg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^8.56.0 typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 7.16.1(typescript@5.5.3) - '@typescript-eslint/utils': 7.16.1(eslint@8.57.0)(typescript@5.5.3) + '@typescript-eslint/typescript-estree': 8.0.0(typescript@5.5.3) + '@typescript-eslint/utils': 8.0.0(eslint@8.57.0)(typescript@5.5.3) debug: 4.3.5(supports-color@5.5.0) - eslint: 8.57.0 ts-api-utils: 1.3.0(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: + - eslint - supports-color dev: true @@ -9763,6 +9770,11 @@ packages: engines: {node: ^18.18.0 || >=20.0.0} dev: true + /@typescript-eslint/types@8.0.0: + resolution: {integrity: sha512-wgdSGs9BTMWQ7ooeHtu5quddKKs5Z5dS+fHLbrQI+ID0XWJLODGMHRfhwImiHoeO2S5Wir2yXuadJN6/l4JRxw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + dev: true + /@typescript-eslint/typescript-estree@5.62.0(typescript@5.5.3): resolution: {integrity: sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -9806,6 +9818,28 @@ packages: - supports-color dev: true + /@typescript-eslint/typescript-estree@8.0.0(typescript@5.5.3): + resolution: {integrity: sha512-5b97WpKMX+Y43YKi4zVcCVLtK5F98dFls3Oxui8LbnmRsseKenbbDinmvxrWegKDMmlkIq/XHuyy0UGLtpCDKg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/types': 8.0.0 + '@typescript-eslint/visitor-keys': 8.0.0 + debug: 4.3.5(supports-color@5.5.0) + globby: 11.1.0 + is-glob: 4.0.3 + minimatch: 9.0.5 + semver: 7.6.3 + ts-api-utils: 1.3.0(typescript@5.5.3) + typescript: 5.5.3 + transitivePeerDependencies: + - supports-color + dev: true + /@typescript-eslint/utils@5.62.0(eslint@8.57.0)(typescript@5.5.3): resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -9842,6 +9876,22 @@ packages: - typescript dev: true + /@typescript-eslint/utils@8.0.0(eslint@8.57.0)(typescript@5.5.3): + resolution: {integrity: sha512-k/oS/A/3QeGLRvOWCg6/9rATJL5rec7/5s1YmdS0ZU6LHveJyGFwBvLhSRBv6i9xaj7etmosp+l+ViN1I9Aj/Q==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) + '@typescript-eslint/scope-manager': 8.0.0 + '@typescript-eslint/types': 8.0.0 + '@typescript-eslint/typescript-estree': 8.0.0(typescript@5.5.3) + eslint: 8.57.0 + transitivePeerDependencies: + - supports-color + - typescript + dev: true + /@typescript-eslint/visitor-keys@5.62.0: resolution: {integrity: sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -9858,6 +9908,14 @@ packages: eslint-visitor-keys: 3.4.3 dev: true + /@typescript-eslint/visitor-keys@8.0.0: + resolution: {integrity: sha512-oN0K4nkHuOyF3PVMyETbpP5zp6wfyOvm7tWhTMfoqxSSsPmJIh6JNASuZDlODE8eE+0EB9uar+6+vxr9DBTYOA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + dependencies: + '@typescript-eslint/types': 8.0.0 + eslint-visitor-keys: 3.4.3 + dev: true + /@ungap/structured-clone@1.2.0: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: true @@ -12739,7 +12797,7 @@ packages: dependencies: confusing-browser-globals: 1.0.11 eslint: 8.57.0 - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@8.0.0)(eslint@8.57.0) object.assign: 4.1.5 object.entries: 1.1.8 semver: 6.3.1 @@ -12757,7 +12815,7 @@ packages: dependencies: eslint: 8.57.0 eslint-config-airbnb-base: 15.0.0(eslint-plugin-import@2.29.1)(eslint@8.57.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@8.0.0)(eslint@8.57.0) eslint-plugin-jsx-a11y: 6.9.0(eslint@8.57.0) eslint-plugin-react: 7.35.0(eslint@8.57.0) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.0) @@ -12784,7 +12842,7 @@ packages: - supports-color dev: true - /eslint-module-utils@2.8.1(@typescript-eslint/parser@7.16.1)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): + /eslint-module-utils@2.8.1(@typescript-eslint/parser@8.0.0)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): resolution: {integrity: sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==} engines: {node: '>=4'} peerDependencies: @@ -12805,7 +12863,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 7.16.1(eslint@8.57.0)(typescript@5.5.3) + '@typescript-eslint/parser': 8.0.0(eslint@8.57.0)(typescript@5.5.3) debug: 3.2.7 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 @@ -12813,7 +12871,7 @@ packages: - supports-color dev: true - /eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0): + /eslint-plugin-import@2.29.1(@typescript-eslint/parser@8.0.0)(eslint@8.57.0): resolution: {integrity: sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==} engines: {node: '>=4'} peerDependencies: @@ -12823,7 +12881,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 7.16.1(eslint@8.57.0)(typescript@5.5.3) + '@typescript-eslint/parser': 8.0.0(eslint@8.57.0)(typescript@5.5.3) array-includes: 3.1.8 array.prototype.findlastindex: 1.2.5 array.prototype.flat: 1.3.2 @@ -12832,7 +12890,7 @@ packages: doctrine: 2.1.0 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.16.1)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@8.0.0)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) hasown: 2.0.2 is-core-module: 2.15.0 is-glob: 4.0.3 @@ -12848,7 +12906,7 @@ packages: - supports-color dev: true - /eslint-plugin-jest@28.6.0(@typescript-eslint/eslint-plugin@7.16.1)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3): + /eslint-plugin-jest@28.6.0(@typescript-eslint/eslint-plugin@8.0.0)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.3): resolution: {integrity: sha512-YG28E1/MIKwnz+e2H7VwYPzHUYU4aMa19w0yGcwXnnmJH6EfgHahTJ2un3IyraUxNfnz/KUhJAFXNNwWPo12tg==} engines: {node: ^16.10.0 || ^18.12.0 || >=20.0.0} peerDependencies: @@ -12861,7 +12919,7 @@ packages: jest: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 7.16.1(@typescript-eslint/parser@7.16.1)(eslint@8.57.0)(typescript@5.5.3) + '@typescript-eslint/eslint-plugin': 8.0.0(@typescript-eslint/parser@8.0.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/utils': 7.16.1(eslint@8.57.0)(typescript@5.5.3) eslint: 8.57.0 jest: 29.7.0(@types/node@20.14.11)(ts-node@10.9.2)