[Snyk] Upgrade bootstrap from 5.2.2 to 5.3.3 #91
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 was automatically created by Snyk using the credentials of a real user.
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade bootstrap from 5.2.2 to 5.3.3.
ℹ️ 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 8 versions ahead of your current version.
The recommended version was released on 3 months ago.
Release notes
Package name: bootstrap
Highlights
variables-dark.scss
when building Bootstrap with Sass. Now,_variables.scss
will automatically import_variables-dark.scss
. If you were already importing_variables-dark.scss
manually, you should keep doing it as it won't break anything and will be the way to go in v6.Color modes
.text-bg-*
text utilities to be certain that the text is always readable (especially when the customized colors are different in light and dark modes).color-modes.js
script to handle the case where the OS is set to light mode and the auto color mode is used on the website. If you copied the script from our docs, you should apply this change to your own script.color-scheme()
only acceptlight
anddark
values as parameters.Miscellaneous
<dl>
,<dt>
and<dd>
in the sanitizer.🎨 CSS
--bs-accordion-btn-focus-border-color
and deprecate$accordion-button-focus-border-color
☕️ JavaScript
color-mode.js
dl
,dt
anddd
in sanitizer📖 Docs
.text-bg-{color}
for all badgesgetOrCreateInstance()
doc example.table-light
from table foot exampledispose()
to Offcanvas methodsshift-color()
usage example in sass customization page.card-img-*
description.theme-icon
class🛠 Examples
🏭 Tests
🧰 Misc
📦 Dependencies
Highlights
abs()
is deprecated since Dart Sass v1.65.0. It resulted in a deprecation warning when compiling Bootstrap with Dart Sass. This has been fixed internally by changing the values passed to thedivide()
function. Thedivide()
function has not been fixed itself so that we can keep supporting node-sass cross-compatibility. In v6, this won't be an issue as we plan to drop support for node-sass.id
s in a collapse target wasn't working anymore and has been fixed.Color modes
<mark>
color customization for color modes.Docs
🎨 CSS
box-shadow
CSS variables shadow utilities$btn-link-focus-shadow-rgb
to allow customization<mark>
dark mode bg color☕️ JavaScript
id
s calls📖 Docs
details
element.left-
and.right-
utilities from migration guide🛠 Examples
🌎 Accessibility
🧰 Misc
📦 Dependencies
Highlights
$gray-500
with$gray-300
for the body color.nav-link
s, providing.disabled
and:disabled
for use with anchors and buttonsHome
andEnd
keys for navigating tabs by keyboard.text-bg-*
utilities now use CSS variables$navbar-dark-icon-color
Sass variable$alert
Sass variables$vr-border-width
to customize the vertical rule helper width🎨 CSS
.text-bg-*
helpers now use theme CSS variables$navbar-dark-icon-color
$alert-*-scale
Sass vars☕️ JavaScript
Home
andEnd
keys in tabs📖 Docs
noopener
rel to footer external linksaria-disabled='true'
to disabled anchorsaria-describedby
.d-none
instead of inline stylingclearfix
🛠 Examples
🌎 Accessibility
Home
andEnd
keys in tabsaria-disabled='true'
to disabled anchors🧰 Misc
color-modes.js
tobootstrap-x.y.z-examples.zip
📦 Dependencies
Release v5.3.0 (#38657)
* Bump version to 5.3.0
* Dist
calc()
functions.--bs-border-radius
variables across more components..d-inline-grid
utility class..tooltip-inner
placement when using variations infallbackPlacements
.$color-mode-type: media-query
.background-color
to help with multiple lines of text intextarea
s. This also fixes the colors when form elements are disabled in floating forms.Full Changelog: v5.3.0-alpha2...v5.3.0-alpha3
🚀 Features
.nav-underline
modifier class🎨 CSS
.nav-underline
modifier class