forked from unjs/unenv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
whatwg-url.ts
25 lines (23 loc) · 1.05 KB
/
whatwg-url.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// https://www.npmjs.com/package/whatwg-url
import { notImplemented } from "../_internal/utils";
export const URL = globalThis.URL;
export const URLSearchParams = globalThis.URLSearchParams;
export const parseURL = notImplemented("whatwg-url.parseURL");
export const basicURLParse = notImplemented("whatwg-url.basicURLParse");
export const serializeURL = notImplemented("whatwg-url.serializeURL");
export const serializeHost = notImplemented("whatwg-url.serializeHost");
export const serializeInteger = notImplemented("whatwg-url.serializeInteger");
export const serializeURLOrigin = notImplemented(
"whatwg-url.serializeURLOrigin"
);
export const setTheUsername = notImplemented("whatwg-url.setTheUsername");
export const setThePassword = notImplemented("whatwg-url.setThePassword");
export const cannotHaveAUsernamePasswordPort = notImplemented(
"whatwg-url.cannotHaveAUsernamePasswordPort"
);
export const percentDecodeBytes = notImplemented(
"whatwg-url.percentDecodeBytes"
);
export const percentDecodeString = notImplemented(
"whatwg-url.percentDecodeString"
);