Reduces the number of 3rd party dependencies by 7, which is good for download size & performance and reduces potential vulnerabilities and maintenance burden.
We do wrap with ansi-codes, but if we apply the ansi codes after wrapping, we don't need the specialised wrap-ansi package anymore and can do with a simple hand-rolled function for wrapping, which is what this PR implements (the function is ugly, and might not cover all edge cases but it works well enough for our use case).
Description
Motivation and Context
Reduces the number of 3rd party dependencies by 7, which is good for download size & performance and reduces potential vulnerabilities and maintenance burden.
We do wrap with ansi-codes, but if we apply the ansi codes after wrapping, we don't need the specialised
wrap-ansi
package anymore and can do with a simple hand-rolled function for wrapping, which is what this PR implements (the function is ugly, and might not cover all edge cases but it works well enough for our use case).From npmgraph:
How Has This Been Tested?
Types of changes
Checklist
[x] :book:
[x] :balance_scale: