File tree 5 files changed +7
-7
lines changed
5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2
2
"presets" : [
3
3
[" env" , {
4
4
"targets" : {
5
- "node" : 4
5
+ "node" : 6
6
6
},
7
7
"include" : [" transform-regenerator" ]
8
8
}],
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ test('inferKind', function() {
56
56
foo ( ) ;
57
57
} )
58
58
) . kind
59
- ) . toBe ( 'function ' ) ;
59
+ ) . toBe ( 'constant ' ) ;
60
60
61
61
expect (
62
62
inferKind ( toComment ( '/** Exported interface */' + 'interface myinter {}' ) )
Original file line number Diff line number Diff line change 34
34
"lodash" : " ^4.17.4" ,
35
35
"mdast-util-inject" : " ^1.1.0" ,
36
36
"micromatch" : " ^3.1.5" ,
37
- "mime" : " ^1.4.1 " ,
37
+ "mime" : " ^2.2.0 " ,
38
38
"module-deps-sortable" : " 4.0.6" ,
39
39
"parse-filepath" : " ^1.0.2" ,
40
40
"pify" : " ^3.0.0" ,
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ class Server extends EventEmitter {
75
75
const file = this . _files [ i ] ;
76
76
const filePath = file . relative . split ( sep ) . join ( '/' ) ;
77
77
if ( filePath === path ) {
78
- response . writeHead ( 200 , { 'Content-Type' : mime . lookup ( path ) } ) ;
78
+ response . writeHead ( 200 , { 'Content-Type' : mime . getType ( path ) } ) ;
79
79
response . end ( file . contents ) ;
80
80
return ;
81
81
}
Original file line number Diff line number Diff line change @@ -4395,9 +4395,9 @@ mime-types@~2.1.17:
4395
4395
dependencies :
4396
4396
mime-db "~1.30.0"
4397
4397
4398
- mime@^1.4.1 :
4399
- version "1.6 .0"
4400
- resolved "https://registry.yarnpkg.com/mime/-/mime-1.6 .0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1 "
4398
+ mime@^2.2.0 :
4399
+ version "2.2 .0"
4400
+ resolved "https://registry.yarnpkg.com/mime/-/mime-2.2 .0.tgz#161e541965551d3b549fa1114391e3a3d55b923b "
4401
4401
4402
4402
mimic-fn@^1.0.0 :
4403
4403
version "1.1.0"
You can’t perform that action at this time.
0 commit comments