diff --git a/examples/react-oidc-demo/package.json b/examples/react-oidc-demo/package.json index 1385c0cdc..9bb93e4a1 100644 --- a/examples/react-oidc-demo/package.json +++ b/examples/react-oidc-demo/package.json @@ -25,7 +25,7 @@ }, "devDependencies": { "@testing-library/jest-dom": "6.4.5", - "@testing-library/react": "15.0.7", + "@testing-library/react": "16.0.1", "@testing-library/user-event": "14.5.2", "@types/react": "18.3.2", "@vitejs/plugin-react": "4.2.1", diff --git a/packages/oidc-client/package.json b/packages/oidc-client/package.json index da151cf75..cf66a8221 100644 --- a/packages/oidc-client/package.json +++ b/packages/oidc-client/package.json @@ -25,7 +25,7 @@ "devDependencies": { "@testing-library/dom": "10.1.0", "@testing-library/jest-dom": "6.4.5", - "@testing-library/react": "15.0.7", + "@testing-library/react": "16.0.1", "@vitest/coverage-v8": "1.6.0", "cpy": "11.0.1", "cpy-cli": "^5.0.0", diff --git a/packages/react-oidc/package.json b/packages/react-oidc/package.json index 4319e2feb..55c149f30 100644 --- a/packages/react-oidc/package.json +++ b/packages/react-oidc/package.json @@ -48,7 +48,7 @@ }, "devDependencies": { "@testing-library/jest-dom": "6.4.5", - "@testing-library/react": "15.0.7", + "@testing-library/react": "16.0.1", "@testing-library/user-event": "14.5.2", "@types/react": "18.3.2", "@vitejs/plugin-react": "4.2.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d83a5560a..1c2f9d2b2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -79,7 +79,7 @@ importers: version: link:../../packages/react-oidc next: specifier: latest - version: 14.2.4(react-dom@18.3.1)(react@18.3.1) + version: 14.2.7(react-dom@18.3.1)(react@18.3.1) react: specifier: latest version: 18.3.1 @@ -97,7 +97,7 @@ importers: version: 6.4.2(@types/jest@29.5.12)(vitest@1.6.0) '@testing-library/user-event': specifier: 14.5.2 - version: 14.5.2(@testing-library/dom@10.3.2) + version: 14.5.2(@testing-library/dom@10.1.0) '@types/jest': specifier: 29.5.12 version: 29.5.12 @@ -137,11 +137,11 @@ importers: 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) + specifier: 16.0.1 + version: 16.0.1(@testing-library/dom@10.1.0)(@types/react@18.3.2)(react-dom@18.2.0)(react@18.2.0) '@testing-library/user-event': specifier: 14.5.2 - version: 14.5.2(@testing-library/dom@10.3.2) + version: 14.5.2(@testing-library/dom@10.1.0) '@types/react': specifier: 18.3.2 version: 18.3.2 @@ -186,8 +186,8 @@ importers: 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.3.1)(react@18.3.1) + specifier: 16.0.1 + version: 16.0.1(@testing-library/dom@10.1.0)(@types/react@18.3.2)(react-dom@18.3.1)(react@18.3.1) '@vitest/coverage-v8': specifier: 1.6.0 version: 1.6.0(vitest@1.6.0) @@ -253,11 +253,11 @@ importers: 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.3.1)(react@18.3.1) + specifier: 16.0.1 + version: 16.0.1(@testing-library/dom@10.1.0)(@types/react@18.3.2)(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.3.2) + version: 14.5.2(@testing-library/dom@10.1.0) '@types/react': specifier: 18.3.2 version: 18.3.2 @@ -337,13 +337,6 @@ packages: '@babel/highlight': 7.23.4 chalk: 2.4.2 - /@babel/code-frame@7.24.7: - resolution: {integrity: sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/highlight': 7.24.7 - picocolors: 1.0.1 - /@babel/compat-data@7.23.5: resolution: {integrity: sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw==} engines: {node: '>=6.9.0'} @@ -462,10 +455,6 @@ packages: resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} engines: {node: '>=6.9.0'} - /@babel/helper-validator-identifier@7.24.7: - resolution: {integrity: sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==} - engines: {node: '>=6.9.0'} - /@babel/helper-validator-option@7.23.5: resolution: {integrity: sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==} engines: {node: '>=6.9.0'} @@ -490,15 +479,6 @@ packages: chalk: 2.4.2 js-tokens: 4.0.0 - /@babel/highlight@7.24.7: - resolution: {integrity: sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-validator-identifier': 7.24.7 - chalk: 2.4.2 - js-tokens: 4.0.0 - picocolors: 1.0.1 - /@babel/parser@7.23.9: resolution: {integrity: sha512-9tcKgqKbs3xGJ+NtKF2ndOBBLVwPjl1SHxPQkd36r3Dlirw3xWUeGaTbqr7uGZcTaxkVNwc+03SVP7aCdWrTlA==} engines: {node: '>=6.0.0'} @@ -1233,12 +1213,12 @@ packages: strict-event-emitter: 0.5.1 dev: true - /@next/env@14.2.4: - resolution: {integrity: sha512-3EtkY5VDkuV2+lNmKlbkibIJxcO4oIHEhBWne6PaAp+76J9KoSsGvNikp6ivzAT8dhhBMYrm6op2pS1ApG0Hzg==} + /@next/env@14.2.7: + resolution: {integrity: sha512-OTx9y6I3xE/eih+qtthppwLytmpJVPM5PPoJxChFsbjIEFXIayG0h/xLzefHGJviAa3Q5+Fd+9uYojKkHDKxoQ==} dev: false - /@next/swc-darwin-arm64@14.2.4: - resolution: {integrity: sha512-AH3mO4JlFUqsYcwFUHb1wAKlebHU/Hv2u2kb1pAuRanDZ7pD/A/KPD98RHZmwsJpdHQwfEc/06mgpSzwrJYnNg==} + /@next/swc-darwin-arm64@14.2.7: + resolution: {integrity: sha512-UhZGcOyI9LE/tZL3h9rs/2wMZaaJKwnpAyegUVDGZqwsla6hMfeSj9ssBWQS9yA4UXun3pPhrFLVnw5KXZs3vw==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] @@ -1246,8 +1226,8 @@ packages: dev: false optional: true - /@next/swc-darwin-x64@14.2.4: - resolution: {integrity: sha512-QVadW73sWIO6E2VroyUjuAxhWLZWEpiFqHdZdoQ/AMpN9YWGuHV8t2rChr0ahy+irKX5mlDU7OY68k3n4tAZTg==} + /@next/swc-darwin-x64@14.2.7: + resolution: {integrity: sha512-ys2cUgZYRc+CbyDeLAaAdZgS7N1Kpyy+wo0b/gAj+SeOeaj0Lw/q+G1hp+DuDiDAVyxLBCJXEY/AkhDmtihUTA==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] @@ -1255,8 +1235,8 @@ packages: dev: false optional: true - /@next/swc-linux-arm64-gnu@14.2.4: - resolution: {integrity: sha512-KT6GUrb3oyCfcfJ+WliXuJnD6pCpZiosx2X3k66HLR+DMoilRb76LpWPGb4tZprawTtcnyrv75ElD6VncVamUQ==} + /@next/swc-linux-arm64-gnu@14.2.7: + resolution: {integrity: sha512-2xoWtE13sUJ3qrC1lwE/HjbDPm+kBQYFkkiVECJWctRASAHQ+NwjMzgrfqqMYHfMxFb5Wws3w9PqzZJqKFdWcQ==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -1264,8 +1244,8 @@ packages: dev: false optional: true - /@next/swc-linux-arm64-musl@14.2.4: - resolution: {integrity: sha512-Alv8/XGSs/ytwQcbCHwze1HmiIkIVhDHYLjczSVrf0Wi2MvKn/blt7+S6FJitj3yTlMwMxII1gIJ9WepI4aZ/A==} + /@next/swc-linux-arm64-musl@14.2.7: + resolution: {integrity: sha512-+zJ1gJdl35BSAGpkCbfyiY6iRTaPrt3KTl4SF/B1NyELkqqnrNX6cp4IjjjxKpd64/7enI0kf6b9O1Uf3cL0pw==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -1273,8 +1253,8 @@ packages: dev: false optional: true - /@next/swc-linux-x64-gnu@14.2.4: - resolution: {integrity: sha512-ze0ShQDBPCqxLImzw4sCdfnB3lRmN3qGMB2GWDRlq5Wqy4G36pxtNOo2usu/Nm9+V2Rh/QQnrRc2l94kYFXO6Q==} + /@next/swc-linux-x64-gnu@14.2.7: + resolution: {integrity: sha512-m6EBqrskeMUzykBrv0fDX/28lWIBGhMzOYaStp0ihkjzIYJiKUOzVYD1gULHc8XDf5EMSqoH/0/TRAgXqpQwmw==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -1282,8 +1262,8 @@ packages: dev: false optional: true - /@next/swc-linux-x64-musl@14.2.4: - resolution: {integrity: sha512-8dwC0UJoc6fC7PX70csdaznVMNr16hQrTDAMPvLPloazlcaWfdPogq+UpZX6Drqb1OBlwowz8iG7WR0Tzk/diQ==} + /@next/swc-linux-x64-musl@14.2.7: + resolution: {integrity: sha512-gUu0viOMvMlzFRz1r1eQ7Ql4OE+hPOmA7smfZAhn8vC4+0swMZaZxa9CSIozTYavi+bJNDZ3tgiSdMjmMzRJlQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -1291,8 +1271,8 @@ packages: dev: false optional: true - /@next/swc-win32-arm64-msvc@14.2.4: - resolution: {integrity: sha512-jxyg67NbEWkDyvM+O8UDbPAyYRZqGLQDTPwvrBBeOSyVWW/jFQkQKQ70JDqDSYg1ZDdl+E3nkbFbq8xM8E9x8A==} + /@next/swc-win32-arm64-msvc@14.2.7: + resolution: {integrity: sha512-PGbONHIVIuzWlYmLvuFKcj+8jXnLbx4WrlESYlVnEzDsa3+Q2hI1YHoXaSmbq0k4ZwZ7J6sWNV4UZfx1OeOlbQ==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] @@ -1300,8 +1280,8 @@ packages: dev: false optional: true - /@next/swc-win32-ia32-msvc@14.2.4: - resolution: {integrity: sha512-twrmN753hjXRdcrZmZttb/m5xaCBFa48Dt3FbeEItpJArxriYDunWxJn+QFXdJ3hPkm4u7CKxncVvnmgQMY1ag==} + /@next/swc-win32-ia32-msvc@14.2.7: + resolution: {integrity: sha512-BiSY5umlx9ed5RQDoHcdbuKTUkuFORDqzYKPHlLeS+STUWQKWziVOn3Ic41LuTBvqE0TRJPKpio9GSIblNR+0w==} engines: {node: '>= 10'} cpu: [ia32] os: [win32] @@ -1309,8 +1289,8 @@ packages: dev: false optional: true - /@next/swc-win32-x64-msvc@14.2.4: - resolution: {integrity: sha512-tkLrjBzqFTP8DVrAAQmZelEahfR9OxWpFR++vAI9FBhCiIxtwHwBHC23SBHCTURBtwB4kc/x44imVOnkKGNVGg==} + /@next/swc-win32-x64-msvc@14.2.7: + resolution: {integrity: sha512-pxsI23gKWRt/SPHFkDEsP+w+Nd7gK37Hpv0ngc5HpWy2e7cKx9zR/+Q2ptAUqICNTecAaGWvmhway7pj/JLEWA==} engines: {node: '>= 10'} cpu: [x64] os: [win32] @@ -1666,20 +1646,6 @@ packages: engines: {node: '>=18'} dependencies: '@babel/code-frame': 7.23.5 - '@babel/runtime': 7.23.9 - '@types/aria-query': 5.0.4 - aria-query: 5.3.0 - chalk: 4.1.2 - dom-accessibility-api: 0.5.16 - lz-string: 1.5.0 - pretty-format: 27.5.1 - dev: true - - /@testing-library/dom@10.3.2: - resolution: {integrity: sha512-0bxIdP9mmPiOJ6wHLj8bdJRq+51oddObeCGdEf6PNEhYd93ZYAN+lPRnEOVFtheVwDM7+p+tza3LAQgp0PTudg==} - engines: {node: '>=18'} - dependencies: - '@babel/code-frame': 7.24.7 '@babel/runtime': 7.24.8 '@types/aria-query': 5.0.4 aria-query: 5.3.0 @@ -1753,51 +1719,57 @@ packages: vitest: 1.6.0(jsdom@24.0.0) dev: true - /@testing-library/react@15.0.7(@types/react@18.3.2)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-cg0RvEdD1TIhhkm1IeYMQxrzy0MtUNfa3minv4MjbgcYzJAZ7yD0i0lwoPOTPr+INtiXFezt2o8xMSnyHhEn2Q==} + /@testing-library/react@16.0.1(@testing-library/dom@10.1.0)(@types/react@18.3.2)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-dSmwJVtJXmku+iocRhWOUFbrERC76TX2Mnf0ATODz8brzAZrMBbzLwQixlBSanZxR6LddK3eiwpSFZgDET1URg==} engines: {node: '>=18'} peerDependencies: + '@testing-library/dom': ^10.0.0 '@types/react': ^18.0.0 + '@types/react-dom': ^18.0.0 react: ^18.0.0 react-dom: ^18.0.0 peerDependenciesMeta: '@types/react': optional: true + '@types/react-dom': + optional: true dependencies: - '@babel/runtime': 7.23.9 + '@babel/runtime': 7.24.8 '@testing-library/dom': 10.1.0 '@types/react': 18.3.2 - '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: true - /@testing-library/react@15.0.7(@types/react@18.3.2)(react-dom@18.3.1)(react@18.3.1): - resolution: {integrity: sha512-cg0RvEdD1TIhhkm1IeYMQxrzy0MtUNfa3minv4MjbgcYzJAZ7yD0i0lwoPOTPr+INtiXFezt2o8xMSnyHhEn2Q==} + /@testing-library/react@16.0.1(@testing-library/dom@10.1.0)(@types/react@18.3.2)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-dSmwJVtJXmku+iocRhWOUFbrERC76TX2Mnf0ATODz8brzAZrMBbzLwQixlBSanZxR6LddK3eiwpSFZgDET1URg==} engines: {node: '>=18'} peerDependencies: + '@testing-library/dom': ^10.0.0 '@types/react': ^18.0.0 + '@types/react-dom': ^18.0.0 react: ^18.0.0 react-dom: ^18.0.0 peerDependenciesMeta: '@types/react': optional: true + '@types/react-dom': + optional: true dependencies: - '@babel/runtime': 7.23.9 + '@babel/runtime': 7.24.8 '@testing-library/dom': 10.1.0 '@types/react': 18.3.2 - '@types/react-dom': 18.2.7 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: true - /@testing-library/user-event@14.5.2(@testing-library/dom@10.3.2): + /@testing-library/user-event@14.5.2(@testing-library/dom@10.1.0): resolution: {integrity: sha512-YAh82Wh4TIrxYLmfGcixwD18oIjyC1pFQC2Y01F2lzV2HTMiYrI0nze0FD0ocB//CKS/7jIUgae+adPqxK5yCQ==} engines: {node: '>=12', npm: '>=6'} peerDependencies: '@testing-library/dom': '>=7.21.4' dependencies: - '@testing-library/dom': 10.3.2 + '@testing-library/dom': 10.1.0 /@types/argparse@1.0.38: resolution: {integrity: sha512-ebDJ9b0e702Yr7pWgB0jzm+CX4Srzz8RcXtLJDJB+BSccqMa36uyH/zUsSYao5+BD1ytv3k3rPYCq4mAE1hsXA==} @@ -1894,12 +1866,6 @@ packages: 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.2 - dev: true - /@types/react@18.3.2: resolution: {integrity: sha512-Btgg89dAnqD4vV7R3hlwOxgqobUQKgx3MmrQRi0yYbs/P0ym8XozIAlkqVilPqHQwXs4e9Tf63rrCgl58BcO4w==} dependencies: @@ -4743,8 +4709,8 @@ packages: resolution: {integrity: sha512-9iN1ka/9zmX1ZvLV9ewJYEk9h7RyRRtqdK0woXcqohu8EWIerfPUjYJPg0ULy0UqP7cslmdGc8xKDJcojlKiaw==} dev: true - /next@14.2.4(react-dom@18.3.1)(react@18.3.1): - resolution: {integrity: sha512-R8/V7vugY+822rsQGQCjoLhMuC9oFj9SOi4Cl4b2wjDrseD0LRZ10W7R6Czo4w9ZznVSshKjuIomsRjvm9EKJQ==} + /next@14.2.7(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-4Qy2aK0LwH4eQiSvQWyKuC7JXE13bIopEQesWE0c/P3uuNRnZCQanI0vsrMLmUQJLAto+A+/8+sve2hd+BQuOQ==} engines: {node: '>=18.17.0'} hasBin: true peerDependencies: @@ -4761,7 +4727,7 @@ packages: sass: optional: true dependencies: - '@next/env': 14.2.4 + '@next/env': 14.2.7 '@swc/helpers': 0.5.5 busboy: 1.6.0 caniuse-lite: 1.0.30001642 @@ -4771,15 +4737,15 @@ packages: react-dom: 18.3.1(react@18.3.1) styled-jsx: 5.1.1(react@18.3.1) optionalDependencies: - '@next/swc-darwin-arm64': 14.2.4 - '@next/swc-darwin-x64': 14.2.4 - '@next/swc-linux-arm64-gnu': 14.2.4 - '@next/swc-linux-arm64-musl': 14.2.4 - '@next/swc-linux-x64-gnu': 14.2.4 - '@next/swc-linux-x64-musl': 14.2.4 - '@next/swc-win32-arm64-msvc': 14.2.4 - '@next/swc-win32-ia32-msvc': 14.2.4 - '@next/swc-win32-x64-msvc': 14.2.4 + '@next/swc-darwin-arm64': 14.2.7 + '@next/swc-darwin-x64': 14.2.7 + '@next/swc-linux-arm64-gnu': 14.2.7 + '@next/swc-linux-arm64-musl': 14.2.7 + '@next/swc-linux-x64-gnu': 14.2.7 + '@next/swc-linux-x64-musl': 14.2.7 + '@next/swc-win32-arm64-msvc': 14.2.7 + '@next/swc-win32-ia32-msvc': 14.2.7 + '@next/swc-win32-x64-msvc': 14.2.7 transitivePeerDependencies: - '@babel/core' - babel-plugin-macros