securityos/node_modules/next/dist/esm/server/dev/hot-reloader-webpack.js.map

1 line
33 KiB
Plaintext

{"version":3,"sources":["../../../src/server/dev/hot-reloader-webpack.ts"],"names":["webpack","StringXor","getOverlayMiddleware","WebpackHotMiddleware","join","relative","isAbsolute","posix","createEntrypoints","createPagesMapping","finalizeEntrypoint","getClientEntry","getEdgeServerEntry","getAppEntry","runDependingOnPageType","getStaticInfoIncludingLayouts","watchCompilers","Log","getBaseWebpackConfig","loadProjectInfo","APP_DIR_ALIAS","WEBPACK_LAYERS","recursiveDelete","BLOCKED_PAGES","CLIENT_STATIC_FILES_RUNTIME_AMP","CLIENT_STATIC_FILES_RUNTIME_MAIN","CLIENT_STATIC_FILES_RUNTIME_MAIN_APP","CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH","COMPILER_NAMES","RSC_MODULE_TYPES","getPathMatch","findPageFile","BUILDING","getEntries","EntryTypes","getInvalidator","onDemandEntryHandler","denormalizePagePath","normalizePathSep","getRouteFromEntrypoint","difference","isMiddlewareFile","isMiddlewareFilename","DecodeError","Span","trace","getProperError","ws","existsSync","promises","fs","getRegistry","parseVersionInfo","isAPIRoute","getRouteLoaderEntry","isInternalComponent","isNonRoutePagesPage","RouteKind","HMR_ACTIONS_SENT_TO_BROWSER","MILLISECONDS_IN_NANOSECOND","diff","a","b","Set","filter","v","has","wsServer","Server","noServer","renderScriptError","res","error","verbose","setHeader","code","finished","undefined","console","stack","statusCode","end","addCorsSupport","req","url","startsWith","preflight","headers","origin","method","writeHead","matchNextPageBundleRequest","findEntryModule","module","compilation","issuer","moduleGraph","getIssuer","erroredPages","failedPages","errors","entryModule","name","enhancedName","push","HotReloader","constructor","dir","config","pagesDir","distDir","buildId","previewProps","rewrites","appDir","telemetry","clientError","serverError","hmrServerError","pagesMapping","versionInfo","staleness","installed","reloadAfterInvalidation","hasAmpEntrypoints","hasAppRouterEntrypoints","hasPagesRouterEntrypoints","interceptors","clientStats","serverStats","edgeServerStats","serverPrevDocumentHash","hotReloaderSpan","version","process","env","__NEXT_VERSION","stop","run","parsedUrl","handlePageBundleRequest","pageBundleRes","parsedPageBundleUrl","pathname","params","decodedPagePath","path","map","param","decodeURIComponent","_","page","indexOf","ensurePage","clientOnly","getCompilationErrors","length","fn","Promise","resolve","reject","err","setHmrServerError","clearHmrServerError","send","action","RELOAD_PAGE","refreshServerComponents","SERVER_COMPONENT_CHANGES","onHMR","_socket","head","handleUpgrade","socket","client","webpackHotMiddleware","onDemandEntries","addEventListener","data","toString","payload","JSON","parse","traceChild","event","spanName","startTime","BigInt","Math","floor","attrs","attributes","endTime","updatedModules","m","replace","isPageHidden","errorCount","warningCount","stackTrace","hadRuntimeError","warn","fileMessage","file","exec","appPagesBrowser","fileUrl","URL","cwd","modules","searchParams","getAll","filepath","slice","manualTraceChild","hrtime","bigint","clientId","id","clean","span","traceAsyncFn","getVersionInfo","enabled","versionInfoSpan","require","registry","fetch","ok","tags","json","latest","canary","getWebpackConfig","webpackConfigSpan","pageExtensions","pagePaths","all","traceFn","isDev","pagesType","i","entrypoints","envFiles","pages","previewMode","rootDir","commonWebpackOptions","dev","originalRewrites","_originalRewrites","originalRedirects","_originalRedirects","runWebpackSpan","info","compilerType","server","edgeServer","buildFallbackError","fallbackWatcher","fallbackConfig","beforeFiles","afterFiles","fallback","isDevFallback","fallbackCompiler","bootedFallbackCompiler","watch","watchOptions","_err","start","startSpan","testMode","NEXT_TEST_MODE","__NEXT_TEST_MODE","isEnabled","mkdir","recursive","distPackageJsonPath","writeFile","activeWebpackConfigs","defaultEntry","entry","args","outputPath","multiCompiler","entries","isClientCompilation","isNodeServerCompilation","isEdgeServerCompilation","Object","keys","entryKey","entryData","bundlePath","dispose","result","key","isEntry","type","ENTRY","isChildEntry","CHILD_ENTRY","pageExists","absolutePagePath","absoluteEntryFilePath","hasAppDir","isAppPath","staticInfo","isInsideAppDir","pageFilePath","amp","isServerComponent","rsc","pageType","pageRuntime","runtime","onEdgeServer","appDirLoader","appPaths","pagePath","tsconfigPath","typescript","basePath","assetPrefix","nextConfigOutput","output","preferredRegion","middlewareConfig","Buffer","from","stringify","middleware","import","status","value","onClient","request","onServer","relativeRequest","context","kind","PAGES_API","PAGES","parallelism","inputFileSystem","compilers","compiler","fsStartTime","Date","now","hooks","beforeRun","intercept","register","tapInfo","done","tap","purge","changedClientPages","changedServerPages","changedEdgeServerPages","changedServerComponentPages","changedCSSImportPages","prevClientPageHashes","Map","prevServerPageHashes","prevEdgeServerPageHashes","prevCSSImportModuleHashes","pageExtensionRegex","RegExp","trackPageChanges","pageHashMap","changedItems","serverComponentChangedItems","stats","forEach","chunks","chunk","modsIterable","chunkGraph","getChunkModulesIterable","hasCSSModuleChanges","chunksHash","chunksHashServerLayer","mod","resource","includes","test","hash","createHash","update","originalSource","buffer","digest","layer","reactServerComponents","buildInfo","add","getModuleHash","resourceKey","prevHash","get","set","curHash","serverKey","prevServerHash","curServerHash","emit","failed","serverChunkNames","documentChunk","namedChunks","chunkNames","diffChunkNames","every","chunkName","serverOnlyChanges","edgeServerOnlyChanges","pageChanges","concat","middlewareChanges","Array","MIDDLEWARE_CHANGES","SERVER_ONLY_CHANGES","pg","size","clear","prevChunkNames","addedPages","removedPages","addedPage","ADDED_PAGE","removedPage","REMOVED_PAGE","booted","watcher","hotReloader","nextConfig","rootDirectory","invalidate","close","getErrors","normalizedPage","hasErrors","publish","definition","isApp"],"mappings":"AAQA,SAASA,OAAO,EAAEC,SAAS,QAAQ,qCAAoC;AACvE,SAASC,oBAAoB,QAAQ,6DAA4D;AACjG,SAASC,oBAAoB,QAAQ,mBAAkB;AACvD,SAASC,IAAI,EAAEC,QAAQ,EAAEC,UAAU,EAAEC,KAAK,QAAQ,OAAM;AACxD,SACEC,iBAAiB,EACjBC,kBAAkB,EAClBC,kBAAkB,EAClBC,cAAc,EACdC,kBAAkB,EAClBC,WAAW,EACXC,sBAAsB,EACtBC,6BAA6B,QACxB,sBAAqB;AAC5B,SAASC,cAAc,QAAQ,qBAAoB;AACnD,YAAY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