⬆️(dependencies) update js dependencies (#591)
* ⬆️(dependencies) update js dependencies * ⬆️(dependencies) fixes for React 19 * ⬆️(dependencies) unit test fixes for React 19 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Laurent Bossavit <laurent@MacBook-Pro-de-Laurent.local>
This commit is contained in:
@@ -16,45 +16,45 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@gouvfr-lasuite/integration": "1.0.2",
|
||||
"@hookform/resolvers": "3.9.1",
|
||||
"@openfun/cunningham-react": "2.9.4",
|
||||
"@tanstack/react-query": "5.62.0",
|
||||
"i18next": "24.0.2",
|
||||
"@hookform/resolvers": "3.10.0",
|
||||
"@openfun/cunningham-react": "3.0.0",
|
||||
"@tanstack/react-query": "5.63.0",
|
||||
"i18next": "24.2.1",
|
||||
"lodash": "4.17.21",
|
||||
"luxon": "3.5.0",
|
||||
"next": "15.1.2",
|
||||
"next": "15.1.4",
|
||||
"react": "*",
|
||||
"react-dom": "*",
|
||||
"react-hook-form": "7.53.2",
|
||||
"react-i18next": "15.1.3",
|
||||
"react-select": "5.8.3",
|
||||
"sass": "1.81.0",
|
||||
"styled-components": "6.1.13",
|
||||
"zod": "3.23.8",
|
||||
"zustand": "5.0.1"
|
||||
"react-hook-form": "7.54.2",
|
||||
"react-i18next": "15.4.0",
|
||||
"react-select": "5.9.0",
|
||||
"sass": "1.83.1",
|
||||
"styled-components": "6.1.14",
|
||||
"zod": "3.24.1",
|
||||
"zustand": "5.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@hookform/devtools": "4.3.1",
|
||||
"@hookform/devtools": "4.3.3",
|
||||
"@svgr/webpack": "8.1.0",
|
||||
"@tanstack/react-query-devtools": "5.62.0",
|
||||
"@tanstack/react-query-devtools": "5.63.0",
|
||||
"@testing-library/dom": "10.4.0",
|
||||
"@testing-library/jest-dom": "6.6.3",
|
||||
"@testing-library/react": "16.0.1",
|
||||
"@testing-library/react": "16.1.0",
|
||||
"@testing-library/user-event": "14.5.2",
|
||||
"@types/jest": "29.5.14",
|
||||
"@types/lodash": "4.17.13",
|
||||
"@types/lodash": "4.17.14",
|
||||
"@types/luxon": "3.4.2",
|
||||
"@types/node": "*",
|
||||
"@types/react": "18.3.12",
|
||||
"@types/react": "19.0.4",
|
||||
"@types/react-dom": "*",
|
||||
"dotenv": "16.4.5",
|
||||
"dotenv": "16.4.7",
|
||||
"eslint-config-people": "*",
|
||||
"fetch-mock": "9.11.0",
|
||||
"jest": "29.7.0",
|
||||
"jest-environment-jsdom": "29.7.0",
|
||||
"node-fetch": "2.7.0",
|
||||
"prettier": "3.4.1",
|
||||
"stylelint": "16.11.0",
|
||||
"prettier": "3.4.2",
|
||||
"stylelint": "16.12.0",
|
||||
"stylelint-config-standard": "36.0.1",
|
||||
"stylelint-prettier": "5.0.2",
|
||||
"typescript": "*"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ComponentPropsWithRef, ReactHTML } from 'react';
|
||||
import { ComponentPropsWithRef } from 'react';
|
||||
import styled from 'styled-components';
|
||||
import { CSSProperties } from 'styled-components/dist/types';
|
||||
|
||||
@@ -9,7 +9,7 @@ import {
|
||||
} from '@/utils/styleBuilder';
|
||||
|
||||
export interface BoxProps {
|
||||
as?: keyof ReactHTML;
|
||||
as?: keyof HTMLElementTagNameMap;
|
||||
$align?: CSSProperties['alignItems'];
|
||||
$background?: CSSProperties['background'];
|
||||
$color?: CSSProperties['color'];
|
||||
|
||||
@@ -17,7 +17,7 @@ export const InfiniteScroll = ({
|
||||
scrollContainer,
|
||||
...boxProps
|
||||
}: PropsWithChildren<InfiniteScrollProps>) => {
|
||||
const timeout = useRef<ReturnType<typeof setTimeout>>();
|
||||
const timeout = useRef<ReturnType<typeof setTimeout>>(null);
|
||||
|
||||
useEffect(() => {
|
||||
if (!scrollContainer) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { CSSProperties, ComponentPropsWithRef, ReactHTML } from 'react';
|
||||
import { CSSProperties, ComponentPropsWithRef } from 'react';
|
||||
import styled from 'styled-components';
|
||||
|
||||
import { tokens } from '@/cunningham';
|
||||
@@ -10,7 +10,7 @@ type TextSizes = keyof typeof sizes;
|
||||
|
||||
export interface TextProps extends BoxProps {
|
||||
as?: keyof Pick<
|
||||
ReactHTML,
|
||||
HTMLElementTagNameMap,
|
||||
'p' | 'span' | 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'
|
||||
>;
|
||||
$weight?: CSSProperties['fontWeight'];
|
||||
|
||||
@@ -126,7 +126,7 @@ describe('MailDomainAccessesPage', () => {
|
||||
mailDomain: mockMailDomain,
|
||||
currentRole: Role.OWNER,
|
||||
},
|
||||
{}, // adding this empty object is necessary to load jest context
|
||||
undefined, // adding this undefined value is necessary to load jest context
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -119,7 +119,7 @@ describe('AccessAction', () => {
|
||||
slug: mockMailDomain.slug,
|
||||
onClose: expect.any(Function),
|
||||
}),
|
||||
{},
|
||||
undefined,
|
||||
);
|
||||
});
|
||||
|
||||
@@ -161,7 +161,7 @@ describe('AccessAction', () => {
|
||||
mailDomain: mockMailDomain,
|
||||
onClose: expect.any(Function),
|
||||
}),
|
||||
{},
|
||||
undefined,
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"test:ui": "yarn test --ui"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "1.49.0",
|
||||
"@playwright/test": "1.49.1",
|
||||
"@types/node": "*",
|
||||
"eslint-config-people": "*",
|
||||
"typescript": "*"
|
||||
|
||||
@@ -24,10 +24,10 @@
|
||||
"i18n:test": "yarn I18N run test"
|
||||
},
|
||||
"resolutions": {
|
||||
"@types/node": "22.10.1",
|
||||
"@types/react-dom": "18.3.1",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
"typescript": "5.7.2"
|
||||
"@types/node": "22.10.5",
|
||||
"@types/react-dom": "19.0.2",
|
||||
"react": "19.0.0",
|
||||
"react-dom": "19.0.0",
|
||||
"typescript": "5.7.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,19 +6,19 @@
|
||||
"lint": "eslint --ext .js ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@next/eslint-plugin-next": "15.0.3",
|
||||
"@tanstack/eslint-plugin-query": "5.61.6",
|
||||
"@typescript-eslint/eslint-plugin": "8.16.0",
|
||||
"@typescript-eslint/parser": "8.16.0",
|
||||
"@next/eslint-plugin-next": "15.1.4",
|
||||
"@tanstack/eslint-plugin-query": "5.62.16",
|
||||
"@typescript-eslint/eslint-plugin": "8.19.1",
|
||||
"@typescript-eslint/parser": "8.19.1",
|
||||
"eslint": "8.57.0",
|
||||
"eslint-config-next": "15.0.3",
|
||||
"eslint-config-next": "15.1.4",
|
||||
"eslint-config-prettier": "9.1.0",
|
||||
"eslint-plugin-import": "2.31.0",
|
||||
"eslint-plugin-jest": "28.9.0",
|
||||
"eslint-plugin-jest": "28.10.0",
|
||||
"eslint-plugin-jsx-a11y": "6.10.2",
|
||||
"eslint-plugin-playwright": "2.1.0",
|
||||
"eslint-plugin-prettier": "5.2.1",
|
||||
"eslint-plugin-react": "7.37.2",
|
||||
"eslint-plugin-testing-library": "7.0.0"
|
||||
"eslint-plugin-react": "7.37.3",
|
||||
"eslint-plugin-testing-library": "7.1.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"@types/node": "*",
|
||||
"eslint-config-people": "*",
|
||||
"eslint-plugin-import": "2.31.0",
|
||||
"i18next-parser": "9.0.2",
|
||||
"i18next-parser": "9.1.0",
|
||||
"jest": "29.7.0",
|
||||
"ts-jest": "29.2.5",
|
||||
"typescript": "*",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user