[Snyk] Upgrade govuk-frontend from 5.13.0 to 5.14.0#2008
Open
ccs-snyk wants to merge 1 commit intodevelopmentfrom
Open
[Snyk] Upgrade govuk-frontend from 5.13.0 to 5.14.0#2008ccs-snyk wants to merge 1 commit intodevelopmentfrom
ccs-snyk wants to merge 1 commit intodevelopmentfrom
Conversation
Snyk has created this PR to upgrade govuk-frontend from 5.13.0 to 5.14.0. See this package in npm: govuk-frontend See this project in Snyk: https://app.snyk.io/org/crowncommercialservice/project/978c8216-fbcb-4b05-8584-75001bb82496?utm_source=github&utm_medium=referral&page=upgrade-pr
Author
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
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 govuk-frontend from 5.13.0 to 5.14.0.
ℹ️ 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 1 version ahead of your current version.
The recommended version was released 22 days ago.
Release notes
Package name: govuk-frontend
-
5.14.0 - 2026-01-14
- #6527: Allow false value to turn off contentLicence in GOV.UK Footer – thanks to @ NickColley for making this change.
- #6586: Use
- #6351: Preserve already escaped
- #6438: Fix pagination outputting empty links when provided a null or empty value – thanks to @ NikhilNanjappa for reporting this issue.
- #6531: Prevent date inputs shifting alignment on iOS 18 – thanks to @ rowellx68 for reporting this issue and @ colinrotherham for suggesting the fix.
- #6528: Fix hover state on focused small radios
- #6529: Fix rebranded header background being visible when printed – thanks to @ lewis-softwire for reporting this issue.
- #6462: Update HMRC brand colour
- #6539: Fix skip link outline being clipped in forced colours mode
-
5.13.0 - 2025-10-10
.element {
$component-breakpoints: (
- #6264: Add media query functions.
- #6265: Rewrite
- #6223: Account for multiple attribute when enhancing a File Input. Thanks to @ deberny for reporting this issue.
- #6297: Output deprecation warning if $govuk-show-breakpoints is true
- #6304: Fix long filenames in enhanced file upload not wrapping. Thanks to @ wardt7 for reporting this issue.
from govuk-frontend GitHub release notesNew features
The GOV.UK footer component now allows the removal of content licence information
If your service does not provide information under the Open Government Licence (OGL), you can now remove the content licence information from the GOV.UK footer.
If you use Nunjucks, set the
contentLicenceparameter tonull:We introduced this feature in the following pull requests:
nullrather thanfalseto hide the content licence – thanks to @ gunndabad for reporting this issue.Recommended changes
Add
aria-hidden="true"to the Service navigation's menu toggleThe VoiceOver screen reader software for macOS and iPadOS contains bugs that make the menu toggle in the Service navigation accessible to VoiceOver users, even if the button has a
hiddenattribute.If you use Nunjucks, you do not have to do anything.
If you do not use Nunjucks to generate your components' HTML, add an
aria-hidden="true"attribute to the hidden<button>element of the Service navigation. This means the button will remain hidden for VoiceOver users.We made this change in pull request #6469: Fix VoiceOver access to
hiddenService Navigation menu button.Fixes
We've made fixes to GOV.UK Frontend in the following pull requests:
attributesvalues to prevent double escapingTo install this version with npm, run
npm install govuk-frontend@5.13.0. You can also find more information about how to stay up to date in our documentation.New features
Use Sass functions to create custom media queries
We've added new Sass functions to help write
@ mediaand@ containerqueries, mixins and functions whilst still using GOV.UK Frontend's$govuk-breakpointssetting.You can create
min-widthandmax-widthqueries using thegovuk-from-breakpointandgovuk-until-breakpointfunctions:color: red;
@ media #{govuk-from-breakpoint(mobile)} and #{govuk-until-breakpoint(desktop)} {
color: blue;
}
}
You can get the configured value of a breakpoint using
govuk-breakpoint-value:Each of these functions allows for passing a custom breakpoint map. This can be useful if a particular component needs to change layout at different dimensions to the rest of the site and for authoring
@ containerqueries.small: 300px,
medium: 500px,
large: 750px
);
.element {
color: red;
@container #{govuk-from-breakpoint(small, $component-breakpoints)} {
color: blue;
}
}
We've rewritten the internals of the
govuk-media-querymixin to make use of these new functions. The rewritten mixin should work identically and return the same CSS as the previous version, but you may want to make sure that your existing media queries work as expected.We made these changes in the following pull requests:
govuk-media-query, remove dependency onsass-mq.Recommended changes
Rename ellipses HTML class in pagination to ellipsis
Within the pagination component, change the
govuk-pagination__item--ellipsesclass togovuk-pagination__item--ellipsis.We introduced this change in pull request #5882: Rename ellipses html class to ellipsis. Thanks to @ frankieroberto for making this change.
Fixes
Important
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: