archetecture security fix
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["chunks/node_modules_next_dist_esm_build_templates_edge-wrapper_132zrgl.js",52929,(e,t,l)=>{self._ENTRIES||={};let n=Promise.resolve().then(()=>e.i(64372));n.catch(()=>{}),self._ENTRIES.middleware_middleware=new Proxy(n,{get(e,t){if("then"===t)return(t,l)=>e.then(t,l);let l=(...l)=>e.then(e=>(0,e[t])(...l));return l.then=(l,n)=>e.then(e=>e[t]).then(l,n),l}})}]);
|
||||
|
||||
//# sourceMappingURL=node_modules_next_dist_esm_build_templates_edge-wrapper_132zrgl.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["turbopack:///[project]/node_modules/next/src/build/templates/edge-wrapper.js"],"sourcesContent":["// The wrapped module could be an async module, we handle that with the proxy\n// here. The comma expression makes sure we don't call the function with the\n// module as the \"this\" arg.\n// Turn exports into functions that are also a thenable. This way you can await the whole object\n// or exports (e.g. for Components) or call them directly as though they are async functions\n// (e.g. edge functions/middleware, this is what the Edge Runtime does).\n// Catch promise to prevent UnhandledPromiseRejectionWarning, this will be propagated through\n// the awaited export(s) anyway.\nself._ENTRIES ||= {}\nconst modProm = import('MODULE')\nmodProm.catch(() => {})\nself._ENTRIES['VAR_ENTRY_NAME'] = new Proxy(modProm, {\n get(innerModProm, name) {\n if (name === 'then') {\n return (res, rej) => innerModProm.then(res, rej)\n }\n let result = (...args) =>\n innerModProm.then((mod) => (0, mod[name])(...args))\n result.then = (res, rej) =>\n innerModProm.then((mod) => mod[name]).then(res, rej)\n return result\n },\n})\n"],"names":["self","_ENTRIES","modProm","catch","Proxy","get","innerModProm","name","res","rej","then","result","args","mod"],"mappings":"oJAQAA,KAAKC,QAAQ,GAAK,CAAC,EACnB,IAAMC,EAAU,MAAM,CAAC,CAAA,OAAA,GAAA,IAAA,CAAA,IAAA,EAAA,CAAA,CAAA,QACvBA,EAAQC,KAAK,CAAC,KAAO,GACrBH,KAAKC,QAAQ,CAAC,iBAAiB,GAAG,CAAIG,CAAAA,GAAMF,CAAAA,MAAAA,EAAS,CACnDG,IAAIC,CAAY,CAAEC,CAAI,EACpB,GAAIA,AAAS,QAAQ,GACnB,MAAO,CAACC,EAAKC,IAAQH,EAAaI,IAAI,CAACF,EAAKC,GAE9C,IAAIE,EAAS,CAAC,GAAGC,IACfN,EAAaI,IAAI,CAAC,AAACG,GAAS,CAAA,EAAGA,CAAG,CAACN,EAAAA,AAAI,KAAMK,IAG/C,OAFAD,EAAOD,IAAI,CAAG,CAACF,EAAKC,IAClBH,EAAaI,IAAI,CAAC,AAACG,GAAQA,CAAG,CAACN,EAAK,EAAEG,IAAI,CAACF,EAAKC,GAC3CE,CACT,CACF","ignoreList":[0]}
|
||||
+1
File diff suppressed because one or more lines are too long
+3
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user