Skip to content

Commit

Permalink
refactor: remove deprecated notice from sync resolve utils
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed May 24, 2023
1 parent 208b323 commit 5223f5a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/resolve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,6 @@ function _resolve(id: string, options: ResolveOptions = {}): string {
return pathToFileURL(realPath).toString();
}

/**
* @deprecated please use `resolve` instead of `resolveSync`
*/
export function resolveSync(id: string, options?: ResolveOptions): string {
return _resolve(id, options);
}
Expand All @@ -135,9 +132,6 @@ export function resolve(id: string, options?: ResolveOptions): Promise<string> {
return pcall(resolveSync, id, options);
}

/**
* @deprecated please use `resolvePath` instead of `resolvePathSync`
*/
export function resolvePathSync(id: string, options?: ResolveOptions) {
return fileURLToPath(resolveSync(id, options));
}
Expand Down

0 comments on commit 5223f5a

Please sign in to comment.