UNPKG

happy-dom

Version:

Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.

17 lines 530 B
import { URL } from 'url'; import BrowserWindow from '../window/BrowserWindow.js'; import Location from '../location/Location.js'; /** * Module URL utility. */ export default class ModuleURLUtility { /** * Returns module URL based on parent URL and the import map. * * @param window Window. * @param parentURL Parent URL. * @param url Module URL. */ static getURL(window: BrowserWindow, parentURL: URL | Location | string, url: string): URL; } //# sourceMappingURL=ModuleURLUtility.d.ts.map