diff --git a/src/vscode-bicep-ui/apps/deploy-pane/package.json b/src/vscode-bicep-ui/apps/deploy-pane/package.json index 7bc5f949e7c..c10cc6e269f 100644 --- a/src/vscode-bicep-ui/apps/deploy-pane/package.json +++ b/src/vscode-bicep-ui/apps/deploy-pane/package.json @@ -13,7 +13,7 @@ "devDependencies": { "@rollup/plugin-node-resolve": "^15.3.0", "@types/react": "^18.3.5", - "@types/react-dom": "^18.3.0", + "@types/react-dom": "^19.0.2", "@vitejs/plugin-react": "^4.3.4", "@vscode-elements/webview-playground": "^1.3.0", "vite": "^5.4.5", @@ -26,6 +26,6 @@ "@vscode-bicep-ui/components": "^0.0.0", "@vscode-elements/react-elements": "^0.7.0", "react": "^18.3.1", - "react-dom": "^18.3.1" + "react-dom": "^19.0.0" } } diff --git a/src/vscode-bicep-ui/package-lock.json b/src/vscode-bicep-ui/package-lock.json index b9b23253695..b9d891fd2f9 100644 --- a/src/vscode-bicep-ui/package-lock.json +++ b/src/vscode-bicep-ui/package-lock.json @@ -35,18 +35,36 @@ "@vscode-bicep-ui/components": "^0.0.0", "@vscode-elements/react-elements": "^0.7.0", "react": "^18.3.1", - "react-dom": "^18.3.1" + "react-dom": "^19.0.0" }, "devDependencies": { "@rollup/plugin-node-resolve": "^15.3.0", "@types/react": "^18.3.5", - "@types/react-dom": "^18.3.0", + "@types/react-dom": "^19.0.2", "@vitejs/plugin-react": "^4.3.4", "@vscode-elements/webview-playground": "^1.3.0", "vite": "^5.4.5", "vite-plugin-ejs": "^1.7.0" } }, + "apps/deploy-pane/node_modules/react-dom": { + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.0.0.tgz", + "integrity": "sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==", + "license": "MIT", + "dependencies": { + "scheduler": "^0.25.0" + }, + "peerDependencies": { + "react": "^19.0.0" + } + }, + "apps/deploy-pane/node_modules/scheduler": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.25.0.tgz", + "integrity": "sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==", + "license": "MIT" + }, "apps/visual-designer": { "name": "@vscode-bicep-ui/deploy-pane", "version": "0.0.0", @@ -3036,17 +3054,17 @@ "license": "MIT" }, "node_modules/@storybook/icons": { - "version": "1.2.12", - "resolved": "https://registry.npmjs.org/@storybook/icons/-/icons-1.2.12.tgz", - "integrity": "sha512-UxgyK5W3/UV4VrI3dl6ajGfHM4aOqMAkFLWe2KibeQudLf6NJpDrDMSHwZj+3iKC4jFU7dkKbbtH2h/al4sW3Q==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@storybook/icons/-/icons-1.3.0.tgz", + "integrity": "sha512-Nz/UzeYQdUZUhacrPyfkiiysSjydyjgg/p0P9HxB4p/WaJUUjMAcaoaLgy3EXx61zZJ3iD36WPuDkZs5QYrA0A==", "dev": true, "license": "MIT", "engines": { "node": ">=14.0.0" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta" } }, "node_modules/@storybook/instrumenter": { @@ -3267,6 +3285,22 @@ "storybook": "^8.3.5" } }, + "node_modules/@storybook/react-vite/node_modules/@storybook/react/node_modules/react-element-to-jsx-string": { + "version": "15.0.0", + "resolved": "https://registry.npmjs.org/react-element-to-jsx-string/-/react-element-to-jsx-string-15.0.0.tgz", + "integrity": "sha512-UDg4lXB6BzlobN60P8fHWVPX3Kyw8ORrTeBtClmIlGdkOOE+GYQSFvmEU5iLLpwp/6v42DINwNcwOhOLfQ//FQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@base2/pretty-print-object": "1.0.1", + "is-plain-object": "5.0.0", + "react-is": "18.1.0" + }, + "peerDependencies": { + "react": "^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1 || ^18.0.0", + "react-dom": "^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1 || ^18.0.0" + } + }, "node_modules/@storybook/react-vite/node_modules/@storybook/test": { "version": "8.3.5", "resolved": "https://registry.npmjs.org/@storybook/test/-/test-8.3.5.tgz", @@ -3339,6 +3373,13 @@ "optional": true, "peer": true }, + "node_modules/@storybook/react-vite/node_modules/react-is": { + "version": "18.1.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.1.0.tgz", + "integrity": "sha512-Fl7FuabXsJnV5Q1qIOQwx/sagGF18kogb4gpfcG4gjLBWO0WDiiz1ko/ExayuxE7InyQkBLkxRFG5oxY6Uu3Kg==", + "dev": true, + "license": "MIT" + }, "node_modules/@storybook/test": { "version": "8.4.7", "resolved": "https://registry.npmjs.org/@storybook/test/-/test-8.4.7.tgz", @@ -3917,13 +3958,13 @@ } }, "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": "19.0.2", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.0.2.tgz", + "integrity": "sha512-c1s+7TKFaDRRxr1TxccIX2u7sfCnc3RxkVyBIUA2lCpyqCF+QoAwQ/CBg7bsMdVwP120HEH143VQezKtef5nCg==", "dev": true, "license": "MIT", - "dependencies": { - "@types/react": "*" + "peerDependencies": { + "@types/react": "^19.0.0" } }, "node_modules/@types/resolve": { @@ -9657,29 +9698,6 @@ "react": "^18.3.1" } }, - "node_modules/react-element-to-jsx-string": { - "version": "15.0.0", - "resolved": "https://registry.npmjs.org/react-element-to-jsx-string/-/react-element-to-jsx-string-15.0.0.tgz", - "integrity": "sha512-UDg4lXB6BzlobN60P8fHWVPX3Kyw8ORrTeBtClmIlGdkOOE+GYQSFvmEU5iLLpwp/6v42DINwNcwOhOLfQ//FQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@base2/pretty-print-object": "1.0.1", - "is-plain-object": "5.0.0", - "react-is": "18.1.0" - }, - "peerDependencies": { - "react": "^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1 || ^18.0.0", - "react-dom": "^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1 || ^18.0.0" - } - }, - "node_modules/react-element-to-jsx-string/node_modules/react-is": { - "version": "18.1.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.1.0.tgz", - "integrity": "sha512-Fl7FuabXsJnV5Q1qIOQwx/sagGF18kogb4gpfcG4gjLBWO0WDiiz1ko/ExayuxE7InyQkBLkxRFG5oxY6Uu3Kg==", - "dev": true, - "license": "MIT" - }, "node_modules/react-is": { "version": "17.0.2", "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", @@ -11838,7 +11856,7 @@ "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.0.1", "@types/react": "^18.3.12", - "@types/react-dom": "^18.3.1", + "@types/react-dom": "^19.0.2", "@vitejs/plugin-react": "^4.3.4", "@vitest/coverage-v8": "^2.1.3", "@vscode/codicons": "^0.0.36", @@ -11866,7 +11884,7 @@ "@testing-library/dom": "^10.4.0", "@testing-library/react": "^16.0.1", "@types/react": "^18.3.12", - "@types/react-dom": "^18.3.1", + "@types/react-dom": "^19.0.2", "@types/vscode-webview": "^1.57.5", "@vitest/coverage-v8": "^2.1.3", "happy-dom": "^15.11.7", diff --git a/src/vscode-bicep-ui/packages/components/package.json b/src/vscode-bicep-ui/packages/components/package.json index d25cdf3a900..0fbbcf160cb 100644 --- a/src/vscode-bicep-ui/packages/components/package.json +++ b/src/vscode-bicep-ui/packages/components/package.json @@ -38,7 +38,7 @@ "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.0.1", "@types/react": "^18.3.12", - "@types/react-dom": "^18.3.1", + "@types/react-dom": "^19.0.2", "@vitejs/plugin-react": "^4.3.4", "@vitest/coverage-v8": "^2.1.3", "@vscode/codicons": "^0.0.36", diff --git a/src/vscode-bicep-ui/packages/messaging/package.json b/src/vscode-bicep-ui/packages/messaging/package.json index a8d23ed269c..4520687406c 100644 --- a/src/vscode-bicep-ui/packages/messaging/package.json +++ b/src/vscode-bicep-ui/packages/messaging/package.json @@ -22,7 +22,7 @@ "@testing-library/dom": "^10.4.0", "@testing-library/react": "^16.0.1", "@types/react": "^18.3.12", - "@types/react-dom": "^18.3.1", + "@types/react-dom": "^19.0.2", "@types/vscode-webview": "^1.57.5", "@vitest/coverage-v8": "^2.1.3", "happy-dom": "^15.11.7",