refactor(misc): Harden request handling, tighten defaults, and pin CI deps (#2878)

* refactor(misc): Harden request handling, tighten defaults, and pin CI dependencies

* feat(auth): normalize usernames for login rate limiting

* refactor(epub): fix XML document builder creation

* feat(http): enhance image download with redirect handling and DNS rebinding protection

* chore: upgrade Node.js version to 24 and add frontend dependency audit step

* feat(auth): refactor username normalization for login rate limiting and enhance image download security

* fix(metadata): simplify JAXB validation event handling by using direct import

* chore(pipeline): remove unnecessary --force flag from npm ci and format audit step

* chore(pipeline): streamline frontend dependency audits and add validation step

* fix(image): improve error handling for image processing and download, enforce pixel limits

* test(image): update tests

* fix(icon): update DOMPurify import and replace deprecated theme package

* fix(imports): update theme package imports and format code for consistency

* fix(cors): update allowed origins configuration to support wildcard and trim whitespace
This commit is contained in:
Balázs Szücs
2026-02-24 12:43:14 -07:00
committed by GitHub
parent 161c675f74
commit f3fffeadce
31 changed files with 989 additions and 626 deletions
+15 -7
View File
@@ -24,7 +24,7 @@
"@angular/service-worker": "^21.1.5",
"@iharbeck/ngx-virtual-scroller": "^20.0.0",
"@jsverse/transloco": "^8.2.1",
"@primeng/themes": "^21.0.3",
"@primeuix/themes": "^2.0.3",
"@stomp/rx-stomp": "^2.3.0",
"@stomp/stompjs": "^7.3.0",
"@tweenjs/tween.js": "^25.0.0",
@@ -33,6 +33,7 @@
"chartjs-chart-matrix": "^3.0.0",
"chartjs-plugin-datalabels": "^2.2.0",
"date-fns": "^4.1.0",
"dompurify": "^3.3.1",
"jwt-decode": "^4.0.0",
"ng-lazyload-image": "^9.1.3",
"ng2-charts": "^8.0.0",
@@ -44,25 +45,32 @@
"rxjs": "^7.8.2",
"showdown": "^2.1.0",
"tslib": "^2.8.1",
"uuid": "^13.0.0",
"uuid": "^11.0.0",
"ws": "^8.19.0",
"zone.js": "^0.16.1"
},
"devDependencies": {
"@analogjs/vite-plugin-angular": "^2.2.3",
"@analogjs/vitest-angular": "^2.2.3",
"@angular/build": "^21.1.4",
"@angular/cli": "^21.1.4",
"@angular/build": "^21.1.5",
"@angular/cli": "^21.1.5",
"@angular/compiler-cli": "^21.1.5",
"@types/dompurify": "^3.0.5",
"@types/node": "^25.3.0",
"@types/showdown": "^2.0.6",
"@types/uuid": "^11.0.0",
"@vitest/coverage-v8": "^4.0.17",
"angular-eslint": "^21.2.0",
"eslint": "^10.0.0",
"eslint": "^9.39.3",
"jsdom": "^28.1.0",
"typescript": "~5.9.3",
"typescript-eslint": "^8.56.0",
"typescript-eslint": "^8.56.1",
"vitest": "^4.0.17"
},
"overrides": {
"minimatch": "^10.2.1",
"ajv": "^8.18.0",
"eslint": {
"ajv": "^6.14.0"
}
}
}