Merge pull request #1188 from sharetribe/circumvent-lodash-vulnerability

Circumvent lodash vulnerability
This commit is contained in:
Vesa Luusua 2019-08-29 16:24:26 +03:00 committed by GitHub
commit 4d1e244629
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -14,6 +14,8 @@ way to update this template, but currently, we follow a pattern:
## Upcoming version 2019-XX-XX
- [fix] Lodash vulnerability: enforce newer version for react-google-maps and react-dates
[#1188](https://github.com/sharetribe/flex-template-web/pull/1188)
- [change] Update `React`, `react-test-renderer` and `react-dom` to 16.9.0. After these updates old
lifecycle methods `componentWillMount`, `componentWillUpdate` and `componentWillUpdate` will cause
deprecation warnings. Check the updated components from the PR

View file

@ -66,6 +66,8 @@
"prettier": "^1.18.2"
},
"resolutions": {
"react-dates/lodash": "^4.17.14",
"react-google-maps/lodash": "^4.17.14",
"react-test-renderer": "^16.9.0"
},
"scripts": {