-
Notifications
You must be signed in to change notification settings - Fork 115
KIALI-2077 React related libraries upgrades #864
Conversation
is this issue linked correctly to JIRA? |
Looks like our polyfill for |
@abonas no it was not correctly linked yet, I had to create a subtask Jira for it after I started it. Resolved now. |
Also relevant to standards: https://developers.google.com/web/updates/2016/01/urlsearchparams |
d5716c1
to
9cd5b38
Compare
@theute what is our policy with Snyk in regards to being Done. |
I am not sure about the question, if the check is in place, I guess it should pass ;) (Being Captain Obvious here). Now what's odd I guess is that your PR may fail just because a new vulnerability has been found but nothing related was changed, correct ? |
@theute So I'm currently trying to remediate any vulnerabilities but have yet to see if this is possible. |
9371743
to
7084edb
Compare
@mtho11 I'd say, for snyk, anything over |
This is a weird error that stops the build:
This doesn't happen locally. |
So as part of the react-scripts-ts upgrade (2 -> 4) it looks like autoprefixer pulled in browserslist and so now we need to have a section in the Valid Queries: "browserslist": [
">3%",
"last 2 versions",
"not dead",
"not ie <= 11"
] To see a list of supported browsers type:
|
7084edb
to
476e97f
Compare
@abonas does the browser list above look about right to you? |
6018ebf
to
5bb0ba5
Compare
This last commit fixes this bug:
Which started occuring on certain screens that use the |
Thanks @jotak @cfcosta @hhovsepy and @mattmahoneyrh for your input. We are closing in... |
Also, the reason for moving from react-script-ts 4.x instead of 3.1 is that snyk found a couple vulnerabilities in 3.x:
|
@mtho11 I’d say go with 3, even with the vulnerabilities, they all have low risk and do not seem exploitable. |
@cfcosta I'm actually trying to get rid of |
…erwise you can't even build the project)
…or: Duplicate identifier 'LibraryMangedAttributes'. Move Husky back to 0.14.3 from 1.2.0 as there are other bigger issues with api changes there https://issues.jboss.org/browse/KIALI-2158
…n version (no polyfill needed).
…d it seems to be causing the rendering issues. Also, remove the 'not dead' option from browserlist since this option is not available on the react-scripts-ts version 3 but instead introduced in version 4. Move husky back to version 1.2.0 instead 0.14.3 (somehow rebasing messed this up).
…n change of 4 -> 3.
@cfcosta our previously low severity vulnerability in
|
The application works fine and js console is clean. @mattmahoneyrh was kind enough to deploy this PR to: https://kiali-istio-system.openshift2.jonqe.lab.eng.bos.redhat.com/console/overview?duration=60&pi=15000 |
To summarize: Right now I'm in the unfortunate position of being trapped between version 3 of Caveat: The tests for version 3 are failing but are probably fixable. However, if version 3 is not a viable option I will not spend any time on that solution. |
…and update the snapshots.
So I'm just going to leave the version of So @cfcosta this is done and ready for retest |
@mtho11 ok, perfect, will take a look. |
@mtho11 Did a ton of tests, everything seems ok. Will approve, should we merge it now? |
Since I removed the trouble-maker library. I think we are good now. |
** Describe the change **
Upgrade all of the React related libraries and Patternfly. And this time the redux upgrades because they are minor since we did a major upgrade last sprint for them.
** Issue reference **
https://issues.jboss.org/browse/KIALI-2077
** Backwards compatible? **
Yes
[ ] Is your pull-request introducing changes in behaviour?
No changes in behaviour