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"]
12
12
[dependencies ]
13
13
napi = " 2"
14
14
napi-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" ] }
17
17
18
18
[build-dependencies ]
19
19
napi-build = " 2"
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ export interface RawResolverOptions {
25
25
mainFields ?: Array < string >
26
26
modules ?: Array < string >
27
27
preferRelative ?: boolean
28
- enableUnsafeCache ?: boolean
29
28
tsconfigPath ?: string
30
29
}
31
30
export interface ResolverInternal {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " nodejs-resolver" ,
3
- "version" : " 0.0.17 " ,
3
+ "version" : " 0.0.18 " ,
4
4
"description" : " node binding for nodejs-resolver" ,
5
5
"main" : " index.js" ,
6
6
"license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ pub struct RawResolverOptions {
30
30
pub main_fields : Option < Vec < String > > ,
31
31
pub modules : Option < Vec < String > > ,
32
32
pub prefer_relative : Option < bool > ,
33
- pub enable_unsafe_cache : Option < bool > ,
34
33
pub tsconfig_path : Option < String > ,
35
34
}
36
35
@@ -54,10 +53,6 @@ impl RawResolverOptions {
54
53
main_files : self . main_files . to_owned ( ) . unwrap_or ( default. main_files ) ,
55
54
main_fields : self . main_fields . to_owned ( ) . unwrap_or ( default. main_fields ) ,
56
55
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 ) ,
61
56
tsconfig : self . tsconfig_path . to_owned ( ) . map ( PathBuf :: from) ,
62
57
unsafe_cache,
63
58
}
You can’t perform that action at this time.
0 commit comments