diff options
author | XhmikosR <xhmikosr@gmail.com> | 2019-02-15 11:46:45 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-02-15 11:46:45 +0300 |
commit | ac70cacdda85e5113e651e5aad4115f6cc3bb498 (patch) | |
tree | c5706b7b54cb0dec895458ba81d49d2863ae8639 | |
parent | 4347942fa6c8b948e24110a6700d555c8a841922 (diff) |
Update Bootstrap minimum version to 3.4.1.
-rw-r--r-- | src/bootlint.js | 2 | ||||
-rw-r--r-- | test/bootlint_test.js | 8 | ||||
-rw-r--r-- | test/fixtures/outdated/bootstrap-css.html | 2 | ||||
-rw-r--r-- | test/fixtures/outdated/bootstrap-js.html | 2 | ||||
-rw-r--r-- | test/fixtures/outdated/bootstrap-min-css.html | 2 | ||||
-rw-r--r-- | test/fixtures/outdated/bootstrap-min-js.html | 2 | ||||
-rw-r--r-- | test/fixtures/outdated/js-version-not-in-url-current.html | 2 | ||||
-rw-r--r-- | test/fixtures/outdated/js-version-not-in-url-outdated.html | 2 |
8 files changed, 11 insertions, 11 deletions
diff --git a/src/bootlint.js b/src/bootlint.js index 4e44b9b..b724b04 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.4.0'; + var CURRENT_BOOTSTRAP_VERSION = '3.4.1'; var BOOTSTRAP_VERSION_4 = '4.0.0'; var PLUGINS = [ 'affix', diff --git a/test/bootlint_test.js b/test/bootlint_test.js index 9330583..269f9fc 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.4.0 ; saw what appears to be usage of Bootstrap 3.2.0'], + ['Bootstrap version might be outdated. Latest version is at least 3.4.1 ; 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.4.0 ; saw what appears to be usage of Bootstrap 3.2.0'], + ['Bootstrap version might be outdated. Latest version is at least 3.4.1 ; 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.4.0 ; saw what appears to be usage of Bootstrap 3.2.0'], + ['Bootstrap version might be outdated. Latest version is at least 3.4.1 ; 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.4.0 ; saw what appears to be usage of Bootstrap 3.2.0'], + ['Bootstrap version might be outdated. Latest version is at least 3.4.1 ; 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 bad18c2..008a2a5 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.4.0 ; 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.1 ; 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 0b98779..e3002d8 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.4.0 ; 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.1 ; 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 0d12ff5..38612a9 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.4.0 ; 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.1 ; 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 48429ac..32a328b 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.4.0 ; 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.1 ; 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 fafe0a7..e54ed9c 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.4.0' } }; + window.$.fn.modal = { Constructor: { VERSION: '3.4.1' } }; })(); </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 1cd3952..e8dcaf0 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.4.0 ; 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.1 ; saw what appears to be usage of Bootstrap 3.2.0"></li> </ol> </body> </html> |