-
Notifications
You must be signed in to change notification settings - Fork 16
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
USWDS-Compile - POAM: December '24 #130
Conversation
Hi @mahoneycm, hope you don't mind some outside input. I see that a "light touch" approach was taken in #126 . I would normally agree, but it seems like the sass folks have been on a deprecation spree since v1.77. (My personal projects using bootstrap have similarly been affected.) Is there a chance the USWDS team could consider using option Or if you'd like to let end users make an informed decision for themselves about whether to silence or show deprecation warnings, introducing Thanks! |
Hey there @mdmower-csn! I appreciate the recommendation! We actually discussed all the new deprecation messages and how we would like to handle them yesterday and both of your suggestions were considered! I'm going to experiment with them both a bit today and share my findings with the team. As a user, do you have a preference? I think I lean towards the option for users to silence the warnings themselves. While testing, I found silencing the deprecations in compile would also silence any warnings found in custom CSS that the users would need to resolve themselves and I don't want users to be blindsided when Sass Let me know what you think! |
Excellent, glad to hear it!
Thanks for pointing out the issue where deprecations are silenced for user SCSS as well. That sways me the most towards letting end users define sass options. I played around with this for a while today and this seemed like the right balance of "good out of box experience" and "let the user choose the right level of warnings for themselves": mdmower-csnw@1a02189 |
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.
@mahoneycm, LGTM! Ran fine and not seeing any regressions on site.
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.
Looks good to me!
- Confirmed I can run
npm install
without error. - Confirmed I can run gulp commands after installing on uswds-sandbox
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.
LGTM
Summary
POAM dependency updates for November + December 2024.
Related issue
USWDS-Team - POAM: December 2024
Vulnerabilities
No changes in vulnerabilities
Major changes
sass-emedded
version brings on new sass deprecation warningsNew sass deprecation warnings
We have a handful of new sass warnings that are repeated throughout build process:
Deprecations were added to uswds/uswds#6104 to resolve. We can also chose to silence these deprecations for downstream users if we would like, or alternatively, we can choose to not update sass until deprecations are handled.
Dependency updates
Testing instructions
Tip
To reduce review time, I have updated the November PR which had not been merged yet. Because of this, you'll see
cm-poam-nov-24
as the branch name. I have updated the branch with the latest changes from December.main
branch, run:npm install "https://github.com/uswds/uswds-compile/tree/cm-poam-nov-24" --save