Crash on OCR with version 5.515

After the update to 5.515 my OCR trigger crashes BTT. It is due the following JS action I'm using in it:

async (clipboardContentString) => {
  return clipboardContentString.replace(/\\n/g, '\n');
}

Crash sent via email.

It is reproducible every single time.

I'm not sure whether I understand the setup, which OCR functionality are you using and how are you combining it with the JS?

Ah I think I found the issue - fixed in 5.516 (uploading)

Sorry for this vague description, but glad you fixed it. For completeness, here's my setup: