Skip to content

fix(deps): bump react-window and @types/react-window #4436

fix(deps): bump react-window and @types/react-window

fix(deps): bump react-window and @types/react-window #4436

Triggered via push February 2, 2026 06:04
Status Failure
Total duration 1m 19s
Artifacts

typescript.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 10 warnings
Test
Process completed with exit code 2.
Test
@amzn/autocomplete#build: command (/home/runner/work/amazon-q-developer-cli-autocomplete/amazon-q-developer-cli-autocomplete/packages/autocomplete) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (2)
Test
Argument of type 'ForwardRefRenderFunction<AutoSizedHandleRef, AutoSizedListProps>' is not assignable to parameter of type 'ForwardRefRenderFunction<AutoSizedHandleRef, Omit<AutoSizedListProps, "ref">>'.
Test
Module '"react-window"' has no exported member 'FixedSizeList'.
Test
Binding element 'style' implicitly has an 'any' type.
Test
Binding element 'index' implicitly has an 'any' type.
Lint: packages/autocomplete/src/hooks/keypress.ts#L74
React Hook useCallback has a missing dependency: 'scrollToIndex'. Either include it or remove the dependency array
Lint: packages/autocomplete/src/fig/hooks.ts#L76
React Hook useEffect has a missing dependency: 'setSettings'. Either include it or remove the dependency array. If 'setSettings' changes too often, find the parent component that defines it and wrap that definition in useCallback
Lint: packages/autocomplete/src/fig/hooks.ts#L64
React Hook useEffect has a missing dependency: 'getSubscription'. Either include it or remove the dependency array. If 'getSubscription' changes too often, find the parent component that defines it and wrap that definition in useCallback
Lint: packages/autocomplete/src/fig/hooks.ts#L64
React Hook useEffect was passed a dependency list that is not an array literal. This means we can't statically verify whether you've passed the correct dependencies
Lint: packages/autocomplete-app/src/parser/hooks.ts#L78
React Hook useEffect has missing dependencies: 'oldCommand?.originalTree.text', 'oldCommand?.tokens', and 'setLoading'. Either include them or remove the dependency array. If 'setLoading' changes too often, find the parent component that defines it and wrap that definition in useCallback
Lint: packages/autocomplete-app/src/hooks/keypress.ts#L198
React Hook useCallback has missing dependencies: 'scrollToIndex', 'setUserFuzzySearchEnabled', 'shake', and 'suggestions'. Either include them or remove the dependency array. If 'shake' changes too often, find the parent component that defines it and wrap that definition in useCallback
Lint: packages/autocomplete-app/src/hooks/keypress.ts#L74
React Hook useCallback has a missing dependency: 'scrollToIndex'. Either include it or remove the dependency array
Lint: packages/autocomplete-app/src/fig/hooks.ts#L76
React Hook useEffect has a missing dependency: 'setSettings'. Either include it or remove the dependency array. If 'setSettings' changes too often, find the parent component that defines it and wrap that definition in useCallback
Lint: packages/autocomplete-app/src/fig/hooks.ts#L64
React Hook useEffect has a missing dependency: 'getSubscription'. Either include it or remove the dependency array. If 'getSubscription' changes too often, find the parent component that defines it and wrap that definition in useCallback
Lint: packages/autocomplete-app/src/fig/hooks.ts#L64
React Hook useEffect was passed a dependency list that is not an array literal. This means we can't statically verify whether you've passed the correct dependencies