%PDF- %PDF-
Direktori : /var/www/html/node_modules/next/dist/lib/ |
Current File : /var/www/html/node_modules/next/dist/lib/patch-incorrect-lockfile.js.map |
{"version":3,"sources":["../../lib/patch-incorrect-lockfile.ts"],"names":["patchIncorrectLockfile","Log","registry","fetchPkgInfo","pkg","output","execSync","toString","trim","startsWith","endsWith","_","res","fetch","ok","Error","status","data","json","versionData","versions","nextPkgJson","version","os","cpu","engines","tarball","dist","integrity","dir","process","env","NEXT_IGNORE_INCORRECT_LOCKFILE","lockfilePath","findUp","cwd","content","promises","readFile","endingNewline","lockfileParsed","JSON","parse","lockfileVersion","parseInt","expectedSwcPkgs","Object","keys","optionalDependencies","patchDependency","pkgData","dependencies","resolved","optional","patchPackage","packages","supportedVersions","includes","shouldPatchDependencies","shouldPatchPackages","missingSwcPkgs","pkgPrefix","substring","length","push","warn","isCI","pkgsData","Promise","all","map","i","writeFile","stringify","err","error","console"],"mappings":"AAAA;;;;QAoDsBA,sBAAsB,GAAtBA,sBAAsB;AApDnB,IAAA,GAAI,WAAJ,IAAI,CAAA;QACtB,+BAA+B;AAC1BC,IAAAA,GAAG,mCAAM,qBAAqB,EAA3B;AACI,IAAA,OAA4B,kCAA5B,4BAA4B,EAAA;AACtB,IAAA,aAAe,WAAf,eAAe,CAAA;AAEhB,IAAA,YAAmB,kCAAnB,mBAAmB,EAAA;AAEtB,IAAA,OAAsB,WAAtB,sBAAsB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE3C,IAAIC,QAAQ,AAAoB;AAEhC,eAAeC,YAAY,CAACC,GAAW,EAAE;IACvC,IAAI,CAACF,QAAQ,EAAE;QACb,IAAI;YACF,MAAMG,MAAM,GAAGC,CAAAA,GAAAA,aAAQ,AAA2B,CAAA,SAA3B,CAAC,yBAAyB,CAAC,CAACC,QAAQ,EAAE,CAACC,IAAI,EAAE;YACpE,IAAIH,MAAM,CAACI,UAAU,CAAC,MAAM,CAAC,EAAE;gBAC7BP,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