Use fetch with bypass SSL certificate verification?

I’ve got a CF worker that I’m trying to use to hit an endpoint that has a SSL mismatch that is intentional. I’m able to query this endpoint using curl -k - I’m trying to find the equivalent with a Cloudflare worker.

Ideally, I’d like to find a solution where I can keep the node compatibility flag off.