diff --git a/examples/react-oidc-demo/package.json b/examples/react-oidc-demo/package.json index 54ad7d76..cce576ca 100644 --- a/examples/react-oidc-demo/package.json +++ b/examples/react-oidc-demo/package.json @@ -20,15 +20,15 @@ }, "dependencies": { "@axa-fr/react-oidc": "workspace:*", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "react": "^19.0.0", + "react-dom": "^19.0.0", "react-router-dom": "^6.22.3" }, "devDependencies": { "@testing-library/jest-dom": "6.4.5", "@testing-library/react": "15.0.7", "@testing-library/user-event": "14.5.2", - "@types/react": "18.3.2", + "@types/react": "19.0.0", "@vitejs/plugin-react": "4.2.1", "bootstrap": "^4.6.2", "copyfiles": "2.4.1", diff --git a/packages/react-oidc/package.json b/packages/react-oidc/package.json index caad34cd..eb466b5e 100644 --- a/packages/react-oidc/package.json +++ b/packages/react-oidc/package.json @@ -44,13 +44,13 @@ "@axa-fr/oidc-client": "workspace:*" }, "peerDependencies": { - "react": "^17.0.0 || ^18.0.0" + "react": "^17.0.0 || ^18.0.0 || ^19.0.0 " }, "devDependencies": { "@testing-library/jest-dom": "6.5.0", "@testing-library/react": "16.0.1", "@testing-library/user-event": "14.5.2", - "@types/react": "18.3.5", + "@types/react": "19.0.0", "@vitejs/plugin-react": "4.3.1", "@vitest/coverage-v8": "2.0.5", "cpy": "11.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7c571331..94b8bd42 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -124,27 +124,27 @@ importers: specifier: workspace:* version: link:../../packages/react-oidc react: - specifier: ^18.2.0 - version: 18.2.0 + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: ^18.2.0 - version: 18.2.0(react@18.2.0) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) react-router-dom: specifier: ^6.22.3 - version: 6.22.3(react-dom@18.2.0)(react@18.2.0) + version: 6.22.3(react-dom@19.0.0)(react@19.0.0) devDependencies: '@testing-library/jest-dom': specifier: 6.4.5 version: 6.4.5(vitest@1.6.0) '@testing-library/react': specifier: 15.0.7 - version: 15.0.7(@types/react@18.3.2)(react-dom@18.2.0)(react@18.2.0) + version: 15.0.7(@types/react@19.0.0)(react-dom@19.0.0)(react@19.0.0) '@testing-library/user-event': specifier: 14.5.2 version: 14.5.2(@testing-library/dom@10.4.0) '@types/react': - specifier: 18.3.2 - version: 18.3.2 + specifier: 19.0.0 + version: 19.0.0 '@vitejs/plugin-react': specifier: 4.2.1 version: 4.2.1(vite@5.1.6) @@ -187,7 +187,7 @@ importers: version: 6.5.0 '@testing-library/react': specifier: 16.0.1 - version: 16.0.1(@testing-library/dom@10.4.0)(@types/react@18.3.5)(react-dom@18.3.1)(react@18.3.1) + version: 16.0.1(@testing-library/dom@10.4.0)(@types/react@19.0.0)(react-dom@18.3.1)(react@18.3.1) '@vitest/coverage-v8': specifier: 2.0.5 version: 2.0.5(vitest@2.0.5) @@ -254,13 +254,13 @@ importers: version: 6.5.0 '@testing-library/react': specifier: 16.0.1 - version: 16.0.1(@testing-library/dom@10.4.0)(@types/react@18.3.5)(react-dom@18.3.1)(react@18.3.1) + version: 16.0.1(@testing-library/dom@10.4.0)(@types/react@19.0.0)(react-dom@18.3.1)(react@18.3.1) '@testing-library/user-event': specifier: 14.5.2 version: 14.5.2(@testing-library/dom@10.4.0) '@types/react': - specifier: 18.3.5 - version: 18.3.5 + specifier: 19.0.0 + version: 19.0.0 '@vitejs/plugin-react': specifier: 4.3.1 version: 4.3.1(vite@5.2.11) @@ -2270,7 +2270,7 @@ packages: redent: 3.0.0 dev: true - /@testing-library/react@15.0.7(@types/react@18.3.2)(react-dom@18.2.0)(react@18.2.0): + /@testing-library/react@15.0.7(@types/react@19.0.0)(react-dom@19.0.0)(react@19.0.0): resolution: {integrity: sha512-cg0RvEdD1TIhhkm1IeYMQxrzy0MtUNfa3minv4MjbgcYzJAZ7yD0i0lwoPOTPr+INtiXFezt2o8xMSnyHhEn2Q==} engines: {node: '>=18'} peerDependencies: @@ -2283,13 +2283,13 @@ packages: dependencies: '@babel/runtime': 7.23.9 '@testing-library/dom': 10.1.0 - '@types/react': 18.3.2 + '@types/react': 19.0.0 '@types/react-dom': 18.2.7 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) dev: true - /@testing-library/react@16.0.1(@testing-library/dom@10.4.0)(@types/react@18.3.5)(react-dom@18.3.1)(react@18.3.1): + /@testing-library/react@16.0.1(@testing-library/dom@10.4.0)(@types/react@19.0.0)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-dSmwJVtJXmku+iocRhWOUFbrERC76TX2Mnf0ATODz8brzAZrMBbzLwQixlBSanZxR6LddK3eiwpSFZgDET1URg==} engines: {node: '>=18'} peerDependencies: @@ -2306,7 +2306,7 @@ packages: dependencies: '@babel/runtime': 7.24.8 '@testing-library/dom': 10.4.0 - '@types/react': 18.3.5 + '@types/react': 19.0.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: true @@ -2410,27 +2410,15 @@ packages: undici-types: 5.26.5 dev: true - /@types/prop-types@15.7.5: - resolution: {integrity: sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==} - dev: true - /@types/react-dom@18.2.7: resolution: {integrity: sha512-GRaAEriuT4zp9N4p1i8BDBYmEyfo+xQ3yHjJU4eiK5NDa1RmUZG+unZABUTK4/Ox/M+GaHwb6Ow8rUITrtjszA==} dependencies: - '@types/react': 18.3.5 - dev: true - - /@types/react@18.3.2: - resolution: {integrity: sha512-Btgg89dAnqD4vV7R3hlwOxgqobUQKgx3MmrQRi0yYbs/P0ym8XozIAlkqVilPqHQwXs4e9Tf63rrCgl58BcO4w==} - dependencies: - '@types/prop-types': 15.7.5 - csstype: 3.1.2 + '@types/react': 19.0.0 dev: true - /@types/react@18.3.5: - resolution: {integrity: sha512-WeqMfGJLGuLCqHGYRGHxnKrXcTitc6L/nBUWfWPcTarG3t9PsquqUMuVeXZeca+mglY4Vo5GZjCi0A3Or2lnxA==} + /@types/react@19.0.0: + resolution: {integrity: sha512-MY3oPudxvMYyesqs/kW1Bh8y9VqSmf+tzqw3ae8a9DZW68pUe3zAdHeI1jc6iAysuRdACnVknHP8AhwD4/dxtg==} dependencies: - '@types/prop-types': 15.7.5 csstype: 3.1.2 dev: true @@ -6048,15 +6036,6 @@ packages: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} dev: true - /react-dom@18.2.0(react@18.2.0): - resolution: {integrity: sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==} - peerDependencies: - react: ^18.2.0 - dependencies: - loose-envify: 1.4.0 - react: 18.2.0 - scheduler: 0.23.0 - /react-dom@18.3.1(react@18.3.1): resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==} peerDependencies: @@ -6066,6 +6045,14 @@ packages: react: 18.3.1 scheduler: 0.23.2 + /react-dom@19.0.0(react@19.0.0): + resolution: {integrity: sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==} + peerDependencies: + react: ^19.0.0 + dependencies: + react: 19.0.0 + scheduler: 0.25.0 + /react-is@16.13.1: resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} dev: true @@ -6086,7 +6073,7 @@ packages: engines: {node: '>=0.10.0'} dev: true - /react-router-dom@6.22.3(react-dom@18.2.0)(react@18.2.0): + /react-router-dom@6.22.3(react-dom@19.0.0)(react@19.0.0): resolution: {integrity: sha512-7ZILI7HjcE+p31oQvwbokjk6OA/bnFxrhJ19n82Ex9Ph8fNAq+Hm/7KchpMGlTgWhUxRHMMCut+vEtNpWpowKw==} engines: {node: '>=14.0.0'} peerDependencies: @@ -6094,33 +6081,31 @@ packages: react-dom: '>=16.8' dependencies: '@remix-run/router': 1.15.3 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - react-router: 6.22.3(react@18.2.0) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) + react-router: 6.22.3(react@19.0.0) dev: false - /react-router@6.22.3(react@18.2.0): + /react-router@6.22.3(react@19.0.0): resolution: {integrity: sha512-dr2eb3Mj5zK2YISHK++foM9w4eBnO23eKnZEDs7c880P6oKbrjz/Svg9+nxqtHQK+oMW4OtjZca0RqPglXxguQ==} engines: {node: '>=14.0.0'} peerDependencies: react: '>=16.8' dependencies: '@remix-run/router': 1.15.3 - react: 18.2.0 + react: 19.0.0 dev: false - /react@18.2.0: - resolution: {integrity: sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==} - engines: {node: '>=0.10.0'} - dependencies: - loose-envify: 1.4.0 - /react@18.3.1: resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} engines: {node: '>=0.10.0'} dependencies: loose-envify: 1.4.0 + /react@19.0.0: + resolution: {integrity: sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==} + engines: {node: '>=0.10.0'} + /readable-stream@1.0.34: resolution: {integrity: sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg==} dependencies: @@ -6373,16 +6358,14 @@ packages: xmlchars: 2.2.0 dev: true - /scheduler@0.23.0: - resolution: {integrity: sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==} - dependencies: - loose-envify: 1.4.0 - /scheduler@0.23.2: resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} dependencies: loose-envify: 1.4.0 + /scheduler@0.25.0: + resolution: {integrity: sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==} + /scslre@0.3.0: resolution: {integrity: sha512-3A6sD0WYP7+QrjbfNA2FN3FsOaGGFoekCVgTyypy53gPxhbkCIjtO6YWgdrfM+n/8sI8JeXZOIxsHjMTNxQ4nQ==} engines: {node: ^14.0.0 || >=16.0.0}