Skip to content

Commit 07e4658

Browse files
committed
ci: patch tty-table for release action
1 parent 508e7ce commit 07e4658

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

patches/tty-table+4.2.3.patch

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
diff --git a/node_modules/tty-table/src/format.js b/node_modules/tty-table/src/format.js
2+
index e187721..77e6dff 100644
3+
--- a/node_modules/tty-table/src/format.js
4+
+++ b/node_modules/tty-table/src/format.js
5+
@@ -1,4 +1,4 @@
6+
-const stripAnsi = require("strip-ansi")
7+
+const stripAnsi = require("strip-ansi-cjs")
8+
const smartwrap = require("smartwrap")
9+
const wcwidth = require("wcwidth")
10+
11+
diff --git a/node_modules/tty-table/src/style.js b/node_modules/tty-table/src/style.js
12+
index e37f2b6..fc652ee 100644
13+
--- a/node_modules/tty-table/src/style.js
14+
+++ b/node_modules/tty-table/src/style.js
15+
@@ -4,7 +4,7 @@ const kleur = require("kleur")
16+
// user kleur if we are in the browser
17+
const colorLib = (process && process.stdout) ? chalk : kleur
18+
19+
-const stripAnsi = require("strip-ansi")
20+
+const stripAnsi = require("strip-ansi-cjs")
21+
22+
module.exports.style = (str, ...colors) => {
23+
const out = colors.reduce(function (input, color) {

0 commit comments

Comments
 (0)