fix(deps): update dependency bootstrap to v5 [security] - autoclosed #28
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:
^4.1.1->^5.0.0GitHub Vulnerability Alerts
CVE-2024-6531
Withdrawn Advisory
This advisory is withdrawn because it was not a security issue in Bootstrap. Bootstrap’s JavaScript is not intended to sanitize unsafe or intentionally dangerous HTML. As such, the reported behavior fell outside the scope of Bootstrap’s security model, and the associated CVE has been rescinded.
Original Descripton
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.
Release Notes
twbs/bootstrap (bootstrap)
v5.0.0Compare Source
Highlights
#32155: Updated
make-col()mixin to generate equal columns when no size is specified#32763: Added new
color-scheme()mixin#33389: Dropdown menus now have option become clickable
#33453: Added new docs footer
#33548: Offcanvas header components are now vertically aligned
#33549: Added offcanvas-top modifier
#33634: Added support for
.dropdown-items wrapped in<li>s#33626: Fix v5 regressions in tab dropdown functionality
🚀 Features
color-schememixin🎨 CSS
color-schememixin.nav-linkcolor consistent when using buttons:read-onlycss selector instead[readonly]for consistencyborder-topon Firefox☕️ JavaScript
hidemethod of dropdownisDisabledutil on dropdownnoopfunctionselectMenuItemmethod private.dropdown-itemwrapped in<li>tagsaltBoundaryoption📖 Docs
rel=noopenerattributeboundaryoptionboundaryoptionboundaryoption descriptionExamples
🌎 Accessibility
🏭 Tests
data-bs-backdrop="static"from modal tests🧰 Misc
📦 Dependencies
v4.6.2Compare Source
Highlights
color-adjustwithprint-color-adjustin our Sass files as part of the Autoprefixer v10.4.6 issues. This should quiet the issues folks have seen from that dependency change. If you're using our distribution CSS files, likebootstrap.min.css, you may still see the warning.smalland.smallto compute to a whole pixel value (was12.8pxand now is14px).roleattributes.What's Changed
color-adjustwithprint-color-adjustby @AdrianCurtin in #36283role="group"from some split drop* buttons by @julien-deramond in #36254accessibility.mdby @patrickhlauke in #36492New Contributors
Full Changelog: twbs/bootstrap@v4.6.1...v4.6.2
v4.6.1: 4.6.1Compare Source
What's changed
divide()function by @mdo in #34571moz-focusringby @kremit in #32821SAFE_URL_PATTERNregex for use with test method of regexes by @nikonthethird in #33153smsin theSAFE_URL_PATTERNfor sanitizer by @XhmikosR in #35074select.form-controlby @mdo in #33206add()&subtract()by @ffoodd in #34047add()andsubtract()by @ffoodd in #34432aria-haspopupfrom dropdowns by @patrickhlauke in #33624.dropdown-itemwrapped in<li>tags by @cpsievert in #33649vertical-alignin spinners by @XhmikosR in #338070.xwith negative margins in utilities by @k-utsumi in #33593theadrule by @coliff in #34426showevent disabling modals with fade class from being displayed again by @alpadev in #34087Full changelog
twbs/bootstrap@v4.6.0...v4.6.1
v4.6.0Compare Source
Highlights
customClassoption..navbar-nav-scrollclass for scrolling expanded navbar contents on mobile devices.prefers-reduced-motionis enabled.background-colorof.dropdown-itemfor improved hover state contrast, and ligthened the disabled.dropdown-itemcolor.CSS
.navbar-nav-scrollfor vertical scrolling of navbar contentoutline:0rather thanoutline:none; backport of #32751$gray-500JS
customClassoptionjs/src/index.jsone folder upconfig.keyboardis falseDocs
bugreport.apple.comsince it doesn't work.visually-hiddenloading=lazyfrom snippets.text-leftin Layout / Overview:focus, not just:hoverdata-touch="false"example in the carousel docsrole="button"from CTA links in carousel example.showapplied.has-validationfor input groups with validation$enable-shadowsoption in our docs; backport of #32685Examples
titleMisc
version_shortvariable under theconfigobject; backport of #32737v4.5.3Compare Source
CSS
escape-svgfunction to note that data URIs must be quoted.custom-controlshadow variable instead of the genericinput-focus-box-shadow.thstyling in Reboot, custom form field styling when printing, and improvements to.text-break).thupdates: Inheritfont-weight: boldthat comes from user agent stylesheets..text-breakchanges to dropoverflow-wrapand useword-wraponce again.closebuttons in dismissible.alerts.JS
hidePrevented.bs.modalcan be prevented.$dropdown-padding-xvariable from v5.Docs
disposemethod more appropriately.toandnextwhenvisiblemethods.Misc
v4.5.2Compare Source
This release addresses the following two issues:
make-container-max-widthsmixin. 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.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-fillto the.rowand your row will behave as usual.v4.5.1Compare Source
CSS
list-groupborders in cardsz-indexto.custom-checkto fix their rendering in CSS columnsborder-radiusto.card-img-overlayword-break: break-word;on.text-breakutility..rowfrom shrinking in flex containersbox-shadowmin-width: 0on.coldue to unforeseen side effectsbackdrop-filterfrom docs subnav and toastsoverflow: hiddenfrom toastsJavaScript
role="dialog"in modals via JavaScriptBuild
Docs
extend/icons.mdpage.nav-itemfrom.nav-linkto be more consistentv4.5.0Compare Source
Highlights
user-selectwith the new utilities and Sass map.role="button"selector in Reboot to setcursor: pointeron non-<button>element buttons.bg-gradient-variantmixin as it's being removed in v5.CSS
display: flexon.breadcrumb-item.btncursor.btn-linkpreis present by settingmin-width: 0word-wrapin.text-breakfor IE and Edge compatibilityborder-radiusfunctions returning negative values$enable-transition: falsetransition: none intransition()` mixinspinner-growanimation in Safari.card-footercolorbox-shadowmixin for.form-select,.btn, and other form controlsuser-selectand a new -role="button"in Reboot to setcursor: pointer.appearance: nonefrombutton.closebg-gradient-variantmixin$grid-columns > 0$grid-breakpointsmap list to remove all breakpointsJavaScript
keyboard=true&backdrop=staticsrcsetin the allowed attributestotypealways return stringified null when null passedDocs
loading="lazy"for imagesmake-container()mixindata-targetusage and morerole="document"from the modal dialogExamples
Dependencies
Configuration
📅 Schedule: Branch creation - "" (UTC), 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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.