update js deps

This commit is contained in:
Sam 2023-04-08 09:22:47 +02:00
parent 2f8928d763
commit d0a117e27b
3 changed files with 638 additions and 726 deletions

View File

@ -12,7 +12,7 @@
}, },
"dependencies": { "dependencies": {
"@tmcw/togeojson": "^5.6.0", "@tmcw/togeojson": "^5.6.0",
"@vue-leaflet/vue-leaflet": "^0.8.4", "@vue-leaflet/vue-leaflet": "^0.9.0",
"@zxcvbn-ts/core": "^2.2.1", "@zxcvbn-ts/core": "^2.2.1",
"@zxcvbn-ts/language-common": "^2.0.1", "@zxcvbn-ts/language-common": "^2.0.1",
"@zxcvbn-ts/language-de": "^2.1.0", "@zxcvbn-ts/language-de": "^2.1.0",
@ -20,15 +20,15 @@
"@zxcvbn-ts/language-es-es": "^2.1.1", "@zxcvbn-ts/language-es-es": "^2.1.1",
"@zxcvbn-ts/language-fr": "^2.2.0", "@zxcvbn-ts/language-fr": "^2.2.0",
"@zxcvbn-ts/language-it": "^2.1.0", "@zxcvbn-ts/language-it": "^2.1.0",
"axios": "^1.3.4", "axios": "^1.3.5",
"chart.js": "^4.2.1", "chart.js": "^4.2.1",
"chartjs-plugin-datalabels": "^2.2.0", "chartjs-plugin-datalabels": "^2.2.0",
"core-js": "^3.29.0", "core-js": "^3.30.0",
"date-fns": "^2.29.3", "date-fns": "^2.29.3",
"date-fns-tz": "^2.0.0", "date-fns-tz": "^2.0.0",
"leaflet": "^1.9.3", "leaflet": "^1.9.3",
"linkify-html": "^4.0.2", "linkify-html": "^4.1.1",
"linkifyjs": "^4.0.2", "linkifyjs": "^4.1.1",
"register-service-worker": "^1.7.1", "register-service-worker": "^1.7.1",
"sanitize-html": "^2.10.0", "sanitize-html": "^2.10.0",
"snarkdown": "^2.0.0", "snarkdown": "^2.0.0",
@ -43,9 +43,9 @@
"@intlify/vue-i18n-loader": "^4.2.0", "@intlify/vue-i18n-loader": "^4.2.0",
"@types/chai": "^4.3.4", "@types/chai": "^4.3.4",
"@types/mocha": "^10.0.1", "@types/mocha": "^10.0.1",
"@types/sanitize-html": "^2.8.1", "@types/sanitize-html": "^2.9.0",
"@typescript-eslint/eslint-plugin": "^5.54.0", "@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.54.0", "@typescript-eslint/parser": "^5.57.1",
"@vue/cli-plugin-babel": "~5.0.8", "@vue/cli-plugin-babel": "~5.0.8",
"@vue/cli-plugin-eslint": "~5.0.8", "@vue/cli-plugin-eslint": "~5.0.8",
"@vue/cli-plugin-pwa": "~5.0.8", "@vue/cli-plugin-pwa": "~5.0.8",
@ -55,19 +55,19 @@
"@vue/cli-plugin-vuex": "~5.0.8", "@vue/cli-plugin-vuex": "~5.0.8",
"@vue/cli-service": "~5.0.8", "@vue/cli-service": "~5.0.8",
"@vue/eslint-config-typescript": "^11.0.2", "@vue/eslint-config-typescript": "^11.0.2",
"@vue/test-utils": "^2.3.0", "@vue/test-utils": "^2.3.2",
"chai": "^4.3.7", "chai": "^4.3.7",
"eslint": "8.35.0", "eslint": "8.38.0",
"eslint-config-prettier": "^8.6.0", "eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.3", "eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5", "eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1", "eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.9.0", "eslint-plugin-vue": "^9.10.0",
"prettier": "^2.8.4", "prettier": "^2.8.7",
"sass": "^1.58.3", "sass": "^1.61.0",
"sass-loader": "^13.2.0", "sass-loader": "^13.2.2",
"typescript": "^4.9.5", "typescript": "^5.0.4",
"vue-cli-plugin-i18n": "~2.3.1" "vue-cli-plugin-i18n": "~2.3.2"
}, },
"eslintConfig": { "eslintConfig": {
"root": true, "root": true,

View File

@ -101,8 +101,8 @@ export const rangePagination = (
} else { } else {
if ( if (
pagination[pagination.length - 1] !== '...' && pagination[pagination.length - 1] !== '...' &&
pagination[pagination.length - 1] >= pages - 2 && +pagination[pagination.length - 1] >= pages - 2 &&
pagination[pagination.length - 1] < pages +pagination[pagination.length - 1] < pages
) { ) {
pagination = pagination.concat( pagination = pagination.concat(
getRange(pages, +pagination[pagination.length - 1] + 1) getRange(pages, +pagination[pagination.length - 1] + 1)

File diff suppressed because it is too large Load Diff