Repository navigation
[Snyk] Upgrade @uswds/uswds from 3.4.1 to 3.8.1 - #4
Open
sennhann29 wants to merge 1 commit into
Open
sennhann29 wants to merge 1 commit into
sennhann29 wants to merge 1 commit into
Conversation
Snyk has created this PR to upgrade @uswds/uswds from 3.4.1 to 3.8.1. See this package in npm: @uswds/uswds See this project in Snyk: https://app.snyk.io/org/sennhann29/project/c5af290b-84f8-45f4-ac61-67709c23b8d7?utm_source=github&utm_medium=referral&page=upgrade-pr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.

Snyk has created this PR to upgrade @uswds/uswds from 3.4.1 to 3.8.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 7 versions ahead of your current version.
The recommended version was released on 2 months ago.
Release notes
Package name: @uswds/uswds
What's new in USWDS 3.8.1
Bug fixes
usa-button-groupusa-footerusa-layout-griddependency in the footer package and removed layout grid styles from the footer stylesheet. This update prevents visual regressions in footer and other components with layout grid utility classes in their markup. (#5930)usa-identifierusa-in-page-navigationdata-header-selectorattribute in an in-page navigation JavaScript error message. The error message now correctly references thedata-heading-elementsattribute. (#5856)usa-input-maskusa-tooltipusa-tooltipusa-validationuswds-utilitiesDependencies and security
Thanks @ anselmbradford for the dependency updates!
0vulnerabilities in regular dependencies (dependencies for USWDS projects installed withnpm install @ uswds/uswds)13moderate,28high vulnerabilities in devDependencies (development dependencies).Release TGZ SHA-256 hash:
a86fa133b842ce28d1eed2226216c478debf31bf6c16ffcd96fecf061fdf4583Features
usa-checkbox,uswds-coreinput.indeterminate = truevia JavaScript or add thedata-indeterminateattribute. This is only a style addition and does not affect checkbox functionality. Thanks @ lpsinger! (#5713)usa-in-page-navdata-heading-selectorattribute to designate the heading levels that should be included in the component. By default, the component will pull allH2andH3headers. (#5444)usa-table,uswds-core.usa-table--sticky-headerclass to enable sticky positioning on table headers. Use the new$theme-table-sticky-top-offsetsetting to set the value of the top offset for sticky table headers. (#5420) Thanks @ etanb!usa-table,uswds-core$theme-table-background-colorsetting to set your desired table background color. (#5420)usa-validationtextareasupport to the validation component. (#5233) Thanks @ danbrady!usa-layout-docs,uswds-core$theme-sidenav-reorderfor documentation page sidenav. Use$theme-sidenav-reorderto support old CSS order functionality. This setting can introduce usability issues, so we suggest that teams update their sidenav markup instead. (#5807)Bug fixes
usa-button,uswds-coreusa-iconelements inside ofusa-button. Use the new$theme-button-icon-gapsetting to set the width of the horizontal gap between the button's text and icon. (#5398)usa-button,usa-checkbox,usa-combo-box,usa-file-input,usa-radio,uswds-coreusa-button-groupusa-date-pickerhighlighthigh contrast token on focus. (#5701)usa-footerusa-footer. (#5675)usa-layout-docs,uswds-coreusa-tableBreaking changes
Documentation page template
We're updating the documentation template to better match the HTML order of the side navigation to the visual order at mobile widths. Before USWDS 3.8.0 we used CSS to re-order the sidenav at mobile widths, placing it below the page's main text content. Starting with USWDS 3.8.0, our default styles no longer use CSS to re-order the side navigation. Now, we suggest including a duplicate sidenav after the main text content, using utility classes to hide/show the sidenavs at the proper widths. The example below shows a before/after.
Teams that wish to maintain the old CSS order functionality can temporarily add
$theme-sidenav-reorder: trueto their project settings. This setting reinstates the CSS re-ordering. As we mentioned, this setting can introduce usability issues, so the best long-term solution is to update the sidenav markup instead.Dependencies and security
0vulnerabilities in regular dependencies (dependencies for USWDS projects installed withnpm install @ uswds/uswds)15moderate,25high vulnerabilities in devDependencies (development dependencies).Release TGZ SHA-256 hash:
072f0f8333b1aa000183e00676616d9ff5a174e27ca8d35c130ca70ea5d4f66dWhat's new in USWDS 3.7.1
Features
usa-footerusa-layout-griddependency from theusa-footerpackage. This update reduces the footer package size. Thanks @ danbrady! (#5289)If you notice changes in your layout after making this update, your Sass might be missing the
usa-layout-gridpackage. You can include it by adding@ forward usa-layout-gridto your Sass entry point.Bug fixes
usa-bannerusa-dark-background,usa-section:visitedlink styling inusa-section--darkelements. Thanks @ aduth! (#5567)usa-footerusa-header,usa-navusa-nav__submenuelements should align with other header elements. Thanks @ lpsinger! (#5649)usa-navusa-navusa-nav$theme-max-header-widthfrom accepting a value of"none". (#5624)uswds-core.left-full,.right-full, and.top-fullutility classes. (#5633)Dependencies and security
Thanks @ deckar01 for contributing this dependency update!
0vulnerabilities in regular dependencies (dependencies for USWDS projects installed withnpm install @ uswds/uswds)24moderate,27high vulnerabilities in devDependencies (development dependencies).Release TGZ SHA-256 hash:
6e1d3032e1a7ac614d05fe76c87cc398725d84e5ba0656a7a17c6ca4c7579526What's new in USWDS 3.7.0
Items we've identified with a
Markup changehave a non-breaking change in their component markup. Teams should update their implementations and templates to reflect this change.Features
usa-bannerusa-accordionpackage. (#5551)usa-bannerus_flag_small.pngicon and added a vectorus_flag.svgicon. Update this asset in your project for improved image quality. Thanks @ aduth! (#5542)usa-data-pickerusa-iconusa-modalBug fixes
usa-card$theme-card-padding-yfrom accepting expected token values. (#5571)usa-footerusa-identifieraria-hidden. To improve the screen reader experience, update your component markup. (#5491)usa-rangeusa-rangedata-text-unitanddata-text-prepositionattributes to range slider. When used alongside themaxattribute, the optionaldata-text-unitattribute adds language for the unit type. For example, adding a value of "stars" enables a readout like "3.5 stars of 5". The optionaldata-text-prepositioncreates the ability to customize the language of the preposition "of" in that string. (#5472)usa-site-alertuswds-core$theme-site-margins-widthfrom accepting expected token values. (#5582)Dependencies and security
Updated the default node version from 16 to 20. (#5560)
0vulnerabilities in regular dependencies (dependencies for USWDS projects installed withnpm install @ uswds/uswds)24 moderate, 27 highvulnerabilities in devDependencies (development dependencies)Release TGZ SHA-256 hash:
3806aed4a1affb5dd66fda8a0ecef3c56240242117d7172647c2f1e04c7f62e0What's new in USWDS 3.6.1
Bug fixes
usa-bannericon-dot-gov.svgicon. (#5370)usa-breadcrumb.usa-breadcrumb--wrapvariant. (#5497)usa-cardusa-checkbox,usa-radio,uswds-coreusa-headerusa-modalusa-table,uswds-coreusa-tooltipopacity: 0style rule to the tooltip body's initial state. This prevents the component from flickering if its position needs to be recalculated. (#5475)Dependencies and security
No dependency updates.
0vulnerabilities in regular dependencies (dependencies for USWDS projects installed withnpm install @ uswds/uswds)1 moderate, 29 highvulnerabilities in devDependencies (development dependencies)Release TGZ SHA-256 hash:
01d5885a524db30d826dff9c67cd4ac66e431ffc86f01f3a9672f096da9ac7faWhat's new in USWDS 3.6.0
Features
usa-in-page-navigationdisplay:noneorvisibility:hiddenwill now be excluded from the list of links in the component. (#5393)usa-in-page-navigationdata-main-content-selectorattribute to the in-page navigation component. This attribute allows users to designate which element they want the component to pull headers from. If the attribute is not defined, the component will pull headers from the<main>element. (#5387)usa-selectBug fixes
usa-button,usa-checkbox,usa-combo-box,usa-file-input,usa-input,uswds-core$theme-color-disabled-lighterand$theme-color-disabled-darkersettings, and addeddisabled-lighteranddisabled-darkertokens.usa-pagination$theme-pagination-background-color. Users should confirm that project pagination colors display as expected. (#5358)usa-card,uswds-core$theme-card-border-widthfrom accepting0or string tokens. (#5325)usa-combo-box,usa-input,usa-input-prefix-suffix,usa-range,usa-select,usa-textarea,uswds-coreusa-icon-list$theme-body-font-sizeto accept2xsand3xssize tokens. (#5363)usa-input-maskusa-memorable-date