diff --git a/CHANGELOG.md b/CHANGELOG.md index ba486751b..8330493de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## [9.10.7](https://github.com/sweetalert2/sweetalert2/compare/v9.10.6...v9.10.7) (2020-03-28) + + +### Bug Fixes + +* use DOMParset only if html is not empty ([#1931](https://github.com/sweetalert2/sweetalert2/issues/1931)) ([54463ec](https://github.com/sweetalert2/sweetalert2/commit/54463ec87637581a65147967bb4d55f1e123c9f6)), closes [/github.com/sweetalert2/sweetalert2/pull/1930#issuecomment-605412269](https://github.com//github.com/sweetalert2/sweetalert2/pull/1930/issues/issuecomment-605412269) +* use DOMParset to secure setting innerHTML ([#1930](https://github.com/sweetalert2/sweetalert2/issues/1930)) ([18c5a63](https://github.com/sweetalert2/sweetalert2/commit/18c5a63fe585053f31c85ed2fb17945aea3b334b)) + ## [9.10.6](https://github.com/sweetalert2/sweetalert2/compare/v9.10.5...v9.10.6) (2020-03-24) diff --git a/package.json b/package.json index 4c420e834..02514bd1d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sweetalert2", - "version": "9.10.6", + "version": "9.10.7", "repository": "sweetalert2/sweetalert2", "homepage": "https://sweetalert2.github.io/", "description": "A beautiful, responsive, customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes, supported fork of sweetalert", diff --git a/src/SweetAlert.js b/src/SweetAlert.js index d30bbee16..23a81989d 100644 --- a/src/SweetAlert.js +++ b/src/SweetAlert.js @@ -64,6 +64,6 @@ Object.keys(instanceMethods).forEach(key => { SweetAlert.DismissReason = DismissReason -SweetAlert.version = '9.10.6' +SweetAlert.version = '9.10.7' export default SweetAlert