Skip to content
This repository was archived by the owner on Feb 1, 2022. It is now read-only.

Commit ac70cac

Browse files
committed
Update Bootstrap minimum version to 3.4.1.
1 parent 4347942 commit ac70cac

8 files changed

+11
-11
lines changed

src/bootlint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var LocationIndex = _location.LocationIndex;
3434
var NUM2SCREEN = ['xs', 'sm', 'md', 'lg'];
3535
var IN_NODE_JS = Boolean(cheerio.load);
3636
var MIN_JQUERY_VERSION = '1.9.1'; // as of Bootstrap v3.3.0
37-
var CURRENT_BOOTSTRAP_VERSION = '3.4.0';
37+
var CURRENT_BOOTSTRAP_VERSION = '3.4.1';
3838
var BOOTSTRAP_VERSION_4 = '4.0.0';
3939
var PLUGINS = [
4040
'affix',

test/bootlint_test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -688,16 +688,16 @@ exports.bootlint = {
688688
'outdated version of Bootstrap': function (test) {
689689
test.expect(5);
690690
test.deepEqual(lintHtml(utf8Fixture('outdated/bootstrap-css.html')),
691-
['Bootstrap version might be outdated. Latest version is at least 3.4.0 ; saw what appears to be usage of Bootstrap 3.2.0'],
691+
['Bootstrap version might be outdated. Latest version is at least 3.4.1 ; saw what appears to be usage of Bootstrap 3.2.0'],
692692
'should complain about outdated bootstrap.css.');
693693
test.deepEqual(lintHtml(utf8Fixture('outdated/bootstrap-min-css.html')),
694-
['Bootstrap version might be outdated. Latest version is at least 3.4.0 ; saw what appears to be usage of Bootstrap 3.2.0'],
694+
['Bootstrap version might be outdated. Latest version is at least 3.4.1 ; saw what appears to be usage of Bootstrap 3.2.0'],
695695
'should complain about outdated bootstrap.min.css.');
696696
test.deepEqual(lintHtml(utf8Fixture('outdated/bootstrap-js.html')),
697-
['Bootstrap version might be outdated. Latest version is at least 3.4.0 ; saw what appears to be usage of Bootstrap 3.2.0'],
697+
['Bootstrap version might be outdated. Latest version is at least 3.4.1 ; saw what appears to be usage of Bootstrap 3.2.0'],
698698
'should complain about outdated bootstrap.js.');
699699
test.deepEqual(lintHtml(utf8Fixture('outdated/bootstrap-min-js.html')),
700-
['Bootstrap version might be outdated. Latest version is at least 3.4.0 ; saw what appears to be usage of Bootstrap 3.2.0'],
700+
['Bootstrap version might be outdated. Latest version is at least 3.4.1 ; saw what appears to be usage of Bootstrap 3.2.0'],
701701
'should complain about outdated bootstrap.min.js.');
702702
test.deepEqual(lintHtml(utf8Fixture('outdated/bootstrap-extensions-okay.html')),
703703
[],

test/fixtures/outdated/bootstrap-css.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<body>
2121
<div id="qunit"></div>
2222
<ol id="bootlint">
23-
<li data-lint="Bootstrap version might be outdated. Latest version is at least 3.4.0 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
23+
<li data-lint="Bootstrap version might be outdated. Latest version is at least 3.4.1 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
2424
</ol>
2525
</body>
2626
</html>

test/fixtures/outdated/bootstrap-js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<body>
2121
<div id="qunit"></div>
2222
<ol id="bootlint">
23-
<li data-lint="Bootstrap version might be outdated. Latest version is at least 3.4.0 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
23+
<li data-lint="Bootstrap version might be outdated. Latest version is at least 3.4.1 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
2424
</ol>
2525
</body>
2626
</html>

test/fixtures/outdated/bootstrap-min-css.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<body>
2121
<div id="qunit"></div>
2222
<ol id="bootlint">
23-
<li data-lint="Bootstrap version might be outdated. Latest version is at least 3.4.0 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
23+
<li data-lint="Bootstrap version might be outdated. Latest version is at least 3.4.1 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
2424
</ol>
2525
</body>
2626
</html>

test/fixtures/outdated/bootstrap-min-js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<body>
2121
<div id="qunit"></div>
2222
<ol id="bootlint">
23-
<li data-lint="Bootstrap version might be outdated. Latest version is at least 3.4.0 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
23+
<li data-lint="Bootstrap version might be outdated. Latest version is at least 3.4.1 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
2424
</ol>
2525
</body>
2626
</html>

test/fixtures/outdated/js-version-not-in-url-current.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<script src="../../../node_modules/jquery/dist/jquery.min.js"></script>
1515
<script>
1616
(function () {
17-
window.$.fn.modal = { Constructor: { VERSION: '3.4.0' } };
17+
window.$.fn.modal = { Constructor: { VERSION: '3.4.1' } };
1818
})();
1919
</script>
2020
<script src="../../../node_modules/qunit/qunit/qunit.js"></script>

test/fixtures/outdated/js-version-not-in-url-outdated.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<body>
2525
<div id="qunit"></div>
2626
<ol id="bootlint">
27-
<li data-lint="Bootstrap version might be outdated. Latest version is at least 3.4.0 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
27+
<li data-lint="Bootstrap version might be outdated. Latest version is at least 3.4.1 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
2828
</ol>
2929
</body>
3030
</html>

0 commit comments

Comments
 (0)