🎥 Make videos programmatically with React
Removed unused strip-ansi.ts file
Stefan Uzunovba8dec2b7ce0
diff --git a/packages/cli/src/strip-ansi.ts b/packages/cli/src/strip-ansi.tsdeleted file mode 100644index 6021fad479..0000000000--- a/packages/cli/src/strip-ansi.ts+++ /dev/null@@ -1,20 +0,0 @@-/**- * Code inlined from https://github.com/chalk/strip-ansi#readme- * This file is MIT licensed.- */-const ansiRegex = () => {- const pattern = [- '[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',- '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))',- ].join('|');-- return new RegExp(pattern, 'g');-};--export const stripAnsi = (str: string) => {- if (typeof str !== 'string') {- throw new TypeError(`Expected a \`string\`, got \`${typeof str}\``);- }-- return str.replace(ansiRegex(), '');-};