Skip to content
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

Merged
merged 5 commits into from Dec 10, 2019
Merged

Upgrade dependencies #480

merged 5 commits into from Dec 10, 2019

Conversation

thyhjwb6
Copy link
Collaborator

@thyhjwb6 thyhjwb6 commented Dec 9, 2019

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 as onClick is not required.

Reason

Security

Work carried out

  • Upgrade dependencies
  • Address security vulnerability

Screenshot

No visual difference.

Developer notes

After making changes to TextInput and TextArea, these components needed refactoring in order to reduce code complexity.

@thyhjwb6 thyhjwb6 changed the title [WIP] Upgrade dependencies Upgrade dependencies Dec 10, 2019
@thyhjwb6 thyhjwb6 marked this pull request as ready for review December 10, 2019 14:40
Copy link
Member

@m7kvqbe1 m7kvqbe1 left a 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
Copy link
Member

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?

@thyhjwb6 thyhjwb6 merged commit 79b7e82 into develop Dec 10, 2019
@thyhjwb6 thyhjwb6 deleted the feature/upgrade-dependencies branch December 10, 2019 15:04
@thyhjwb6 thyhjwb6 mentioned this pull request Dec 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants