securityos/node_modules/next/dist/server/lib/route-resolver.js.map

1 line
4.9 KiB
Plaintext
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
{"version":3,"sources":["../../../src/server/lib/route-resolver.ts"],"names":["makeResolver","debug","setupDebug","dir","nextConfig","middleware","hostname","port","fsChecker","setupFsCheck","dev","minimalMode","config","appDir","pagesDir","findPagesDir","fetchHostname","formatHostname","ensureCallback","item","result","type","Error","findPageFile","itemPath","pageExtensions","distDir","path","join","middlewareInfo","name","paths","files","map","file","process","cwd","wasm","assets","length","middlewareMatcher","getMiddlewareRouteMatcher","matcher","regexp","originalSource","resolveRoutes","getResolveRoutes","isNodeDebugging","initialize","requestHandler","req","res","headers","cloneableBody","getCloneableBody","run","require","edgeFunctionEntry","request","method","i18n","basePath","trailingSlash","url","body","signal","signalFromNodeResponse","useCache","onWarning","console","warn","err","upgradeHandler","deleteAppClientCache","deleteCache","clearModuleContext","propagateServerField","resolveRoute","routeResult","isUpgradeReq","matchedOutput","bodyStream","statusCode","parsedUrl","resHeaders","finished","pathname","query","key","Object","keys","setHeader","destination","format","PERMANENT_REDIRECT_STATUS","end","pipeReadable","protocol","getRequestMeta","proxyRequest","undefined","cloneBodyStream","experimental","proxyTimeout"],"mappings":";;;;+BAsDsBA;;;eAAAA;;;QAlDf;QACA;4DAES;6DACC;8BACY;6BACE;8DACR;6BACU;8BACJ;4BACA;8BACA;+BACI;2BACS;gCACX;6BACQ;wCACG;8BACb;;;;;;AA+B7B,MAAMC,QAAQC,IAAAA,cAAU,EAAC;AAElB,eAAeF,aACpBG,GAAW,EACXC,UAA8B,EAC9BC,UAA4B,EAC5B,EAAEC,WAAW,WAAW,EAAEC,OAAO,IAAI,EAA0B;IAE/D,MAAMC,YAAY,MAAMC,IAAAA,wBAAY,EAAC;QACnCN;QACAO,KAAK;QACLC,aAAa;QACbC,QAAQR;IACV;IACA,MAAM,EAAES,MAAM,EAAEC,QAAQ,EAAE,GAAGC,IAAAA,0BAAY,EAACZ;IAC1C,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