summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2018-11-12 21:29:38 +0100
committerFabian Mastenbroek <mail.fabianm@gmail.com>2018-11-12 21:29:38 +0100
commit4ccc0ca058f88610980ccc31e4fda726a57037e2 (patch)
treed7ef8ad148b9069d9aaa36c028ae3aff52080dc3 /package.json
parent74df63d21773ecf39091f3b558f777951a668a77 (diff)
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
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 2 insertions, 2 deletions
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",