File tree Expand file tree Collapse file tree 4 files changed +3
-9
lines changed
Expand file tree Collapse file tree 4 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ crate-type = ["cdylib"]
1212[dependencies ]
1313napi = " 2"
1414napi-derive = " 2"
15- nodejs-resolver = " 0.0.26 "
16- serde = { version = " 1.0.137 " , features = [" derive" ] }
15+ nodejs-resolver = " 0.0.27 "
16+ serde = { version = " 1.0.138 " , features = [" derive" ] }
1717
1818[build-dependencies ]
1919napi-build = " 2"
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ export interface RawResolverOptions {
2525 mainFields ?: Array < string >
2626 modules ?: Array < string >
2727 preferRelative ?: boolean
28- enableUnsafeCache ?: boolean
2928 tsconfigPath ?: string
3029}
3130export interface ResolverInternal {
Original file line number Diff line number Diff line change 11{
22 "name" : " nodejs-resolver" ,
3- "version" : " 0.0.17 " ,
3+ "version" : " 0.0.18 " ,
44 "description" : " node binding for nodejs-resolver" ,
55 "main" : " index.js" ,
66 "license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ pub struct RawResolverOptions {
3030 pub main_fields : Option < Vec < String > > ,
3131 pub modules : Option < Vec < String > > ,
3232 pub prefer_relative : Option < bool > ,
33- pub enable_unsafe_cache : Option < bool > ,
3433 pub tsconfig_path : Option < String > ,
3534}
3635
@@ -54,10 +53,6 @@ impl RawResolverOptions {
5453 main_files : self . main_files . to_owned ( ) . unwrap_or ( default. main_files ) ,
5554 main_fields : self . main_fields . to_owned ( ) . unwrap_or ( default. main_fields ) ,
5655 prefer_relative : self . prefer_relative . unwrap_or ( default. prefer_relative ) ,
57- disable_unsafe_cache : self
58- . enable_unsafe_cache
59- . to_owned ( )
60- . unwrap_or ( default. disable_unsafe_cache ) ,
6156 tsconfig : self . tsconfig_path . to_owned ( ) . map ( PathBuf :: from) ,
6257 unsafe_cache,
6358 }
You can’t perform that action at this time.
0 commit comments