Skip to content

Commit 36c1cd2

Browse files
committed
release: 0.0.4
1 parent dd596b3 commit 36c1cd2

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
2-
authors = ["LongYinan <lynweklm@gmail.com>"]
32
edition = "2021"
43
name = "napi-nodejs-resolver"
54
version = "0.1.0"
5+
publish = false
66

77
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
88

index.d.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,12 @@ export interface RawResolverOptions {
2323
preferRelative?: boolean
2424
enableUnsafeCache?: boolean
2525
}
26-
export interface ResolverInternal {}
26+
export interface ResolverInternal {
27+
28+
}
2729
export function create(options: RawResolverOptions): ExternalObject<ResolverInternal>
2830
export interface ResolveResult {
2931
status: boolean
3032
path?: string
3133
}
32-
export function resolve(
33-
resolver: ExternalObject<ResolverInternal>,
34-
base_dir: string,
35-
id: string,
36-
): { status: boolean; path?: string }
34+
export function resolve(resolver: ExternalObject<ResolverInternal>, base_dir: string, id: string): {status: boolean, path?: string}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nodejs-resolver",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"description": "node binding for nodejs-resolver",
55
"main": "index.js",
66
"license": "MIT",

0 commit comments

Comments
 (0)