securityos/node_modules/next/dist/server/base-server.js.map

1 line
58 KiB
Plaintext
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
{"version":3,"sources":["../../src/server/base-server.ts"],"names":["NoFallbackError","WrappedBuildError","Server","Error","constructor","innerError","options","prepared","preparedPromise","customErrorNo404Warn","execOnce","Log","warn","dir","quiet","conf","dev","minimalMode","customServer","hostname","port","serverOptions","process","env","NEXT_RUNTIME","require","resolve","loadEnvConfig","nextConfig","fetchHostname","formatHostname","distDir","join","publicDir","getPublicDir","hasStaticDir","getHasStaticDir","i18nProvider","i18n","locales","I18NProvider","undefined","localeNormalizer","LocaleRouteNormalizer","serverRuntimeConfig","publicRuntimeConfig","assetPrefix","generateEtags","buildId","getBuildId","minimalModeKey","NEXT_PRIVATE_MINIMAL_MODE","hasAppDir","getHasAppDir","serverComponents","nextFontManifest","getNextFontManifest","experimental","deploymentId","NEXT_DEPLOYMENT_ID","renderOpts","strictNextHead","poweredByHeader","canonicalBase","amp","previewProps","getPrerenderManifest","preview","ampOptimizerConfig","optimizer","basePath","images","optimizeFonts","fontManifest","getFontManifest","optimizeCss","nextConfigOutput","output","nextScriptWorkers","disableOptimizedLoading","domainLocales","domains","crossOrigin","largePageDataBytes","runtimeConfig","Object","keys","length","isExperimentalCompile","setConfig","pagesManifest","getPagesManifest","appPathsManifest","getAppPathsManifest","appPathRoutes","getAppPathRoutes","matchers","getRouteMatchers","reload","setAssetPrefix","responseCache","getResponseCache","reloadMatchers","handleNextDataRequest","req","res","parsedUrl","middleware","getMiddleware","params","matchNextDataPathname","pathname","path","finished","headers","render404","shift","lastParam","endsWith","getRouteFromAssetPath","trailingSlash","substring","host","split","toLowerCase","domainLocale","detectDomainLocale","defaultLocale","config","localePathResult","analyze","detectedLocale","query","__nextLocale","__nextDefaultLocale","__nextInferredLocaleFromDefault","__nextDataReq","handleNextImageRequest","_req","_res","_parsedUrl","handleCatchallRenderRequest","handleCatchallMiddlewareRequest","manifestLoader","ServerManifestLoader","name","PAGES_MANIFEST","APP_PATHS_MANIFEST","DefaultRouteMatcherManager","push","PagesRouteMatcherProvider","PagesAPIRouteMatcherProvider","AppPageRouteMatcherProvider","AppRouteRouteMatcherProvider","logError","err","console","error","handleRequest","prepare","method","toUpperCase","getTracer","trace","BaseServerSpan","spanName","url","kind","SpanKind","SERVER","attributes","span","handleRequestImpl","finally","setAttributes","statusCode","rootSpanAttributes","getRootSpanAttributes","get","route","newName","updateName","waitTillReady","originalResponse","origSetHeader","setHeader","bind","val","headersSent","middlewareValue","getRequestMeta","Array","isArray","every","item","idx","Set","urlParts","urlNoQuery","match","cleanUrl","normalizeRepeatedSlashes","redirect","body","send","parseUrl","fromEntries","URLSearchParams","param","FLIGHT_PARAMETERS","toString","normalizeRscPath","attachRequestMeta","getHostname","parseUrlUtil","replace","pathnameInfo","getNextPathnameInfo","removePathPrefix","addRequestMeta","useMatchedPathHeader","matchedPath","URL","urlPathname","startsWith","normalizedUrlPath","stripNextDataPath","localeAnalysisResult","inferredFromDefault","denormalizePagePath","srcPathname","definition","pageIsDynamic","utils","getUtils","page","rewrites","getRoutesManifest","beforeFiles","afterFiles","fallback","caseSensitive","caseSensitiveRoutes","locale","pathnameBeforeRewrite","rewriteParams","handleRewrites","rewriteParamKeys","didRewrite","routeParamKeys","key","value","NEXT_QUERY_PARAM_PREFIX","normalizedKey","add","paramsResult","normalizeDynamicRouteParams","hasValidParams","isDynamicRoute","matcherParams","dynamicRouteMatcher","assign","opts","routeParams","getParamsFromRouteMatches","defaultRouteMatches","interpolateDynamicPath","normalizeVercelUrl","defaultRouteRegex","groups","normalizeResult","DecodeError","NormalizeError","renderError","getLocaleR