Review funkt

This commit is contained in:
2026-08-09 21:56:00 +00:00
parent f522ae9953
commit fe9dfa4519
11366 changed files with 2335077 additions and 97 deletions

19
node_modules/next/dist/esm/lib/url.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
const DUMMY_ORIGIN = "http://n";
function getUrlWithoutHost(url) {
return new URL(url, DUMMY_ORIGIN);
}
export function getPathname(url) {
return getUrlWithoutHost(url).pathname;
}
export function isFullStringUrl(url) {
return /https?:\/\//.test(url);
}
export function parseUrl(url) {
let parsed = undefined;
try {
parsed = new URL(url, DUMMY_ORIGIN);
} catch {}
return parsed;
}
//# sourceMappingURL=url.js.map