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

fix: cherry pick security fixes (#8175)

This commit is contained in:
Gastón Fournier 2024-09-18 17:16:22 +02:00 committed by GitHub
parent cf14d038d4
commit 453722b25f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 239 additions and 804 deletions

View File

@ -109,7 +109,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",
@ -147,7 +147,7 @@
"log4js": "^6.0.0",
"make-fetch-happen": "^13.0.0",
"memoizee": "^0.4.17",
"mime": "^3.0.0",
"mime": "^4.0.4",
"murmurhash3js": "^3.0.1",
"mustache": "^4.1.0",
"nodemailer": "^6.9.9",
@ -160,13 +160,13 @@
"prom-client": "^14.0.0",
"response-time": "^2.3.2",
"sanitize-filename": "^1.6.3",
"semver": "^7.6.2",
"semver": "^7.6.3",
"serve-favicon": "^2.5.0",
"slug": "^9.0.0",
"stoppable": "^1.1.0",
"ts-toolbelt": "^9.6.0",
"type-is": "^1.6.18",
"unleash-client": "5.5.5",
"unleash-client": "6.1.1",
"uuid": "^9.0.0"
},
"devDependencies": {
@ -174,7 +174,7 @@
"@babel/core": "7.25.2",
"@biomejs/biome": "^1.8.3",
"@cyclonedx/yarn-plugin-cyclonedx": "^1.0.0-rc.7",
"@swc/core": "1.7.21",
"@swc/core": "1.7.24",
"@swc/jest": "0.2.36",
"@types/bcryptjs": "2.4.6",
"@types/cors": "2.8.17",
@ -187,9 +187,9 @@
"@types/lodash.groupby": "4.6.9",
"@types/make-fetch-happen": "10.0.4",
"@types/memoizee": "0.4.11",
"@types/mime": "3.0.4",
"@types/mime": "4.0.0",
"@types/mustache": "^4.2.5",
"@types/node": "20.14.15",
"@types/node": "20.16.3",
"@types/nodemailer": "6.4.15",
"@types/owasp-password-strength-test": "1.3.2",
"@types/pg": "8.11.8",
@ -204,12 +204,12 @@
"coveralls": "3.1.1",
"del-cli": "5.1.0",
"faker": "5.5.3",
"fast-check": "3.21.0",
"fetch-mock": "9.11.0",
"fast-check": "3.22.0",
"fetch-mock": "^11.1.3",
"husky": "^9.0.11",
"jest": "29.7.0",
"jest-junit": "^16.0.0",
"lint-staged": "15.2.9",
"lint-staged": "15.2.10",
"nock": "13.5.5",
"openapi-enforcer": "1.23.0",
"proxyquire": "2.1.3",
@ -233,7 +233,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 {

1017
yarn.lock

File diff suppressed because it is too large Load Diff