Skip to content

Commit 4b70189

Browse files
committed
Cleanup
1 parent a4891b6 commit 4b70189

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/uri-schemes/uri-schemes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { parseIriReference, resolveIri } from "@hyperjump/uri";
1+
import { parseIri, resolveIri } from "@hyperjump/uri";
22

33

44
const uriSchemePlugins = {};
@@ -13,7 +13,7 @@ export const removeUriSchemePlugin = (scheme) => {
1313

1414
export const retrieve = (uri, baseUri) => {
1515
uri = resolveIri(uri, baseUri);
16-
const { scheme } = parseIriReference(uri);
16+
const { scheme } = parseIri(uri);
1717

1818
if (!(scheme in uriSchemePlugins)) {
1919
throw new UnsupportedUriSchemeError(scheme, `The '${scheme}:' URI scheme is not supported. Use the 'addUriSchemePlugin' function to add support for '${scheme}:' URIs.`);

0 commit comments

Comments
 (0)