refactor: replace Bun APIs with Node.js equivalents
Replace Bun.argv with process.argv, Bun.file() with fs/promises, Bun.stringWidth with string-width package, and Bun.wrapAnsi with wrap-ansi package for better compatibility.
This commit is contained in:
parent
b212fee200
commit
0c71e2cd54
7 changed files with 39 additions and 18 deletions
|
|
@ -37,6 +37,8 @@
|
|||
"happy-dom-without-node": "^14.12.3",
|
||||
"marked": "^18.0.4",
|
||||
"shiki": "^4.0.2",
|
||||
"terminal-link": "^5.0.0"
|
||||
"string-width": "^8.2.1",
|
||||
"terminal-link": "^5.0.0",
|
||||
"wrap-ansi": "^10.0.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue