Skip to content

Commit

Permalink
ci: patch tty-table for release action
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Dec 5, 2023
1 parent 508e7ce commit 048a7f4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions patches/tty-table+4.2.3.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/node_modules/tty-table/src/style.js b/node_modules/tty-table/src/style.js
index e37f2b6..fc652ee 100644
--- a/node_modules/tty-table/src/style.js
+++ b/node_modules/tty-table/src/style.js
@@ -4,7 +4,7 @@ const kleur = require("kleur")
// user kleur if we are in the browser
const colorLib = (process && process.stdout) ? chalk : kleur

-const stripAnsi = require("strip-ansi")
+const stripAnsi = require("strip-ansi-cjs")

module.exports.style = (str, ...colors) => {
const out = colors.reduce(function (input, color) {

0 comments on commit 048a7f4

Please sign in to comment.