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:
XhmikosR 2021-10-22 16:52:12 +03:00
parent fc492edfa3
commit 41330696b9
10 changed files with 14936 additions and 1205 deletions

View File

@ -5,7 +5,7 @@ on:
env:
FORCE_COLOR: 2
NODE: 14
NODE: 16
jobs:
browserstack:

View File

@ -8,7 +8,7 @@ on:
env:
FORCE_COLOR: 2
NODE: 14
NODE: 16
jobs:
bundlewatch:

View File

@ -8,7 +8,7 @@ on:
env:
FORCE_COLOR: 2
NODE: 14
NODE: 16
jobs:
css:

View File

@ -8,7 +8,7 @@ on:
env:
FORCE_COLOR: 2
NODE: 14
NODE: 16
jobs:
css:

View File

@ -8,7 +8,7 @@ on:
env:
FORCE_COLOR: 2
NODE: 14
NODE: 16
jobs:
docs:

View File

@ -40,7 +40,7 @@ jobs:
- name: Run Coveralls
uses: coverallsapp/github-action@1.1.3
if: matrix.node == 14
if: matrix.node == 16
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
path-to-lcov: "./js/coverage/lcov.info"

View File

@ -8,7 +8,7 @@ on:
env:
FORCE_COLOR: 2
NODE: 14
NODE: 16
jobs:
lint:

View File

@ -68,6 +68,7 @@ const Util = {
getUID(prefix) {
do {
// eslint-disable-next-line no-bitwise
prefix += ~~(Math.random() * MAX_UID) // "~~" acts like a faster Math.floor() here
} while (document.getElementById(prefix))

16084
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-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",
"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-sri": "node build/generate-sri.js",
"release-version": "node build/change-version.js",
@ -95,21 +95,21 @@
},
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.5",
"@babel/preset-env": "^7.15.6",
"@babel/core": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-node-resolve": "^13.0.5",
"autoprefixer": "^10.3.6",
"babel-plugin-istanbul": "^6.0.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.0.6",
"autoprefixer": "^10.3.7",
"babel-plugin-istanbul": "^6.1.1",
"bundlewatch": "^0.3.2",
"clean-css-cli": "^5.3.3",
"clean-css-cli": "^5.4.2",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-config-xo": "^0.38.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-qunit": "^6.2.0",
"eslint-plugin-unicorn": "^36.0.0",
"eslint": "^8.0.1",
"eslint-config-xo": "^0.39.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-qunit": "^7.0.0",
"eslint-plugin-unicorn": "^37.0.1",
"find-unused-sass-variables": "^3.1.0",
"glob": "^7.2.0",
"globby": "^11.0.4",
@ -117,7 +117,7 @@
"hugo-bin": "^0.76.1",
"ip": "^1.1.5",
"jquery": "3.5.1",
"karma": "^6.3.4",
"karma": "^6.3.5",
"karma-browserstack-launcher": "1.4.0",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "^3.0.3",
@ -125,22 +125,22 @@
"karma-firefox-launcher": "^2.1.1",
"karma-qunit": "^4.1.2",
"karma-sinon": "^1.0.5",
"linkinator": "^2.14.0",
"linkinator": "^2.14.4",
"lockfile-lint": "^4.6.2",
"node-sass": "^6.0.1",
"nodemon": "^2.0.13",
"nodemon": "^2.0.14",
"npm-run-all": "^4.1.5",
"popper.js": "^1.16.1",
"postcss": "^8.3.8",
"postcss-cli": "^9.0.0",
"postcss": "^8.3.11",
"postcss-cli": "^9.0.1",
"qunit": "^2.17.2",
"rollup": "^2.57.0",
"rollup": "^2.58.0",
"shelljs": "^0.8.4",
"sinon": "^7.5.0",
"stylelint": "^13.13.1",
"stylelint-config-twbs-bootstrap": "^2.2.3",
"stylelint-config-twbs-bootstrap": "^2.2.4",
"terser": "^5.9.0",
"vnu-jar": "21.9.2"
"vnu-jar": "21.10.12"
},
"files": [
"dist/{css,js}/*.{css,js,map}",