Just wondering if anyone knows if the vicks solution you put in vapourisers is safe while pregnant?

I'm so hoping it is as I used one in our room last night without thinking and I've got to say felt much better this morning when I woke.

Thanks in advance!