diff --git a/.pnp.cjs b/.pnp.cjs index 491a2f8eb..e88b7f295 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -89,7 +89,7 @@ const RAW_RUNTIME_STATE = ["@storybook/react-webpack5", "virtual:a8a1d15306c5b22d13fd53c9bfa71986250b0024a5faa5f5f09c0c92f0de8941d2bf3403e449fdf6b9df13d3a931d8ae3950d04eca325a0d5881add962206733#npm:7.6.20"],\ ["@storybook/test", "npm:7.6.20"],\ ["@storybook/testing-library", "npm:0.2.2"],\ - ["@testing-library/react", "virtual:a8a1d15306c5b22d13fd53c9bfa71986250b0024a5faa5f5f09c0c92f0de8941d2bf3403e449fdf6b9df13d3a931d8ae3950d04eca325a0d5881add962206733#npm:15.0.7"],\ + ["@testing-library/react", "virtual:a8a1d15306c5b22d13fd53c9bfa71986250b0024a5faa5f5f09c0c92f0de8941d2bf3403e449fdf6b9df13d3a931d8ae3950d04eca325a0d5881add962206733#npm:16.1.0"],\ ["@yarnpkg/core", "npm:4.1.6"],\ ["@yarnpkg/sdks", "npm:3.2.0"],\ ["app-root-path", "npm:3.1.0"],\ @@ -11034,7 +11034,7 @@ const RAW_RUNTIME_STATE = "packageLocation": "./.yarn/__virtual__/@psychobolt-default-export-virtual-72f746e8a4/1/packages/default-export/",\ "packageDependencies": [\ ["@psychobolt/default-export", "virtual:a8a1d15306c5b22d13fd53c9bfa71986250b0024a5faa5f5f09c0c92f0de8941d2bf3403e449fdf6b9df13d3a931d8ae3950d04eca325a0d5881add962206733#workspace:packages/default-export"],\ - ["@testing-library/react", "virtual:a8a1d15306c5b22d13fd53c9bfa71986250b0024a5faa5f5f09c0c92f0de8941d2bf3403e449fdf6b9df13d3a931d8ae3950d04eca325a0d5881add962206733#npm:15.0.7"],\ + ["@testing-library/react", "virtual:a8a1d15306c5b22d13fd53c9bfa71986250b0024a5faa5f5f09c0c92f0de8941d2bf3403e449fdf6b9df13d3a931d8ae3950d04eca325a0d5881add962206733#npm:16.1.0"],\ ["@types/react", null],\ ["@types/react-dom", null],\ ["app-root-path", "npm:3.1.0"],\ @@ -11053,7 +11053,7 @@ const RAW_RUNTIME_STATE = "packageLocation": "./packages/default-export/",\ "packageDependencies": [\ ["@psychobolt/default-export", "workspace:packages/default-export"],\ - ["@testing-library/react", "virtual:9c24f57864aaff7fdc9e828d672aea60170abf5314b0c14f8c3914dcfa04cbc836f0aef9ae0e7f2e6f648150e8556b8052cb48d2c2fad32234dbae4d8b351a5d#npm:15.0.7"],\ + ["@testing-library/react", "virtual:9c24f57864aaff7fdc9e828d672aea60170abf5314b0c14f8c3914dcfa04cbc836f0aef9ae0e7f2e6f648150e8556b8052cb48d2c2fad32234dbae4d8b351a5d#npm:16.1.0"],\ ["app-root-path", "npm:3.1.0"],\ ["react", "npm:18.3.1"]\ ],\ @@ -11112,7 +11112,7 @@ const RAW_RUNTIME_STATE = ["@storybook/react-webpack5", "virtual:a8a1d15306c5b22d13fd53c9bfa71986250b0024a5faa5f5f09c0c92f0de8941d2bf3403e449fdf6b9df13d3a931d8ae3950d04eca325a0d5881add962206733#npm:7.6.20"],\ ["@storybook/test", "npm:7.6.20"],\ ["@storybook/testing-library", "npm:0.2.2"],\ - ["@testing-library/react", "virtual:a8a1d15306c5b22d13fd53c9bfa71986250b0024a5faa5f5f09c0c92f0de8941d2bf3403e449fdf6b9df13d3a931d8ae3950d04eca325a0d5881add962206733#npm:15.0.7"],\ + ["@testing-library/react", "virtual:a8a1d15306c5b22d13fd53c9bfa71986250b0024a5faa5f5f09c0c92f0de8941d2bf3403e449fdf6b9df13d3a931d8ae3950d04eca325a0d5881add962206733#npm:16.1.0"],\ ["@yarnpkg/core", "npm:4.1.6"],\ ["@yarnpkg/sdks", "npm:3.2.0"],\ ["app-root-path", "npm:3.1.0"],\ @@ -14468,21 +14468,6 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["@testing-library/dom", [\ - ["npm:10.0.0", {\ - "packageLocation": "../../../../cache/others/berry/cache/@testing-library-dom-npm-10.0.0-708b4ef7e6-10c0.zip/node_modules/@testing-library/dom/",\ - "packageDependencies": [\ - ["@testing-library/dom", "npm:10.0.0"],\ - ["@babel/code-frame", "npm:7.16.7"],\ - ["@babel/runtime", "npm:7.17.9"],\ - ["@types/aria-query", "npm:5.0.1"],\ - ["aria-query", "npm:5.3.0"],\ - ["chalk", "npm:4.1.2"],\ - ["dom-accessibility-api", "npm:0.5.13"],\ - ["lz-string", "npm:1.5.0"],\ - ["pretty-format", "npm:27.5.1"]\ - ],\ - "linkType": "HARD"\ - }],\ ["npm:9.2.0", {\ "packageLocation": "../../../../cache/others/berry/cache/@testing-library-dom-npm-9.2.0-8830c42fff-10c0.zip/node_modules/@testing-library/dom/",\ "packageDependencies": [\ @@ -14591,44 +14576,52 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["@testing-library/react", [\ - ["npm:15.0.7", {\ - "packageLocation": "../../../../cache/others/berry/cache/@testing-library-react-npm-15.0.7-fc23780217-10c0.zip/node_modules/@testing-library/react/",\ + ["npm:16.1.0", {\ + "packageLocation": "../../../../cache/others/berry/cache/@testing-library-react-npm-16.1.0-be1dcab76e-10c0.zip/node_modules/@testing-library/react/",\ "packageDependencies": [\ - ["@testing-library/react", "npm:15.0.7"]\ + ["@testing-library/react", "npm:16.1.0"]\ ],\ "linkType": "SOFT"\ }],\ - ["virtual:9c24f57864aaff7fdc9e828d672aea60170abf5314b0c14f8c3914dcfa04cbc836f0aef9ae0e7f2e6f648150e8556b8052cb48d2c2fad32234dbae4d8b351a5d#npm:15.0.7", {\ - "packageLocation": "./.yarn/__virtual__/@testing-library-react-virtual-0cdafafcea/5/cache/others/berry/cache/@testing-library-react-npm-15.0.7-fc23780217-10c0.zip/node_modules/@testing-library/react/",\ + ["virtual:9c24f57864aaff7fdc9e828d672aea60170abf5314b0c14f8c3914dcfa04cbc836f0aef9ae0e7f2e6f648150e8556b8052cb48d2c2fad32234dbae4d8b351a5d#npm:16.1.0", {\ + "packageLocation": "./.yarn/__virtual__/@testing-library-react-virtual-4d2aaacb3f/5/cache/others/berry/cache/@testing-library-react-npm-16.1.0-be1dcab76e-10c0.zip/node_modules/@testing-library/react/",\ "packageDependencies": [\ - ["@testing-library/react", "virtual:9c24f57864aaff7fdc9e828d672aea60170abf5314b0c14f8c3914dcfa04cbc836f0aef9ae0e7f2e6f648150e8556b8052cb48d2c2fad32234dbae4d8b351a5d#npm:15.0.7"],\ + ["@testing-library/react", "virtual:9c24f57864aaff7fdc9e828d672aea60170abf5314b0c14f8c3914dcfa04cbc836f0aef9ae0e7f2e6f648150e8556b8052cb48d2c2fad32234dbae4d8b351a5d#npm:16.1.0"],\ ["@babel/runtime", "npm:7.17.9"],\ - ["@testing-library/dom", "npm:10.0.0"],\ + ["@testing-library/dom", null],\ ["@types/react", null],\ - ["@types/react-dom", "npm:18.0.2"],\ + ["@types/react-dom", null],\ + ["@types/testing-library__dom", null],\ ["react", "npm:18.3.1"],\ ["react-dom", null]\ ],\ "packagePeers": [\ + "@testing-library/dom",\ + "@types/react-dom",\ "@types/react",\ + "@types/testing-library__dom",\ "react-dom",\ "react"\ ],\ "linkType": "HARD"\ }],\ - ["virtual:a8a1d15306c5b22d13fd53c9bfa71986250b0024a5faa5f5f09c0c92f0de8941d2bf3403e449fdf6b9df13d3a931d8ae3950d04eca325a0d5881add962206733#npm:15.0.7", {\ - "packageLocation": "./.yarn/__virtual__/@testing-library-react-virtual-2e7d28751d/5/cache/others/berry/cache/@testing-library-react-npm-15.0.7-fc23780217-10c0.zip/node_modules/@testing-library/react/",\ + ["virtual:a8a1d15306c5b22d13fd53c9bfa71986250b0024a5faa5f5f09c0c92f0de8941d2bf3403e449fdf6b9df13d3a931d8ae3950d04eca325a0d5881add962206733#npm:16.1.0", {\ + "packageLocation": "./.yarn/__virtual__/@testing-library-react-virtual-d2123a02ed/5/cache/others/berry/cache/@testing-library-react-npm-16.1.0-be1dcab76e-10c0.zip/node_modules/@testing-library/react/",\ "packageDependencies": [\ - ["@testing-library/react", "virtual:a8a1d15306c5b22d13fd53c9bfa71986250b0024a5faa5f5f09c0c92f0de8941d2bf3403e449fdf6b9df13d3a931d8ae3950d04eca325a0d5881add962206733#npm:15.0.7"],\ + ["@testing-library/react", "virtual:a8a1d15306c5b22d13fd53c9bfa71986250b0024a5faa5f5f09c0c92f0de8941d2bf3403e449fdf6b9df13d3a931d8ae3950d04eca325a0d5881add962206733#npm:16.1.0"],\ ["@babel/runtime", "npm:7.17.9"],\ - ["@testing-library/dom", "npm:10.0.0"],\ + ["@testing-library/dom", null],\ ["@types/react", null],\ - ["@types/react-dom", "npm:18.0.2"],\ + ["@types/react-dom", null],\ + ["@types/testing-library__dom", null],\ ["react", "npm:18.3.1"],\ ["react-dom", "virtual:a8a1d15306c5b22d13fd53c9bfa71986250b0024a5faa5f5f09c0c92f0de8941d2bf3403e449fdf6b9df13d3a931d8ae3950d04eca325a0d5881add962206733#npm:18.3.1"]\ ],\ "packagePeers": [\ + "@testing-library/dom",\ + "@types/react-dom",\ "@types/react",\ + "@types/testing-library__dom",\ "react-dom",\ "react"\ ],\ @@ -15250,16 +15243,6 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["@types/react", [\ - ["npm:18.0.6", {\ - "packageLocation": "../../../../cache/others/berry/cache/@types-react-npm-18.0.6-dfd79650e5-10c0.zip/node_modules/@types/react/",\ - "packageDependencies": [\ - ["@types/react", "npm:18.0.6"],\ - ["@types/prop-types", "npm:15.7.5"],\ - ["@types/scheduler", "npm:0.16.2"],\ - ["csstype", "npm:3.0.11"]\ - ],\ - "linkType": "HARD"\ - }],\ ["npm:18.2.61", {\ "packageLocation": "../../../../cache/others/berry/cache/@types-react-npm-18.2.61-fd35c6cee7-10c0.zip/node_modules/@types/react/",\ "packageDependencies": [\ @@ -15271,16 +15254,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["@types/react-dom", [\ - ["npm:18.0.2", {\ - "packageLocation": "../../../../cache/others/berry/cache/@types-react-dom-npm-18.0.2-9bfae9960a-10c0.zip/node_modules/@types/react-dom/",\ - "packageDependencies": [\ - ["@types/react-dom", "npm:18.0.2"],\ - ["@types/react", "npm:18.0.6"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["@types/resolve", [\ ["npm:1.20.2", {\ "packageLocation": "../../../../cache/others/berry/cache/@types-resolve-npm-1.20.2-5fccb2ad46-10c0.zip/node_modules/@types/resolve/",\ @@ -17068,14 +17041,6 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "HARD"\ }],\ - ["npm:5.3.0", {\ - "packageLocation": "../../../../cache/others/berry/cache/aria-query-npm-5.3.0-76575ac83b-10c0.zip/node_modules/aria-query/",\ - "packageDependencies": [\ - ["aria-query", "npm:5.3.0"],\ - ["dequal", "npm:2.0.3"]\ - ],\ - "linkType": "HARD"\ - }],\ ["npm:5.3.2", {\ "packageLocation": "../../../../cache/others/berry/cache/aria-query-npm-5.3.2-78632ac5c5-10c0.zip/node_modules/aria-query/",\ "packageDependencies": [\ diff --git a/package.json b/package.json index 173b5728c..4090d1a3b 100755 --- a/package.json +++ b/package.json @@ -93,7 +93,7 @@ "@storybook/react-webpack5": "7.6.20", "@storybook/test": "7.6.20", "@storybook/testing-library": "0.2.2", - "@testing-library/react": "15.0.7", + "@testing-library/react": "16.1.0", "@yarnpkg/core": "4.1.6", "@yarnpkg/sdks": "3.2.0", "app-root-path": "3.1.0", diff --git a/packages/default-export/package.json b/packages/default-export/package.json index d658e549b..8fd1f9429 100755 --- a/packages/default-export/package.json +++ b/packages/default-export/package.json @@ -25,7 +25,7 @@ "react-dom": "^18.2.0" }, "devDependencies": { - "@testing-library/react": "15.0.7", + "@testing-library/react": "16.1.0", "app-root-path": "3.1.0", "react": "18.3.1" } diff --git a/yarn.lock b/yarn.lock index b02f4a326..9055a8f03 100755 --- a/yarn.lock +++ b/yarn.lock @@ -6630,7 +6630,7 @@ __metadata: version: 0.0.0-use.local resolution: "@psychobolt/default-export@workspace:packages/default-export" dependencies: - "@testing-library/react": "npm:15.0.7" + "@testing-library/react": "npm:16.1.0" app-root-path: "npm:3.1.0" react: "npm:18.3.1" peerDependencies: @@ -6690,7 +6690,7 @@ __metadata: "@storybook/react-webpack5": "npm:7.6.20" "@storybook/test": "npm:7.6.20" "@storybook/testing-library": "npm:0.2.2" - "@testing-library/react": "npm:15.0.7" + "@testing-library/react": "npm:16.1.0" "@yarnpkg/core": "npm:4.1.6" "@yarnpkg/sdks": "npm:3.2.0" app-root-path: "npm:3.1.0" @@ -8852,22 +8852,6 @@ __metadata: languageName: node linkType: hard -"@testing-library/dom@npm:^10.0.0": - version: 10.0.0 - resolution: "@testing-library/dom@npm:10.0.0" - dependencies: - "@babel/code-frame": "npm:^7.10.4" - "@babel/runtime": "npm:^7.12.5" - "@types/aria-query": "npm:^5.0.1" - aria-query: "npm:5.3.0" - chalk: "npm:^4.1.0" - dom-accessibility-api: "npm:^0.5.9" - lz-string: "npm:^1.5.0" - pretty-format: "npm:^27.0.2" - checksum: 10c0/2d12d2a6018a6f1d15e91834180bc068932c699ff1fcbfb80aa21aba519a4f5329c861dfa852e06ee5615bcb92ef2a0f0e755e32684ea3dada63bc34248382ab - languageName: node - linkType: hard - "@testing-library/dom@npm:^9.0.0": version: 9.2.0 resolution: "@testing-library/dom@npm:9.2.0" @@ -8963,21 +8947,23 @@ __metadata: languageName: node linkType: hard -"@testing-library/react@npm:15.0.7": - version: 15.0.7 - resolution: "@testing-library/react@npm:15.0.7" +"@testing-library/react@npm:16.1.0": + version: 16.1.0 + resolution: "@testing-library/react@npm:16.1.0" dependencies: "@babel/runtime": "npm:^7.12.5" - "@testing-library/dom": "npm:^10.0.0" - "@types/react-dom": "npm:^18.0.0" peerDependencies: - "@types/react": ^18.0.0 - react: ^18.0.0 - react-dom: ^18.0.0 + "@testing-library/dom": ^10.0.0 + "@types/react": ^18.0.0 || ^19.0.0 + "@types/react-dom": ^18.0.0 || ^19.0.0 + react: ^18.0.0 || ^19.0.0 + react-dom: ^18.0.0 || ^19.0.0 peerDependenciesMeta: "@types/react": optional: true - checksum: 10c0/ac8ee8968e81949ecb35f7ee34741c2c043f73dd7fee2247d56f6de6a30de4742af94f25264356863974e54387485b46c9448ecf3f6ca41cf4339011c369f2d4 + "@types/react-dom": + optional: true + checksum: 10c0/8451dcc76ba0d4f3504af78f2a4aacc13117691f4b7a3c279f3e047d5ea817ff686496ad53e7f65f6183112aef2be3f318af609b1f5d666eed42b1014d1c68d5 languageName: node linkType: hard @@ -9499,26 +9485,6 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:^18.0.0": - version: 18.0.2 - resolution: "@types/react-dom@npm:18.0.2" - dependencies: - "@types/react": "npm:*" - checksum: 10c0/59106a6ef45cf414aad395165cdcc4d8df6f034239b93bb0fdc977c4badbe877e9132d8c0663bf8fd03d48a965d79249bb94ad0f82f37272187bbec9e3ede68e - languageName: node - linkType: hard - -"@types/react@npm:*": - version: 18.0.6 - resolution: "@types/react@npm:18.0.6" - dependencies: - "@types/prop-types": "npm:*" - "@types/scheduler": "npm:*" - csstype: "npm:^3.0.2" - checksum: 10c0/551b1efdb3ee7b9b479a68dea7e5855554b3a075d0ec907729e35061e20b688ebb90f9b0e59e82cb0c729ce57c3a167fa626b48112c00782f8ecea5fef53640b - languageName: node - linkType: hard - "@types/react@npm:>=16": version: 18.2.61 resolution: "@types/react@npm:18.2.61" @@ -11014,15 +10980,6 @@ __metadata: languageName: node linkType: hard -"aria-query@npm:5.3.0": - version: 5.3.0 - resolution: "aria-query@npm:5.3.0" - dependencies: - dequal: "npm:^2.0.3" - checksum: 10c0/2bff0d4eba5852a9dd578ecf47eaef0e82cc52569b48469b0aac2db5145db0b17b7a58d9e01237706d1e14b7a1b0ac9b78e9c97027ad97679dd8f91b85da1469 - languageName: node - linkType: hard - "aria-query@npm:^4.2.2": version: 4.2.2 resolution: "aria-query@npm:4.2.2" @@ -13560,7 +13517,7 @@ __metadata: languageName: node linkType: hard -"dequal@npm:^2.0.2, dequal@npm:^2.0.3": +"dequal@npm:^2.0.2": version: 2.0.3 resolution: "dequal@npm:2.0.3" checksum: 10c0/f98860cdf58b64991ae10205137c0e97d384c3a4edc7f807603887b7c4b850af1224a33d88012009f150861cbee4fa2d322c4cc04b9313bee312e47f6ecaa888