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

1 line
16 KiB
Plaintext

{"version":3,"sources":["../../../src/server/dev/next-dev-server.ts"],"names":["fs","Worker","join","pathJoin","ampValidation","INSTRUMENTATION_HOOK_FILENAME","PUBLIC_DIR_MIDDLEWARE_CONFLICT","findPagesDir","PHASE_DEVELOPMENT_SERVER","PAGES_MANIFEST","APP_PATHS_MANIFEST","Server","WrappedBuildError","normalizePagePath","pathHasPrefix","removePathPrefix","Telemetry","setGlobal","findPageFile","getNodeOptionsWithoutInspect","withCoalescedInvoke","loadDefaultErrorComponents","DecodeError","MiddlewareNotFoundError","Log","isError","getProperError","isMiddlewareFile","formatServerError","DevRouteMatcherManager","DevPagesRouteMatcherProvider","DevPagesAPIRouteMatcherProvider","DevAppPageRouteMatcherProvider","DevAppRouteRouteMatcherProvider","NodeManifestLoader","BatchedFileReader","DefaultFileReader","NextBuildContext","LRUCache","getMiddlewareRouteMatcher","ReactDevOverlayImpl","ReactDevOverlay","props","undefined","require","DevServer","getStaticPathsWorker","worker","resolve","maxRetries","numWorkers","enableWorkerThreads","nextConfig","experimental","workerThreads","forkOptions","env","process","NODE_OPTIONS","getStdout","pipe","stdout","getStderr","stderr","constructor","options","Error","stackTraceLimit","dev","ready","Promise","withResolvers","bundlerService","originalFetch","global","fetch","renderOpts","appDirDevErrorLogger","err","logErrorWithOriginalStack","ErrorDebug","staticPathsCache","max","length","value","JSON","stringify","staticPaths","ampSkipValidation","amp","skipValidation","ampValidator","html","pathname","validatorPath","validator","AmpHtmlValidator","getInstance","then","result","validateString","errors","filter","e","severity","_filterAmpDevelopmentScript","pagesDir","appDir","dir","getRouteMatchers","ensurer","ensure","match","ensurePage","definition","page","clientOnly","matchers","extensions","pageExtensions","extensionsExpression","RegExp","fileReader","pathnameFilter","test","push","localeNormalizer","ignorePartFilter","part","startsWith","getBuildId","prepareImpl","distDir","telemetry","runInstrumentationHookIfAvailable","reload","on","reason","catch","close","hasPage","normalizedPath","console","error","Boolean","appFile","pagesFile","runMiddleware","params","onWarning","warn","waitUntil","middleware","request","response","parsedUrl","url","includes","finished","statusCode","renderError","runEdgeFunction","req","res","handleRequest","promise","run","basePath","originalPathname","existsSync","publicDir","sent","__NEXT_PAGE","internalErr","body","send","type","getPagesManifest","serverDistDir","getAppPathsManifest","hasAppDir","getMiddleware","getNextFontManifest","hasMiddleware","actualMiddlewareFile","ensureMiddleware","actualInstrumentationHookFile","hasInstrumentationHook","instrumentationHook","register","message","ensureEdgeFunction","appPaths","generateRoutes","_dev","event","code","snippetChunks","split","snippet","line","substring","col","slice","indexOf","getStaticPaths","requestHeaders","isAppPath","__getStaticPaths","configFileName","publicRuntimeConfig","serverRuntimeConfig","httpAgentOptions","locales","defaultLocale","i18n","staticPathsWorker","pathsResult","loadStaticPaths","config","incrementalCacheHandlerPath","fetchCacheKeyPrefix","isrFlushToDisk","maxMemoryCacheSize","isrMemoryCacheSize","end","get","nextInvoke","paths","fallback","output","fallbackMode","set","del","restorePatchedGlobals","opts","findPageComponents","query","shouldEnsure","compilationErr","getCompilationError","customServer","nextFontManifest","getFallbackErrorComponents"],"mappings":"AAuBA,OAAOA,QAAQ,KAAI;AACnB,SAASC,MAAM,QAAQ,iCAAgC;AACvD,SAASC,QAAQC,QAAQ,QAAQ,OAAM;AACvC,SAASC,aAAa,QAAQ,qBAAoB;AAClD,SACEC,6BAA6B,EAC7BC,8BAA8B,QACzB,sBAAqB;AAC5B,SAASC,YAAY,QAAQ,2BAA0B;AACvD,SACEC,wBAAwB,EACxBC,cAAc,EACdC,kBAAkB,QACb,6BAA4B;AACnC,OAAOC,UAAUC,iBAAiB,QAAQ,iBAAgB;AAC1D,SAASC,iBAAiB,QAAQ,iDAAgD;AAClF,SAASC,aAAa,QAAQ,gDAA+C;AAC7E,SAASC,gBAAgB,QAAQ,mDAAkD;AACnF,SAASC,SAAS,QAAQ,0BAAyB;AACnD,SAASC,SAAS,QAAQ,cAAa;AACvC,SAASC,YAAY,QAAQ,wBAAuB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