The Met Office warns there could be a danger to life in parts of eastern Scotland on Friday.