chore: update version of velocity-react to 1.4.1 #4442
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Impact: minor
Type: chore
Issue
The version of
velocity-react
we've been using is out of date and depends on an old version oflodash
which has a snyk reported medium severity vulnerability.Solution
This bumps the version of
velocity-react
to the latest version which includes updating the lodash dependencyBreaking changes
none
Notes
There are only 6 places in the app that we use Velocity and it's a heavier package. It would be ideal to eliminate the dependency on this package entirely and animate using CSS transitions where possible or eliminate complex animations requiring a package like this from core. That task has been created as a ticket here: #4441
Testing
The animations using velocity are contained in one of 6 files