From 7b0fdd3a7a5034e49a1c5970a053949e4dc3e324 Mon Sep 17 00:00:00 2001 From: Damian Pieczynski Date: Sat, 21 Oct 2023 12:54:49 +0200 Subject: [PATCH] fix(react-virtual): add missing react-dom peer dependencies --- package-lock.json | 61 +++++++++++++++-------------- packages/react-virtual/package.json | 3 +- 2 files changed, 33 insertions(+), 31 deletions(-) diff --git a/package-lock.json b/package-lock.json index 90f0b04c..f47c5384 100644 --- a/package-lock.json +++ b/package-lock.json @@ -64,7 +64,7 @@ "examples/react/dynamic": { "dependencies": { "@faker-js/faker": "7.6.0", - "@tanstack/react-virtual": "3.0.0-beta.65", + "@tanstack/react-virtual": "3.0.0-beta.66", "react": "^18.2.0", "react-dom": "^18.2.0" }, @@ -337,7 +337,7 @@ }, "examples/react/fixed": { "dependencies": { - "@tanstack/react-virtual": "3.0.0-beta.65", + "@tanstack/react-virtual": "3.0.0-beta.66", "react": "^18.2.0", "react-dom": "^18.2.0" }, @@ -607,7 +607,7 @@ "name": "tanstack-react-virtual-example-infinite-scroll", "version": "0.0.0", "dependencies": { - "@tanstack/react-virtual": "3.0.0-beta.65", + "@tanstack/react-virtual": "3.0.0-beta.66", "react": "^17.0.2", "react-dom": "^17.0.2", "react-query": "^3.39.1" @@ -622,7 +622,7 @@ "name": "tanstack-react-virtual-example-padding", "version": "0.0.0", "dependencies": { - "@tanstack/react-virtual": "3.0.0-beta.65", + "@tanstack/react-virtual": "3.0.0-beta.66", "react": "^17.0.2", "react-dom": "^17.0.2" }, @@ -637,7 +637,7 @@ "version": "0.0.0", "dependencies": { "@react-hookz/web": "^14.2.2", - "@tanstack/react-virtual": "3.0.0-beta.65", + "@tanstack/react-virtual": "3.0.0-beta.66", "react": "^17.0.2", "react-dom": "^17.0.2" }, @@ -651,7 +651,7 @@ "name": "tanstack-react-virtual-example-smooth-scroll", "version": "0.0.0", "dependencies": { - "@tanstack/react-virtual": "3.0.0-beta.65", + "@tanstack/react-virtual": "3.0.0-beta.66", "react": "^17.0.2", "react-dom": "^17.0.2" }, @@ -666,7 +666,7 @@ "version": "0.0.0", "dependencies": { "@faker-js/faker": "^7.1.0", - "@tanstack/react-virtual": "3.0.0-beta.65", + "@tanstack/react-virtual": "3.0.0-beta.66", "lodash": "^4.17.21", "react": "^17.0.2", "react-dom": "^17.0.2" @@ -689,7 +689,7 @@ "name": "tanstack-react-virtual-example-variable", "version": "0.0.0", "dependencies": { - "@tanstack/react-virtual": "3.0.0-beta.65", + "@tanstack/react-virtual": "3.0.0-beta.66", "react": "^17.0.2", "react-dom": "^17.0.2" }, @@ -18252,10 +18252,10 @@ }, "packages/react-virtual": { "name": "@tanstack/react-virtual", - "version": "3.0.0-beta.65", + "version": "3.0.0-beta.66", "license": "MIT", "dependencies": { - "@tanstack/virtual-core": "3.0.0-beta.65" + "@tanstack/virtual-core": "3.0.0-beta.66" }, "devDependencies": { "@testing-library/react": "^13.4.0", @@ -18270,7 +18270,8 @@ "url": "https://github.com/sponsors/tannerlinsley" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" } }, "packages/react-virtual/node_modules/@testing-library/react": { @@ -18338,10 +18339,10 @@ }, "packages/solid-virtual": { "name": "@tanstack/solid-virtual", - "version": "3.0.0-beta.65", + "version": "3.0.0-beta.66", "license": "MIT", "dependencies": { - "@tanstack/virtual-core": "3.0.0-beta.65" + "@tanstack/virtual-core": "3.0.0-beta.66" }, "devDependencies": { "solid-js": "^1.3.15" @@ -18356,10 +18357,10 @@ }, "packages/svelte-virtual": { "name": "@tanstack/svelte-virtual", - "version": "3.0.0-beta.65", + "version": "3.0.0-beta.66", "license": "MIT", "dependencies": { - "@tanstack/virtual-core": "3.0.0-beta.65" + "@tanstack/virtual-core": "3.0.0-beta.66" }, "devDependencies": { "svelte": "^3.48.0" @@ -18374,7 +18375,7 @@ }, "packages/virtual-core": { "name": "@tanstack/virtual-core", - "version": "3.0.0-beta.65", + "version": "3.0.0-beta.66", "license": "MIT", "funding": { "type": "github", @@ -18383,10 +18384,10 @@ }, "packages/vue-virtual": { "name": "@tanstack/vue-virtual", - "version": "3.0.0-beta.65", + "version": "3.0.0-beta.66", "license": "MIT", "dependencies": { - "@tanstack/virtual-core": "3.0.0-beta.65" + "@tanstack/virtual-core": "3.0.0-beta.66" }, "devDependencies": { "vue": "^3.2.45" @@ -21823,7 +21824,7 @@ "@tanstack/react-virtual": { "version": "file:packages/react-virtual", "requires": { - "@tanstack/virtual-core": "3.0.0-beta.65", + "@tanstack/virtual-core": "3.0.0-beta.66", "@testing-library/react": "^13.4.0", "@types/react": "18.0.26", "@types/react-dom": "18.0.10", @@ -21887,14 +21888,14 @@ "@tanstack/solid-virtual": { "version": "file:packages/solid-virtual", "requires": { - "@tanstack/virtual-core": "3.0.0-beta.65", + "@tanstack/virtual-core": "3.0.0-beta.66", "solid-js": "^1.3.15" } }, "@tanstack/svelte-virtual": { "version": "file:packages/svelte-virtual", "requires": { - "@tanstack/virtual-core": "3.0.0-beta.65", + "@tanstack/virtual-core": "3.0.0-beta.66", "svelte": "^3.48.0" } }, @@ -21928,7 +21929,7 @@ "@tanstack/vue-virtual": { "version": "file:packages/vue-virtual", "requires": { - "@tanstack/virtual-core": "3.0.0-beta.65", + "@tanstack/virtual-core": "3.0.0-beta.66", "vue": "^3.2.45" } }, @@ -23618,7 +23619,7 @@ "requires": { "@faker-js/faker": "7.6.0", "@rollup/plugin-replace": "^5.0.2", - "@tanstack/react-virtual": "3.0.0-beta.65", + "@tanstack/react-virtual": "3.0.0-beta.66", "@types/node": "18.x", "@types/react": "^18.0.27", "@types/react-dom": "^18.0.10", @@ -24194,7 +24195,7 @@ "version": "file:examples/react/fixed", "requires": { "@rollup/plugin-replace": "^5.0.2", - "@tanstack/react-virtual": "3.0.0-beta.65", + "@tanstack/react-virtual": "3.0.0-beta.66", "@types/node": "18.x", "@types/react": "^18.0.27", "@types/react-dom": "^18.0.10", @@ -28953,7 +28954,7 @@ "version": "file:examples/react/infinite-scroll", "requires": { "@rollup/plugin-replace": "^4.0.0", - "@tanstack/react-virtual": "3.0.0-beta.65", + "@tanstack/react-virtual": "3.0.0-beta.66", "@vitejs/plugin-react": "^1.2.0", "react": "^17.0.2", "react-dom": "^17.0.2", @@ -28965,7 +28966,7 @@ "version": "file:examples/react/padding", "requires": { "@rollup/plugin-replace": "^4.0.0", - "@tanstack/react-virtual": "3.0.0-beta.65", + "@tanstack/react-virtual": "3.0.0-beta.66", "@vitejs/plugin-react": "^1.2.0", "react": "^17.0.2", "react-dom": "^17.0.2", @@ -28977,7 +28978,7 @@ "requires": { "@react-hookz/web": "^14.2.2", "@rollup/plugin-replace": "^4.0.0", - "@tanstack/react-virtual": "3.0.0-beta.65", + "@tanstack/react-virtual": "3.0.0-beta.66", "@vitejs/plugin-react": "^1.2.0", "react": "^17.0.2", "react-dom": "^17.0.2", @@ -28988,7 +28989,7 @@ "version": "file:examples/react/smooth-scroll", "requires": { "@rollup/plugin-replace": "^4.0.0", - "@tanstack/react-virtual": "3.0.0-beta.65", + "@tanstack/react-virtual": "3.0.0-beta.66", "@vitejs/plugin-react": "^1.2.0", "react": "^17.0.2", "react-dom": "^17.0.2", @@ -29000,7 +29001,7 @@ "requires": { "@faker-js/faker": "^7.1.0", "@rollup/plugin-replace": "^4.0.0", - "@tanstack/react-virtual": "3.0.0-beta.65", + "@tanstack/react-virtual": "3.0.0-beta.66", "@vitejs/plugin-react": "^1.2.0", "lodash": "^4.17.21", "react": "^17.0.2", @@ -29017,7 +29018,7 @@ "version": "file:examples/react/variable", "requires": { "@rollup/plugin-replace": "^4.0.0", - "@tanstack/react-virtual": "3.0.0-beta.65", + "@tanstack/react-virtual": "3.0.0-beta.66", "@vitejs/plugin-react": "^1.2.0", "react": "^17.0.2", "react-dom": "^17.0.2", diff --git a/packages/react-virtual/package.json b/packages/react-virtual/package.json index 227559c8..fef2f6b0 100644 --- a/packages/react-virtual/package.json +++ b/packages/react-virtual/package.json @@ -53,6 +53,7 @@ "@tanstack/virtual-core": "3.0.0-beta.66" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" } }