Skip to content

Commit

Permalink
Fix use of sanitizeHTML (woocommerce#7231)
Browse files Browse the repository at this point in the history
* Remove object from sanitizeHTML return value

* Import sanitizeHTML from utils

* Fix dangerously set inner HTML format

* Update package-lock

* Update package-lock

* Update package-lock

* Update @types/dompurify version

Co-authored-by: Thomas Roberts <[email protected]>
  • Loading branch information
dependabot[bot] and opr authored Nov 20, 2022
1 parent 6e59848 commit 500b048
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 41 deletions.
131 changes: 91 additions & 40 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
"@wordpress/is-shallow-equal": "4.13.0",
"@wordpress/prettier-config": "1.4.0",
"@wordpress/scripts": "22.3.0",
"autoprefixer": "10.4.7",
"autoprefixer": "10.4.13",
"axios": "0.27.2",
"babel-plugin-explicit-exports-references": "^1.0.2",
"babel-plugin-react-docgen": "4.2.1",
Expand Down

0 comments on commit 500b048

Please sign in to comment.