DFE-Digital / service-assessment-service

Service to book, manage, assess, and report on Service Assessments
MIT License
3 stars 2 forks source link

Bump govuk-frontend from 4.8.0 to 5.4.1 in /src/ServiceAssessmentService/ServiceAssessmentService.WebApp #336

Open dependabot[bot] opened 4 months ago

dependabot[bot] commented 4 months ago

Bumps govuk-frontend from 4.8.0 to 5.4.1.

Release notes

Sourced from govuk-frontend's releases.

GOV.UK Frontend v5.4.1

To install this version with npm, run npm install govuk-frontend@5.4.1. You can also find more information about how to stay up to date in our documentation.

Recommended changes

Update Breadcrumbs to use nav and aria-label

We've made changes to the Breadcrumbs component to improve how it appears to screen readers.

We've changed the wrapping element to use the nav tag to expose it as a navigational landmark, and added an aria-label attribute to differentiate it as breadcrumb navigation.

This change was introduced in [pull request #4995: Update Breadcrumb component to improve screen reader accessibility](alphagov/govuk-frontend#4995).

Fixes

We've made fixes to GOV.UK Frontend in the following pull requests:

GOV.UK Frontend v5.4.0

To install this version with npm, run npm install govuk-frontend@5.4.0. You can also find more information about how to stay up to date in our documentation.

This release includes new features to help you include only the components your service uses. Doing this can help reduce the size of the JavaScript and CSS files sent to users, improving their experience.

New features

Create individual components with createAll

We've added a new createAll function that lets you initialise specific components in the same way that initAll does.

The createAll function will:

  • find all elements in the page with the corresponding data-module attribute
  • instantiate a component object for each element
  • catch errors and log them in the console
  • return an array of all the successfully instantiated component objects.
import { createAll, Button, Checkboxes } from 'govuk-frontend'

createAll(Button) createAll(Checkboxes)

You can also pass a config object and a scope within which to search for elements.

... (truncated)

Changelog

Sourced from govuk-frontend's changelog.

5.4.1 (Fix release)

Recommended changes

Update Breadcrumbs to use nav and aria-label

We've made changes to the Breadcrumbs component to improve how it appears to screen readers.

We've changed the wrapping element to use the nav tag to expose it as a navigational landmark, and added an aria-label attribute to differentiate it as breadcrumb navigation.

This change was introduced in [pull request #4995: Update Breadcrumb component to improve screen reader accessibility](alphagov/govuk-frontend#4995).

Fixes

We've made fixes to GOV.UK Frontend in the following pull requests:

5.4.0 (Feature release)

To install this version with npm, run npm install govuk-frontend@5.4.0. You can also find more information about how to stay up to date in our documentation.

This release includes new features to help you include only the components your service uses. Doing this can help reduce the size of the JavaScript and CSS files sent to users, improving their experience.

New features

Create individual components with createAll

We've added a new createAll function that lets you initialise specific components in the same way that initAll does.

The createAll function will:

  • find all elements in the page with the corresponding data-module attribute
  • instantiate a component object for each element
  • catch errors and log them in the console
  • return an array of all the successfully instantiated component objects.
import { createAll, Button, Checkboxes } from 'govuk-frontend'

createAll(Button) createAll(Checkboxes)

You can also pass a config object and a scope within which to search for elements.

... (truncated)

Commits
  • b985ba6 Merge pull request #5129 from alphagov/fix-dist-assets-encoding
  • e5bfa93 build dist
  • fd605a1 Fix encoding of assets when Gulp copies them for release
  • 2852b38 Merge pull request #5128 from alphagov/release-5.4.1
  • 720a7b3 Release v5.4.1
  • f9cb862 Merge pull request #4998 from alphagov/5.4.0-changelog-amend-import
  • 46df0c7 Merge pull request #5114 from colinrotherham/small-checkboxes-divider
  • 800b043 Add CHANGELOG entry
  • 3dd8056 Merge pull request #5126 from alphagov/dependabot/npm_and_yarn/webpack-5.92.1
  • e2096d4 Merge pull request #5121 from alphagov/dependabot/npm_and_yarn/nodemon-3.1.4
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)