Bump @xmldom/xmldom from 0.8.12 to 0.8.13#17
Conversation
Bumps [@xmldom/xmldom](https://github.com/xmldom/xmldom) from 0.8.12 to 0.8.13. - [Release notes](https://github.com/xmldom/xmldom/releases) - [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md) - [Commits](xmldom/xmldom@0.8.12...0.8.13) --- updated-dependencies: - dependency-name: "@xmldom/xmldom" dependency-version: 0.8.13 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
ArshVermaGit
left a comment
There was a problem hiding this comment.
This pull request upgrades @xmldom/xmldom from 0.8.12 to 0.8.13 and primarily delivers important security and stability improvements with minimal risk of breaking changes. The most notable addition is the new requireWellFormed option in XMLSerializer.serializeToString(), which enforces stricter validation and helps prevent XML injection by throwing errors on malformed or unsafe node content. It also introduces stricter checks for Comment, ProcessingInstruction, and DocumentType nodes, aligning behavior more closely with standards. Additionally, several DOM traversal methods have been refactored to use iterative implementations, eliminating the risk of stack overflows when handling deeply nested structures. Overall, this is a valuable dependency bump that strengthens security posture and runtime resilience, though consumers should verify that any serialization logic or edge-case XML handling remains compatible with the stricter validations.
Bumps @xmldom/xmldom from 0.8.12 to 0.8.13.
Release notes
Sourced from @xmldom/xmldom's releases.
Changelog
Sourced from @xmldom/xmldom's changelog.
Commits
e5c14800.8.139611e20style: drop unused import in test filedc4dff3docs: add 0.8.13 changelog entry842fa38fix: prevent stack overflow in normalize (GHSA-2v35-w6hq-6mfw)aeff69ftest: add normalize behavioral coverage to node.test.jscbdb0d7fix: make walkDOM iterative to prevent stack overflow (GHSA-2v35-w6hq-6mfw)0b543d3test: assert namespace declarations are isolated between siblings in serializ...c007c51refactor: migrate serializeToString to walkDOM2bb3899test: add serializeToString coverage for uncovered branchese69f38drefactor: migrate importNode to walkDOMMaintainer changes
This version was pushed to npm by karfau, a new releaser for
@xmldom/xmldomsince your current version.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.