securityos/node_modules/next/dist/cli/next-info.js.map

1 line
9.5 KiB
Plaintext

{"version":3,"sources":["../../src/cli/next-info.ts"],"names":["nextInfo","fetch","require","dir","process","cwd","getPackageVersion","packageName","version","getNextConfig","config","loadConfig","PHASE_INFO","output","getBinaryVersion","binaryName","childProcess","execFileSync","toString","trim","printHelp","console","log","cyan","printDefaultInfo","installedRelease","nextConfig","os","platform","arch","versions","node","res","releases","json","newestRelease","tag_name","replace","warn","yellow","bold","e","message","runSharedDependencyCheck","tools","skipMessage","getSupportedArchTriples","currentPlatform","spawn","triples","availableTools","tool","check","sync","bin","checkArgs","status","push","length","messages","result","outputs","triple","triplePkgName","platformArchABI","resolved","resolve","proc","args","procPromise","Promise","stdout","on","data","stderr","c","code","join","printVerbose","fs","tasks","title","scripts","default","isWsl","ciInfo","isDocker","isCI","name","report","getReport","header","javascriptHeap","sharedObjects","commandLine","host","cpus","networkInterfaces","reportSummary","JSON","stringify","platformArchTriples","loadBindings","bindings","target","getTargetTriple","path","fallbackBindingsDirectory","nextPath","dirname","tryResolve","pkgName","fileExists","existsSync","loadError","loadSuccess","linux","win32","darwin","task","targetPlatform","undefined","taskScript","taskResult"],"mappings":";;;;;+BA+kBSA;;;eAAAA;;;2DA7kBM;sEACU;4BAEU;2BAKR;+DACJ;;;;;;AALvB,MAAM,EAAEC,KAAK,EAAE,GAAGC,QAAQ;AAO1B,MAAMC,MAAMC,QAAQC,GAAG;AAsCvB,SAASC,kBAAkBC,WAAmB;IAC5C,IAAI;QACF,OAAOL,QAAQ,CAAC,EAAEK,YAAY,aAAa,CAAC,EAAEC,OAAO;IACvD,EAAE,OAAM;QACN,OAAO;IACT;AACF;AAEA,eAAeC;IACb,MAAMC,SAAS,MAAMC,IAAAA,eAAU,EAACC,qBAAU,EAAET;IAE5C,OAAO;QACLU,QAAQH,OAAOG,MAAM,IAAI;IAC3B;AACF;AAEA;;;CAGC,GACD,SAASC,iBAAiBC,UAAkB;IAC1C,IAAI;QACF,OAAOC,sBA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