securityos/node_modules/next/dist/experimental/testmode/proxy/server.js.map

1 line
1.9 KiB
Plaintext
Raw Normal View History

2024-09-06 15:32:35 +00:00
{"version":3,"sources":["../../../../src/experimental/testmode/proxy/server.ts"],"names":["createProxyServer","readBody","req","Promise","resolve","reject","acc","on","chunk","push","Buffer","concat","onFetch","server","http","createServer","res","url","writeHead","end","json","JSON","parse","toString","e","api","response","handleFetch","UNHANDLED","write","stringify","listen","undefined","address","close","Error","port","fetchWith","input","init","testData","request","Request","headers","set","String","fetch"],"mappings":";;;;+BAoBsBA;;;eAAAA;;;6DApBL;uBAGS;0BAEE;;;;;;AAE5B,SAASC,SAASC,GAAoB;IACpC,OAAO,IAAIC,QAAgB,CAACC,SAASC;QACnC,MAAMC,MAAgB,EAAE;QACxBJ,IAAIK,EAAE,CAAC,QAAQ,CAACC;YACdF,IAAIG,IAAI,CAACD;QACX;QACAN,IAAIK,EAAE,CAAC,OAAO;YACZH,QAAQM,OAAOC,MAAM,CAACL;QACxB;QACAJ,IAAIK,EAAE,CAAC,SAASF;IAClB;AACF;AAEO,eAAeL,kBAAkB,EACtCY,OAAO,EAGR;IACC,MAAMC,SAASC,aAAI,CAACC,YAAY,CAAC,OAAOb,KAAKc;QAC3C,IAAId,IAAIe,GAAG,KAAK,KAAK;YACnBD,IAAIE,SAAS,CAAC;YACdF,IAAIG,GAAG;YACP;QACF;QAEA,IAAIC;QACJ,IAAI;YACFA,OAAOC,KAAKC,KAAK,CAAC,AAAC,CAAA,MAAMrB,SAASC,IAAG,EAAGqB,QAAQ,CAAC;QACnD,EAAE,OAAOC,GAAG;YACVR,IAAIE,SAAS,CAAC;YACdF,IAAIG,GAAG;YACP;QACF;QAEA,MAAM,EAAEM,GAAG,EAAE,GAAGL;QAEhB,IAAIM;QACJ,OAAQD;YACN,KAAK;gBACH,IAAIb,SAAS;oBACXc,WAAW,MAAMC,IAAAA,qBAAW,EAACP,MAAMR;gBACrC;gBACA;YACF;gBACE;QACJ;QACA,IAAI,CAACc,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