securityos/node_modules/next/dist/server/future/route-modules/app-route/module.js.map

1 line
7.1 KiB
Plaintext

{"version":3,"sources":["../../../../../src/server/future/route-modules/app-route/module.ts"],"names":["AppRouteRouteModule","RouteModule","sharedModules","is","route","definition","kind","RouteKind","APP_ROUTE","constructor","userland","resolvedPagePath","nextConfigOutput","requestAsyncStorage","staticGenerationAsyncStorage","serverHooks","headerHooks","staticGenerationBailout","actionAsyncStorage","methods","autoImplementMethods","nonStaticMethods","getNonStaticMethods","dynamic","Error","pathname","process","env","NODE_ENV","lowercased","HTTP_METHODS","map","method","toLowerCase","Log","error","toUpperCase","some","resolve","isHTTPMethod","handleBadRequestResponse","execute","request","context","handler","requestContext","req","renderOpts","previewProps","prerenderManifest","preview","staticGenerationContext","urlPathname","nextUrl","fetchCache","response","run","isAppRoute","RequestAsyncStorageWrapper","wrap","StaticGenerationAsyncStorageWrapper","staticGenerationStore","getTracer","join","forceDynamic","forceStatic","dynamicShouldError","revalidate","wrappedRequest","proxyRequest","getPathnameFromAbsolutePath","getRootSpanAttributes","set","trace","AppRouteRouteHandlersSpan","runHandler","spanName","attributes","patchFetch","res","params","parsedUrlQueryToParams","undefined","Response","fetchMetrics","waitUntil","Promise","all","pendingRevalidates","addImplicitTags","fetchTags","tags","requestStore","getStore","mutableCookies","headers","Headers","appendMutableCookies","body","status","statusText","handleInternalServerErrorResponse","has","get","handle","err","resolveHandlerError"],"mappings":";;;;;;;;;;;;;;;IAqHaA,mBAAmB;eAAnBA;;IAqWb,OAAkC;eAAlC;;;6BAhdO;4CAIA;qDAIA;kCAIA;sBACsD;4BACjB;wBAClB;2BACgB;6CACE;8BACf;qCACO;6DACf;sCACgB;qCACD;gCACC;2BACX;wCACa;4EAEV;iEACA;yCACW;6CAEJ;sDACS;4CACV;uEACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyExB,MAAMA,4BAA4BC,wBAAW;qBAgC3BC,gBAAgBA;IAevC,OAAcC,GAAGC,KAAkB,E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