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