figlet is vulnerable to denial of service via unbounded loop when whitespaceBreak is used with a small width
A denial-of-service (infinite loop) can occur in text() / textSync() when both: whitespaceBreak: true is set, and width is set smaller than the rendered width of a single FIGlet character. Under these conditions breakWord() could never find a valid break point, so the word-wrapping loop in generateFigTextLines() never terminated. This pins a CPU core and grows memory without bound, blocking the Node.js event loop.