securityos/node_modules/next/dist/lib/verifyRootLayout.js.map

1 line
2.5 KiB
Plaintext

{"version":3,"sources":["../../src/lib/verifyRootLayout.ts"],"names":["verifyRootLayout","globOrig","require","glob","cwd","pattern","Promise","resolve","reject","err","files","getRootLayout","isTs","dir","appDir","tsconfigPath","pagePath","pageExtensions","rootLayoutPath","layoutFiles","join","isFileUnderAppDir","startsWith","APP_DIR_ALIAS","normalizedPagePath","replace","pagePathSegments","split","availableDir","length","firstSegmentValue","pop","currentSegments","segment","push","some","file","resolvedTsConfigPath","path","hasTsConfig","fs","access","then","writeFile","console","log","green","bold","e","error"],"mappings":";;;;+BAsDsBA;;;eAAAA;;;6DAtDL;oBACc;4BACH;2BACE;;;;;;AAE9B,MAAMC,WACJC,QAAQ;AACV,MAAMC,OAAO,CAACC,KAAaC;IACzB,OAAO,IAAIC,QAAQ,CAACC,SAASC;QAC3BP,SAASI,SAAS;YAAED;QAAI,GAAG,CAACK,KAAKC;YAC/B,IAAID,KAAK;gBACP,OAAOD,OAAOC;YAChB;YACAF,QAAQG;QACV;IACF;AACF;AAEA,SAASC,cAAcC,IAAa;IAClC,IAAIA,MAAM;QACR,OAAO,CAAC;;;;;;;;;;;;;;;;AAgBZ,CAAC;IACC;IAEA,OAAO,CAAC;;;;;;;;;;;;AAYV,CAAC;AACD;AAEO,eAAeZ,iBAAiB,EACrCa,GAAG,EACHC,MAAM,EACNC,YAAY,EACZC,QAAQ,EACRC,cAAc,EAOf;IACC,IAAIC;IACJ,IAAI;QACF,MAAMC,cAAc,MAAMhB,KACxBW,QACA,CAAC,WAAW,EAAEG,eAAeG,IAAI,CAAC,KAAK,CAAC,CAAC;QAE3C,MAAMC,oBAAoBL,SAASM,UAAU,CAAC,CAAC,EAAEC,wBAAa,CAAC,CAAC,CAAC;QACjE,MAAMC,qBAAqBR,SAASS,OAAO,CAAC,CAAC,EAAEF,wBAAa,CAAC,CAAC,CAAC,EAAE;QACjE,MAAMG,mBAAmBF,mBAAmBG,KAAK,CAA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