mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-26 23:54:23 +01:00
Update devDependencies and switch to Node.js 16/npm 8
* @babel/core ^7.15.5 → ^7.15.8 * @babel/preset-env ^7.15.6 → ^7.15.8 * @rollup/plugin-commonjs ^20.0.0 → ^21.0.1 * @rollup/plugin-node-resolve ^13.0.5 → ^13.0.6 * autoprefixer ^10.3.6 → ^10.3.7 * babel-plugin-istanbul ^6.0.0 → ^6.1.1 * clean-css-cli ^5.3.3 → ^5.4.2 * eslint ^7.32.0 → ^8.0.0 * eslint-config-xo ^0.38.0 → ^0.39.0 * eslint-plugin-import ^2.24.2 → ^2.25.1 * eslint-plugin-qunit ^6.2.0 → ^7.0.0 * eslint-plugin-unicorn ^36.0.0 → ^37.0.1 * karma ^6.3.4 → ^6.3.5 * linkinator ^2.14.0 → ^2.14.4 * nodemon ^2.0.13 → ^2.0.14 * postcss ^8.3.8 → ^8.3.11 * postcss-cli ^9.0.0 → ^9.0.1 * rollup ^2.57.0 → ^2.58.0 * stylelint-config-twbs-bootstrap ^2.2.3 → ^2.2.4 * vnu-jar 21.9.2 → 21.10.12
This commit is contained in:
parent
fc492edfa3
commit
41330696b9
2
.github/workflows/browserstack.yml
vendored
2
.github/workflows/browserstack.yml
vendored
@ -5,7 +5,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
FORCE_COLOR: 2
|
FORCE_COLOR: 2
|
||||||
NODE: 14
|
NODE: 16
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
browserstack:
|
browserstack:
|
||||||
|
2
.github/workflows/bundlewatch.yml
vendored
2
.github/workflows/bundlewatch.yml
vendored
@ -8,7 +8,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
FORCE_COLOR: 2
|
FORCE_COLOR: 2
|
||||||
NODE: 14
|
NODE: 16
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
bundlewatch:
|
bundlewatch:
|
||||||
|
2
.github/workflows/css.yml
vendored
2
.github/workflows/css.yml
vendored
@ -8,7 +8,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
FORCE_COLOR: 2
|
FORCE_COLOR: 2
|
||||||
NODE: 14
|
NODE: 16
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
css:
|
css:
|
||||||
|
2
.github/workflows/dart-sass.yml
vendored
2
.github/workflows/dart-sass.yml
vendored
@ -8,7 +8,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
FORCE_COLOR: 2
|
FORCE_COLOR: 2
|
||||||
NODE: 14
|
NODE: 16
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
css:
|
css:
|
||||||
|
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
@ -8,7 +8,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
FORCE_COLOR: 2
|
FORCE_COLOR: 2
|
||||||
NODE: 14
|
NODE: 16
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docs:
|
docs:
|
||||||
|
2
.github/workflows/js.yml
vendored
2
.github/workflows/js.yml
vendored
@ -40,7 +40,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Run Coveralls
|
- name: Run Coveralls
|
||||||
uses: coverallsapp/github-action@1.1.3
|
uses: coverallsapp/github-action@1.1.3
|
||||||
if: matrix.node == 14
|
if: matrix.node == 16
|
||||||
with:
|
with:
|
||||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
path-to-lcov: "./js/coverage/lcov.info"
|
path-to-lcov: "./js/coverage/lcov.info"
|
||||||
|
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@ -8,7 +8,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
FORCE_COLOR: 2
|
FORCE_COLOR: 2
|
||||||
NODE: 14
|
NODE: 16
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
|
@ -68,6 +68,7 @@ const Util = {
|
|||||||
|
|
||||||
getUID(prefix) {
|
getUID(prefix) {
|
||||||
do {
|
do {
|
||||||
|
// eslint-disable-next-line no-bitwise
|
||||||
prefix += ~~(Math.random() * MAX_UID) // "~~" acts like a faster Math.floor() here
|
prefix += ~~(Math.random() * MAX_UID) // "~~" acts like a faster Math.floor() here
|
||||||
} while (document.getElementById(prefix))
|
} while (document.getElementById(prefix))
|
||||||
|
|
||||||
|
16074
package-lock.json
generated
16074
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
42
package.json
42
package.json
@ -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 \"globby,jquery,karma-browserstack-launcher,sinon\" && npm update && echo Manually update site/assets/js/vendor",
|
"update-deps": "ncu -u -x \"globby,jquery,karma-browserstack-launcher,sinon,stylelint\" && 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",
|
||||||
@ -95,21 +95,21 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "^7.15.7",
|
"@babel/cli": "^7.15.7",
|
||||||
"@babel/core": "^7.15.5",
|
"@babel/core": "^7.15.8",
|
||||||
"@babel/preset-env": "^7.15.6",
|
"@babel/preset-env": "^7.15.8",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"@rollup/plugin-commonjs": "^20.0.0",
|
"@rollup/plugin-commonjs": "^21.0.1",
|
||||||
"@rollup/plugin-node-resolve": "^13.0.5",
|
"@rollup/plugin-node-resolve": "^13.0.6",
|
||||||
"autoprefixer": "^10.3.6",
|
"autoprefixer": "^10.3.7",
|
||||||
"babel-plugin-istanbul": "^6.0.0",
|
"babel-plugin-istanbul": "^6.1.1",
|
||||||
"bundlewatch": "^0.3.2",
|
"bundlewatch": "^0.3.2",
|
||||||
"clean-css-cli": "^5.3.3",
|
"clean-css-cli": "^5.4.2",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"eslint": "^7.32.0",
|
"eslint": "^8.0.1",
|
||||||
"eslint-config-xo": "^0.38.0",
|
"eslint-config-xo": "^0.39.0",
|
||||||
"eslint-plugin-import": "^2.24.2",
|
"eslint-plugin-import": "^2.25.2",
|
||||||
"eslint-plugin-qunit": "^6.2.0",
|
"eslint-plugin-qunit": "^7.0.0",
|
||||||
"eslint-plugin-unicorn": "^36.0.0",
|
"eslint-plugin-unicorn": "^37.0.1",
|
||||||
"find-unused-sass-variables": "^3.1.0",
|
"find-unused-sass-variables": "^3.1.0",
|
||||||
"glob": "^7.2.0",
|
"glob": "^7.2.0",
|
||||||
"globby": "^11.0.4",
|
"globby": "^11.0.4",
|
||||||
@ -117,7 +117,7 @@
|
|||||||
"hugo-bin": "^0.76.1",
|
"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.5",
|
||||||
"karma-browserstack-launcher": "1.4.0",
|
"karma-browserstack-launcher": "1.4.0",
|
||||||
"karma-chrome-launcher": "^3.1.0",
|
"karma-chrome-launcher": "^3.1.0",
|
||||||
"karma-coverage-istanbul-reporter": "^3.0.3",
|
"karma-coverage-istanbul-reporter": "^3.0.3",
|
||||||
@ -125,22 +125,22 @@
|
|||||||
"karma-firefox-launcher": "^2.1.1",
|
"karma-firefox-launcher": "^2.1.1",
|
||||||
"karma-qunit": "^4.1.2",
|
"karma-qunit": "^4.1.2",
|
||||||
"karma-sinon": "^1.0.5",
|
"karma-sinon": "^1.0.5",
|
||||||
"linkinator": "^2.14.0",
|
"linkinator": "^2.14.4",
|
||||||
"lockfile-lint": "^4.6.2",
|
"lockfile-lint": "^4.6.2",
|
||||||
"node-sass": "^6.0.1",
|
"node-sass": "^6.0.1",
|
||||||
"nodemon": "^2.0.13",
|
"nodemon": "^2.0.14",
|
||||||
"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.8",
|
"postcss": "^8.3.11",
|
||||||
"postcss-cli": "^9.0.0",
|
"postcss-cli": "^9.0.1",
|
||||||
"qunit": "^2.17.2",
|
"qunit": "^2.17.2",
|
||||||
"rollup": "^2.57.0",
|
"rollup": "^2.58.0",
|
||||||
"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.4",
|
||||||
"terser": "^5.9.0",
|
"terser": "^5.9.0",
|
||||||
"vnu-jar": "21.9.2"
|
"vnu-jar": "21.10.12"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist/{css,js}/*.{css,js,map}",
|
"dist/{css,js}/*.{css,js,map}",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user