(options)
| 65756 | var styles2 = /* @__PURE__ */ Object.create(null); |
| 65757 | var applyOptions = (object, options = {}) => { |
| 65758 | if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) { |
| 65759 | throw new Error("The `level` option should be an integer from 0 to 3"); |
| 65760 | } |
| 65761 | const colorLevel = stdoutColor ? stdoutColor.level : 0; |
| 65762 | object.level = options.level === void 0 ? colorLevel : options.level; |
| 65763 | }; |
| 65764 | var chalkFactory = (options) => { |
| 65765 | const chalk2 = (...strings) => strings.join(" "); |
| 65766 | applyOptions(chalk2, options); |
no test coverage detected
searching dependent graphs…