Skip to content

Commit c0ccb1f

Browse files
committed
Bump bootstrap to version 3.4.2
Based on https://github.com/odinserj/bootstrap with CVE-2024-6484 and CVE-2024-6485 fixed.
1 parent 01c641f commit c0ccb1f

File tree

11 files changed

+47
-39
lines changed

11 files changed

+47
-39
lines changed

Hangfire.Mailer/Content/bootstrap-theme.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Hangfire.Mailer/Content/bootstrap-theme.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Hangfire.Mailer/Content/bootstrap-theme.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Hangfire.Mailer/Content/bootstrap-theme.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Hangfire.Mailer/Content/bootstrap.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Hangfire.Mailer/Content/bootstrap.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Hangfire.Mailer/Content/bootstrap.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Hangfire.Mailer/Content/bootstrap.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Hangfire.Mailer/Scripts/bootstrap.js

Lines changed: 36 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
2-
* Bootstrap v3.4.1 (https://getbootstrap.com/)
3-
* Copyright 2011-2019 Twitter, Inc.
2+
* Bootstrap v3.4.2 (https://getbootstrap.com/)
3+
* Copyright 2011-2025 Twitter, Inc.
44
* Licensed under the MIT license
55
*/
66

@@ -17,7 +17,7 @@ if (typeof jQuery === 'undefined') {
1717
}(jQuery);
1818

1919
/* ========================================================================
20-
* Bootstrap: transition.js v3.4.1
20+
* Bootstrap: transition.js v3.4.2
2121
* https://getbootstrap.com/docs/3.4/javascript/#transitions
2222
* ========================================================================
2323
* Copyright 2011-2019 Twitter, Inc.
@@ -77,7 +77,7 @@ if (typeof jQuery === 'undefined') {
7777
}(jQuery);
7878

7979
/* ========================================================================
80-
* Bootstrap: alert.js v3.4.1
80+
* Bootstrap: alert.js v3.4.2
8181
* https://getbootstrap.com/docs/3.4/javascript/#alerts
8282
* ========================================================================
8383
* Copyright 2011-2019 Twitter, Inc.
@@ -96,7 +96,7 @@ if (typeof jQuery === 'undefined') {
9696
$(el).on('click', dismiss, this.close)
9797
}
9898

99-
Alert.VERSION = '3.4.1'
99+
Alert.VERSION = '3.4.2'
100100

101101
Alert.TRANSITION_DURATION = 150
102102

@@ -173,7 +173,7 @@ if (typeof jQuery === 'undefined') {
173173
}(jQuery);
174174

175175
/* ========================================================================
176-
* Bootstrap: button.js v3.4.1
176+
* Bootstrap: button.js v3.4.2
177177
* https://getbootstrap.com/docs/3.4/javascript/#buttons
178178
* ========================================================================
179179
* Copyright 2011-2019 Twitter, Inc.
@@ -193,12 +193,21 @@ if (typeof jQuery === 'undefined') {
193193
this.isLoading = false
194194
}
195195

196-
Button.VERSION = '3.4.1'
196+
Button.VERSION = '3.4.2'
197197

198198
Button.DEFAULTS = {
199199
loadingText: 'loading...'
200200
}
201201

202+
Button.prototype.sanitize = function (unsafeText) {
203+
return unsafeText
204+
.replace(/&/g, '&')
205+
.replace(/</g, '&lt;')
206+
.replace(/>/g, '&gt;')
207+
.replace(/"/g, '&quot;')
208+
.replace(/'/g, '&#039;');
209+
}
210+
202211
Button.prototype.setState = function (state) {
203212
var d = 'disabled'
204213
var $el = this.$element
@@ -211,7 +220,7 @@ if (typeof jQuery === 'undefined') {
211220

212221
// push to event loop to allow forms to submit
213222
setTimeout($.proxy(function () {
214-
$el[val](data[state] == null ? this.options[state] : data[state])
223+
$el[val](data[state] == null ? this.options[state] : this.sanitize(data[state]))
215224

216225
if (state == 'loadingText') {
217226
this.isLoading = true
@@ -299,7 +308,7 @@ if (typeof jQuery === 'undefined') {
299308
}(jQuery);
300309

301310
/* ========================================================================
302-
* Bootstrap: carousel.js v3.4.1
311+
* Bootstrap: carousel.js v3.4.2
303312
* https://getbootstrap.com/docs/3.4/javascript/#carousel
304313
* ========================================================================
305314
* Copyright 2011-2019 Twitter, Inc.
@@ -330,7 +339,7 @@ if (typeof jQuery === 'undefined') {
330339
.on('mouseleave.bs.carousel', $.proxy(this.cycle, this))
331340
}
332341

333-
Carousel.VERSION = '3.4.1'
342+
Carousel.VERSION = '3.4.2'
334343

335344
Carousel.TRANSITION_DURATION = 600
336345

@@ -517,7 +526,7 @@ if (typeof jQuery === 'undefined') {
517526
var target = $this.attr('data-target') || href
518527
var $target = $(document).find(target)
519528

520-
if (!$target.hasClass('carousel')) return
529+
if (!$target.hasClass('carousel')) return false
521530

522531
var options = $.extend({}, $target.data(), $this.data())
523532
var slideIndex = $this.attr('data-slide-to')
@@ -546,7 +555,7 @@ if (typeof jQuery === 'undefined') {
546555
}(jQuery);
547556

548557
/* ========================================================================
549-
* Bootstrap: collapse.js v3.4.1
558+
* Bootstrap: collapse.js v3.4.2
550559
* https://getbootstrap.com/docs/3.4/javascript/#collapse
551560
* ========================================================================
552561
* Copyright 2011-2019 Twitter, Inc.
@@ -577,7 +586,7 @@ if (typeof jQuery === 'undefined') {
577586
if (this.options.toggle) this.toggle()
578587
}
579588

580-
Collapse.VERSION = '3.4.1'
589+
Collapse.VERSION = '3.4.2'
581590

582591
Collapse.TRANSITION_DURATION = 350
583592

@@ -759,7 +768,7 @@ if (typeof jQuery === 'undefined') {
759768
}(jQuery);
760769

761770
/* ========================================================================
762-
* Bootstrap: dropdown.js v3.4.1
771+
* Bootstrap: dropdown.js v3.4.2
763772
* https://getbootstrap.com/docs/3.4/javascript/#dropdowns
764773
* ========================================================================
765774
* Copyright 2011-2019 Twitter, Inc.
@@ -779,7 +788,7 @@ if (typeof jQuery === 'undefined') {
779788
$(element).on('click.bs.dropdown', this.toggle)
780789
}
781790

782-
Dropdown.VERSION = '3.4.1'
791+
Dropdown.VERSION = '3.4.2'
783792

784793
function getParent($this) {
785794
var selector = $this.attr('data-target')
@@ -925,7 +934,7 @@ if (typeof jQuery === 'undefined') {
925934
}(jQuery);
926935

927936
/* ========================================================================
928-
* Bootstrap: modal.js v3.4.1
937+
* Bootstrap: modal.js v3.4.2
929938
* https://getbootstrap.com/docs/3.4/javascript/#modals
930939
* ========================================================================
931940
* Copyright 2011-2019 Twitter, Inc.
@@ -960,7 +969,7 @@ if (typeof jQuery === 'undefined') {
960969
}
961970
}
962971

963-
Modal.VERSION = '3.4.1'
972+
Modal.VERSION = '3.4.2'
964973

965974
Modal.TRANSITION_DURATION = 300
966975
Modal.BACKDROP_TRANSITION_DURATION = 150
@@ -1284,7 +1293,7 @@ if (typeof jQuery === 'undefined') {
12841293
}(jQuery);
12851294

12861295
/* ========================================================================
1287-
* Bootstrap: tooltip.js v3.4.1
1296+
* Bootstrap: tooltip.js v3.4.2
12881297
* https://getbootstrap.com/docs/3.4/javascript/#tooltip
12891298
* Inspired by the original jQuery.tipsy by Jason Frame
12901299
* ========================================================================
@@ -1441,7 +1450,7 @@ if (typeof jQuery === 'undefined') {
14411450
this.init('tooltip', element, options)
14421451
}
14431452

1444-
Tooltip.VERSION = '3.4.1'
1453+
Tooltip.VERSION = '3.4.2'
14451454

14461455
Tooltip.TRANSITION_DURATION = 150
14471456

@@ -1962,7 +1971,7 @@ if (typeof jQuery === 'undefined') {
19621971
}(jQuery);
19631972

19641973
/* ========================================================================
1965-
* Bootstrap: popover.js v3.4.1
1974+
* Bootstrap: popover.js v3.4.2
19661975
* https://getbootstrap.com/docs/3.4/javascript/#popovers
19671976
* ========================================================================
19681977
* Copyright 2011-2019 Twitter, Inc.
@@ -1982,7 +1991,7 @@ if (typeof jQuery === 'undefined') {
19821991

19831992
if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
19841993

1985-
Popover.VERSION = '3.4.1'
1994+
Popover.VERSION = '3.4.2'
19861995

19871996
Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
19881997
placement: 'right',
@@ -2086,7 +2095,7 @@ if (typeof jQuery === 'undefined') {
20862095
}(jQuery);
20872096

20882097
/* ========================================================================
2089-
* Bootstrap: scrollspy.js v3.4.1
2098+
* Bootstrap: scrollspy.js v3.4.2
20902099
* https://getbootstrap.com/docs/3.4/javascript/#scrollspy
20912100
* ========================================================================
20922101
* Copyright 2011-2019 Twitter, Inc.
@@ -2115,7 +2124,7 @@ if (typeof jQuery === 'undefined') {
21152124
this.process()
21162125
}
21172126

2118-
ScrollSpy.VERSION = '3.4.1'
2127+
ScrollSpy.VERSION = '3.4.2'
21192128

21202129
ScrollSpy.DEFAULTS = {
21212130
offset: 10
@@ -2259,7 +2268,7 @@ if (typeof jQuery === 'undefined') {
22592268
}(jQuery);
22602269

22612270
/* ========================================================================
2262-
* Bootstrap: tab.js v3.4.1
2271+
* Bootstrap: tab.js v3.4.2
22632272
* https://getbootstrap.com/docs/3.4/javascript/#tabs
22642273
* ========================================================================
22652274
* Copyright 2011-2019 Twitter, Inc.
@@ -2279,7 +2288,7 @@ if (typeof jQuery === 'undefined') {
22792288
// jscs:enable requireDollarBeforejQueryAssignment
22802289
}
22812290

2282-
Tab.VERSION = '3.4.1'
2291+
Tab.VERSION = '3.4.2'
22832292

22842293
Tab.TRANSITION_DURATION = 150
22852294

@@ -2415,7 +2424,7 @@ if (typeof jQuery === 'undefined') {
24152424
}(jQuery);
24162425

24172426
/* ========================================================================
2418-
* Bootstrap: affix.js v3.4.1
2427+
* Bootstrap: affix.js v3.4.2
24192428
* https://getbootstrap.com/docs/3.4/javascript/#affix
24202429
* ========================================================================
24212430
* Copyright 2011-2019 Twitter, Inc.
@@ -2446,7 +2455,7 @@ if (typeof jQuery === 'undefined') {
24462455
this.checkPosition()
24472456
}
24482457

2449-
Affix.VERSION = '3.4.1'
2458+
Affix.VERSION = '3.4.2'
24502459

24512460
Affix.RESET = 'affix affix-top affix-bottom'
24522461

Hangfire.Mailer/Scripts/bootstrap.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)