From 7d9278c3c7cc31b245fa081f10e6c593b40f6ca8 Mon Sep 17 00:00:00 2001 From: William Wong Date: Fri, 6 Dec 2024 04:47:21 -0800 Subject: [PATCH] Fix dependencies --- package-lock.json | 18 ++++++++++-------- packages/integration-test/package.json | 9 +++++++++ packages/use-ref-from/package.json | 8 ++++++++ 3 files changed, 27 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 47ed166..640c4ef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3569,8 +3569,7 @@ "version": "2.0.5", "resolved": "https://registry.npmjs.org/@tsconfig/strictest/-/strictest-2.0.5.tgz", "integrity": "sha512-ec4tjL2Rr0pkZ5hww65c+EEPYwxOi4Ryv+0MtjeaSQRJyq322Q27eOQiFbuNgw2hpL4hB1/W/HBGk3VKS43osg==", - "dev": true, - "license": "MIT" + "dev": true }, "node_modules/@types/aria-query": { "version": "5.0.4", @@ -3710,13 +3709,12 @@ } }, "node_modules/@types/react-dom": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.1.tgz", - "integrity": "sha512-qW1Mfv8taImTthu4KoXgDfLuk4bydU6Q/TkADnDWWHwi4NX4BR+LWfTp2sVmTqRrsHvyDDTelgelxJ+SsejKKQ==", + "version": "18.3.2", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.2.tgz", + "integrity": "sha512-Fqp+rcvem9wEnGr3RY8dYNvSQ8PoLqjZ9HLgaPUOjJJD120uDyOxOjc/39M4Kddp9JQCxpGQbnhVQF0C0ncYVg==", "dev": true, - "license": "MIT", "dependencies": { - "@types/react": "*" + "@types/react": "^18" } }, "node_modules/@types/stack-utils": { @@ -8848,7 +8846,6 @@ "version": "18.3.1", "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", - "license": "MIT", "dependencies": { "loose-envify": "^1.1.0", "scheduler": "^0.23.2" @@ -11009,10 +11006,13 @@ "@babel/preset-env": "^7.25.8", "@babel/preset-react": "^7.25.7", "@testing-library/react": "^16.0.1", + "@tsconfig/strictest": "^2.0.5", "@types/react": "^18.3.11", + "@types/react-dom": "^18.3.2", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "react": "^18.3.1", + "react-dom": "^18.3.1", "react-test-renderer": "^18.3.1", "typescript": "^5.6.3" } @@ -11047,11 +11047,13 @@ "@tsconfig/strictest": "^2.0.5", "@types/jest": "^29.5.13", "@types/react": "^18.3.11", + "@types/react-dom": "^18.3.2", "escape-string-regexp": "^5.0.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "publint": "^0.2.11", "react": "^18.3.1", + "react-dom": "^18.3.1", "react-test-renderer": "^18.3.1", "tsup": "^8.3.0", "typescript": "^5.6.3" diff --git a/packages/integration-test/package.json b/packages/integration-test/package.json index 3475a9d..00a2d50 100644 --- a/packages/integration-test/package.json +++ b/packages/integration-test/package.json @@ -17,7 +17,9 @@ "devDependencies": { "@testing-library/react": "^12", "@types/react": "^16", + "@types/react-dom": "^16", "react": "16.8.0", + "react-dom": "16.8.0", "react-test-renderer": "16.8.0" } }, @@ -25,14 +27,18 @@ "devDependencies": { "@testing-library/react": "^12", "@types/react": "^17", + "@types/react-dom": "^17", "react": "17.0.0", + "react-dom": "17.0.0", "react-test-renderer": "17.0.0" } }, "switch:react-18": { "devDependencies": { "@types/react": "^18", + "@types/react-dom": "^18", "react": "18.0.0", + "react-dom": "18.0.0", "react-test-renderer": "18.0.0" } }, @@ -43,10 +49,13 @@ "@babel/preset-env": "^7.25.8", "@babel/preset-react": "^7.25.7", "@testing-library/react": "^16.0.1", + "@tsconfig/strictest": "^2.0.5", "@types/react": "^18.3.11", + "@types/react-dom": "^18.3.2", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "react": "^18.3.1", + "react-dom": "^18.3.1", "react-test-renderer": "^18.3.1", "typescript": "^5.6.3" }, diff --git a/packages/use-ref-from/package.json b/packages/use-ref-from/package.json index 57e4017..67cf752 100644 --- a/packages/use-ref-from/package.json +++ b/packages/use-ref-from/package.json @@ -53,7 +53,9 @@ "@testing-library/react": "^12", "@testing-library/react-hooks": "latest", "@types/react": "^16", + "@types/react-dom": "^16", "react": "16.8.0", + "react-dom": "16.8.0", "react-test-renderer": "16.8.0" } }, @@ -62,14 +64,18 @@ "@testing-library/react": "^12", "@testing-library/react-hooks": "latest", "@types/react": "^17", + "@types/react-dom": "^17", "react": "17.0.0", + "react-dom": "17.0.0", "react-test-renderer": "17.0.0" } }, "switch:react-18": { "devDependencies": { "@types/react": "^18", + "@types/react-dom": "^18", "react": "18.0.0", + "react-dom": "18.0.0", "react-test-renderer": "18.0.0" } }, @@ -86,11 +92,13 @@ "@tsconfig/strictest": "^2.0.5", "@types/jest": "^29.5.13", "@types/react": "^18.3.11", + "@types/react-dom": "^18.3.2", "escape-string-regexp": "^5.0.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "publint": "^0.2.11", "react": "^18.3.1", + "react-dom": "^18.3.1", "react-test-renderer": "^18.3.1", "tsup": "^8.3.0", "typescript": "^5.6.3"