securityos/node_modules/next/dist/build/utils.js.map

1 line
42 KiB
Plaintext
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
{"version":3,"sources":["../../src/build/utils.ts"],"names":["unique","difference","computeFromManifest","isMiddlewareFilename","isInstrumentationHookFilename","printTreeView","printCustomRoutes","getJsPageSizeInKb","buildStaticPaths","collectAppConfig","collectGenerateParams","buildAppStaticPaths","isPageStatic","hasCustomGetInitialProps","getDefinedNamedExports","detectConflictingPaths","copyTracedFiles","isReservedPage","isAppBuiltinNotFoundPage","isCustomErrorPage","isMiddlewareFile","isInstrumentationHookFile","getPossibleInstrumentationHookFilenames","getPossibleMiddlewareFilenames","NestedMiddlewareError","getSupportedBrowsers","isWebpackServerLayer","isWebpackDefaultLayer","isWebpackAppLayer","print","console","log","RESERVED_PAGE","fileGzipStats","fsStatGzip","file","cached","getGzipSize","fileSize","fs","stat","size","fileStats","fsStat","main","sub","Set","a","b","filter","x","has","intersect","sum","reduce","cachedBuildManifest","cachedAppBuildManifest","lastCompute","lastComputePageInfo","manifests","distPath","gzipSize","pageInfos","files","Object","is","build","app","countBuildFiles","map","key","manifest","set","Infinity","get","pages","each","Map","expected","pageInfo","isHybridAmp","getSize","stats","Promise","all","keys","f","path","join","groupFiles","listing","entries","shapeGroup","group","acc","push","total","len","common","router","undefined","sizes","MIDDLEWARE_FILENAME","INSTRUMENTATION_HOOK_FILENAME","filterAndSortList","list","routeType","hasCustomApp","e","slice","sort","localeCompare","lists","buildId","pagesDir","pageExtensions","buildManifest","appBuildManifest","middlewareManifest","useStaticPages404","getPrettySize","_size","prettyBytes","green","yellow","red","bold","MIN_DURATION","getPrettyDuration","_duration","duration","getCleanName","fileName","replace","findPageFile","usedSymbols","messages","printFileTree","routerType","filteredPages","length","entry","underline","forEach","item","i","arr","border","ampFirst","ampFirstPages","includes","totalDuration","pageDuration","ssgPageDurations","symbol","static","isSsg","isEdgeRuntime","runtime","add","initialRevalidateSeconds","cyan","totalSize","uniqueCssFiles","endsWith","contSymbol","index","innerSymbol","ssgPageRoutes","totalRoutes","routes","some","d","previewPages","Math","min","routesWithDuration","route","idx","remainingRoutes","remaining","avgDuration","round","sharedFilesSize","sharedFiles","sharedCssFiles","originalName","cleanName","middlewareInfo","middleware","middlewareSizes","dep","textTable","align","stringLength","str","stripAnsi","redirects","rewrites","headers","printRoutes","type","isRedirects","isHeaders","routesStr","routeStr","source","r","destination","statusCode","permanent","header","last","value","combinedRewrites","beforeFiles","afterFiles","fallback","page","cachedStats","pageManifest","Error","newKey","normalizeAppPath","pageData","pagePath","denormalizePagePath","denormalizeAppPagePath","fnFilterJs","pageFiles","appFiles","fnMapRealPath","allFilesReal","selfFilesReal","getCachedSize","allFilesSize","selfFilesSize","getStaticPaths","staticPathsResult","configFileName","locales","defaultLocale","appDir","prerenderPaths","encodedPrerenderPaths","_routeRegex","getRouteRegex","_routeMatcher","getRouteMatcher","_validParamKeys","expectedReturnVal","Array","isArray","invalidStaticPathKeys","toPrerender","paths","removeTrailingSlash","localePathResult","normalizeLocalePath","cleanedEntry","detectedLocale","result","split","segment","escapePathDelimiters","decodeURIComponent","invalidKeys","k","params","builtPage","encodedBuiltPage","validParamKey","repeat","optional","groups","paramValue","hasOwnProperty","replaced","encodeURIComponent","locale","curLocale","encodedPaths","mod","hasConfig","config","revalidate","dynamicParams","dynamic","fetchCache","preferredRegion","parentSegments","generateParams","isLayout","layout","isClientComponent","isClientReference","isDynamicSegment","test","generateStaticParams","segmentPath","children","distDir","isrFlushToDisk","incrementalCacheHandlerPath","requestHeaders","maxMemor