Update devDependencies

* @babel/cli                    ^7.13.0  →  ^7.13.14
* @babel/core                   ^7.13.8  →  ^7.13.14
* @babel/preset-env             ^7.13.9  →  ^7.13.12
* @rollup/plugin-commonjs       ^17.1.0  →   ^18.0.0
* @rollup/plugin-node-resolve   ^11.2.0  →   ^11.2.1
* autoprefixer                  ^10.2.4  →   ^10.2.5
* clean-css-cli                 ^5.2.0  →    ^5.2.2
* eslint                        ^7.21.0  →   ^7.23.0
* eslint-plugin-unicorn         ^28.0.2  →   ^29.0.0
* globby                        ^11.0.2  →   ^11.0.3
* hugo-bin                      ^0.69.0  →   ^0.70.0
* karma                         ^6.1.1  →    ^6.3.2
* postcss                       ^8.2.6  →    ^8.2.9
* qunit                         ^2.14.0  →   ^2.14.1
* rollup                        ^2.40.0  →   ^2.44.0
* stylelint                     ^13.11.0  →  ^13.12.0

Also lock jQuery to v3.5.1 since 3.6.0 has a bug that affects at least our tests
This commit is contained in:
XhmikosR 2021-04-05 07:35:59 +03:00
parent a06c2b6706
commit 67f873f41a
3 changed files with 370 additions and 329 deletions

View File

@ -283,11 +283,9 @@ class Carousel {
const move = event => { const move = event => {
// ensure swiping with one touch and not pinching // ensure swiping with one touch and not pinching
if (event.originalEvent.touches && event.originalEvent.touches.length > 1) { this.touchDeltaX = event.originalEvent.touches && event.originalEvent.touches.length > 1 ?
this.touchDeltaX = 0 0 :
} else { event.originalEvent.touches[0].clientX - this.touchStartX
this.touchDeltaX = event.originalEvent.touches[0].clientX - this.touchStartX
}
} }
const end = event => { const end = event => {

657
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -94,29 +94,29 @@
"popper.js": "^1.16.1" "popper.js": "^1.16.1"
}, },
"devDependencies": { "devDependencies": {
"@babel/cli": "^7.13.0", "@babel/cli": "^7.13.14",
"@babel/core": "^7.13.8", "@babel/core": "^7.13.14",
"@babel/preset-env": "^7.13.9", "@babel/preset-env": "^7.13.12",
"@rollup/plugin-babel": "^5.3.0", "@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^17.1.0", "@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-node-resolve": "^11.2.0", "@rollup/plugin-node-resolve": "^11.2.1",
"autoprefixer": "^10.2.4", "autoprefixer": "^10.2.5",
"babel-plugin-istanbul": "^6.0.0", "babel-plugin-istanbul": "^6.0.0",
"bundlewatch": "^0.3.2", "bundlewatch": "^0.3.2",
"clean-css-cli": "^5.2.0", "clean-css-cli": "^5.2.2",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"eslint": "^7.21.0", "eslint": "^7.23.0",
"eslint-config-xo": "^0.35.0", "eslint-config-xo": "^0.35.0",
"eslint-plugin-import": "^2.22.1", "eslint-plugin-import": "^2.22.1",
"eslint-plugin-unicorn": "^28.0.2", "eslint-plugin-unicorn": "^29.0.0",
"find-unused-sass-variables": "^3.1.0", "find-unused-sass-variables": "^3.1.0",
"glob": "^7.1.6", "glob": "^7.1.6",
"globby": "^11.0.2", "globby": "^11.0.3",
"hammer-simulator": "0.0.1", "hammer-simulator": "0.0.1",
"hugo-bin": "^0.69.0", "hugo-bin": "^0.70.0",
"ip": "^1.1.5", "ip": "^1.1.5",
"jquery": "^3.5.1", "jquery": "3.5.1",
"karma": "^6.1.1", "karma": "^6.3.2",
"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",
@ -130,13 +130,13 @@
"nodemon": "^2.0.7", "nodemon": "^2.0.7",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"popper.js": "^1.16.1", "popper.js": "^1.16.1",
"postcss": "^8.2.6", "postcss": "^8.2.9",
"postcss-cli": "^8.3.1", "postcss-cli": "^8.3.1",
"qunit": "^2.14.0", "qunit": "^2.14.1",
"rollup": "^2.40.0", "rollup": "^2.44.0",
"shelljs": "^0.8.4", "shelljs": "^0.8.4",
"sinon": "^7.5.0", "sinon": "^7.5.0",
"stylelint": "^13.11.0", "stylelint": "^13.12.0",
"stylelint-config-twbs-bootstrap": "^2.1.0", "stylelint-config-twbs-bootstrap": "^2.1.0",
"terser": "5.1.0", "terser": "5.1.0",
"vnu-jar": "21.2.5" "vnu-jar": "21.2.5"