-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: patch
tty-table
for release action
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) { |