Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update libraries to fix issues in audit #657

Closed
wants to merge 1 commit into from
Closed

Conversation

ciyer
Copy link
Contributor

@ciyer ciyer commented Oct 30, 2019

We have not updated the libraries in a while and there are some issues that have been discovered in the dependencies. This update should fix currently known critical issues.

An issue was found with mouse pointer flickering caused by tooltips on mouseover in Chrome (e.g., the launch, gitlab, and lineage icons in the file view). This was a problem before this update, and we have only upgraded some of the libraries to avoid having this problem. After this update, it occasionally occurs, but in a manageable amount. Hopefully, updating the libraries to the latest major version (#666) will resolve this problem.

The PR is available for testing at https://sekhar.dev.renku.ch/

@ciyer ciyer requested a review from a team as a code owner October 30, 2019 08:23
@ciyer ciyer added this to the sprint-2019-10-24 milestone Oct 31, 2019
@ciyer ciyer force-pushed the 0-update-libraries branch 3 times, most recently from a39cd96 to ac4b4cc Compare November 1, 2019 10:47
lorenzo-cavazzi
lorenzo-cavazzi previously approved these changes Nov 1, 2019
Copy link
Member

@lorenzo-cavazzi lorenzo-cavazzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't find any relevant issue with the new version of the libraries 🎉

There is only a warning appearing on page load introduced by react 16.9 to inform about the use of deprecated lifecicle functions

Warning: componentWillMount has been renamed, and is not recommended for use.

We should consider removing them.

lorenzo-cavazzi
lorenzo-cavazzi previously approved these changes Nov 1, 2019
@vfried
Copy link
Contributor

vfried commented Nov 4, 2019

All works, as lorenzo said we do get some warning, also when runing tests (for componentWillMount and componentWillReceiveProps) we should make new issues for replacing this.

I also get an error for the notebook display... but the test passes and the notebook files can be displayed.
image

vfried
vfried previously approved these changes Nov 4, 2019
Copy link
Contributor

@vfried vfried left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments on the thread.

lorenzo-cavazzi
lorenzo-cavazzi previously approved these changes Nov 6, 2019
Copy link
Member

@lorenzo-cavazzi lorenzo-cavazzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works fine 🎉

- updated dev libraries
- updated @babel/helper-regex, ajv, apollo-boost, d3, graphql, http-proxy, human-time, uuid
- updated dompurify and showdown
- updated node-sass-chokidar
- update react-media and react-redux
@ciyer
Copy link
Contributor Author

ciyer commented Nov 14, 2019

This has been superseded by #673, which is a superset of these changes.

@ciyer ciyer closed this Nov 14, 2019
@ciyer ciyer deleted the 0-update-libraries branch November 15, 2019 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants