Skip to content

Commit 5223f5a

Browse files
committed
refactor: remove deprecated notice from sync resolve utils
wooorm/import-meta-resolve#15
1 parent 208b323 commit 5223f5a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/resolve.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,6 @@ function _resolve(id: string, options: ResolveOptions = {}): string {
124124
return pathToFileURL(realPath).toString();
125125
}
126126

127-
/**
128-
* @deprecated please use `resolve` instead of `resolveSync`
129-
*/
130127
export function resolveSync(id: string, options?: ResolveOptions): string {
131128
return _resolve(id, options);
132129
}
@@ -135,9 +132,6 @@ export function resolve(id: string, options?: ResolveOptions): Promise<string> {
135132
return pcall(resolveSync, id, options);
136133
}
137134

138-
/**
139-
* @deprecated please use `resolvePath` instead of `resolvePathSync`
140-
*/
141135
export function resolvePathSync(id: string, options?: ResolveOptions) {
142136
return fileURLToPath(resolveSync(id, options));
143137
}

0 commit comments

Comments
 (0)