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

Remove styled-components package #139488

Merged
merged 2 commits into from
Nov 2, 2023
Merged

Remove styled-components package #139488

merged 2 commits into from
Nov 2, 2023

Conversation

benmartin-coforma
Copy link
Contributor

Description

This PR removes styled-components from CARTS.

styled-components has a reported "vulnerability": when installing certain versions, if it believes you are in Russia, it will print out a protest message regarding Ukraine. I don't personally see a problem with this, but our security scans do.

As it happens, we don't actually use styled-components within CARTS; it is installed and then ignored. So I'm taking this as an opportunity to dismount the dependency upgrade treadmill, for this package at least.

Related ticket(s)

CMDCT-2855


How to test

  • Observe that the app builds without error
  • Observe that all tests pass
  • Click around in the app, and observe that everything seems to render fine

Important updates

N/A


Author checklist

  • I have performed a self-review of my code
  • [ ] I have added thorough tests, if necessary
  • [ ] I have updated relevant documentation, if necessary

gmrabian
gmrabian previously approved these changes Oct 16, 2023
Copy link
Contributor

@gmrabian gmrabian left a comment

Choose a reason for hiding this comment

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

Didn't see any degradation
Also
✊ 🇺🇦 🌻

BearHanded
BearHanded previously approved these changes Oct 30, 2023
@benmartin-coforma benmartin-coforma dismissed stale reviews from BearHanded and gmrabian via 52b84f9 November 1, 2023 22:34
@benmartin-coforma
Copy link
Contributor Author

I had to merge main & re-run yarn in ui-src. I'm setting this to auto-merge once it gets another approval, because it already had two.

@benmartin-coforma benmartin-coforma enabled auto-merge (squash) November 1, 2023 22:35
Copy link

codeclimate bot commented Nov 1, 2023

Code Climate has analyzed commit 52b84f9 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (90% is the threshold).

This pull request will bring the total coverage in the repository to 61.9% (0.0% change).

View more on Code Climate.

@benmartin-coforma benmartin-coforma merged commit bfa305b into main Nov 2, 2023
14 checks passed
@benmartin-coforma benmartin-coforma deleted the no-styled-components branch November 2, 2023 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review Ready for all the reviews!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants