diff --git a/CHANGELOG.md b/CHANGELOG.md index 48c28c7..dc84443 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## UNRELEASED +## 2.7.1 (2022-07-20) - Protocol-relative URLs are properly supported for script tags. Thanks to [paweljq](https://github.com/paweljq). - A denial-of-service vulnerability has been fixed by replacing global regular expression replacement logic for comment removal with a new implementation. Thanks to Nariyoshi Chida of NTT Security Japan for pointing out the issue. diff --git a/package.json b/package.json index ab4981c..6054aff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sanitize-html", - "version": "2.7.0", + "version": "2.7.1", "description": "Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis", "sideEffects": false, "main": "index.js",