Multiple errors while trying to deploy a workflow

I’m having an issue attempting to deploy an updated workflow. I’ve added a new simple JS code block and filter, to drop events older than a certain age. However, trying to test and deploy this workflow causes an error to appear in the old JS code block, which I haven’t changed at all.

SyntaxError: Unexpected token ‘||=’

My code doesn’t have “||=” in it at all.

When shortening this code block to try to isolate the error, instead I get a different error:

Pipedream Internal Error
Please retry your event or reach out to Pipedream support at https://pipedream.com/support/