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 07e4658
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions patches/tty-table+4.2.3.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
diff --git a/node_modules/tty-table/src/format.js b/node_modules/tty-table/src/format.js
index e187721..77e6dff 100644
--- a/node_modules/tty-table/src/format.js
+++ b/node_modules/tty-table/src/format.js
@@ -1,4 +1,4 @@
-const stripAnsi = require("strip-ansi")
+const stripAnsi = require("strip-ansi-cjs")
const smartwrap = require("smartwrap")
const wcwidth = require("wcwidth")

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 07e4658

Please sign in to comment.