1 line
1.6 KiB
Plaintext
1 line
1.6 KiB
Plaintext
|
{"version":3,"file":"575.index.js","mappings":";;;;;;;;;;AAAA,sCAAyB;AACzB,wCAA6B;AAE7B,SAAwB,KAAK;IAC3B,OAAO,CAAC,GAAG,CAAC,uCAAuC,CAAC,CAAC;IACrD,MAAM,mBAAmB,GAAG,IAAI,CAAC,KAAK,CACpC,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,uBAAuB,CAAC,EAAE,MAAM,CAAC,CAC1E,CAAC;IACF,KAAK,MAAM,aAAa,IAAI,mBAAmB,EAAE;QAC/C,OAAO,CAAC,GAAG,CACT,GAAG,aAAa,CAAC,IAAI,WAAW,aAAa,CAAC,OAAO,WAAW,aAAa,CAAC,OAAO,EAAE,CACxF,CAAC;QACF,OAAO,CAAC,GAAG,CACT,cAAc,aAAa,CAAC,MAAM;YAChC,YAAY,oBAAoB,aAAa,CAAC,MAAM,IAAI,EAAE,EAAE,CAC/D,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC,WAAW,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,mDAAmD;QACtG,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QAC/B,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;KACnB;AACH,CAAC;AAjBD,wBAiBC","sources":["webpack://snyk/./src/cli/commands/about.ts"],"sourcesContent":["import * as fs from 'fs';\nimport * as path from 'path';\n\nexport default function about(): void {\n console.log(`Snyk CLI Open Source Attributions\\n\\n`);\n const licenseNoticesArray = JSON.parse(\n fs.readFileSync(path.resolve(__dirname, 'thirdPartyNotice.json'), 'utf8'),\n );\n for (const licenseNotice of licenseNoticesArray) {\n console.log(\n `${licenseNotice.name} \\u00B7 ${licenseNotice.version} \\u00B7 ${licenseNotice.license}`,\n );\n console.log(\n `Author(s): ${licenseNotice.author ||\n 'Not filled'} \\u00B7 Package: ${licenseNotice.source || ''}`,\n );\n console.log(`${licenseNotice.licenseText || ''}`); // WTFPL is not required the embed its license text\n console.log('\\n+-+-+-+-+-+-+');\n console.log('\\n');\n }\n}\n"],"names":[],"sourceRoot":""}
|