[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#37713marcochavezf merged 8 commits intoExpensify:mainfrom
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 |
fedirjh
left a comment
There was a problem hiding this comment.
@DylanDylann Can you please include the changelog in the PR description?
It seems that useMemoryHistory has been deprecated as well.
There was a problem hiding this comment.
onUserExithas been deprecated and theuser_consent_deniedtype is now returned in theonErrorcallback
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.
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.
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 |
fedirjh
left a comment
There was a problem hiding this comment.
Looks good and test well. @DylanDylann Could you please merge main ?
|
@fedirjh All done |
|
Over to you @marcochavezf |
marcochavezf
left a comment
There was a problem hiding this comment.
LGTM, just a minor change
|
@marcochavezf Updated. Passed all tests |
|
@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 Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.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