Skip to content

Commit

Permalink
fix(deps)!: mime-types@^3.0.0 (#5882)
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleytodd authored Aug 31, 2024
1 parent 7748475 commit 4e61d01
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
=========================
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion test/res.type.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})

Expand Down

0 comments on commit 4e61d01

Please sign in to comment.