chore(deps): bump @xmldom/xmldom from 0.8.10 to 0.9.0; run [DynamicXml] (#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](https://github.com/xmldom/xmldom/compare/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] <support@github.com>

* invoke parseFromString with mimetype

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: chris48s <git@chris-shaw.dev>
This commit is contained in:
dependabot[bot]
2024-09-07 18:56:13 +01:00
committed by GitHub
parent 5198a4142f
commit ffd0903878
3 changed files with 6 additions and 6 deletions

8
package-lock.json generated
View File

@@ -13,7 +13,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",
@@ -6395,9 +6395,9 @@
}
},
"node_modules/@xmldom/xmldom": {
"version": "0.8.10",
"resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.10.tgz",
"integrity": "sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw==",
"version": "0.9.0",
"resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.9.0.tgz",
"integrity": "sha512-Zb9MTlKGnUdxglDKF75cJwvsNp+EhPwzguLSTp/u1yeDU59lz7eA9e14S9z/sn5HHKX5NEQZaKjePl/69uqGhw==",
"engines": {
"node": ">=10.0.0"
}

View File

@@ -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",

View File

@@ -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 {