You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8a495d0
Browse filesBrowse the repository at this point in the historyBrowse files
fix(liangshen): copy preset trees without fs.cpSync to survive CJK paths on Windows
fs.cpSync({ recursive: true }) on Node 22 for Windows aborts the whole
process (STATUS_STACK_BUFFER_OVERRUN / 0xC0000409, no JS exception) when
the source path contains non-ASCII characters such as a CJK home
directory (nodejs/node#54476, regression from nodejs/node#53614). The
plugin declares engines "^22.19.0 || >=24.0.0", so Node 22 must work.
Replace the two cpSync call sites with a per-entry recursive copy
(mkdirSync + copyFileSync + utimesSync to preserve mtimes) and add a
regression test using a CJK preset directory name.
0 commit comments