[Snyk] Upgrade @uswds/uswds from 3.8.0 to 3.8.2#25
Merged
lane-formio merged 1 commit intomainfrom Oct 11, 2024
Merged
Conversation
Snyk has created this PR to upgrade @uswds/uswds from 3.8.0 to 3.8.2. See this package in npm: @uswds/uswds See this project in Snyk: https://app.snyk.io/org/travist-ulg/project/eeb4c0d9-fcd7-4f21-82a6-1086318fd04d?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.
Snyk has created this PR to upgrade @uswds/uswds from 3.8.0 to 3.8.2.
ℹ️ 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 2 versions ahead of your current version.
The recommended version was released on 22 days ago.
Issues fixed by the recommended upgrade:
SNYK-JS-DOMPURIFY-6474511
Release notes
Package name: @uswds/uswds
-
3.8.2 - 2024-08-09
Dependency name
Previous version
New version
classlist-polyfill
1.2.0
--
-
3.8.1 - 2024-05-31
Package
A11Y
Breaking
Markup change
Description
—
—
—
Improved styles for nested button groups. Now, nested button groups should match the height of their parents. (#5885)
—
—
—
Restored the
—
—
Yes
Fixed a bug that added the English word "An" to Spanish variants of the identifier component. This was accidentally added to our component preview templates because of a data error. (#5857)
—
—
—
Updated an outdated reference to the
—
—
—
Fixed a bug that caused input mask to break when it is not a direct child of a form. Nested input masks will now initialize and work properly. Thanks @ chrislarrycarl! (#5518)
Yes
—
—
Updated the behavior of the tooltip component to allow users to hover over tooltip content. This allows the component to meet the "hoverable" standard outlined in WCAG 1.4.13. (#5919)
Yes
—
—
Updated tooltip component behavior to close active tooltips when the escape key is pressed. This allows the component to meet the "dismissible" standard outlined in WCAG 1.4.13. (#5909)
Yes
—
—
Fixed a bug that caused non-interactive checklist items in the validation component to receive focus. Now, only the interactive input will receive focus. (#5835)
—
—
—
Updated the code comments on utility Sass partials. These comments now reflect the correct utility class names and values. Thanks @ aduth! (#5859)
Dependency name
Previous version
New version
@ 18f/identity-stylelint-config
2.0.0
4.0.0
@ babel/core
7.23.6
7.24.5
@ babel/preset-env
7.23.6
7.24.5
@ types/node
20.10.4
20.12.11
autoprefixer
10.4.16
10.4.19
axe-core
4.8.2
4.9.1
eslint
8.55.0
8.56.0
eslint-plugin-import
2.29.0
2.29.1
html-webpack-plugin
5.5.4
5.6.0
mocha
10.2.0
10.4.0
postcss
8.4.32
8.4.38
postcss-discard-comments
6.0.0
6.0.2
postcss-preset-env
9.3.0
9.5.11
prettier
2.8.8
3.2.5
sass
1.69.5
1.77.0
sass-embedded
1.69.5
1.77.0
snyk
1.1262.0
1.1291.0
stylelint
15.11.0
16.5.0
svgo
3.1.0
3.3.2
typescript
5.3.3
5.4.5
webpack
5.89.0
5.91.0
-
3.8.0 - 2024-03-11
Package
A11y
Breaking
Markup change
Description
-
-
-
Added styles for indeterminate checkboxes. Checkboxes will now display as indeterminate when you set
-
-
-
Added the ability to customize which headings will be pulled into the in-page navigation link list. Use the optional
-
-
-
Added a sticky header variant to the table component. Use the new
Added the ability to customize the table background color at a theme level. Use the
-
-
-
Added
Yes
Yes
Yes
Added
Package
A11y
Breaking
Markup change
Description
-
-
-
Improved the vertical alignment of
Yes
-
-
Added automated color contrast checks for disabled tokens. On compilation, USWDS will test disabled element color contrast and provide a fallback color if minimum contrast is not met. If the fallback also fails to meet minimum contrast requirements, the system will provide a warning in the terminal. (#5455)
-
-
-
Improved the appearance of button groups when button text wraps to multiple lines. Now, every button in the group will be the same height. (#5657) Thanks @ aduth!
Yes
-
-
Added focus styles to the calendar button in high contrast mode. Now, the calendar icon changes to the
-
-
-
Fixed a bug that caused some grid utility classes to be ignored when used inside
Yes
Yes
Yes
Updated the order of the side navigation markup on the documentation page template. Now, the HTML order of the page matches the visual order at narrow screen widths. (#5794)
Yes
-
Yes
Simplified the structure of the scrollable table component example. This removes some accessibility errors related to incomplete table markup. (#5783)
Dependency name
Previous version
New version
@ babel/core
7.23.2
7.23.6
@ babel/preset-env
7.23.2
7.23.6
@ types/node
20.8.9
20.10.4
eslint
8.52.0
8.55.0
eslint-config-prettier
9.0.0
9.1.0
gulp-mocha
8.0.0
9.0.0
handlebars-helpers
0.10.0
--
html-webpack-plugin
5.5.3
5.5.4
postcss
8.4.31
8.4.32
postcss-import
--
15.1.0
postcss-preset-env
9.2.0
9.3.0
postcss-sass-loader
1.1.0
--
resolve-url-loader
4.0.0
5.0.0
sass
--
1.69.5
snyk
1.1237.0
1.1262.0
svgo
3.0.2
3.1.0
typescript
5.2.2
5.3.3
from @uswds/uswds GitHub release notesWhat's new in USWDS 3.8.2
Dependencies and security
Removed the
classlist-polyfilldependency. This update resolves a Denial of Service (DoS) vulnerability related to theclasslist-polyfilldependency that we do not consider exploitable on the front end of applications. (#6012)Important
This release may affect some functionality in Internet Explorer 11 (IE11). This update removes the polyfill that added full
classListsupport to IE11. USWDS no longer supports IE11, but if your project does, test if this update negatively affects your users and add additional support forclassListif it does.Thanks @ aduth for the initial work on removing this dependency.
0vulnerabilities in regular dependencies (dependencies for USWDS projects installed withnpm install @ uswds/uswds)5low,11moderate,44high vulnerabilities in devDependencies (development dependencies).Release TGZ SHA-256 hash:
94049e150c2a67dfdb75f140fc664d2e936ef652480a2f88dfdd96922e0a940cWhat'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:
072f0f8333b1aa000183e00676616d9ff5a174e27ca8d35c130ca70ea5d4f66dImportant
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: