Update moment to 2.21.0 as previous version had vulnerability

This commit is contained in:
Mikael Svenson 2018-03-08 13:40:16 -08:00
parent 4bc95a15c0
commit b2bdeff4d3
3 changed files with 15 additions and 2 deletions

View File

@ -24,7 +24,7 @@
"@types/webpack-env": ">=1.12.1 <1.14.0",
"immutability-helper": "2.4.0",
"lodash-es": "4.17.4",
"moment": "2.18.1",
"moment": "2.21.0",
"office-ui-fabric-react": "4.40.2-hotfix.1",
"react": "15.6.2",
"react-custom-scrollbars": "4.1.2",

13
samples/react-search/package-lock.json generated Normal file
View File

@ -0,0 +1,13 @@
{
"name": "search-wp-spfx",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"moment": {
"version": "2.17.1",
"resolved": "https://registry.npmjs.org/moment/-/moment-2.17.1.tgz",
"integrity": "sha1-/tlQYGPzaxDwZsi1mhRNf66+HYI="
}
}
}

View File

@ -16,7 +16,7 @@
"@types/react-dom": "0.14.18",
"@types/webpack-env": ">=1.12.1 <1.14.0",
"flux": "3.1.2",
"moment": "2.17.1",
"moment": "^2.21.0",
"react": "15.4.2",
"react-dom": "15.4.2"
},