-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[Snyk] Fix for 1 vulnerabilities #21154
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
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-SEMVER-3247795
|
@arosiclair Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
| "@storybook/builder-webpack5": "^6.5.10", | ||
| "@storybook/manager-webpack5": "^6.5.10", | ||
| "@storybook/react": "^6.5.9", | ||
| "@storybook/react": "^7.0.0", |
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.
This seems like a major change. Need to test storybook thoroughly.
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 am not able run storybook
After npm run storybook:
sh: start-storybook: command not found
This seems replaced or deprecated in v7
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.
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.
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.
That fix looks good. The rest of the migration looks fairly involved do you think you can handle it?
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 am not able to continue commit on this PR as I don't have permission. If I handle it, should raise new PR.
It would be good if you can commit here. I will do test.
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.
This fix is low priority so I wouldn't take this. We can open a new Bug and have a contributor implement and test (you could take it if you'd like). However, let me ask internally if this is even worth the time first
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 tried above solution today but faced another issue.
Maybe it's worth fixing because storybook version update will be needed one day, though it's low priority.
I think we can open this for proposals.
|
Took a closer look at this. The vulnerability is specifically for a number of
Since merging this is non-trivial with the breaking change. I'm leaning towards closing this out instead |
|
Also, |
|
Asked internally and we agreed not to merge since there's little to no risk (link). So closing this out. |
Details
Vulnerabilities that will be fixed
With an upgrade:
SNYK-JS-SEMVER-3247795
Check the changes in this PR to ensure they won't cause issues with your project.
Fixed Issues
$ #21155
PROPOSAL: https://github.com/Expensify/App/issues/21155_ISSUE(COMMENT)
Tests
Offline tests
QA Steps
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)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)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
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android