Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootlint.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2019-01-10 13:33:49 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-01-10 18:10:48 +0300
commit51930f0fca4623100ef641fd766d01df584a8001 (patch)
tree22ac0a87c0057da01dd23f88045c547ead42c6ae
parent943088d712bd3ede242ad1ff74fd47388f3d2e4f (diff)
Update CURRENT_BOOTSTRAP_VERSION to 3.4.0
-rw-r--r--src/bootlint.js2
-rw-r--r--test/bootlint_test.js8
-rw-r--r--test/fixtures/outdated/bootstrap-css.html2
-rw-r--r--test/fixtures/outdated/bootstrap-js.html2
-rw-r--r--test/fixtures/outdated/bootstrap-min-css.html2
-rw-r--r--test/fixtures/outdated/bootstrap-min-js.html2
-rw-r--r--test/fixtures/outdated/js-version-not-in-url-current.html2
-rw-r--r--test/fixtures/outdated/js-version-not-in-url-outdated.html2
8 files changed, 11 insertions, 11 deletions
diff --git a/src/bootlint.js b/src/bootlint.js
index 95b5b09..4e44b9b 100644
--- a/src/bootlint.js
+++ b/src/bootlint.js
@@ -34,7 +34,7 @@ var LocationIndex = _location.LocationIndex;
var NUM2SCREEN = ['xs', 'sm', 'md', 'lg'];
var IN_NODE_JS = Boolean(cheerio.load);
var MIN_JQUERY_VERSION = '1.9.1'; // as of Bootstrap v3.3.0
- var CURRENT_BOOTSTRAP_VERSION = '3.3.7';
+ var CURRENT_BOOTSTRAP_VERSION = '3.4.0';
var BOOTSTRAP_VERSION_4 = '4.0.0';
var PLUGINS = [
'affix',
diff --git a/test/bootlint_test.js b/test/bootlint_test.js
index a05740d..9330583 100644
--- a/test/bootlint_test.js
+++ b/test/bootlint_test.js
@@ -688,16 +688,16 @@ exports.bootlint = {
'outdated version of Bootstrap': function (test) {
test.expect(5);
test.deepEqual(lintHtml(utf8Fixture('outdated/bootstrap-css.html')),
- ['Bootstrap version might be outdated. Latest version is at least 3.3.7 ; saw what appears to be usage of Bootstrap 3.2.0'],
+ ['Bootstrap version might be outdated. Latest version is at least 3.4.0 ; saw what appears to be usage of Bootstrap 3.2.0'],
'should complain about outdated bootstrap.css.');
test.deepEqual(lintHtml(utf8Fixture('outdated/bootstrap-min-css.html')),
- ['Bootstrap version might be outdated. Latest version is at least 3.3.7 ; saw what appears to be usage of Bootstrap 3.2.0'],
+ ['Bootstrap version might be outdated. Latest version is at least 3.4.0 ; saw what appears to be usage of Bootstrap 3.2.0'],
'should complain about outdated bootstrap.min.css.');
test.deepEqual(lintHtml(utf8Fixture('outdated/bootstrap-js.html')),
- ['Bootstrap version might be outdated. Latest version is at least 3.3.7 ; saw what appears to be usage of Bootstrap 3.2.0'],
+ ['Bootstrap version might be outdated. Latest version is at least 3.4.0 ; saw what appears to be usage of Bootstrap 3.2.0'],
'should complain about outdated bootstrap.js.');
test.deepEqual(lintHtml(utf8Fixture('outdated/bootstrap-min-js.html')),
- ['Bootstrap version might be outdated. Latest version is at least 3.3.7 ; saw what appears to be usage of Bootstrap 3.2.0'],
+ ['Bootstrap version might be outdated. Latest version is at least 3.4.0 ; saw what appears to be usage of Bootstrap 3.2.0'],
'should complain about outdated bootstrap.min.js.');
test.deepEqual(lintHtml(utf8Fixture('outdated/bootstrap-extensions-okay.html')),
[],
diff --git a/test/fixtures/outdated/bootstrap-css.html b/test/fixtures/outdated/bootstrap-css.html
index 93b5420..bad18c2 100644
--- a/test/fixtures/outdated/bootstrap-css.html
+++ b/test/fixtures/outdated/bootstrap-css.html
@@ -20,7 +20,7 @@
<body>
<div id="qunit"></div>
<ol id="bootlint">
- <li data-lint="Bootstrap version might be outdated. Latest version is at least 3.3.7 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
+ <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>
</ol>
</body>
</html>
diff --git a/test/fixtures/outdated/bootstrap-js.html b/test/fixtures/outdated/bootstrap-js.html
index b95fe70..0b98779 100644
--- a/test/fixtures/outdated/bootstrap-js.html
+++ b/test/fixtures/outdated/bootstrap-js.html
@@ -20,7 +20,7 @@
<body>
<div id="qunit"></div>
<ol id="bootlint">
- <li data-lint="Bootstrap version might be outdated. Latest version is at least 3.3.7 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
+ <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>
</ol>
</body>
</html>
diff --git a/test/fixtures/outdated/bootstrap-min-css.html b/test/fixtures/outdated/bootstrap-min-css.html
index b02c6aa..0d12ff5 100644
--- a/test/fixtures/outdated/bootstrap-min-css.html
+++ b/test/fixtures/outdated/bootstrap-min-css.html
@@ -20,7 +20,7 @@
<body>
<div id="qunit"></div>
<ol id="bootlint">
- <li data-lint="Bootstrap version might be outdated. Latest version is at least 3.3.7 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
+ <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>
</ol>
</body>
</html>
diff --git a/test/fixtures/outdated/bootstrap-min-js.html b/test/fixtures/outdated/bootstrap-min-js.html
index 181efdf..48429ac 100644
--- a/test/fixtures/outdated/bootstrap-min-js.html
+++ b/test/fixtures/outdated/bootstrap-min-js.html
@@ -20,7 +20,7 @@
<body>
<div id="qunit"></div>
<ol id="bootlint">
- <li data-lint="Bootstrap version might be outdated. Latest version is at least 3.3.7 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
+ <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>
</ol>
</body>
</html>
diff --git a/test/fixtures/outdated/js-version-not-in-url-current.html b/test/fixtures/outdated/js-version-not-in-url-current.html
index 31fc6a2..fafe0a7 100644
--- a/test/fixtures/outdated/js-version-not-in-url-current.html
+++ b/test/fixtures/outdated/js-version-not-in-url-current.html
@@ -14,7 +14,7 @@
<script src="../../../node_modules/jquery/dist/jquery.min.js"></script>
<script>
(function () {
- window.$.fn.modal = { Constructor: { VERSION: '3.3.7' } };
+ window.$.fn.modal = { Constructor: { VERSION: '3.4.0' } };
})();
</script>
<script src="../../../node_modules/qunit/qunit/qunit.js"></script>
diff --git a/test/fixtures/outdated/js-version-not-in-url-outdated.html b/test/fixtures/outdated/js-version-not-in-url-outdated.html
index 59d4a0e..1cd3952 100644
--- a/test/fixtures/outdated/js-version-not-in-url-outdated.html
+++ b/test/fixtures/outdated/js-version-not-in-url-outdated.html
@@ -24,7 +24,7 @@
<body>
<div id="qunit"></div>
<ol id="bootlint">
- <li data-lint="Bootstrap version might be outdated. Latest version is at least 3.3.7 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
+ <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>
</ol>
</body>
</html>