]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Relax dependencies semver range (#4891)
authorJonathan Grimes <jsg2021@users.noreply.github.com>
Tue, 7 Nov 2017 18:12:33 +0000 (12:12 -0600)
committerSimon Brunel <simonbrunel@users.noreply.github.com>
Tue, 7 Nov 2017 18:12:33 +0000 (19:12 +0100)
Prevent duplicate version of moment.js (which is pretty large) when an app also depends on moment (with less strict semver range)

package.json

index 83987fd129e21f12b9b4db3ae9e05b7be5655102..3ebc721f95afcd3a329b29f7c0665fc416ca35c9 100644 (file)
@@ -49,7 +49,7 @@
     "main": "Chart.js"
   },
   "dependencies": {
-    "chartjs-color": "~2.2.0",
-    "moment": "~2.19.1"
+    "chartjs-color": "^2.1.0",
+    "moment": "^2.10.2"
   }
 }