Skip to content

Bump @types/react from 18.2.48 to 18.2.69 in /js #864

Bump @types/react from 18.2.48 to 18.2.69 in /js

Bump @types/react from 18.2.48 to 18.2.69 in /js #864

Triggered via pull request March 25, 2024 00:50
Status Failure
Total duration 4m 1s
Artifacts

js-ci.yml

on: pull_request
Check conditional workflows and jobs
5s
Check conditional workflows and jobs
Matrix: Admin UI E2E
Account UI E2E
0s
Account UI E2E
Status Check - Keycloak JavaScript CI
4s
Status Check - Keycloak JavaScript CI
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 34 warnings
Account UI
Type '{ children: Element[]; "aria-label": string; }' is missing the following properties from type 'Pick<TableComposableProps, "key" | "value" | "data" | "type" | "accept" | "name" | "required" | "children" | "className" | "role" | "acceptCharset" | "action" | ... 361 more ... | "selectableRowCaptionText">': onPointerEnterCapture, onPointerLeaveCapture
Account UI
Type '{ children: Element; }' is missing the following properties from type 'Pick<TheadProps, "key" | "value" | "data" | "type" | "accept" | "name" | "required" | "children" | "className" | "role" | "acceptCharset" | "action" | "allowFullScreen" | ... 349 more ... | "hasNestedHeader">': onPointerEnterCapture, onPointerLeaveCapture
Account UI
Type '{ children: Element[]; }' is missing the following properties from type 'Pick<TrProps, "key" | "value" | "data" | "type" | "accept" | "name" | "required" | "children" | "className" | "role" | "acceptCharset" | "action" | "allowFullScreen" | ... 359 more ... | "resetOffset">': onPointerEnterCapture, onPointerLeaveCapture
Account UI
Type '{ children: string; }' is missing the following properties from type 'Pick<ThProps, "key" | "value" | "data" | "type" | "accept" | "name" | "required" | "children" | "className" | "role" | "acceptCharset" | "action" | "allowFullScreen" | ... 363 more ... | "modifier">': onPointerEnterCapture, onPointerLeaveCapture
Account UI
Type '{ children: string; }' is missing the following properties from type 'Pick<ThProps, "key" | "value" | "data" | "type" | "accept" | "name" | "required" | "children" | "className" | "role" | "acceptCharset" | "action" | "allowFullScreen" | ... 363 more ... | "modifier">': onPointerEnterCapture, onPointerLeaveCapture
Account UI
Type '{ "aria-hidden": "true"; }' is missing the following properties from type 'Pick<ThProps, "key" | "value" | "data" | "type" | "accept" | "name" | "required" | "children" | "className" | "role" | "acceptCharset" | "action" | "allowFullScreen" | ... 363 more ... | "modifier">': onPointerEnterCapture, onPointerLeaveCapture
Account UI
Type '{ children: Element[] | undefined; }' is missing the following properties from type 'Pick<TbodyProps, "key" | "value" | "data" | "type" | "accept" | "name" | "required" | "children" | "className" | "role" | "acceptCharset" | "action" | "allowFullScreen" | ... 350 more ... | "isOddStriped">': onPointerEnterCapture, onPointerLeaveCapture
Account UI
Type '{ children: Element[]; key: string; }' is missing the following properties from type 'Pick<TrProps, "key" | "value" | "data" | "type" | "accept" | "name" | "required" | "children" | "className" | "role" | "acceptCharset" | "action" | "allowFullScreen" | ... 359 more ... | "resetOffset">': onPointerEnterCapture, onPointerLeaveCapture
Account UI
Type '{ children: (string | Element | undefined)[]; }' is missing the following properties from type 'Pick<TdProps, "key" | "value" | "data" | "type" | "accept" | "name" | "required" | "children" | "className" | "role" | "acceptCharset" | "action" | "allowFullScreen" | ... 367 more ... | "isActionCell">': onPointerEnterCapture, onPointerLeaveCapture
Account UI
Type '{ children: Element[]; }' is missing the following properties from type 'Pick<TdProps, "key" | "value" | "data" | "type" | "accept" | "name" | "required" | "children" | "className" | "role" | "acceptCharset" | "action" | "allowFullScreen" | ... 367 more ... | "isActionCell">': onPointerEnterCapture, onPointerLeaveCapture
Admin UI
Type '{ children: Element; eventKey: string; href: string; "data-testid": string; title: Element; }' is missing the following properties from type 'Pick<TabProps, "open" | "tabIndex" | "children" | "className" | "role" | "isDisabled" | "isAriaDisabled" | "href" | "tooltip" | "onClick" | "id" | "autoFocus" | "inoperableEvents" | ... 359 more ... | "isCloseDisabled">': onPointerEnterCapture, onPointerLeaveCapture
Admin UI
Type '{ children: Element; eventKey: string; href: string; "data-testid": string; title: Element; }' is missing the following properties from type 'Pick<TabProps, "open" | "tabIndex" | "children" | "className" | "role" | "isDisabled" | "isAriaDisabled" | "href" | "tooltip" | "onClick" | "id" | "autoFocus" | "inoperableEvents" | ... 359 more ... | "isCloseDisabled">': onPointerEnterCapture, onPointerLeaveCapture
Admin UI
Type '{ children: Element; eventKey: string; href: string; "data-testid": string; title: Element; }' is missing the following properties from type 'Pick<TabProps, "open" | "tabIndex" | "children" | "className" | "role" | "isDisabled" | "isAriaDisabled" | "href" | "tooltip" | "onClick" | "id" | "autoFocus" | "inoperableEvents" | ... 359 more ... | "isCloseDisabled">': onPointerEnterCapture, onPointerLeaveCapture
Admin UI
Type '{ children: Element[]; open?: boolean | undefined; tabIndex?: number | undefined; className: string; role?: string | undefined; href?: string | undefined; onClick?: MouseEventHandler<HTMLTableElement> | undefined; ... 371 more ...; selectableRowCaptionText?: string | undefined; }' is missing the following properties from type 'Pick<TableComposableProps, "open" | "tabIndex" | "children" | "className" | "role" | "href" | "onClick" | "id" | "autoFocus" | "accept" | "acceptCharset" | ... 362 more ... | "selectableRowCaptionText">': onPointerEnterCapture, onPointerLeaveCapture
Admin UI
Type '{ children: Element; }' is missing the following properties from type 'Pick<TheadProps, "open" | "tabIndex" | "children" | "className" | "role" | "href" | "onClick" | "id" | "autoFocus" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | ... 349 more ... | "hasNestedHeader">': onPointerEnterCapture, onPointerLeaveCapture
Admin UI
Type '{ children: (Element | Element[])[]; }' is missing the following properties from type 'Pick<TrProps, "open" | "tabIndex" | "children" | "className" | "role" | "href" | "onClick" | "id" | "autoFocus" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | ... 359 more ... | "resetOffset">': onPointerEnterCapture, onPointerLeaveCapture
Admin UI
Type '{ "aria-hidden": "true"; }' is missing the following properties from type 'Pick<ThProps, "open" | "tabIndex" | "children" | "className" | "component" | "role" | "href" | "tooltip" | "onClick" | "id" | "autoFocus" | "accept" | "acceptCharset" | ... 363 more ... | "isSubheader">': onPointerEnterCapture, onPointerLeaveCapture
Admin UI
Type '{ children: string; key: string; info: ThInfoType | undefined; }' is missing the following properties from type 'Pick<ThProps, "open" | "tabIndex" | "children" | "className" | "component" | "role" | "href" | "tooltip" | "onClick" | "id" | "autoFocus" | "accept" | "acceptCharset" | ... 363 more ... | "isSubheader">': onPointerEnterCapture, onPointerLeaveCapture
Admin UI
Type '{ children: Element[]; ref: RefObject<HTMLTableSectionElement>; onDragOver: (evt: DragEvent<Element>) => null | undefined; onDrop: (evt: DragEvent<...>) => null | undefined; onDragLeave: (evt: DragEvent<...>) => void; }' is missing the following properties from type 'Pick<TbodyProps, "open" | "tabIndex" | "children" | "className" | "role" | "href" | "onClick" | "id" | "autoFocus" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | ... 350 more ... | "isOddStriped">': onPointerEnterCapture, onPointerLeaveCapture
Admin UI
Type '{ children: (Element | Element[] | undefined)[]; key: any; id: any; draggable: true; onDrop: (evt: DragEvent<Element>) => void; onDragEnd: (evt: DragEvent<Element>) => void; onDragStart: (evt: DragEvent<...>) => void; }' is missing the following properties from type 'Pick<TrProps, "open" | "tabIndex" | "children" | "className" | "role" | "href" | "onClick" | "id" | "autoFocus" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | ... 359 more ... | "resetOffset">': onPointerEnterCapture, onPointerLeaveCapture
Build Keycloak
Process completed with exit code 1.
Status Check - Keycloak JavaScript CI
Process completed with exit code 1.
Keycloak JS
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Admin Client
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Admin Client: js/libs/keycloak-admin-client/src/resources/agent.ts#L151
Unnecessary conditional, value is always truthy
Admin Client: js/libs/keycloak-admin-client/src/resources/agent.ts#L304
This callback should return a conditional, but return is always falsy
Admin Client: js/libs/keycloak-admin-client/src/resources/clients.ts#L701
Unnecessary conditional, value is always truthy
Admin Client: js/libs/keycloak-admin-client/src/utils/auth.ts#L78
Unnecessary conditional, value is always truthy
Keycloak Masthead
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Keycloak Masthead: js/libs/keycloak-masthead/src/Masthead.tsx#L58
Unnecessary optional chain on a non-nullish value
Keycloak Masthead: js/libs/keycloak-masthead/src/Masthead.tsx#L66
Unnecessary optional chain on a non-nullish value
Keycloak Masthead: js/libs/keycloak-masthead/src/Masthead.tsx#L72
Unnecessary optional chain on a non-nullish value
Keycloak Masthead: js/libs/keycloak-masthead/src/Masthead.tsx#L107
Unnecessary optional chain on a non-nullish value
Account UI
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Account UI: js/apps/account-ui/src/resources/EditTheResource.tsx#L36
React Hook useEffect has missing dependencies: 'permissions' and 'reset'. Either include them or remove the dependency array
Account UI: js/apps/account-ui/src/resources/ShareTheResource.tsx#L64
React Hook useEffect has a missing dependency: 'append'. Either include it or remove the dependency array
Account UI: js/apps/account-ui/src/utils/usePromise.ts#L73
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
Account UI: js/apps/account-ui/src/utils/usePromise.ts#L73
React Hook useEffect has missing dependencies: 'callback' and 'factory'. Either include them or remove the dependency array. If 'callback' changes too often, find the parent component that defines it and wrap that definition in useCallback
UI Shared
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
UI Shared: js/libs/ui-shared/src/user-profile/MultiInputComponent.tsx#L66
React Hook useMemo has a missing dependency: 'defaultValue'. Either include it or remove the dependency array
UI Shared: js/libs/ui-shared/src/user-profile/MultiInputComponent.tsx#L89
React Hook useEffect has a missing dependency: 'name'. Either include it or remove the dependency array
UI Shared: js/libs/ui-shared/src/user-profile/UserProfileFields.tsx#L187
React Hook useMemo has a missing dependency: 'value'. Either include it or remove the dependency array
UI Shared: js/libs/ui-shared/src/utils/useStorageItem.ts#L23
React Hook useCallback has missing dependencies: 'keyName' and 'storageArea'. Either include them or remove the dependency array
UI Shared: js/libs/ui-shared/src/utils/useStorageItem.ts#L48
React Hook useEffect has a missing dependency: 'defaultValue'. Either include it or remove the dependency array. If 'setInnerValue' needs the current value of 'defaultValue', you can also switch to useReducer instead of useState and read 'defaultValue' in the reducer
UI Shared: js/libs/ui-shared/src/utils/useStoredState.ts#L34
React Hook useCallback has a missing dependency: 'setStoredValue'. Either include it or remove the dependency array
Admin UI
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Admin UI: js/apps/admin-ui/cypress/e2e/client_scopes_test.spec.ts#L181
Do not wait for arbitrary time periods
Admin UI: js/apps/admin-ui/cypress/e2e/clients_test.spec.ts#L199
Do not wait for arbitrary time periods
Admin UI: js/apps/admin-ui/cypress/e2e/clients_test.spec.ts#L209
Do not wait for arbitrary time periods
Admin UI: js/apps/admin-ui/cypress/e2e/clients_test.spec.ts#L538
Do not wait for arbitrary time periods
Admin UI: js/apps/admin-ui/cypress/e2e/events_test.spec.ts#L33
Unexpected skipped mocha test
Admin UI: js/apps/admin-ui/cypress/e2e/events_test.spec.ts#L71
Do not wait for arbitrary time periods
Admin UI: js/apps/admin-ui/cypress/e2e/events_test.spec.ts#L106
Do not wait for arbitrary time periods
Admin UI: js/apps/admin-ui/cypress/e2e/group_test.spec.ts#L266
Unexpected skipped mocha test
Admin UI: js/apps/admin-ui/cypress/e2e/i18n_test.spec.ts#L43
Unnecessary conditional, value is always truthy