-
Notifications
You must be signed in to change notification settings - Fork 2
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
fix(security): addresses vulnerability identified by snyk #1540
Conversation
50728d1
to
be1388c
Compare
there was a security concern with the previous lodash version. Needed to upgrade @babel/preset-env to resolve
be1388c
to
1e1e551
Compare
@Kajabi/ux-devs I asked you for your review here due to the changes in this commit. I had to fix the lint errors caused by the previous commit to override |
@@ -61,7 +61,7 @@ export const MultipleRadios = (args) => { | |||
<Radio | |||
{...args} | |||
id={`check-${i}`} | |||
key={i.toString()} |
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.
Note: It is not recommended to use an Array index for a key.
https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/no-array-index-key.md
@@ -148,7 +148,7 @@ Description.propTypes = { | |||
className: PropTypes.string, | |||
items: PropTypes.arrayOf(PropTypes.shape({ | |||
action: PropTypes.shape({ | |||
attributes: PropTypes.objectOf(PropTypes.object), |
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.
@@ -95,7 +95,7 @@ export const Carousel = ({ | |||
disabled={arrowNextDisabled} | |||
icon="caret-right" | |||
id="next" | |||
onClickCallback={handleNextArrowClick} |
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.
Note: JSX props should not use functions
https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-no-bind.md
LGTM. |
Jira Ticket
https://kajabi.atlassian.net/browse/SAGE-421
Description
there was a security concern with the previous lodash version we were using. Needed to upgrade @babel/preset-env
to resolve