seems to be an issue with line endings - LF vs CRLF = `\n` vs `\r\n` many open issues https://github.com/ds300/patch-package/issues?q=in%3Atitle+parse+error+is%3Aopen oldest issue https://github.com/ds300/patch-package/issues/191