1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-09 00:18:00 +01:00

fix: upgrade openapi to drop dompurify and fix path-to-regexp (#8170)

This new version [does not depend on
dompurify](https://github.com/Unleash/unleash/pull/8170/files#diff-51e4f558fae534656963876761c95b83b6ef5da5103c4adef6768219ed76c2deL3853-L3858)
which should fix
https://github.com/Unleash/unleash/security/dependabot/195

Tested the UI locally

![image](https://github.com/user-attachments/assets/af350bf1-d736-4a4a-a092-53da2d21c471)
This commit is contained in:
Gastón Fournier 2024-09-18 12:16:21 +02:00 committed by GitHub
parent cb6d45d29a
commit a48da821ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 106 additions and 703 deletions

View File

@ -110,7 +110,7 @@
},
"dependencies": {
"@slack/web-api": "^6.10.0",
"@wesleytodd/openapi": "^0.3.0",
"@wesleytodd/openapi": "^1.1.0",
"ajv": "^8.12.0",
"ajv-formats": "^2.1.1",
"async": "^3.2.4",
@ -206,7 +206,7 @@
"del-cli": "5.1.0",
"faker": "5.5.3",
"fast-check": "3.22.0",
"fetch-mock": "9.11.0",
"fetch-mock": "^11.1.3",
"husky": "^9.0.11",
"jest": "29.7.0",
"jest-junit": "^16.0.0",
@ -234,7 +234,9 @@
"tar": "7.4.3",
"minimatch": "^5.0.0",
"semver": "^7.6.2",
"tough-cookie": "4.1.4"
"tough-cookie": "4.1.4",
"@wesleytodd/openapi/path-to-regexp": "6.3.0",
"router/path-to-regexp": "0.1.10"
},
"lint-staged": {
"*.{js,ts}": [

View File

@ -44,7 +44,7 @@ export class OpenApiService {
useDocs(app: Express): void {
app.use(this.api);
app.use(this.docsPath(), this.api.swaggerui);
app.use(this.docsPath(), this.api.swaggerui());
}
docsPath(): string {

799
yarn.lock

File diff suppressed because it is too large Load Diff