Skip to content

Commit

Permalink
[Deps] pin moment to < v2.18, since they don’t consider locale ch…
Browse files Browse the repository at this point in the history
…anges breaking, and our tests depend on the locale data.

Closes #381; related to moment/moment#3849
  • Loading branch information
ljharb committed Mar 19, 2017
1 parent 091a34f commit f677d04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -78,7 +78,7 @@
"lodash.omit": "^4.5.0",
"mocha": "^3.2.0",
"mocha-wrap": "^2.1.0",
"moment": "^2.17.1",
"moment": "^2.17.1 && < 2.18.0",
"node-sass": "^4.4.0",
"raw-loader": "^0.5.1",
"react": "^15.4.2",
Expand All @@ -103,7 +103,7 @@
"react-portal": "^3.0.0"
},
"peerDependencies": {
"moment": "2.10 - 2.14 || ^2.15.1",
"moment": "(2.10 - 2.14 || ^2.15.1) && < 2.18.0",
"react": ">=0.14",
"react-dom": ">=0.14",
"react-addons-shallow-compare": ">=0.14"
Expand Down

0 comments on commit f677d04

Please sign in to comment.