Snyk has created this PR to upgrade bootstrap from 4.1.3 to 4.6.0.
:information_source: 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 10 versions ahead of your current version.
The recommended version was released 3 months ago, on 2021-01-19.
#31438 restores the make-container-max-widths mixin. We won't be using the mixin ourselves, but it will remain in the codebase for the rest of v4 with today's release. We've added a deprecation notice as well.
#31439 removes flex: 1 0 100% from .rows. This was added to address shrinking rows inside the navbar component after our responsive containers were added in v4.4.0. Removing this rolls us back to the expected grid and flex behavior—your row will shrink unfortunately without further changes. We could add extra custom CSS to address this, but it seems shortsighted to rush into that. Instead, apply .flex-fill to the .row and your row will behave as usual.
Snyk has created this PR to upgrade bootstrap from 4.1.3 to 4.6.0.
The recommended version fixes:
SNYK-JS-BOOTSTRAP-173700
Why? Has a fix available, CVSS 6.5
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: bootstrap
Highlights
customClass
option..navbar-nav-scroll
class for scrolling expanded navbar contents on mobile devices.prefers-reduced-motion
is enabled.background-color
of.dropdown-item
for improved hover state contrast, and ligthened the disabled.dropdown-item
color
.CSS
.navbar-nav-scroll
for vertical scrolling of navbar contentoutline:0
rather thanoutline:none
; backport of #32751$gray-500
JS
customClass
optionjs/src/index.js
one folder upconfig.keyboard
is falseDocs
bugreport.apple.com
since it doesn't work.visually-hidden
loading=lazy
from snippets.text-left
in Layout / Overview:focus
, not just:hover
data-touch="false"
example in the carousel docsrole="button"
from CTA links in carousel example.show
applied.has-validation
for input groups with validation$enable-shadows
option in our docs; backport of #32685Examples
title
Misc
version_short
variable under theconfig
object; backport of #32737CSS
escape-svg
function to note that data URIs must be quoted.custom-control
shadow variable instead of the genericinput-focus-box-shadow
.th
styling in Reboot, custom form field styling when printing, and improvements to.text-break
).th
updates: Inheritfont-weight: bold
that comes from user agent stylesheets..text-break
changes to dropoverflow-wrap
and useword-wrap
once again.close
buttons in dismissible.alert
s.JS
hidePrevented.bs.modal
can be prevented.$dropdown-padding-x
variable from v5.Docs
dispose
method more appropriately.to
andnextwhenvisible
methods.Misc
This release addresses the following two issues:
make-container-max-widths
mixin. We won't be using the mixin ourselves, but it will remain in the codebase for the rest of v4 with today's release. We've added a deprecation notice as well.flex: 1 0 100%
from.row
s. This was added to address shrinking rows inside the navbar component after our responsive containers were added in v4.4.0. Removing this rolls us back to the expected grid and flex behavior—your row will shrink unfortunately without further changes. We could add extra custom CSS to address this, but it seems shortsighted to rush into that. Instead, apply.flex-fill
to the.row
and your row will behave as usual.Commit messages
Package name: bootstrap
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:![](https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI1YmNiMDQwNS0wZTExLTRkYjEtYjJlNi0yN2E2NDU1YjBiYWUiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjViY2IwNDA1LTBlMTEtNGRiMS1iMmU2LTI3YTY0NTViMGJhZSJ9fQ==)
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs