Pepperoni on pizza is considered safe during pregnancy — the pizza oven heats it well above the 165°F threshold that kills Listeria. Cold pepperoni straight from the package (like snacking on slices from the fridge) should be avoided unless heated first.
This is the same rule as all deli/cured meats: cold = avoid, heated to steaming = considered safe.