From aa5221f6c17789577e428c4bdef5fed10b1209a1 Mon Sep 17 00:00:00 2001 From: George Mamadashvili Date: Thu, 16 Jan 2025 17:14:37 +0400 Subject: [PATCH] Upload Media: Fix package dependencies (#68718) Co-authored-by: Mamaduka Co-authored-by: swissspidy Co-authored-by: SainathPoojary Co-authored-by: himanshupathak95 Co-authored-by: anomiex --- package-lock.json | 5 +++++ packages/upload-media/package.json | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/package-lock.json b/package-lock.json index 728b54df88e26..56fc08877bfa0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -52663,6 +52663,7 @@ "version": "0.1.0", "license": "GPL-2.0-or-later", "dependencies": { + "@babel/runtime": "7.25.7", "@shopify/web-worker": "^6.4.0", "@wordpress/api-fetch": "file:../api-fetch", "@wordpress/blob": "file:../blob", @@ -52678,6 +52679,10 @@ "engines": { "node": ">=18.12.0", "npm": ">=8.19.2" + }, + "peerDependencies": { + "react": "^18.0.0", + "react-dom": "^18.0.0" } }, "packages/url": { diff --git a/packages/upload-media/package.json b/packages/upload-media/package.json index e0704c841016d..828ed745acdaf 100644 --- a/packages/upload-media/package.json +++ b/packages/upload-media/package.json @@ -27,6 +27,7 @@ "types": "build-types", "sideEffects": false, "dependencies": { + "@babel/runtime": "7.25.7", "@shopify/web-worker": "^6.4.0", "@wordpress/api-fetch": "file:../api-fetch", "@wordpress/blob": "file:../blob", @@ -39,6 +40,10 @@ "@wordpress/url": "file:../url", "uuid": "^9.0.1" }, + "peerDependencies": { + "react": "^18.0.0", + "react-dom": "^18.0.0" + }, "publishConfig": { "access": "public" }