Cake that sat out over night?

Cr

I have always been fine with cake/cupcakes sitting on counter unless it absolutely needs to be in fridge. But while pregnant I’ve been using a little extra caution…

what do y’all think about eating cake/cupcakes that sit out over night while pregnant ??