Skip to content

Commit

Permalink
chore(deps): bump @xmldom/xmldom from 0.8.10 to 0.9.0; run [DynamicXm…
Browse files Browse the repository at this point in the history
…l] (#10481)

* chore(deps): bump @xmldom/xmldom from 0.8.10 to 0.9.0

Bumps [@xmldom/xmldom](https://github.com/xmldom/xmldom) from 0.8.10 to 0.9.0.
- [Release notes](https://github.com/xmldom/xmldom/releases)
- [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md)
- [Commits](xmldom/xmldom@0.8.10...0.9.0)

---
updated-dependencies:
- dependency-name: "@xmldom/xmldom"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* invoke parseFromString with mimetype

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: chris48s <[email protected]>
  • Loading branch information
dependabot[bot] and chris48s committed Sep 7, 2024
1 parent 5198a41 commit ffd0903
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 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 @@ -25,7 +25,7 @@
"@renovatebot/ruby-semver": "^3.0.23",
"@sentry/node": "^8.27.0",
"@shields_io/camp": "^18.1.2",
"@xmldom/xmldom": "0.8.10",
"@xmldom/xmldom": "0.9.0",
"badge-maker": "file:badge-maker",
"bytes": "^3.1.2",
"camelcase": "^8.0.0",
Expand Down
2 changes: 1 addition & 1 deletion services/dynamic/dynamic-xml.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default class DynamicXml extends BaseService {
const pathIsAttr = (
pathExpression.split('/').slice(-1)[0] || ''
).startsWith('@')
const parsed = new DOMParser().parseFromString(buffer)
const parsed = new DOMParser().parseFromString(buffer, 'text/xml')

let values
try {
Expand Down

0 comments on commit ffd0903

Please sign in to comment.