Skip to content

Commit

Permalink
Update xmldom to 0.7.0
Browse files Browse the repository at this point in the history
The package is now scoped under @xmldom. See xmldom/xmldom#278
This fixes security vulnerability CVE-2021-32796
  • Loading branch information
forty committed Aug 19, 2021
1 parent 5cec595 commit 892aca2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/signed-xml.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var xpath = require('xpath')
, Dom = require('xmldom').DOMParser
, Dom = require('@xmldom/xmldom').DOMParser
, utils = require('./utils')
, c14n = require('./c14n-canonicalization')
, execC14n = require('./exclusive-canonicalization')
Expand Down
10 changes: 5 additions & 5 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 @@ -10,7 +10,7 @@
"LoneRifle <LoneRifle@users.noreply.github.com>"
],
"dependencies": {
"xmldom": "^0.6.0",
"@xmldom/xmldom": "^0.7.0",
"xpath": "0.0.32"
},
"devDependencies": {
Expand Down

0 comments on commit 892aca2

Please sign in to comment.