Skip to content

Bump @patternfly/react-core from 4.278.0 to 5.1.2 in /js #40

Bump @patternfly/react-core from 4.278.0 to 5.1.2 in /js

Bump @patternfly/react-core from 4.278.0 to 5.1.2 in /js #40

Triggered via pull request January 27, 2024 18:59
Status Failure
Total duration 8h 18m 1s
Artifacts

js-ci.yml

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

Annotations

41 errors and 20 warnings
Keycloak Masthead
Module '"@patternfly/react-core"' has no exported member 'DropdownToggle'.
Keycloak Masthead
Module '"@patternfly/react-core"' has no exported member 'KebabToggle'.
Keycloak Masthead
Type 'Element' is not assignable to type 'DropdownToggleProps | ((toggleRef: RefObject<any>) => ReactNode)'.
Keycloak Masthead
'"@patternfly/react-core"' has no exported member named 'PageHeader'. Did you mean 'PanelHeader'?
Keycloak Masthead
'"@patternfly/react-core"' has no exported member named 'PageHeaderProps'. Did you mean 'PanelHeaderProps'?
Keycloak Masthead
Module '"@patternfly/react-core"' has no exported member 'PageHeaderTools'.
Keycloak Masthead
Module '"@patternfly/react-core"' has no exported member 'PageHeaderToolsGroup'.
Keycloak Masthead
Module '"@patternfly/react-core"' has no exported member 'PageHeaderToolsItem'.
Keycloak Masthead
Process completed with exit code 1.
Build Keycloak
Process completed with exit code 1.
Admin UI
Type '{ children: ReactNode; isRequired: boolean; label: string; fieldId: string; labelIcon: Element | undefined; helperTextInvalid: any; validated: ValidatedOptions; }' is not assignable to type 'IntrinsicAttributes & FormGroupProps'.
Admin UI
'"@patternfly/react-core"' has no exported member named 'SelectVariant'. Did you mean 'AlertVariant'?
Admin UI
Property 'variant' does not exist on type 'SelectControlProps<T, P>'.
Admin UI
Type '{ children: Element[]; toggleId: string; onToggle: (isOpen: any) => void; selections: any; onSelect: (_: MouseEvent<Element, MouseEvent> | undefined, v: string | ... 1 more ... | undefined) => void; ... 296 more ...; disabled?: boolean | undefined; }' is not assignable to type 'IntrinsicAttributes & SelectProps & RefAttributes<any>'.
Admin UI
Parameter 'isOpen' implicitly has an 'any' type.
Admin UI
'v' is possibly 'undefined'.
Admin UI
Parameter 'event' implicitly has an 'any' type.
Admin UI
Argument of type 'string' is not assignable to parameter of type 'FormEvent<HTMLTextAreaElement>'.
Admin UI
Argument of type 'string' is not assignable to parameter of type 'FormEvent<HTMLInputElement>'.
Admin UI
Property 'toggle' is missing in type '{ "data-testid": string; name: "attributes.locale"; label: string; controller: { defaultValue: string; }; options: { key: string; value: string; }[]; }' but required in type 'Omit<SelectProps, "isOpen" | "name" | "onSelect" | "onToggle" | "selections" | "onClear">'.
Account UI
Module '"@patternfly/react-core"' has no exported member 'DropdownToggle'.
Account UI
Module '"@patternfly/react-core"' has no exported member 'KebabToggle'.
Account UI
Type 'Element' is not assignable to type 'DropdownToggleProps | ((toggleRef: RefObject<any>) => ReactNode)'.
Account UI
'"@patternfly/react-core"' has no exported member named 'PageHeader'. Did you mean 'PanelHeader'?
Account UI
'"@patternfly/react-core"' has no exported member named 'PageHeaderProps'. Did you mean 'PanelHeaderProps'?
Account UI
Module '"@patternfly/react-core"' has no exported member 'PageHeaderTools'.
Account UI
Module '"@patternfly/react-core"' has no exported member 'PageHeaderToolsGroup'.
Account UI
Module '"@patternfly/react-core"' has no exported member 'PageHeaderToolsItem'.
Account UI
Type '{ children: ReactNode; isRequired: boolean; label: string; fieldId: string; labelIcon: Element | undefined; helperTextInvalid: any; validated: ValidatedOptions; }' is not assignable to type 'IntrinsicAttributes & FormGroupProps'.
Account UI
'"@patternfly/react-core"' has no exported member named 'SelectVariant'. Did you mean 'AlertVariant'?
UI Shared
Type '{ children: ReactNode; isRequired: boolean; label: string; fieldId: string; labelIcon: Element | undefined; helperTextInvalid: any; validated: ValidatedOptions; }' is not assignable to type 'IntrinsicAttributes & FormGroupProps'.
UI Shared
'"@patternfly/react-core"' has no exported member named 'SelectVariant'. Did you mean 'AlertVariant'?
UI Shared
Property 'variant' does not exist on type 'SelectControlProps<T, P>'.
UI Shared
Type '{ children: Element[]; toggleId: string; onToggle: (isOpen: any) => void; selections: any; onSelect: (_: MouseEvent<Element, MouseEvent> | undefined, v: string | ... 1 more ... | undefined) => void; ... 296 more ...; disabled?: boolean | undefined; }' is not assignable to type 'IntrinsicAttributes & SelectProps & RefAttributes<any>'.
UI Shared
Parameter 'isOpen' implicitly has an 'any' type.
UI Shared
'v' is possibly 'undefined'.
UI Shared
Parameter 'event' implicitly has an 'any' type.
UI Shared
Argument of type 'string' is not assignable to parameter of type 'FormEvent<HTMLTextAreaElement>'.
UI Shared
Argument of type 'string' is not assignable to parameter of type 'FormEvent<HTMLInputElement>'.
UI Shared
Property 'toggle' is missing in type '{ "data-testid": string; name: "attributes.locale"; label: string; controller: { defaultValue: string; }; options: { key: string; value: string; }[]; }' but required in type 'Omit<SelectProps, "isOpen" | "name" | "onSelect" | "onToggle" | "selections" | "onClear">'.
Status Check - Keycloak JavaScript CI
Process completed with exit code 1.
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
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
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/.
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/.
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