[6.x] move moment to peerDependency in elastic-datemath (#27264) (#27269)

Backports the following commits to 6.x:
 - move moment to peerDependency in elastic-datemath  (#27264)
This commit is contained in:
Spencer 2018-12-14 17:12:40 -08:00 committed by GitHub
parent f2b634499c
commit c861627389
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 5 deletions

View file

@ -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",

View file

@ -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,
@ -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"
}
}

View file

@ -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",