-
Notifications
You must be signed in to change notification settings - Fork 31
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
Upgrade dependencies #480
Upgrade dependencies #480
Conversation
1603561
to
6c386c8
Compare
Addresses code climate warning
cd9a706
to
709934b
Compare
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.
Few different things going on in this PR but looks good. Not quite sure where the problem came from with the empty anonymous functions?
@@ -18,7 +18,9 @@ describe('TabSet', () => { | |||
beforeEach(() => { | |||
const props = { | |||
className: 'rn-tab-set--modifier', | |||
onChangeCallback: () => {}, | |||
onChangeCallback: () => { | |||
return true |
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 assume the empty functions here are just being used to stop it from failing loudly where a prop is required? Is this change because of a new lint rule or were these warnings?
Related issue
#481
Overview
Upgrading dependencies
Note that
eslint-plugin-import
has not been upgraded due to a bug which has been fixed but not released.Change also addresses a security vulnerability in serialize-javascript.
A mistake was found in the
Button
documentation asonClick
is not required.Reason
Security
Work carried out
Screenshot
No visual difference.
Developer notes
After making changes to
TextInput
andTextArea
, these components needed refactoring in order to reduce code complexity.