Skip to content

Commit

Permalink
Merge pull request #6 from bvanjoi/next
Browse files Browse the repository at this point in the history
release: 0.0.4
  • Loading branch information
bvanjoi authored Jun 8, 2022
2 parents c7304cf + 36c1cd2 commit 9501674
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
authors = ["LongYinan <[email protected]>"]
edition = "2021"
name = "napi-nodejs-resolver"
version = "0.1.0"
publish = false

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

Expand Down
10 changes: 4 additions & 6 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,12 @@ export interface RawResolverOptions {
preferRelative?: boolean
enableUnsafeCache?: boolean
}
export interface ResolverInternal {}
export interface ResolverInternal {

}
export function create(options: RawResolverOptions): ExternalObject<ResolverInternal>
export interface ResolveResult {
status: boolean
path?: string
}
export function resolve(
resolver: ExternalObject<ResolverInternal>,
base_dir: string,
id: string,
): { status: boolean; path?: string }
export function resolve(resolver: ExternalObject<ResolverInternal>, base_dir: string, id: string): {status: boolean, path?: string}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nodejs-resolver",
"version": "0.0.3",
"version": "0.0.4",
"description": "node binding for nodejs-resolver",
"main": "index.js",
"license": "MIT",
Expand Down

0 comments on commit 9501674

Please sign in to comment.