Skip to content

Commit bc087a1

Browse files
authored
feat: update mime type for JavaScript and bump dependencies (#151)
1 parent 15e2f87 commit bc087a1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ var icons = {
599599
'+zip': 'box.png',
600600

601601
// specific mime type icons
602-
'application/javascript': 'page_white_code_red.png',
602+
'text/javascript': 'page_white_code_red.png',
603603
'application/json': 'page_white_code.png',
604604
'application/msword': 'page_white_word.png',
605605
'application/pdf': 'page_white_acrobat.png',

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
"url": "https://opencollective.com/express"
1111
},
1212
"dependencies": {
13-
"accepts": "~1.3.8",
13+
"accepts": "^2.0.0",
1414
"batch": "0.6.1",
1515
"debug": "2.6.9",
1616
"escape-html": "~1.0.3",
1717
"http-errors": "~1.8.0",
18-
"mime-types": "~2.1.35",
18+
"mime-types": "^3.0.2",
1919
"parseurl": "~1.3.3"
2020
},
2121
"devDependencies": {

0 commit comments

Comments
 (0)