From 544ef3bc588d4180d7ecad15bdacd43813a7c5c5 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 12 Dec 2019 14:51:10 +0000 Subject: update composer libs and minor notifications display fixes --- vendor/twbs/bootstrap/build/build-plugins.js | 2 +- vendor/twbs/bootstrap/build/change-version.js | 2 ++ vendor/twbs/bootstrap/build/generate-sri.js | 2 +- vendor/twbs/bootstrap/build/rollup.config.js | 2 +- vendor/twbs/bootstrap/build/svgo.yml | 3 +++ vendor/twbs/bootstrap/build/vnu-jar.js | 6 +++--- 6 files changed, 11 insertions(+), 6 deletions(-) (limited to 'vendor/twbs/bootstrap/build') diff --git a/vendor/twbs/bootstrap/build/build-plugins.js b/vendor/twbs/bootstrap/build/build-plugins.js index abcbc5e2f..877621636 100644 --- a/vendor/twbs/bootstrap/build/build-plugins.js +++ b/vendor/twbs/bootstrap/build/build-plugins.js @@ -21,7 +21,7 @@ const plugins = [ 'createClass', 'inheritsLoose', 'defineProperty', - 'objectSpread' + 'objectSpread2' ] }) ] diff --git a/vendor/twbs/bootstrap/build/change-version.js b/vendor/twbs/bootstrap/build/change-version.js index f1b4f747a..f068e2a70 100644 --- a/vendor/twbs/bootstrap/build/change-version.js +++ b/vendor/twbs/bootstrap/build/change-version.js @@ -83,6 +83,7 @@ function main(args) { const newVersion = args[1] const EXCLUDED_DIRS = new Set([ '.git', + '_gh_pages', 'node_modules', 'vendor' ]) @@ -94,6 +95,7 @@ function main(args) { '.js', '.json', '.md', + '.nuspec', '.scss', '.txt', '.yml' diff --git a/vendor/twbs/bootstrap/build/generate-sri.js b/vendor/twbs/bootstrap/build/generate-sri.js index a93f3e538..66544d4ad 100644 --- a/vendor/twbs/bootstrap/build/generate-sri.js +++ b/vendor/twbs/bootstrap/build/generate-sri.js @@ -40,7 +40,7 @@ const files = [ configPropertyName: 'js_bundle_hash' }, { - file: `site/docs/${pkg.version_short}/assets/js/vendor/jquery-slim.min.js`, + file: `site/docs/${pkg.version_short}/assets/js/vendor/jquery.slim.min.js`, configPropertyName: 'jquery_hash' }, { diff --git a/vendor/twbs/bootstrap/build/rollup.config.js b/vendor/twbs/bootstrap/build/rollup.config.js index e81a07ef5..0dfa5d48a 100644 --- a/vendor/twbs/bootstrap/build/rollup.config.js +++ b/vendor/twbs/bootstrap/build/rollup.config.js @@ -17,7 +17,7 @@ const plugins = [ 'createClass', 'inheritsLoose', 'defineProperty', - 'objectSpread' + 'objectSpread2' ] }) ] diff --git a/vendor/twbs/bootstrap/build/svgo.yml b/vendor/twbs/bootstrap/build/svgo.yml index 047e6947f..1b592f00f 100644 --- a/vendor/twbs/bootstrap/build/svgo.yml +++ b/vendor/twbs/bootstrap/build/svgo.yml @@ -35,6 +35,9 @@ plugins: - minifyStyles: true - moveElemsAttrsToGroup: true - moveGroupAttrsToElems: true + - removeAttrs: + attrs: + - "data-name" - removeComments: true - removeDesc: true - removeDoctype: true diff --git a/vendor/twbs/bootstrap/build/vnu-jar.js b/vendor/twbs/bootstrap/build/vnu-jar.js index 7d549cb01..8567ba89d 100644 --- a/vendor/twbs/bootstrap/build/vnu-jar.js +++ b/vendor/twbs/bootstrap/build/vnu-jar.js @@ -36,9 +36,7 @@ childProcess.exec('java -version', (error, stdout, stderr) => { 'The “time” input type is not supported in all browsers.*', // IE11 doesn't recognise
/ give the element an implicit "main" landmark. // Explicit role="main" is redundant for other modern browsers, but still valid. - 'The “main” role is unnecessary for element “main”.', - // Ignore the wrong lanuage code warnings for now; they happen randomly. - 'This document appears to be written in.*' + 'The “main” role is unnecessary for element “main”.' ].join('|') const args = [ @@ -46,6 +44,8 @@ childProcess.exec('java -version', (error, stdout, stderr) => { vnu, '--asciiquotes', '--skip-non-html', + // Ignore the language code warnings + '--no-langdetect', '--Werror', `--filterpattern "${ignores}"`, '_gh_pages/', -- cgit v1.2.3