Open dependabot[bot] opened 1 month ago
This is a breaking change, IIRC known not to be compatible with the codebase.
(Trying an update in the past for abs() or calc() changes/deprecations seemed like a lot of manual work to make the forms and layout all work with this version. TBC.)
Will need a more thorough investigation, and perhaps some refactoring:(
The security content is not relevant to our usage: (no carousel component)
Merging this pull request would fix 1 Dependabot alert: bootstrap (npm) https://github.com/advisories/GHSA-vc8w-jr9v-vj7f
Affected versions: >= 4.0.0, <= 4.6.2 Patched version: 5.0.0
"A vulnerability has been identified in Bootstrap that exposes users to Cross-Site Scripting (XSS) attacks. The issue is present in the carousel component, where the data-slide and data-slide-to attributes can be exploited through the href attribute of an tag due to inadequate sanitization. This vulnerability could potentially enable attackers to execute arbitrary JavaScript within the victim's browser."
Dependabot is adding dependency on "node_modules/@popperjs/core"
https://github.com/floating-ui/floating-ui
Popper is now Floating UI! For Popper v2, visit its dedicated branch and its documentation. For help on migrating, check out the Migration Guide.
@janbrasna: ackn and agreed.
The effort to migrate to v5 might as well be spent on something like https://github.com/thednp/bootstrap.native to drop the jQuery and Popper dependency.
FWIW PopperJS is only ever used on the "copy to clipboard" affordance so that should be easy to replace/remove.
FYI: The Mozilla brand is going to be refreshed soon, with a new typography and general guidelines too, so any updates to the layout can be made along with some framework bumps when that time comes…
@dependabot rebase
Applying this patch in a test environment worked for me (Firefox on Linux), but I did not test on other platforms/browsers. Do we know of specific platform/browser combinations that have issues when bootstrap is updated?
npm audit fix
updated other packages, and in a test environment worked for me (Firefox on Linux)
npm update
resulted in a table layout issue in my test environment (Firefox on Linux), but I did not look into it further.
Bumps bootstrap from 4.6.2 to 5.0.0.
Release notes
Sourced from bootstrap's releases.
... (truncated)
Commits
bf09367
Release v5.0.0 (#33647)48ae5a7
Rewrite migration guide (#33834)f086572
refactor(docs): Added form file input variables (#33833)1a54286
Fix doc typo and Bootstrap Icons link (#33832)e2df73f
Update migration guide for some v5 changes (#33829)1e6356a
Neutralise more words from placeholder text (#33731)6633845
Bump eslint-config-xo from 0.35.0 to 0.36.0 (#33646)cb38744
Tweak toast docs (#33810)c2ff225
Bump rollup from 2.46.0 to 2.47.0 (#33818)c090ea2
Bump@babel/preset-env
from 7.14.0 to 7.14.1 (#33819)You can trigger a rebase of this PR 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