Skip to content

Commit

Permalink
[6.x] move moment to peerDependency in elastic-datemath (#27264) (#27269
Browse files Browse the repository at this point in the history
)

Backports the following commits to 6.x:
 - move moment to peerDependency in elastic-datemath  (#27264)
  • Loading branch information
Spencer authored Dec 15, 2018
1 parent f2b6344 commit c861627
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
]
},
"dependencies": {
"@elastic/datemath": "5.0.0",
"@elastic/datemath": "5.0.2",
"@elastic/eui": "5.6.0",
"@elastic/filesaver": "1.1.2",
"@elastic/good": "8.1.1-kibana2",
Expand Down
9 changes: 6 additions & 3 deletions packages/elastic-datemath/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elastic/datemath",
"version": "5.0.0",
"version": "5.0.2",
"description": "elasticsearch datemath parser, used in kibana",
"license": "Apache-2.0",
"private": true,
Expand All @@ -14,10 +14,13 @@
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-env": "^1.7.0"
"babel-preset-env": "^1.7.0",
"moment": "^2.13.0"
},
"dependencies": {
"moment": "^2.13.0",
"tslib": "^1.9.3"
},
"peerDependencies": {
"moment": "^2.13.0"
}
}
2 changes: 1 addition & 1 deletion x-pack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"yargs": "4.8.1"
},
"dependencies": {
"@elastic/datemath": "5.0.0",
"@elastic/datemath": "5.0.2",
"@elastic/eui": "5.6.0",
"@elastic/node-crypto": "0.1.2",
"@elastic/node-phantom-simple": "2.2.4",
Expand Down

0 comments on commit c861627

Please sign in to comment.