From 45bc5caaf2bfdd0d4a6e3f42042e2b16c95e930c Mon Sep 17 00:00:00 2001 From: JounQin Date: Wed, 6 Dec 2023 00:14:34 +0800 Subject: [PATCH] chore: patch `smartwrap` for release action --- patches/smartwrap+2.0.2.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 patches/smartwrap+2.0.2.patch diff --git a/patches/smartwrap+2.0.2.patch b/patches/smartwrap+2.0.2.patch new file mode 100644 index 0000000..96e1c5f --- /dev/null +++ b/patches/smartwrap+2.0.2.patch @@ -0,0 +1,11 @@ +diff --git a/node_modules/smartwrap/src/main.js b/node_modules/smartwrap/src/main.js +index acdc39b..4e4abb4 100644 +--- a/node_modules/smartwrap/src/main.js ++++ b/node_modules/smartwrap/src/main.js +@@ -1,5 +1,5 @@ + const breakword = require("breakword") +-const stripansi = require("strip-ansi") ++const stripansi = require("strip-ansi-cjs") + const wcwidth = require("wcwidth") + const flat = require("array.prototype.flat") + if (!Array.prototype.flat) flat.shim()