From 4ccc0ca058f88610980ccc31e4fda726a57037e2 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Mon, 12 Nov 2018 21:29:38 +0100 Subject: bug: Fix React invariant error due to dependency mismatch This change fixes an issue with React crashing due to an invariant error that was caused by a dependency mismatch between React and react-konva. I have included the Yarn lock file in the repository to prevent these issues from happening in the future and keeping the installation deterministic. Additionally, I have updated react-konva and konva to the latest version to be compatible with the targeted React release. Fixes #63 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index d607e7c5..cac7fb8a 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "approximate-number": "^2.0.0", "classnames": "^2.2.5", "husky": "^0.14.3", - "konva": "^1.7.2", + "konva": "^2.5.1", "lint-staged": "^6.0.0", "node-sass-chokidar": "^0.0.3", "npm-run-all": "^4.1.2", @@ -32,7 +32,7 @@ "react-dom": "^16.1.0", "react-fontawesome": "^1.6.1", "react-google-login": "^3.0.2", - "react-konva": "^1.6.4", + "react-konva": "^16.6.11", "react-redux": "^5.0.5", "react-router-dom": "^4.2.2", "react-scripts": "^1.0.14", -- cgit v1.2.3