Commit 9bbf5ba 1 parent d0aeebd commit 9bbf5ba Copy full SHA for 9bbf5ba
File tree 1 file changed +5
-0
lines changed
packages/utils/node-resolver-rs/src
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,17 @@ pub struct PackageJson {
38
38
pub path : PathBuf ,
39
39
#[ serde( default , deserialize_with = "ok_or_default" ) ]
40
40
pub name : String ,
41
+ #[ serde( default , deserialize_with = "ok_or_default" ) ]
41
42
pub version : Option < String > ,
42
43
#[ serde( rename = "type" , default , deserialize_with = "ok_or_default" ) ]
43
44
pub module_type : ModuleType ,
45
+ #[ serde( default , deserialize_with = "ok_or_default" ) ]
44
46
main : Option < String > ,
47
+ #[ serde( default , deserialize_with = "ok_or_default" ) ]
45
48
module : Option < String > ,
49
+ #[ serde( default , deserialize_with = "ok_or_default" ) ]
46
50
tsconfig : Option < String > ,
51
+ #[ serde( default , deserialize_with = "ok_or_default" ) ]
47
52
types : Option < String > ,
48
53
#[ serde( default , deserialize_with = "ok_or_default" ) ]
49
54
pub source : SourceField ,
You can’t perform that action at this time.
0 commit comments