cordova.plugins.diagnostic is back- the maintainer issued a new version. Make sure you are referencing the latest release:
<plugin name="cordova.plugins.diagnostic" spec="^6.1.1" />
Note that some other plugins are still affected.
This story has made the front page of Slashdot.