Is the word "danger" used in the same way in the following two sentences?

There was widespread danger of disease.

You are in no danger.
the same meaning