This can cause long file names (URLs) to be truncated which in turn will break named hooks code (since it needs to load those file names).
'to',
        originalSourceLineNumber,
      );
    }
    if (originalSourceLineNumber === null) {
      return null;
    }
    const name = getHookName(
      hook,
      hookSourceData.originalSourceAST,
      ((hookSourceData.originalSourceCode: any): string),
      ((originalSourceLineNumber: any): number),
    );
    if (__DEBUG__) {
      console.log(`findHookNames() Found name "${name || '-'}"`);
    }
    map.set(hook, name);
  });
  return map;
}
function isValidUrl(possibleURL: string): boolean {
  try {
    
    new URL(possibleURL);
  } catch (_) {
    return false;
  }
  return true;
}
function loadSourceFiles(