1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-25 14:30:46 +02:00

Update devDependencies

* @babel/cli                   ^7.14.8  →  ^7.15.5
* @babel/core                  ^7.14.8  →  ^7.15.4
* @babel/preset-env            ^7.14.8  →  ^7.15.6
* @rollup/plugin-commonjs      ^19.0.1  →  ^20.0.0
* @rollup/plugin-node-resolve  ^13.0.2  →  ^13.0.4
* autoprefixer                 ^10.3.1  →  ^10.3.4
* clean-css-cli                 ^5.3.0  →   ^5.3.3
* eslint                       ^7.31.0  →  ^7.32.0
* eslint-config-xo             ^0.37.0  →  ^0.38.0
* eslint-plugin-import         ^2.23.4  →  ^2.24.2
* eslint-plugin-unicorn        ^34.0.1  →  ^36.0.0
* hugo-bin                     ^0.74.0  →  ^0.76.1
* qunit                        ^2.16.0  →  ^2.17.1
* postcss                       ^8.3.5  →   ^8.3.6
* rollup                       ^2.53.3  →  ^2.56.3
* vnu-jar                      21.6.11  →   21.9.2
This commit is contained in:
XhmikosR
2021-09-14 15:16:06 +03:00
parent cb55e389b8
commit e202996a2b
6 changed files with 644 additions and 546 deletions

View File

@@ -29,7 +29,11 @@ execFile('java', ['-version'], (error, stdout, stderr) => {
'Attribute “autocomplete” not allowed on element “button” at this point.', 'Attribute “autocomplete” not allowed on element “button” at this point.',
// IE11 doesn't recognise <main> / give the element an implicit "main" landmark. // IE11 doesn't recognise <main> / give the element an implicit "main" landmark.
// Explicit role="main" is redundant for other modern browsers, but still valid. // Explicit role="main" is redundant for other modern browsers, but still valid.
'The “main” role is unnecessary for element “main”.' 'The “main” role is unnecessary for element “main”.',
// Per https://www.w3.org/TR/html-aria/#docconformance having "aria-disabled" on a link is
// NOT RECOMMENDED, but it's still valid - we explain in the docs that it's not ideal,
// and offer more robust alternatives, but also need to show a less-than-ideal example
'An “aria-disabled” attribute whose value is “true” should not be specified on an “a” element that has an “href” attribute.'
].join('|') ].join('|')
const args = [ const args = [

View File

@@ -308,7 +308,7 @@ class Dropdown {
offset.fn = data => { offset.fn = data => {
data.offsets = { data.offsets = {
...data.offsets, ...data.offsets,
...(this._config.offset(data.offsets, this._element) || {}) ...this._config.offset(data.offsets, this._element)
} }
return data return data

View File

@@ -476,7 +476,7 @@ class Tooltip {
offset.fn = data => { offset.fn = data => {
data.offsets = { data.offsets = {
...data.offsets, ...data.offsets,
...(this.config.offset(data.offsets, this.element) || {}) ...this.config.offset(data.offsets, this.element)
} }
return data return data

View File

@@ -27,6 +27,7 @@
"prefer-arrow-callback": "off", "prefer-arrow-callback": "off",
"prefer-rest-params": "off", "prefer-rest-params": "off",
"prefer-template": "off", "prefer-template": "off",
"unicorn/prefer-add-event-listener": "off",
"unicorn/prefer-spread": "off" "unicorn/prefer-spread": "off"
} }
} }

1145
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -58,7 +58,7 @@
"docs-serve": "hugo server --port 9001 --disableFastRender", "docs-serve": "hugo server --port 9001 --disableFastRender",
"docs-serve-only": "npx sirv-cli _site --port 9001", "docs-serve-only": "npx sirv-cli _site --port 9001",
"lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json", "lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
"update-deps": "ncu -u -x \"jquery,karma-browserstack-launcher,sinon,terser\" && npm update && echo Manually update site/assets/js/vendor", "update-deps": "ncu -u -x \"globby,jquery,karma-browserstack-launcher,sinon,terser\" && npm update && echo Manually update site/assets/js/vendor",
"release": "npm-run-all dist release-sri docs-build release-zip*", "release": "npm-run-all dist release-sri docs-build release-zip*",
"release-sri": "node build/generate-sri.js", "release-sri": "node build/generate-sri.js",
"release-version": "node build/change-version.js", "release-version": "node build/change-version.js",
@@ -94,26 +94,26 @@
"popper.js": "^1.16.1" "popper.js": "^1.16.1"
}, },
"devDependencies": { "devDependencies": {
"@babel/cli": "^7.14.8", "@babel/cli": "^7.15.4",
"@babel/core": "^7.14.8", "@babel/core": "^7.15.5",
"@babel/preset-env": "^7.14.8", "@babel/preset-env": "^7.15.6",
"@rollup/plugin-babel": "^5.3.0", "@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^19.0.1", "@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-node-resolve": "^13.0.2", "@rollup/plugin-node-resolve": "^13.0.4",
"autoprefixer": "^10.3.1", "autoprefixer": "^10.3.4",
"babel-plugin-istanbul": "^6.0.0", "babel-plugin-istanbul": "^6.0.0",
"bundlewatch": "^0.3.2", "bundlewatch": "^0.3.2",
"clean-css-cli": "^5.3.0", "clean-css-cli": "^5.3.3",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"eslint": "^7.31.0", "eslint": "^7.32.0",
"eslint-config-xo": "^0.37.0", "eslint-config-xo": "^0.38.0",
"eslint-plugin-import": "^2.23.4", "eslint-plugin-import": "^2.24.2",
"eslint-plugin-unicorn": "^34.0.1", "eslint-plugin-unicorn": "^36.0.0",
"find-unused-sass-variables": "^3.1.0", "find-unused-sass-variables": "^3.1.0",
"glob": "^7.1.7", "glob": "^7.1.7",
"globby": "^11.0.4", "globby": "^11.0.4",
"hammer-simulator": "0.0.1", "hammer-simulator": "0.0.1",
"hugo-bin": "^0.74.0", "hugo-bin": "^0.76.1",
"ip": "^1.1.5", "ip": "^1.1.5",
"jquery": "3.5.1", "jquery": "3.5.1",
"karma": "^6.3.4", "karma": "^6.3.4",
@@ -130,16 +130,16 @@
"nodemon": "^2.0.12", "nodemon": "^2.0.12",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"popper.js": "^1.16.1", "popper.js": "^1.16.1",
"postcss": "^8.3.5", "postcss": "^8.3.6",
"postcss-cli": "^8.3.1", "postcss-cli": "^8.3.1",
"qunit": "^2.16.0", "qunit": "^2.17.1",
"rollup": "^2.53.3", "rollup": "^2.56.3",
"shelljs": "^0.8.4", "shelljs": "^0.8.4",
"sinon": "^7.5.0", "sinon": "^7.5.0",
"stylelint": "^13.13.1", "stylelint": "^13.13.1",
"stylelint-config-twbs-bootstrap": "^2.2.3", "stylelint-config-twbs-bootstrap": "^2.2.3",
"terser": "5.1.0", "terser": "5.1.0",
"vnu-jar": "21.6.11" "vnu-jar": "21.9.2"
}, },
"files": [ "files": [
"dist/{css,js}/*.{css,js,map}", "dist/{css,js}/*.{css,js,map}",