Skip to content

LG-3756: Bump NPM packages with minor version outdated#4534

Merged
aduth merged 1 commit intomasterfrom
aduth-bump-minor-pkg
Dec 29, 2020
Merged

LG-3756: Bump NPM packages with minor version outdated#4534
aduth merged 1 commit intomasterfrom
aduth-bump-minor-pkg

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Dec 28, 2020

Why: As a user, I want login.gov to not have unused or out of date apps, so that I can use the fastest and most secure app possible.

Lower-risk than bumping packages with major-version updates, which may warrant updates in individualized pull requests.

Excludes hint.css as this will be addressed separately, either by using USWDS (#4529) or removing tooltips altogether.

Specifics:

cleave.js

focus-trap

libphonenumber-js

@aduth aduth force-pushed the aduth-bump-minor-pkg branch from 7ee5ded to 143348f Compare December 28, 2020 16:23
Copy link
Contributor

@mitchellhenke mitchellhenke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼

yarn.lock Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no more dependencies? 😍

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no more dependencies? 😍

I think it's one of those cases where the project author mistakenly listed what should have been devDependencies as regular dependencies. At least, I still see minimist defined as a devDependencies of the project (source).

In other words, we probably won't see any direct benefit to runtime bundle size. But from a developer's perspective, we're downloading a bit less when we run yarn install.

@aduth aduth force-pushed the aduth-bump-minor-pkg branch from 143348f to ee268ab Compare December 28, 2020 18:41
**Why**: As a user, I want login.gov to not have unused or out of date apps, so that I can use the fastest and most secure app possible.

Lower-risk than bumping major packages, which may warrant updates in individualized pull requests.

Excludes `hint.css` as this will be addressed separately, either by using USWDS (#4529) or removing tooltips altogether.

Specifics:

cleave.js

- Changelog: https://github.com/nosir/cleave.js/releases
- Testing: Check that auto-formatted fields (SSN, TOTP, etc) continue to work as expected

focus-trap

- Changelog: https://github.com/focus-trap/focus-trap/blob/master/CHANGELOG.md
- Testing: Check that session timeout modal and IAL2 Acuant mobile capture continue to trap focus and work as expected

libphonenumber-js

- Changelog: https://gitlab.com/catamphetamine/libphonenumber-js/-/blob/master/CHANGELOG.md
- Testing: Check that phone number validation when adding a phone number continues to validate numbers correctly
@aduth aduth force-pushed the aduth-bump-minor-pkg branch from ee268ab to 0838c60 Compare December 29, 2020 14:15
@aduth aduth merged commit ab1c195 into master Dec 29, 2020
@aduth aduth deleted the aduth-bump-minor-pkg branch December 29, 2020 14:28
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.

2 participants