Upgrade w3c-xmlserializer to v2.0.0, and upgrade to jsdom v16 which also uses it.
w3c-xmlserializer
jsdom