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

Replacing underscore with vanilla JavaScript. #461

Merged
merged 12 commits into from
May 8, 2024

Conversation

erinesullivan
Copy link
Contributor

@erinesullivan erinesullivan commented May 8, 2024

Overview

underscore is an old library that provided many complex functions which can now be accomplished with modern JavaScript. This pull request replaces all uses of underscore with vanilla JavaScript, and uninstalls the package.

core-js

core-js has been uninstalled as it was not being used anywhere.

Anything else?

Some unused functions were deleted. A couple of CSS bugs were also fixed.

Testing

  • Make sure the PR is consistent in these browsers:
    • Chrome
    • Firefox
    • Safari
    • Edge
  • Run accessibility tests:
    • WAVE
    • ARC Toolkit
    • axe DevTools
  • Look around the site and see if anything is broken.

@erinesullivan erinesullivan added Type: Bug Type: Performance dependencies Pull requests that update a dependency file labels May 8, 2024
@erinesullivan erinesullivan self-assigned this May 8, 2024
@erinesullivan erinesullivan merged commit f92eb32 into master May 8, 2024
6 checks passed
@erinesullivan erinesullivan deleted the replace-underscore-part-1 branch May 8, 2024 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file Type: Bug Type: Performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant