Update dependencies + small fix

pull/57/merge
neobooru 2026-08-19 00:07:46 +02:00
parent a0a0a591bc
commit 4895e126fb
3 changed files with 2958 additions and 2122 deletions

View File

@ -27,55 +27,55 @@
"pretty": "prettier -w ." "pretty": "prettier -w ."
}, },
"dependencies": { "dependencies": {
"axios": "^1.6.3", "axios": "^1.19.0",
"byte-size": "^8.1.1", "byte-size": "^8.2.1",
"deepmerge": "^4.3.1", "deepmerge": "^4.3.1",
"lodash": "^4.17.21", "lodash": "^4.18.1",
"markdown-it": "^14.0.0", "markdown-it": "^14.3.0",
"neo-scraper": "^0.11.0", "neo-scraper": "^0.11.0",
"normalize.css": "^8.0.1", "normalize.css": "^8.0.1",
"pinia": "^2.1.7", "pinia": "^2.3.1",
"primeflex": "^3.3.1", "primeflex": "^3.3.1",
"primevue": "^3.45.0", "primevue": "^3.53.1",
"vue-router": "^4.2.5" "vue-router": "^4.6.4"
}, },
"devDependencies": { "devDependencies": {
"@ffflorian/jszip-cli": "^3.5.8", "@ffflorian/jszip-cli": "^3.16.5",
"@fortawesome/fontawesome-svg-core": "^6.5.1", "@fortawesome/fontawesome-svg-core": "^6.7.2",
"@fortawesome/free-solid-svg-icons": "^6.5.1", "@fortawesome/free-solid-svg-icons": "^6.7.2",
"@fortawesome/vue-fontawesome": "^3.0.5", "@fortawesome/vue-fontawesome": "^3.3.3",
"@types/byte-size": "^8.1.2", "@types/byte-size": "^8.1.2",
"@types/fs-extra": "^11.0.4", "@types/fs-extra": "^11.0.4",
"@types/lodash": "^4.14.202", "@types/lodash": "^4.17.25",
"@types/markdown-it": "^13.0.7", "@types/markdown-it": "^13.0.9",
"@types/node": "^20.10.5", "@types/node": "^20.19.43",
"@types/webextension-polyfill": "^0.10.7", "@types/webextension-polyfill": "^0.10.7",
"@typescript-eslint/eslint-plugin": "^6.16.0", "@typescript-eslint/eslint-plugin": "^6.21.0",
"@vitejs/plugin-vue": "^5.0.1", "@vitejs/plugin-vue": "^5.2.4",
"@vue/compiler-sfc": "^3.4.0", "@vue/compiler-sfc": "^3.5.41",
"@vue/test-utils": "^2.4.3", "@vue/test-utils": "^2.4.11",
"@vueuse/core": "^10.7.1", "@vueuse/core": "^10.11.1",
"chokidar": "^3.5.3", "chokidar": "^3.6.0",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"crx": "^5.0.1", "crx": "^5.0.1",
"eslint": "^8.56.0", "eslint": "^8.57.1",
"eslint-plugin-vue": "^9.19.2", "eslint-plugin-vue": "^9.33.0",
"esno": "^4.0.0", "esno": "^4.8.0",
"fs-extra": "^11.2.0", "fs-extra": "^11.4.0",
"jsdom": "^23.0.1", "jsdom": "^23.2.0",
"kolorist": "^1.8.0", "kolorist": "^1.8.0",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"prettier": "^3.1.1", "prettier": "^3.9.6",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"sass": "^1.69.6", "sass": "^1.102.0",
"typescript": "^5.3.3", "typescript": "^5.9.3",
"unplugin-auto-import": "^0.17.3", "unplugin-auto-import": "^0.17.8",
"unplugin-vue-components": "^0.26.0", "unplugin-vue-components": "^0.26.0",
"vite": "^5.0.10", "vite": "^5.4.21",
"vitest": "^1.1.0", "vitest": "^1.6.1",
"vue": "^3.4.0", "vue": "^3.5.41",
"vue-eslint-parser": "^9.3.2", "vue-eslint-parser": "^9.4.3",
"web-ext": "^8.4.0", "web-ext": "^8.10.0",
"webextension-polyfill": "^0.10.0" "webextension-polyfill": "^0.10.0"
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -142,7 +142,7 @@ async function mergeChanges() {
if (imageToKeep.value == "new") { if (imageToKeep.value == "new") {
// In practice this should not be needed, because finding similar posts requires the use of content tokens. // In practice this should not be needed, because finding similar posts requires the use of content tokens.
// So if a similar post is found, it means that a contentToken has already been set. // So if a similar post is found, it means that a contentToken has already been set.
ensurePostHasContentToken(szuru, scrapedPost, cfg); await ensurePostHasContentToken(szuru, scrapedPost, cfg);
req.contentToken = scrapedPost.instanceSpecificData[cfg.value.selectedSiteId!].contentToken!; req.contentToken = scrapedPost.instanceSpecificData[cfg.value.selectedSiteId!].contentToken!;
} }