575.index.js 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. "use strict";
  2. exports.id = 575;
  3. exports.ids = [575];
  4. exports.modules = {
  5. /***/ 77575:
  6. /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
  7. Object.defineProperty(exports, "__esModule", ({ value: true }));
  8. const fs = __webpack_require__(35747);
  9. const path = __webpack_require__(85622);
  10. function about() {
  11. console.log(`Snyk CLI Open Source Attributions\n\n`);
  12. const licenseNoticesArray = JSON.parse(fs.readFileSync(path.resolve(__dirname, 'thirdPartyNotice.json'), 'utf8'));
  13. for (const licenseNotice of licenseNoticesArray) {
  14. console.log(`${licenseNotice.name} \u00B7 ${licenseNotice.version} \u00B7 ${licenseNotice.license}`);
  15. console.log(`Author(s): ${licenseNotice.author ||
  16. 'Not filled'} \u00B7 Package: ${licenseNotice.source || ''}`);
  17. console.log(`${licenseNotice.licenseText || ''}`); // WTFPL is not required the embed its license text
  18. console.log('\n+-+-+-+-+-+-+');
  19. console.log('\n');
  20. }
  21. }
  22. exports.default = about;
  23. /***/ })
  24. };
  25. ;
  26. //# sourceMappingURL=575.index.js.map