String.prototype.normalize() is throwing TypeError: not a function

A delivery customization function is erroring - the error is thrown from String.prototype.normalize()and the message is TypeError: not a function

Debugging on a dev store, I have confirmed that the input is definitely a string, and have added logs before and after the call to normalize, confirming that it is the cause of the error.

Also ran it through the function runner locally and the instruction count is only 1373548.

Is this a platform bug or limitation?

Update here - I ran the same function in Node with the same input data, and there are no errors. So this definitely seems like an issue with Shopify functions, but the only documentation about unsupported JS features doesn’t mention anything about String.prototype.normalize()

Hey folks - we’ve identified the issue on our side which is causing this and it will be resolved in the next version of the CLI.