securityos/node_modules/next/dist/server/lib/router-utils/setup-dev-bundler.js.map

1 line
48 KiB
Plaintext

{"version":3,"sources":["../../../../src/server/lib/router-utils/setup-dev-bundler.ts"],"names":["setupDevBundler","wsServer","ws","Server","noServer","verifyTypeScript","opts","usingTypeScript","verifyResult","verifyTypeScriptSetup","dir","distDir","nextConfig","intentDirs","pagesDir","appDir","filter","Boolean","typeCheckPreflight","tsconfigPath","typescript","disableStaticImages","images","hasAppDir","hasPagesDir","version","startWatcher","useFileSystemPublicRoutes","path","join","setGlobal","PHASE_DEVELOPMENT_SERVER","validFileMatcher","createValidFileMatcher","pageExtensions","propagateServerField","field","args","renderServer","instance","serverFields","hotReloader","turbo","loadBindings","require","bindings","jsConfig","loadJsConfig","process","env","TURBOPACK","NEXT_TEST_MODE","log","testMode","hasRewrites","fsChecker","rewrites","afterFiles","length","beforeFiles","fallback","project","createProject","projectPath","rootPath","experimental","outputFileTracingRoot","compilerOptions","watch","defineEnv","createDefineEnv","allowedRevalidateHeaderKeys","undefined","clientRouterFilters","config","dev","fetchCacheKeyPrefix","middlewareMatchers","previewModeId","serverAddr","port","iter","entrypointsSubscribe","curEntries","Map","changeSubscriptions","prevMiddleware","globalEntries","app","document","error","currentEntriesHandlingResolve","currentEntriesHandling","Promise","resolve","hmrPayloads","turbopackUpdates","hmrBuilding","issues","issueKey","issue","severity","filePath","title","description","formatIssue","source","detail","formattedTitle","replace","message","formattedFilePath","replaceAll","start","end","line","column","content","codeFrameColumns","forceColor","ModuleBuildError","Error","processIssues","displayName","name","result","throwIssue","oldSet","get","newSet","set","relevantIssues","Set","key","formatted","has","console","add","keys","size","serverPathState","processResult","id","hasChange","p","contentHash","serverPaths","endsWith","previousHash","hasAppPaths","some","startsWith","deleteAppClientCache","map","file","clearModuleContext","deleteCache","hmrHash","sendHmrDebounce","debounce","errors","issueMap","details","send","action","HMR_ACTIONS_SENT_TO_BROWSER","SYNC","hash","String","values","warnings","versionInfo","installed","staleness","payload","clear","type","TURBOPACK_MESSAGE","data","sendHmr","BUILDING","sendTurbopackMessage","push","loadPartialManifest","pageName","manifestPath","posix","JSON","parse","readFile","buildManifests","appBuildManifests","pagesManifests","appPathsManifests","middlewareManifests","actionManifests","clientToHmrSubscription","clients","loadMiddlewareManifest","MIDDLEWARE_MANIFEST","loadBuildManifest","BUILD_MANIFEST","loadAppBuildManifest","APP_BUILD_MANIFEST","loadPagesManifest","PAGES_MANIFEST","loadAppPathManifest","APP_PATHS_MANIFEST","loadActionManifest","SERVER_REFERENCE_MANIFEST","buildingReported","changeSubscription","page","endpoint","makePayload","changedPromise","changed","change","consoleStore","setState","loading","trigger","clearChangeSubscription","subscription","return","delete","mergeBuildManifests","manifests","manifest","pages","devFiles","ampDevFiles","polyfillFiles","lowPriorityFiles","rootMainFiles","ampFirstPages","m","Object","assign","mergeAppBuildManifests","mergePagesManifests","mergeMiddlewareManifests","middleware","sortedMiddleware","functions","fun","concat","matcher","matchers","regexp","pathToRegexp","originalSource","delimiter","sensitive","strict","mergeActionManifests","node","edge","mergeActionIds","actionEntries","other","workers","layer","writeFileAtomic","tempPath","Math","random","toString","slice","writeFile","rename","e","unlink","writeBuildManifest","buildManifest","buildManifestPath","stringify","__rewrites","normalizeRewritesForBuildManifest","fromEntries","pathname","sortedPages","buildManifestJs","srcEmptySsgManifest","writeFallbackBuildManifest","fallbackBuildManifest","fallbackBuildManifestPath","writeAppBuildManifest","appBuildManifest","appBuildManifestPath","writePagesManifest","pagesManifest","pagesManifestPath","writeAppPathsManifest","appPathsManifest","appPathsManifestPath","writeMiddlewareManifest","middlewareManifest","middlewareManifestPath","writeActionManifest","actionManifest","actionManifestJsonPath","actionManifestJsPath","json","writeFontManifest","fontManifestPath","NEXT_FONT_MANIFEST","appUsingSizeAdjust","pagesUsingSizeAdjust","writeOtherManifests","loadableManifestPath","subscribeToHmrEvents","client","mapping","hmrEvents","next","reloadAction","RELOAD_PAGE","close","unsubscribeToHmrEvents","handleEntries","entrypoints","pagesAppEndpoint","pagesDocumentEndpoint","pagesErrorEndpoint","route","routes","Log","info","subscriptionPromise","event","MIDDLEWARE_CHANGES","processMiddleware","writtenEndpoint","writeToDisk","actualMiddlewareFile","match","catch","err","exit","mkdir","recursive","turbopackHotReloader","turbopackProject","activeWebpackConfigs","serverStats","edgeServerStats","run","req","_res","_parsedUrl","url","params","matchNextPageBundleRequest","decodedPagePath","param","decodeURIComponent","denormalizedPagePath","denormalizePagePath","ensurePage","clientOnly","definition","finished","onHMR","socket","head","handleUpgrade","on","addEventListener","parsedData","turbopackConnected","TURBOPACK_CONNECTED","setHmrServerError","_error","clearHmrServerError","stop","getCompilationErrors","_page","invalidate","buildFallbackError","inputPage","isApp","normalizeAppPath","normalizeMetadataRoute","PageNotFoundError","suffix","htmlEndpoint","dataEndpoint","ServerClientChangeType","Both","SERVER_ONLY_CHANGES","rscEndpoint","SERVER_COMPONENT_CHANGES","HotReloader","buildId","telemetry","previewProps","prerenderManifest","preview","nextScriptWorkers","verifyPartytownSetup","CLIENT_STATIC_FILES_PATH","ensureCallback","ensure","item","itemPath","resolved","prevSortedRoutes","reject","fs","readdir","_","files","directories","rootDir","getPossibleMiddlewareFilenames","getPossibleInstrumentationHookFilenames","nestedMiddleware","envFiles","tsconfigPaths","wp","Watchpack","ignored","d","fileWatchTimes","enabledTypeScript","previousClientRouterFilters","previousConflictingPagePaths","generateInterceptionRoutesRewrites","routedPages","knownFiles","getTimeInfoEntries","appPaths","pageNameSet","conflictingAppPagePaths","appPageFilePaths","pagesPageFilePaths","envChange","tsconfigChange","conflictingPageChange","hasRootAppNotFound","appFiles","pageFiles","devPageFiles","sortedKnownFiles","sort","sortByPageExts","fileName","includes","meta","watchTime","watchTimeChange","timestamp","accuracy","isPageFile","isAppPath","normalizePathSep","isPagePath","rootFile","absolutePathToPage","extensions","keepIndex","pagesType","isMiddlewareFile","staticInfo","getStaticInfoIncludingLayouts","pageFilePath","isDev","isInsideAppDir","output","isInstrumentationHookFile","instrumentationHook","NextBuildContext","hasInstrumentationHook","actualInstrumentationHookFile","isRootNotFound","isAppRouterPage","originalPageName","nextDataRoutes","test","numConflicting","errorMessage","appPath","relative","pagesPath","clientRouterFilter","createClientRouterFilter","clientRouterFilterRedirects","_originalRedirects","r","internal","clientRouterFilterAllowedRate","then","loadEnvConfig","envFilePath","forceReload","silent","tsconfigResult","update","forEach","idx","isClient","isNodeServer","isEdgeServer","plugins","plugin","jsConfigPlugin","resolvedBaseUrl","currentResolvedBaseUrl","resolvedUrlIndex","modules","findIndex","splice","paths","definitions","__NEXT_DEFINE_ENV","newDefine","getDefineEnv","isNodeOrEdgeCompilation","reloadAfterInvalidation","NestedMiddlewareError","appPathRoutes","entries","k","v","hasAppNotFound","middlewareMatcher","getMiddlewareRouteMatcher","interceptionRoutes","buildCustomRoute","basePath","caseSensitiveRoutes","exportPathMap","outDir","value","destination","query","qs","sortedRoutes","getSortedRoutes","dynamicRoutes","regex","getRouteRegex","re","getRouteMatcher","dataRoutes","buildDataRoute","routeRegex","i18n","RegExp","dataRouteRegex","groups","unshift","every","val","addedRoutes","removedRoutes","DEV_PAGES_MANIFEST_UPDATE","devPagesManifest","ADDED_PAGE","REMOVED_PAGE","warn","startTime","clientPagesManifestPath","DEV_CLIENT_PAGES_MANIFEST","devVirtualFsItems","devMiddlewareManifestPath","DEV_MIDDLEWARE_MANIFEST","requestHandler","res","parsedUrl","statusCode","setHeader","logErrorWithOriginalStack","usedOriginalStack","isError","stack","frames","parseStack","frame","find","lineNumber","moduleId","modulePath","src","getErrorSource","isEdgeCompiler","COMPILER_NAMES","edgeServer","compilation","getSourceById","sep","originalFrame","createOriginalStackFrame","rootDirectory","serverCompilation","edgeCompilation","originalCodeFrame","originalStackFrame","methodName","logAppDirError","ensureMiddleware","isSrcDir","record","eventCliSession","webpackVersion","turboFlag","cliCommand","isCustomServer","hasNowJson","findUp","cwd"],"mappings":";;;;+BAitEsBA;;;eAAAA;;;2DAtrEP;qBACyC;2DACzC;4DACC;6DACC;oEACF;kEACO;qBACQ;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