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

1 line
15 KiB
Plaintext

{"version":3,"sources":["../../../src/server/dev/next-dev-server.ts"],"names":["DevServer","ReactDevOverlayImpl","ReactDevOverlay","props","undefined","require","Server","getStaticPathsWorker","worker","Worker","resolve","maxRetries","numWorkers","enableWorkerThreads","nextConfig","experimental","workerThreads","forkOptions","env","process","NODE_OPTIONS","getNodeOptionsWithoutInspect","getStdout","pipe","stdout","getStderr","stderr","constructor","options","Error","stackTraceLimit","dev","ready","Promise","withResolvers","bundlerService","originalFetch","global","fetch","renderOpts","appDirDevErrorLogger","err","logErrorWithOriginalStack","ErrorDebug","staticPathsCache","LRUCache","max","length","value","JSON","stringify","staticPaths","ampSkipValidation","amp","skipValidation","ampValidator","html","pathname","validatorPath","validator","AmpHtmlValidator","getInstance","then","result","validateString","ampValidation","errors","filter","e","severity","_filterAmpDevelopmentScript","pagesDir","appDir","findPagesDir","dir","getRouteMatchers","ensurer","ensure","match","ensurePage","definition","page","clientOnly","matchers","DevRouteMatcherManager","extensions","pageExtensions","extensionsExpression","RegExp","join","fileReader","BatchedFileReader","DefaultFileReader","pathnameFilter","test","push","DevPagesRouteMatcherProvider","localeNormalizer","DevPagesAPIRouteMatcherProvider","ignorePartFilter","part","startsWith","DevAppPageRouteMatcherProvider","DevAppRouteRouteMatcherProvider","getBuildId","prepareImpl","setGlobal","distDir","PHASE_DEVELOPMENT_SERVER","telemetry","Telemetry","runInstrumentationHookIfAvailable","reload","on","reason","catch","close","hasPage","normalizedPath","normalizePagePath","console","error","isMiddlewareFile","findPageFile","Boolean","appFile","pagesFile","runMiddleware","params","onWarning","warn","waitUntil","DecodeError","MiddlewareNotFoundError","getProperError","middleware","request","response","parsedUrl","url","includes","finished","statusCode","renderError","runEdgeFunction","req","res","handleRequest","promise","run","basePath","originalPathname","pathHasPrefix","removePathPrefix","fs","existsSync","pathJoin","publicDir","PUBLIC_DIR_MIDDLEWARE_CONFLICT","formatServerError","sent","__NEXT_PAGE","isError","internalErr","body","send","type","getPagesManifest","NodeManifestLoader","serverDistDir","PAGES_MANIFEST","getAppPathsManifest","hasAppDir","APP_PATHS_MANIFEST","getMiddleware","getMiddlewareRouteMatcher","getNextFontManifest","hasMiddleware","actualMiddlewareFile","ensureMiddleware","actualInstrumentationHookFile","NextBuildContext","hasInstrumentationHook","instrumentationHook","INSTRUMENTATION_HOOK_FILENAME","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","withCoalescedInvoke","paths","fallback","output","fallbackMode","set","del","Log","restorePatchedGlobals","opts","findPageComponents","query","shouldEnsure","compilationErr","getCompilationError","WrappedBuildError","customServer","nextFontManifest","getFallbackErrorComponents","loadDefaultErrorComponents"],"mappings":";;;;+BAsFA;;;eAAqBA;;;2DA/DN;4BACQ;sBACU;wBACH;2BAIvB;8BACsB;4BAKtB;oEACmC;mCACR;+BACJ;kCACG;yBACP;uBACA;8BACG;uBACgB;mCACT;4CACO;wBACU;6DAChC;iEACmB;wBACP;mCACC;wCACK;8CACM;iDACG;gDACD;iDACC;oCACb;mCACD;mCACA;8BACD;iEACZ;wCACqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE1C,wCAAwC;AACxC,IAAIC;AACJ,MAAMC,kBAAkB,CAACC;IACvB,IAAIF,wBAAwBG,WAAW;QACrCH,sBACEI,QAAQ,0DAA0DH,eAAe;IACrF;IACA,OAAOD,oBAAoBE;AAC7B;AAce,MAAMH,kBAAkBM,mBAAM;IAuBnCC,uBAEN;QACA,MAAMC,SAAS,IAAIC,kBAAM,CAACJ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