Skip to content

Weird formatting in table and handling of \n #65

@alert-debug

Description

@alert-debug

As mentioned in discussion #53, the npm audit security report table sometimes has unexpected spaces and missing letters. For example, a package with a dependency on ansi-regex (version 3.0.0 or similar) can cause the table to include this value in the Title column:

|  Inefficient Regular Expression Complexity i       |
│ chalk/ansi-regex                                   |

This is for an Ex.cluded vulnerability, so it appears as black text on a white background in a terminal with a light theme. In particular, this is MacOS Terminal Version 2.11 (440).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions