code: function sanitizeUrl(url) {
  	if (/^\//i.test(url)) {
  		return `file://${url}`;
  	}
  	if (/^\./i.test(url)) {
  		return `file://${path.resolve(process.cwd(), url)}`;
  	}
  	if (!/^(https?|file):\/\//i.test(url)) {
  		return `http://${url}`;
  	}
  	return url;
  }
docs: Sanitize a URL, ensuring it has a scheme. If the URL begins with a slash or a period,
  it will be resolved as a path against the current working directory. If the URL does
  begin with a scheme, it will be prepended with "http://".
  @private
  @param {String} url - The URL to sanitize.
  @returns {String} Returns the sanitized URL.