Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build(deps): Bump @patternfly/react-core from 5.2.2 to 5.3.3 #5754

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 15 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@
],
"type": "module",
"devDependencies": {
"@babel/core": "^7.24.4",
"@babel/plugin-transform-typescript": "^7.23.6",
"@testing-library/dom": "^9.3.4",
"@testing-library/jest-dom": "^6.4.2",
"@babel/core": "^7.24.5",
"@babel/plugin-transform-typescript": "^7.24.5",
"@testing-library/dom": "^10.1.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^15.0.7",
"@testing-library/user-event": "^14.5.2",
"@types/backbone": "^1.4.19",
Expand All @@ -65,17 +65,17 @@
"@types/loadable__component": "^5",
"@types/lodash": "^4.14.202",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.11.5",
"@types/qs": "^6.9.11",
"@types/node": "^20.12.12",
"@types/qs": "^6.9.15",
"@types/react-dom": "^18.3.0",
"@types/react-router-dom": "^5.3.3",
"@types/react-syntax-highlighter": "^15.5.10",
"@types/react-test-renderer": "^18",
"@types/styled-components": "^5.1.26",
"@types/uuid": "^9",
"@types/webpack": "^5.28.5",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^7.6.0",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"babel-loader": "^9.1.3",
"clean-css": "^5.3.3",
"copy-webpack-plugin": "^12.0.2",
Expand All @@ -93,7 +93,7 @@
"eslint-plugin-jest-dom": "^5.4.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-testing-library": "^6.2.2",
"fetch-mock": "^9.11.0",
"file-loader": "^6.2.0",
Expand All @@ -103,7 +103,7 @@
"imagemin": "^8.0.1",
"jest": "^29.7.0",
"jest-axe": "^8.0.0",
"jest-environment-jsdom": "^29.6.4",
"jest-environment-jsdom": "^29.7.0",
"jest-fetch-mock": "^3.0.3",
"jest-junit": "^16.0.0",
"lint-staged": "^15.2.0",
Expand All @@ -122,7 +122,7 @@
"rimraf": "^5.0.5",
"style-loader": "^4.0.0",
"svg-url-loader": "^8.0.0",
"ts-jest": "^29.1.1",
"ts-jest": "^29.1.3",
"ts-loader": "^9.5.1",
"ts-prune": "^0.10.3",
"tsconfig-paths-webpack-plugin": "^4.1.0",
Expand All @@ -140,8 +140,8 @@
},
"dependencies": {
"@inmanta/rappid": "^4.0.0",
"@joint/layout-directed-graph": "^4.0.1",
"@loadable/component": "^5.16.3",
"@joint/layout-directed-graph": "^4.0.3",
"@loadable/component": "^5.16.4",
"@patternfly/react-charts": "^7.1.2",
"@patternfly/react-core": "^5.2.2",
"@patternfly/react-icons": "^5.3.1",
Expand Down Expand Up @@ -170,8 +170,8 @@
"react-diff-viewer-continued": "^3.4.0",
"react-dom": "^18.3.1",
"react-dropzone": "^14.2.3",
"react-icons": "^5.2.0",
"react-router-dom": "^6.22.3",
"react-icons": "^5.2.1",
"react-router-dom": "^6.23.1",
"react-syntax-highlighter": "^15.5.0",
"react-test-renderer": "^18.3.1",
"styled-components": "^5.3.11",
Expand All @@ -182,7 +182,6 @@
"resolutions": {
"json5": "^2.2.2",
"terser-webpack-plugin": "^1.4.5",
"@types/react": "^18.0.21",
"prismjs": "^1.25.0",
"trim": "^0.0.3",
"glob-parent": "^5.1.2",
Expand Down
4 changes: 2 additions & 2 deletions src/Data/Managers/GetInstanceResources/QueryManager.test.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useContext } from "react";
import { act, render, screen } from "@testing-library/react";
import React, { act, useContext } from "react";
import { render, screen } from "@testing-library/react";
import { StoreProvider } from "easy-peasy";
import { Either, PageSize, RemoteData } from "@/Core";
import { initialCurrentPage } from "@/Data/Common/UrlState/useUrlStateWithCurrentPage";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useContext } from "react";
import React, { act, useContext } from "react";
import { MemoryRouter, useLocation, useNavigate } from "react-router-dom";
import { act, render, screen } from "@testing-library/react";
import { render, screen } from "@testing-library/react";
import { userEvent } from "@testing-library/user-event";
import { StoreProvider } from "easy-peasy";
import { Either, RemoteData } from "@/Core";
Expand Down
4 changes: 2 additions & 2 deletions src/Data/Managers/ServiceInstances/QueryManager.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import React, { act } from "react";
import { MemoryRouter } from "react-router-dom";
import { act, render, screen } from "@testing-library/react";
import { render, screen } from "@testing-library/react";
import { userEvent } from "@testing-library/user-event";
import { StoreProvider } from "easy-peasy";
import {
Expand Down
4 changes: 2 additions & 2 deletions src/Slices/AgentProcess/UI/Page.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import React, { act } from "react";
import { MemoryRouter } from "react-router-dom";
import { act, render, screen } from "@testing-library/react";
import { render, screen } from "@testing-library/react";
import { StoreProvider } from "easy-peasy";
import { configureAxe, toHaveNoViolations } from "jest-axe";
import { Either } from "@/Core";
Expand Down
4 changes: 2 additions & 2 deletions src/Slices/Agents/UI/Agents.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import React, { act } from "react";
import { MemoryRouter } from "react-router-dom";
import { act, render, screen, within } from "@testing-library/react";
import { render, screen, within } from "@testing-library/react";
import { userEvent } from "@testing-library/user-event";
import { StoreProvider } from "easy-peasy";
import { configureAxe, toHaveNoViolations } from "jest-axe";
Expand Down
2 changes: 1 addition & 1 deletion src/Slices/Agents/UI/AgentsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const AgentsTable: React.FC<Props> = ({
}
: {};
return (
<Th key={displayName} {...sortParams}>
<Th key={displayName} {...sortParams} aria-label={displayName}>
{displayName}
</Th>
);
Expand Down
4 changes: 2 additions & 2 deletions src/Slices/CompileDetails/UI/CompileDetails.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import React, { act } from "react";
import { MemoryRouter } from "react-router-dom";
import { act, render, screen } from "@testing-library/react";
import { render, screen } from "@testing-library/react";
import { StoreProvider } from "easy-peasy";
import { configureAxe, toHaveNoViolations } from "jest-axe";
import { Either } from "@/Core";
Expand Down
11 changes: 7 additions & 4 deletions src/Slices/CompileDetails/UI/CompileStageReportTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from "react";
import {
Table /* data-codemods */,
TableVariant,
Td,
Th,
Thead,
Tr,
Expand All @@ -27,17 +28,19 @@ export const CompileStageReportTable: React.FC<Props> = ({
compileStarted,
);
const rows = tablePresenter.createRows(reports);
const heads = tablePresenter
.getColumnHeadDisplayNames()
.map((columnName) => <Th key={columnName}>{columnName}</Th>);
const heads = tablePresenter.getColumnHeadDisplayNames().map((columnName) => (
<Th key={columnName} aria-label={columnName}>
{columnName}
</Th>
));

const [isExpanded, onExpansion] = useExpansion();

return (
<Table {...props} variant={TableVariant.compact}>
<Thead>
<Tr>
<Th aria-hidden key="toggle" />
<Td aria-hidden key="toggle" />
{heads}
</Tr>
</Thead>
Expand Down
2 changes: 1 addition & 1 deletion src/Slices/CompileReports/UI/CompileReportsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const CompileReportsTable: React.FC<Props> = ({
}
: {};
return (
<Th key={column} {...sortParams}>
<Th key={column} {...sortParams} aria-label={column}>
{column}
</Th>
);
Expand Down
4 changes: 2 additions & 2 deletions src/Slices/CompileReports/UI/Page.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import React, { act } from "react";
import { MemoryRouter } from "react-router-dom";
import { act, render, screen, within } from "@testing-library/react";
import { render, screen, within } from "@testing-library/react";
import { userEvent } from "@testing-library/user-event";
import { StoreProvider } from "easy-peasy";
import { configureAxe, toHaveNoViolations } from "jest-axe";
Expand Down
4 changes: 2 additions & 2 deletions src/Slices/ComplianceCheck/UI/Page.test.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import { act, render, screen } from "@testing-library/react";
import React, { act } from "react";
import { render, screen } from "@testing-library/react";
import { userEvent } from "@testing-library/user-event";
import { StoreProvider } from "easy-peasy";
import { configureAxe, toHaveNoViolations } from "jest-axe";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import React, { act } from "react";
import { MemoryRouter } from "react-router";
import { act, render, screen } from "@testing-library/react";
import { render, screen } from "@testing-library/react";
import { userEvent } from "@testing-library/user-event";
import { StoreProvider } from "easy-peasy";
import { configureAxe, toHaveNoViolations } from "jest-axe";
Expand Down Expand Up @@ -286,6 +286,7 @@ test(`Given CreateEnvironmentForm When a new project and valid environment are s
"new-project",
);
});

await act(async () => {
await userEvent.click(
screen.getByRole("option", { name: 'Create "new-project"' }),
Expand Down
4 changes: 2 additions & 2 deletions src/Slices/CreateInstance/UI/CreateInstance.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import React, { act } from "react";
import { MemoryRouter } from "react-router-dom";
import { render, screen, act, within } from "@testing-library/react";
import { render, screen, within } from "@testing-library/react";
import { userEvent } from "@testing-library/user-event";
import { StoreProvider } from "easy-peasy";
import { configureAxe, toHaveNoViolations } from "jest-axe";
Expand Down
4 changes: 2 additions & 2 deletions src/Slices/Dashboard/UI/GraphCard.test.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import { act, render, screen } from "@testing-library/react";
import React, { act } from "react";
import { render, screen } from "@testing-library/react";
import { configureAxe, toHaveNoViolations } from "jest-axe";
import { words } from "@/UI";
import { MetricName } from "../Core/Domain";
Expand Down
4 changes: 2 additions & 2 deletions src/Slices/Dashboard/UI/Page.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import React, { act } from "react";
import { MemoryRouter } from "react-router";
import { act, render, screen } from "@testing-library/react";
import { render, screen } from "@testing-library/react";
import { StoreProvider } from "easy-peasy";
import { configureAxe, toHaveNoViolations } from "jest-axe";
import { Either } from "@/Core";
Expand Down
4 changes: 3 additions & 1 deletion src/Slices/DesiredState/UI/DesiredStatesTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ export const DesiredStatesTable: React.FC<Props> = ({ rows, ...props }) => {
words("desiredState.columns.labels"),
];
const heads = columnNames.map((displayName) => (
<Th key={displayName}>{displayName}</Th>
<Th key={displayName} aria-label={displayName}>
{displayName}
</Th>
));

return (
Expand Down
4 changes: 2 additions & 2 deletions src/Slices/DesiredState/UI/Page.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import React, { act } from "react";
import { MemoryRouter } from "react-router-dom";
import { act, render, screen, within } from "@testing-library/react";
import { render, screen, within } from "@testing-library/react";
import { userEvent } from "@testing-library/user-event";
import { StoreProvider } from "easy-peasy";
import { configureAxe, toHaveNoViolations } from "jest-axe";
Expand Down
4 changes: 2 additions & 2 deletions src/Slices/DesiredStateCompare/UI/Page.test.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import { act, render, screen, within } from "@testing-library/react";
import React, { act } from "react";
import { render, screen, within } from "@testing-library/react";
import { userEvent } from "@testing-library/user-event";
import { StoreProvider } from "easy-peasy";
import { configureAxe, toHaveNoViolations } from "jest-axe";
Expand Down
3 changes: 1 addition & 2 deletions src/Slices/DesiredStateDetails/UI/Page.test.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import React from "react";
import React, { act } from "react";
import { MemoryRouter } from "react-router-dom";
import { render, screen } from "@testing-library/react";
import { StoreProvider } from "easy-peasy";
import { configureAxe, toHaveNoViolations } from "jest-axe";
import { act } from "react-dom/test-utils";
import { Either } from "@/Core";
import { getStoreInstance, QueryResolverImpl } from "@/Data";
import {
Expand Down
1 change: 1 addition & 0 deletions src/Slices/DesiredStateDetails/UI/VersionResourceTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export const VersionResourceTable: React.FC<Props> = ({
return (
<StyledTh
key={displayName}
aria-label={displayName}
{...sortParams}
$characters={displayName.length}
$hasSort={hasSort}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import React from "react";
import React, { act } from "react";
import { MemoryRouter } from "react-router-dom";
import { render, screen } from "@testing-library/react";
import { StoreProvider } from "easy-peasy";
import { configureAxe, toHaveNoViolations } from "jest-axe";
import { act } from "react-dom/test-utils";
import { Either } from "@/Core";
import {
getStoreInstance,
Expand Down
4 changes: 2 additions & 2 deletions src/Slices/Diagnose/UI/Diagnose.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import React, { act } from "react";
import { MemoryRouter } from "react-router-dom";
import { act, render, screen } from "@testing-library/react";
import { render, screen } from "@testing-library/react";
import { StoreProvider } from "easy-peasy";
import { configureAxe, toHaveNoViolations } from "jest-axe";
import { Either } from "@/Core";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import React, { act } from "react";
import { MemoryRouter } from "react-router-dom";
import { act, render, screen, within } from "@testing-library/react";
import { render, screen, within } from "@testing-library/react";
import { userEvent } from "@testing-library/user-event";
import { StoreProvider } from "easy-peasy";
import { configureAxe, toHaveNoViolations } from "jest-axe";
Expand Down
4 changes: 2 additions & 2 deletions src/Slices/EditInstance/UI/EditInstancePage.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import React, { act } from "react";
import { MemoryRouter } from "react-router-dom";
import { act, render, screen, within } from "@testing-library/react";
import { render, screen, within } from "@testing-library/react";
import { userEvent } from "@testing-library/user-event";
import { StoreProvider } from "easy-peasy";
import { configureAxe, toHaveNoViolations } from "jest-axe";
Expand Down
4 changes: 2 additions & 2 deletions src/Slices/Events/UI/Events.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import React, { act } from "react";
import { MemoryRouter } from "react-router";
import { act, render, screen } from "@testing-library/react";
import { render, screen } from "@testing-library/react";
import { StoreProvider } from "easy-peasy";
import { configureAxe, toHaveNoViolations } from "jest-axe";
import { Either, InstanceEvent } from "@/Core";
Expand Down
3 changes: 2 additions & 1 deletion src/Slices/Events/UI/Spec/EventsPageIntegration.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { render, screen, act, within } from "@testing-library/react";
import { act } from "react";
import { render, screen, within } from "@testing-library/react";
import { userEvent } from "@testing-library/user-event";
import { Either } from "@/Core";
import { Service, Pagination } from "@/Test";
Expand Down
1 change: 1 addition & 0 deletions src/Slices/Facts/UI/FactsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export const FactsTable: React.FC<Props> = ({
<StyledTh
key={displayName}
{...sortParams}
aria-label={displayName}
$characters={displayName.length}
$hasSort={hasSort}
>
Expand Down
4 changes: 2 additions & 2 deletions src/Slices/Facts/UI/Page.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import React, { act } from "react";
import { MemoryRouter } from "react-router-dom";
import { act, render, screen, within } from "@testing-library/react";
import { render, screen, within } from "@testing-library/react";
import { userEvent } from "@testing-library/user-event";
import { StoreProvider } from "easy-peasy";
import { axe, toHaveNoViolations } from "jest-axe";
Expand Down
4 changes: 2 additions & 2 deletions src/Slices/Home/UI/EnvironmentsOverview.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import React, { act } from "react";
import { MemoryRouter } from "react-router-dom";
import { act, render, screen } from "@testing-library/react";
import { render, screen } from "@testing-library/react";
import { userEvent } from "@testing-library/user-event";
import { dependencies, Environment } from "@/Test";
import { words } from "@/UI";
Expand Down
4 changes: 2 additions & 2 deletions src/Slices/Home/UI/Page.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import React, { act } from "react";
import { MemoryRouter } from "react-router";
import { act, render, screen } from "@testing-library/react";
import { render, screen } from "@testing-library/react";
import { StoreProvider } from "easy-peasy";
import { configureAxe, toHaveNoViolations } from "jest-axe";
import { Either } from "@/Core";
Expand Down
Loading
Loading