fix(deps): update hyper-express to ~6.2.5

this fixes headers can have duplicates
This commit is contained in:
Bobby Wibowo 2022-07-12 08:56:24 +07:00
parent a356ce5ad3
commit c95173b323
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF
3 changed files with 5 additions and 7 deletions

View File

@ -146,8 +146,6 @@ if (config.cacheControl) {
// By default soft cache everything
safe.use('/', (req, res, next) => {
// FIXME: Routes further down the line that may set their own Cache-Control headers,
// will end up with multiple headers
res.set('Cache-Control', cacheControls.validate)
return next()
})

View File

@ -42,7 +42,7 @@
"fastq": "~1.13.0",
"fluent-ffmpeg": "~2.1.2",
"helmet": "~5.1.0",
"hyper-express": "^6.2.4",
"hyper-express": "~6.2.5",
"jszip": "~3.10.0",
"knex": "~2.1.0",
"live-directory": "^2.3.2",

View File

@ -3108,10 +3108,10 @@ https-proxy-agent@^5.0.0:
agent-base "6"
debug "4"
hyper-express@^6.2.4:
version "6.2.4"
resolved "https://registry.yarnpkg.com/hyper-express/-/hyper-express-6.2.4.tgz#9a36b10a712f953ac8ee45212c220e919a7a875e"
integrity sha512-jZNtQItuso5jJVeeu6Zuw1dB17xcSd6Ey4bOilOIt/QDFhLmzpuWPzG6VFk748+JMQMtlzqRFlbGNApeyOATtw==
hyper-express@~6.2.5:
version "6.2.5"
resolved "https://registry.yarnpkg.com/hyper-express/-/hyper-express-6.2.5.tgz#2cbd2d703495ed241a8da29abaf156490d3fe309"
integrity sha512-Jj7R+mkxwE2/m8H4A+8Ojn/BhJRkzGvYMWU9+wl/Ljhle67H4yStR5izK5oyfUGAmAwX2uM9PocXm+Ae+KT07Q==
dependencies:
"@types/busboy" "^0.3.1"
"@types/express" "^4.17.13"