���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
.trash
/
node_modules
/
unenv
/
runtime
/
node
/
url
/
Viewing: index.cjs
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.urlToHttpOptions = exports.resolve = exports.pathToFileURL = exports.parse = exports.format = exports.fileURLToPath = exports.domainToUnicode = exports.domainToASCII = exports.default = exports.URLSearchParams = exports.URL = void 0; const URL = exports.URL = globalThis.URL; const URLSearchParams = exports.URLSearchParams = globalThis.URLSearchParams; const parse = function (urlString, parseQueryString, slashesDenoteHost) { const url = new URL(urlString); if (!parseQueryString && !slashesDenoteHost) { return url; } throw new Error("parseQueryString and slashesDenoteHost are unsupported"); }; exports.parse = parse; const resolve = function (from, to) { const resolvedUrl = new URL(to, new URL(from, "resolve://")); if (resolvedUrl.protocol === "resolve:") { const { pathname, search, hash } = resolvedUrl; return pathname + search + hash; } return resolvedUrl.toString(); }; exports.resolve = resolve; const urlToHttpOptions = function (url) { return { protocol: url.protocol, hostname: url.hostname, hash: url.hash, search: url.search, pathname: url.pathname, path: url.pathname + url.search || "", href: url.href, port: url.port, auth: url.username ? url.username + url.password ? ":" + url.password : "" : "" }; }; exports.urlToHttpOptions = urlToHttpOptions; const format = function (urlInput, options) { let url; if (typeof urlInput === "string") { url = new URL(urlInput); } else if (urlInput instanceof URL) { url = urlInput; } else { throw new TypeError("format urlObject is not supported"); } if (options) { if (options.auth === false) { url.username = ""; url.password = ""; } if (options.fragment === false) { url.hash = ""; } if (options.search === false) { url.search = ""; } } return url.toString(); }; exports.format = format; const domainToASCII = function (domain) { return domain; }; exports.domainToASCII = domainToASCII; const domainToUnicode = function (domain) { return domain; }; exports.domainToUnicode = domainToUnicode; const pathToFileURL = function (path) { return new URL(path); }; exports.pathToFileURL = pathToFileURL; const fileURLToPath = function (url) { if (typeof url === "string") { url = new URL(url); } return url.pathname; }; exports.fileURLToPath = fileURLToPath; module.exports = { URL, URLSearchParams, domainToASCII, domainToUnicode, fileURLToPath, format, parse, pathToFileURL, resolve, urlToHttpOptions };
Coded With 💗 by
0x6ick Mod By V1rus_Alfa