-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Snyk] Security upgrade onfido-sdk-ui from 13.6.1 to 14.15.0 #37713
[Snyk] Security upgrade onfido-sdk-ui from 13.6.1 to 14.15.0 #37713
Conversation
@marcochavezf Do we need another C+ contributor here? |
@marcochavezf The PR is ready for review |
Validate Github Actions also fails in other PR that change package.json file |
Yeah, @fedirjh could you review this PR? The more 👀 the better |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DylanDylann Can you please include the changelog in the PR description?
It seems that useMemoryHistory
has been deprecated as well.
onUserExit: (userExitCode) => { | ||
Log.hmmm('Onfido user exits the flow', {userExitCode}); | ||
onUserExit(userExitCode); | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
onUserExit
has been deprecated and theuser_consent_denied
type is now returned in theonError
callback
We can probably move onUserExit(userExitCode);
to the onError
callback and check for the error type, if it's a user_consent_denied
type then we trigger the onUserExit
callback.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I updated but I can't find any way to trigger onUserExit (old) and onError with user_consent_denied type
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated but I can't find any way to trigger onUserExit (old) and onError with user_consent_denied type
Not sure how we can test this, but it may be only available in the production environment.
5e523b2
to
ae0c9ca
Compare
@fedirjh Bump on this one |
Reviewer Checklist
Screenshots/VideosAndroid: NativeCleanShot.2024-03-11.at.13.10.30.mp4Android: mWeb ChromeCleanShot.2024-03-11.at.13.15.29.mp4iOS: NativeSimulator.Screen.Recording.-.iPhone.15.Pro.-.2024-03-11.at.14.18.33.mp4iOS: mWeb SafariSimulator.Screen.Recording.-.iPhone.15.Pro.-.2024-03-11.at.13.54.46.mp4MacOS: Chrome / SafariCleanShot.2024-03-11.at.11.20.09.mp4MacOS: DesktopCleanShot.2024-03-11.at.14.25.07.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and test well. @DylanDylann Could you please merge main ?
@fedirjh All done |
Over to you @marcochavezf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just a minor change
@marcochavezf Updated. Passed all tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, thanks guys!
@mkhutornyi Any problem with my change? |
After running npm locally on latest main, that difference comes |
I am not sure why I missed that while executing npm install. I created a new PR to remove that. Thanks for your reminder |
@DylanDylann @fedirjh I've noticed some UI updates in Onfido functionality on the latest main. I guess it's caused by this PR. Is it something expected? Could you check it, please? |
🚀 Deployed to staging by https://github.com/marcochavezf in version: 1.4.51-0 🚀
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.4.51-3 🚀
|
@DylanDylann Have you had a chance to take a look at my comment? |
@VickyStash I don't see any problem with the link color (even though when hovering). Could you help to check again? Screen.Recording.2024-03-14.at.15.24.09.mov |
@DylanDylann Links look okay for me as well now, but I still see the black border |
@DylanDylann oh, nvm, I saw your comment in my PR 👌 |
Details
- package.json
- package-lock.json
Vulnerabilities that will be fixed
With an upgrade:
(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.
Fixed Issues
$ #37076
PROPOSAL: NA
Tests
Ensure Onfido is not broken for the flows where we add a bank account
Offline tests
QA Steps
Ensure Onfido is not broken for the flows where we add a bank account
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Screen.Recording.2024-03-05.at.23.51.30.mov
Android: mWeb Chrome
Screen.Recording.2024-03-05.at.23.40.09.mov
iOS: Native
Screen.Recording.2024-03-05.at.23.42.52.mov
iOS: mWeb Safari
Screen.Recording.2024-03-05.at.23.35.06.mov
MacOS: Chrome / Safari
ConnectBankAccount.mp4
MacOS: Desktop
Screen.Recording.2024-03-05.at.23.33.44.mov