Don't worry! It most likely was pasteurised. Did you buy it from a supermarket? To put your mind at rest, you could look out up on their website and it will say if pasteurised or not in the ingredients list. Even if it wasn't, try not to worry. We're advised to avoid it because there's a slight risk of listeria, but that does not mean that most unpasteurised cheese contains listeria.
I had a lot of feta during pregnancy. I don’t think it was an issue.
Feta is fine
Feta is all good xx