{
  "version": 3,
  "sources": ["../../src/index-node.ts", "../../src/lib/isLocalhost.ts"],
  "sourcesContent": ["import { URL } from 'node:url'\n\n/** Node.js-specific URL class, imported from the `node:url` module. */\nconst NodeUrl = URL\nexport { NodeUrl as URL }\nexport * from './lib/index.ts'\n", "/**\n * Checks whether a hostname refers to the local machine (localhost, 127.0.0.1, ::1, or *.localhost).\n * @param hostname - The hostname to check\n * @returns `true` if the hostname is a localhost address\n */\nexport const isLocalhost = (hostname: string): boolean => {\n  return (\n    hostname === 'localhost'\n    || hostname === '127.0.0.1'\n    || hostname === '::1' // IPv6 localhost\n    || hostname.endsWith('.localhost')\n  )\n}\n"],
  "mappings": ";AAAA,SAAS,WAAW;;;ACKb,IAAM,cAAc,CAAC,aAA8B;AACxD,SACE,aAAa,eACV,aAAa,eACb,aAAa,SACb,SAAS,SAAS,YAAY;AAErC;;;ADTA,IAAM,UAAU;",
  "names": []
}
