UNPKG

supamend

Version:

Pluggable DevSecOps Security Scanner with 10+ scanners and multiple reporting channels

40 lines 1.09 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // Mock chalk for testing const chalk = { red: (text) => text, green: (text) => text, blue: (text) => text, yellow: (text) => text, cyan: (text) => text, magenta: (text) => text, white: (text) => text, gray: (text) => text, bold: (text) => text, dim: (text) => text, underline: (text) => text, reset: (text) => text, // Add chainable methods chain: { red: (text) => chalk, green: (text) => chalk, blue: (text) => chalk, yellow: (text) => chalk, cyan: (text) => chalk, magenta: (text) => chalk, white: (text) => text, gray: (text) => text, bold: (text) => chalk, dim: (text) => chalk, underline: (text) => chalk, reset: (text) => text } }; // Make chalk methods chainable Object.keys(chalk).forEach(key => { if (typeof chalk[key] === 'function') { chalk[key].chain = chalk.chain; } }); exports.default = chalk; //# sourceMappingURL=chalk.js.map