From e89b0982609cb5a0b9e2f37fb53d4549eadd6fa2 Mon Sep 17 00:00:00 2001
From: Jack Reed <phillipjreed@gmail.com>
Date: Thu, 8 Apr 2021 05:43:34 -0600
Subject: [PATCH] Better specifiy react / react-paperjs dependencies

In anticipation of a release that supports React 17 (react-paperjs v1.0)
lets go ahead and lock these down in a release for React 16.x users.

A follow on after a release of mirador-annotations will be to bump
dependencies up to react 17 compatible ones.
---
 package.json | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/package.json b/package.json
index 5d0498a..c213670 100644
--- a/package.json
+++ b/package.json
@@ -21,7 +21,7 @@
     "test:watch": "jest --watch"
   },
   "dependencies": {
-    "@psychobolt/react-paperjs": "0.0.57",
+    "@psychobolt/react-paperjs": "< 1.0",
     "@psychobolt/react-paperjs-editor": "0.0.11",
     "draft-js": "^0.11.6",
     "draft-js-export-html": "^1.4.1",
@@ -38,8 +38,8 @@
     "lodash": "^4.17.11",
     "mirador": "^3.0.0-rc.5",
     "prop-types": "^15.7.2",
-    "react": "16.x",
-    "react-dom": "16.x",
+    "react": "^16.0",
+    "react-dom": "^16.0",
     "uuid": "^8.0.0"
   },
   "devDependencies": {
@@ -68,8 +68,8 @@
     "mirador": "^3.0.0-rc.5",
     "nwb": "^0.24.7",
     "prop-types": "^15.7.2",
-    "react": "^16.13.1",
-    "react-dom": "^16.13.1",
+    "react": "^16.14.0",
+    "react-dom": "^16.14.0",
     "uuid": "^8.2.0"
   },
   "author": "",
-- 
GitLab