Update all non major NPM dependencies #1021
Open
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 contains the following updates:
7.25.9
->7.26.4
1.18.0
->1.18.1
20.17.5
->20.17.11
4.5.0
->4.6.0
1.7.7
->1.7.9
13.15.2
->13.17.0
16.4.5
->16.4.7
3.6.3
->3.7.0
4.21.1
->4.21.2
5.3.1
->5.7.1
9.1.6
->9.1.7
15.2.10
->15.3.0
13.5.5
->13.5.6
20.18.0
->20.18.1
3.1.7
->3.1.9
1.80.5
->1.83.0
5.6.3
->5.7.2
Release Notes
babel/babel (@babel/traverse)
v7.26.4
Compare Source
↩️ Revert
babel-traverse
v7.26.3
Compare Source
🐛 Bug Fix
babel-generator
🏠 Internal
babel-helper-builder-binary-assignment-operator-visitor
,babel-plugin-transform-exponentiation-operator
🏃♀️ Performance
babel-generator
babel-traverse
babel-plugin-transform-modules-commonjs
simplifyAccess
(@liuxingbaoyu)node-modules/agentkeepalive (agentkeepalive)
v4.6.0
Compare Source
==================
features
7d79ddd
] - feat: exportHttpAgent
as standalone class to avoid namespace clutter and support ESM style imports (#119) (Radoslav Kirilov <[email protected]>)axios/axios (axios)
v1.7.9
Compare Source
Reverts
Contributors to this release
v1.7.8
Compare Source
Bug Fixes
globalThis.TextEncoder
when available (#6634) (df956d1)Contributors to this release
cypress-io/cypress (cypress)
v13.17.0
Compare Source
Changelog: https://docs.cypress.io/app/references/changelog#13-17-0
v13.16.1
Compare Source
Changelog: https://docs.cypress.io/app/references/changelog#13-16-1
v13.16.0
Compare Source
Changelog: https://docs.cypress.io/guides/references/changelog#13-16-0
motdotla/dotenv (dotenv)
v16.4.7
Compare Source
Changed
.tap
folder when publishing. (oops, sorry about that everyone. - @motdotla) #848v16.4.6
Compare Source
Changed
import-js/eslint-import-resolver-typescript (eslint-import-resolver-typescript)
v3.7.0
Compare Source
Minor Changes
#326
93ea130
Thanks @SukkaW! - This version has implemented theeslint-plugin-import-x
's v3 resolver interface. This allows you to use import/require to referenceeslint-import-resolver-typescript
directly in your ESLint flat config:Previously
Now
Note that this only works with
eslint-plugin-import-x@>=4.5.0
. You can't usecreateTypeScriptImportResolver
with the older versions ofeslint-plugin-import-x
or any existing versions ofeslint-plugin-import
.expressjs/express (express)
v4.21.2
Compare Source
alphagov/govuk-frontend (govuk-frontend)
v5.7.1
Compare Source
To install this version with npm, run
npm install [email protected]
. You can also find more information about how to stay up to date in our documentation.Recommended changes
Stop setting a
value
for File upload componentsThe File upload component currently supports a
value
parameter, which populates thevalue
HTML attribute of the input.However, since no modern browser supports passing a
value
to a file input, we've made the decision to remove this parameter. It has been deprecated and will be removed in a future version of GOV.UK Frontend.We introduced this change in pull request #5330: Deprecate File upload component's
value
parameter.Fixes
We've made fixes to GOV.UK Frontend in the following pull requests:
v5.7.0
Compare Source
To install this version with npm, run
npm install [email protected]
. You can also find more information about how to stay up to date in our documentation.New features
The Royal Arms has been updated
The Royal Arms in the GOV.UK footer has been updated to reflect the version introduced by King Charles III.
If your service does not use the image directly from the Frontend package, you should ensure the new image is being copied to your service’s image assets folder. By default this folder is located at
/assets/images
.If you’re using Nunjucks, the asset path may have been changed by the
assetPath
global variable orassetsPath
parameter on the header component.Copy the
govuk-crest.svg
file from/dist/assets/images
into your assets folder.You can safely delete the old image files, named
govuk-crest.png
andgovuk-crest-2x.png
.We introduced this change in pull request #5376: Update the Royal Arms graphic in footer (v5.x).
Components will not longer initialise twice on the same element
GOV.UK Frontend components now throw an error if they've already been initialised on the DOM Element they're receiving for initialisation.
This prevents components from being initialised more than once and therefore not working properly.
We introduced this change in pull request #5272: Prevent multiple initialisations of a single component instance
Respond to initialisation errors when using
createAll
andinitAll
We've added a new
onError
option forcreateAll
andinitAll
that lets you respond to initialisation errors.The functions will continue catching errors and initialising components further down the page if one component fails to initialise,
but this option will let you react to a component failing to initialise. For example, to allow reporting to an error monitoring service.
We introduced this change in:
onError
tocreateAll
onError
toinitAll
Check if GOV.UK Frontend is supported
We've added the
isSupported
function to let you check if GOV.UK Frontend is supported in the browser running your script.GOV.UK Frontend components have been checking this automatically since the release of v5.0.0, but you may want to use the
isSupported
function to avoid running some code when GOV.UK Frontend is not supported.We introduced this change in pull request #5250: Add
isSupported
toall.mjs
Use our base component to build your own components
We've added a
Component
class to help you build your own components. It allows you to focus on your components' specific features by handling these shared behaviours across components:this.$root
We introduced this change in:
Component
class.GOVUKFrontendComponent
New brand colour
We've added a brand colour for the Serious Fraud Office in pull request #5389.
Fixes
We've made fixes to GOV.UK Frontend in the following pull requests:
<strong>
styles are resetv5.6.0
Compare Source
To install this version with npm, run
npm install [email protected]
. You can also find more information about how to stay up to date in our documentation.New features
Make it easier to navigate complex services with the Service navigation component
We've added a new Service navigation component to help users to navigate services with multiple top-level sections. This replaces the navigation functions of the Header component, which will be deprecated in a future release of GOV.UK Frontend.
This component includes some features we consider experimental. We intend to iterate these features in response to user feedback. These are:
We introduced this change in pull request #5206: Service navigation component.
v5.5.0
Compare Source
To install this version with npm, run
npm install [email protected]
. You can also find more information about how to stay up to date in our documentation.New features
We've updated the list of organisations and brand colours included in Frontend
We've overhauled the list of organisations and organisation brand colours that are shipped with GOV.UK Frontend.
The previous list was outdated and had not kept up with changes to the machinery of government. We’ve updated the list to:
To enable these changes, set the feature flag variable
$govuk-new-organisation-colours
totrue
before you import GOV.UK Frontend in your Sass files:You can also silence warnings about defunct organisations by adding
organisation-colours
to the$govuk-suppressed-warnings
setting.We introduced this change in pull request #3407: Update organisation colours.
Stop long words breaking out of components with
govuk-!-text-break-word
We've added a new override class to help display long words with no obvious break points when the space is too narrow to display them on one line. An example of a long word might be an email address entered by a user.
Wrapping the content with the
govuk-!-text-break-word
class forces words that are too long for the parent element to break onto a new line.Sass users can also use the
govuk-text-break-word
mixin.We introduced this change in pull request #5159: Add break-word typography helper.
Recommended changes
Update the
$websafe
parameter on thegovuk-organisation-colour
functionThe
govuk-organisation-colour
Sass function's$websafe
parameter has been renamed to$contrast-safe
.This is to more accurately describe the functionality of the parameter.
The old parameter name will stop working in the next major version of GOV.UK Frontend.
We introduced this change in pull request #3407: Update organisation colours.
Fixes
We've made fixes to GOV.UK Frontend in the following pull requests:
href
andtext
for falsy valuesv5.4.1
Compare Source
Recommended changes
Update Breadcrumbs to use
nav
andaria-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 anaria-label
attribute to differentiate it as breadcrumb navigation.This change was introduced in pull request #4995: Update Breadcrumb component to improve screen reader accessibility.
Fixes
We've made fixes to GOV.UK Frontend in the following pull requests:
v5.4.0
Compare Source
To install this version with npm, run
npm install [email protected]
. 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 thatinitAll
does.The
createAll
function will:data-module
attributeYou can also pass a config object and a scope within which to search for elements.
You can find out more about how to use the
createAll
function in our documentation.This change was introduced in pull request #4975: Add
createAll
function to initialise individual components.Use tabular numbers easily with
govuk-!-font-tabular-numbers
We've added a new override class for tabular number styling:
govuk-!-font-tabular-numbers
.Using tabular numbers can make it easier for users to read numbers intended for comparison to one another, or for numbers that dynamically update.
It was previously only possible to use tabular numbers by using the
govuk-font-tabular-numbers
Sass mixin.This change was introduced in pull request #4973: Add override class for tabular numbers.
Deprecated features
Importing layers using
all
filesYou'll see a warning when compiling your Sass if you import any of our layers using the
all
file. Importing using theall
files is deprecated, and we’ll remove them in the next major release.In your import statements, use a trailing
/index
rather than/all
to load GOV.UK Frontend's files.For example:
@import "govuk/index";
instead of@import "govuk/all";
;@import "govuk/<PATH>/index";
instead of@import "govuk/<PATH>/all";
;You do not need
/index
at the end of each import path if you’re using Dart Sass, LibSass 3.6.0 or higher, or Ruby Sass 3.6.0 or higher.This change was introduced in pull request #4955: Rename
all
files toindex
for our Sass entry points.Fixes
We've made fixes to GOV.UK Frontend in the following pull requests:
errorMessage
argument for the password input component - thanks to Tim South for contributing this changegovuk-frontend
errorList
is providedtypicode/husky (husky)
v9.1.7
Compare Source
lint-staged/lint-staged (lint-staged)
v15.3.0
Compare Source
Minor Changes
#1495
e69da9e
Thanks @iiroj! - Added more info to the debug logs so that "environment" info doesn't need to be added separately to GitHub issues.#1493
fa0fe98
Thanks @iiroj! - Added more help messages around the automaticgit stash
that lint-staged creates as a backup (by default). The console output also displays the short git hash of the stash so that it's easier to recover lost files in case some fatal errors are encountered, or the process is killed before completing.For example:
where the backup can be seen with
git show 20addf8
, orgit stash list
:v15.2.11
Compare Source
Patch Changes
#1484
bcfe309
Thanks @wormsik! - Escape paths containing spaces when using the "shell" option.#1487
7dd8caa
Thanks @iiroj! - Do not treat submodule root paths as "staged files". This caused lint-staged to fail to a Git error when only updating the revision of a submodule.nock/nock (nock)
v13.5.6
Compare Source
Bug Fixes
nodejs/node (node)
v20.18.1
: 2024-11-20, Version 20.18.1 'Iron' (LTS), @marco-ippolitoCompare Source
Notable Changes
7a8992b2d6
] - doc: add abmusse to collaborators (Abdirahim Musse) #55086Commits
085c3441fe
] - assert: show the diff when deep comparing data with a custom message (Giovanni) #5475901f0b0e7b4
] - benchmark: adjust config for deepEqual object (Rafael Gonzaga) #55254a45537269b
] - benchmark: rewrite detect-esm-syntax benchmark (Joyee Cheung) #552381a0d8ef64f
] - benchmark: add no-warnings to process.has bench (Rafael Gonzaga) #551592be5d611ce
] - benchmark: create benchmark for typescript (Marco Ippolito) #54904a2aa4fa477
] - benchmark: include ascii to fs/readfile (Rafael Gonzaga) #5498809849105fe
] - benchmark: add dotenv benchmark (Aviv Keller) #542786b3c24dbad
] - buffer: fix out of range for toString (Jason Zhang) #54553f25a5b6dc4
] - build: use rclone instead of aws CLI (Michaël Zasso) #556170bbeb605de
] - build: fix notify-on-review-wanted action (Rafael Gonzaga) #553045b35836732
] - build: include.nycrc
in coverage workflows (Wuli Zuo) #55210f38d1e90e0
] - build: notify via slack when review-wanted (Rafael Gonzaga) #551020b985ec4bb
] - build: remove -v flag to reduce noise (iwuliz) #5502509f75b27a1
] - build: display free disk space after build in the test-macOS workflow (iwuliz) #55025f25760c4a2
] - build: add the option to generate compile_commands.json in vcbuild.bat (Segev Finer) #52279746e78c4f3
] - Revert "build: upgrade clang-format to v18" (Chengzhong Wu) #5499467834ee646
] - build: printRunning XYZ linter...
for py and yml (Aviv Keller) #54386ae34e276a2
] - build: pin doc workflow to Node.js 20 (Richard Lau) #55755d0e871a706
] - build,win: add winget config to set up env (Hüseyin Açacak) #5472993ac799b6b
] - cli: fix spacing for port range error (Aviv Keller) #544953ba2e7bf97
] - Revert "console: colorize console error and warn" (Aviv Keller) #546772f678ea53b
] - crypto: ensure invalid SubtleCrypto JWK data import results in DataError (Filip Skokan) #550415d28d98542
] - deps: update undici to 6.20.0 (Node.js GitHub Bot) #553290c7f2fc421
] - deps: update archs files for openssl-3.0.15+quic1 (Node.js GitHub Bot) #55184da15e7edf5
] - deps: upgrade openssl sources to quictls/openssl-3.0.15+quic1 (Node.js GitHub Bot) #55184381f1f9d08
] - deps: update archs files for openssl-3.0.14+quic1 (Node.js GitHub Bot) #5433648d643f78a
] - deps: upgrade openssl sources to quictls/openssl-3.0.14+quic1 (Node.js GitHub Bot) #543367b1796803b
] - deps: update timezone to 2024b (Node.js GitHub Bot) #550568f1956c588
] - deps: update acorn-walk to 8.3.4 (Node.js GitHub Bot) #5495020501a7350
] - deps: update corepack to 0.29.4 (Node.js GitHub Bot) #548450f81eafecc
] - doc: fix Markdown linter (Antoine du Hamel) #55344df713f0a98
] - Revert "doc: update test context.assert" (Antoine du Hamel) #55344fd6fc61d2c
] - doc: add pmarchini to collaborators (Pietro Marchini) #55331b963db9ee2
] - doc: fixevents.once()
example usingAbortSignal
(Ivo Janssen) #5514450b13bfb12
] - doc: add onboarding details for ambassador program (Marco Ippolito) #5528427564b7811
] - doc: fix initial default value of autoSelectFamily (Ihor Rohovets) #552459e7be23aa5
] - doc: tweak onboarding instructions (Michael Dawson) #55212f412a029c3
] - doc: update test context.assert (Pietro Marchini) #551862f7828debb
] - doc: fix unordered error anchors (Antoine du Hamel) #55242d08e4c235b
] - doc: mention addons to experimental permission (Rafael Gonzaga) #55166d65c2458dc
] - doc: use correct dash in stability status (Antoine du Hamel) #55200d9839c16cf
] - doc: fix link intest/README.md
(Livia Medeiros) #551651ad659afa4
] - doc: add esm examples to node:net (Alfredo González) #5513481ad69d50f
] - doc: move the YAML changes element (sendoru) #551127a51a161be
] - doc: fix the require resolve algorithm inmodules.md
(chirsz) #5511780edcdf899
] - doc: update style guide (Aviv Keller) #53223388c754dd2
] - doc: add missing:
torun()
'sglobPatterns
(Aviv Keller) #5513594302b6a76
] - doc: add abmusse to collaborators (Abdirahim Musse) [#55086](https://redirect.github.com/noConfiguration
📅 Schedule: Branch creation - "after 9am every weekday,before 5pm every weekday" in timezone Europe/London, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.