Skip to content

Commit f677d04

Browse files
committed
[Deps] pin moment to < v2.18, since they don’t consider locale changes breaking, and our tests depend on the locale data.
Closes #381; related to moment/moment#3849
1 parent 091a34f commit f677d04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"lodash.omit": "^4.5.0",
7979
"mocha": "^3.2.0",
8080
"mocha-wrap": "^2.1.0",
81-
"moment": "^2.17.1",
81+
"moment": "^2.17.1 && < 2.18.0",
8282
"node-sass": "^4.4.0",
8383
"raw-loader": "^0.5.1",
8484
"react": "^15.4.2",
@@ -103,7 +103,7 @@
103103
"react-portal": "^3.0.0"
104104
},
105105
"peerDependencies": {
106-
"moment": "2.10 - 2.14 || ^2.15.1",
106+
"moment": "(2.10 - 2.14 || ^2.15.1) && < 2.18.0",
107107
"react": ">=0.14",
108108
"react-dom": ">=0.14",
109109
"react-addons-shallow-compare": ">=0.14"

0 commit comments

Comments
 (0)