mirror of
https://github.com/zebrajr/express.git
synced 2026-01-15 12:15:27 +00:00
fix(deps)!: mime-types@^3.0.0 (#5882)
This commit is contained in:
@@ -15,6 +15,8 @@ unreleased
|
||||
* deps: serve-static@^2.0.0
|
||||
* deps: qs@6.13.0
|
||||
* deps: accepts@^2.0.0
|
||||
* deps: mime-types@^3.0.0
|
||||
- `application/javascript` => `text/javascript`
|
||||
|
||||
5.0.0-beta.3 / 2024-03-25
|
||||
=========================
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
"http-errors": "2.0.0",
|
||||
"merge-descriptors": "^2.0.0",
|
||||
"methods": "~1.1.2",
|
||||
"mime-types": "~2.1.34",
|
||||
"mime-types": "^3.0.0",
|
||||
"on-finished": "2.4.1",
|
||||
"once": "1.4.0",
|
||||
"parseurl": "~1.3.3",
|
||||
|
||||
@@ -14,7 +14,7 @@ describe('res', function(){
|
||||
|
||||
request(app)
|
||||
.get('/')
|
||||
.expect('Content-Type', 'application/javascript; charset=utf-8')
|
||||
.expect('Content-Type', 'text/javascript; charset=utf-8')
|
||||
.end(done)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user