From 8d7d08bbc2c15b4e5416473929f6985f07b81942 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 10 Dec 2024 18:34:29 +0000 Subject: [PATCH 1/2] Bump react, react-dom and @types/react in /src/playground Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react), [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). These dependencies needed to be updated together. Updates `react` from 18.3.1 to 19.0.0 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.0.0/packages/react) Updates `react-dom` from 18.3.1 to 19.0.0 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.0.0/packages/react-dom) Updates `@types/react` from 18.3.12 to 19.0.1 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: react dependency-type: direct:production update-type: version-update:semver-major - dependency-name: react-dom dependency-type: direct:production update-type: version-update:semver-major - dependency-name: "@types/react" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- src/playground/package-lock.json | 47 ++++++++++++-------------------- src/playground/package.json | 6 ++-- 2 files changed, 20 insertions(+), 33 deletions(-) diff --git a/src/playground/package-lock.json b/src/playground/package-lock.json index 0bccf909cdd..421daada1e6 100644 --- a/src/playground/package-lock.json +++ b/src/playground/package-lock.json @@ -11,16 +11,16 @@ "bootstrap": "^5.3.3", "monaco-editor": "^0.52.0", "pako": "^2.1.0", - "react": "^18.3.1", + "react": "^19.0.0", "react-bootstrap": "^2.10.6", - "react-dom": "^18.3.1" + "react-dom": "^19.0.0" }, "devDependencies": { "@eslint/eslintrc": "^3.2.0", "@eslint/js": "^9.15.0", "@types/node": "^22.10.1", "@types/pako": "^2.0.3", - "@types/react": "^18.3.12", + "@types/react": "^19.0.1", "@types/react-dom": "^18.3.1", "@types/webpack": "^5.28.5", "@typescript-eslint/eslint-plugin": "^8.17.0", @@ -831,11 +831,6 @@ "integrity": "sha512-bq0hMV9opAcrmE0Byyo0fY3Ew4tgOevJmQ9grUhpXQhYfyLJ1Kqg3P33JT5fdbT2AjeAjR51zqqVjAL/HMkx7Q==", "dev": true }, - "node_modules/@types/prop-types": { - "version": "15.7.3", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.3.tgz", - "integrity": "sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw==" - }, "node_modules/@types/qs": { "version": "6.9.7", "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", @@ -849,11 +844,10 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.3.12", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.12.tgz", - "integrity": "sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw==", + "version": "19.0.1", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.0.1.tgz", + "integrity": "sha512-YW6614BDhqbpR5KtUYzTA+zlA7nayzJRA9ljz9CQoxthR0sDisYZLuvSMsil36t4EH/uAt8T52Xb4sVw17G+SQ==", "dependencies": { - "@types/prop-types": "*", "csstype": "^3.0.2" } }, @@ -4880,12 +4874,9 @@ } }, "node_modules/react": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", - "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", - "dependencies": { - "loose-envify": "^1.1.0" - }, + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/react/-/react-19.0.0.tgz", + "integrity": "sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==", "engines": { "node": ">=0.10.0" } @@ -4920,15 +4911,14 @@ } }, "node_modules/react-dom": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", - "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.0.0.tgz", + "integrity": "sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==", "dependencies": { - "loose-envify": "^1.1.0", - "scheduler": "^0.23.2" + "scheduler": "^0.25.0" }, "peerDependencies": { - "react": "^18.3.1" + "react": "^19.0.0" } }, "node_modules/react-is": { @@ -5142,12 +5132,9 @@ "dev": true }, "node_modules/scheduler": { - "version": "0.23.2", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", - "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", - "dependencies": { - "loose-envify": "^1.1.0" - } + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.25.0.tgz", + "integrity": "sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==" }, "node_modules/schema-utils": { "version": "3.3.0", diff --git a/src/playground/package.json b/src/playground/package.json index 949df884634..e70db6cd446 100644 --- a/src/playground/package.json +++ b/src/playground/package.json @@ -18,7 +18,7 @@ "@eslint/js": "^9.15.0", "@types/node": "^22.10.1", "@types/pako": "^2.0.3", - "@types/react": "^18.3.12", + "@types/react": "^19.0.1", "@types/react-dom": "^18.3.1", "@types/webpack": "^5.28.5", "@typescript-eslint/eslint-plugin": "^8.17.0", @@ -45,8 +45,8 @@ "bootstrap": "^5.3.3", "monaco-editor": "^0.52.0", "pako": "^2.1.0", - "react": "^18.3.1", + "react": "^19.0.0", "react-bootstrap": "^2.10.6", - "react-dom": "^18.3.1" + "react-dom": "^19.0.0" } } From 111d4a321e8696f2bc792f17a087edfe7a6de983 Mon Sep 17 00:00:00 2001 From: "Stephen Weatherford (MSFT)" Date: Thu, 12 Dec 2024 12:23:03 -0800 Subject: [PATCH 2/2] attempt build fix --- src/playground/src/playground.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playground/src/playground.tsx b/src/playground/src/playground.tsx index 56f53ee109e..11a4754495c 100644 --- a/src/playground/src/playground.tsx +++ b/src/playground/src/playground.tsx @@ -23,7 +23,7 @@ export const Playground : React.FC = (props) => { const [copied, setCopied] = useState(false); const [loading, setLoading] = useState(false); const [filterText, setFilterText] = useState(''); - const uploadInputRef = useRef(); + const uploadInputRef = useRef(undefined); async function withLoader(action: () => Promise) { try {