Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xmldom/xmldom

Package Overview
Dependencies
Maintainers
4
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xmldom/xmldom - npm Package Versions

1245

0.7.9

Diff

Changelog

Source

0.7.9

Fixed

Thank you, @edemaine, @pedro-l9, for your contributions

karfau
published 0.8.6 •

Changelog

Source

0.8.6

Fixed

Thank you, @edemaine, @pedro-l9, for your contributions

karfau
published 0.9.0-beta.6 •

Changelog

Source

0.9.0-beta.6

Fixed

Thank you, @edemaine, @pedro-l9, for your contributions

karfau
published 0.7.8 •

Changelog

Source

0.7.8

Fixed

  • fix: Restore ES5 compatibility #452 / #453

Thank you, @fengxinming, for your contributions

karfau
published 0.8.5 •

Changelog

Source

0.8.5

Fixed

  • fix: Restore ES5 compatibility #452 / #453

Thank you, @fengxinming, for your contributions

karfau
published 0.9.0-beta.5 •

Changelog

Source

0.9.0-beta.5

Fixed

  • fix: Restore ES5 compatibility #452 / #453

Thank you, @fengxinming, for your contributions

karfau
published 0.8.4 •

Changelog

Source

0.8.4

Fixed

  • Security: Prevent inserting DOM nodes when they are not well-formed CVE-2022-39353 In case such a DOM would be created, the part that is not well-formed will be transformed into text nodes, in which xml specific characters like < and > are encoded accordingly. In the upcoming version 0.9.0 those text nodes will no longer be added and an error will be thrown instead. This change can break your code, if you relied on this behavior, e.g. multiple root elements in the past. We consider it more important to align with the specs that we want to be aligned with, considering the potential security issues that might derive from people not being aware of the difference in behavior. Related Spec: https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity

Thank you, @frumioj, @cjbarth, @markgollnick for your contributions

karfau
published 0.7.7 •

Changelog

Source

0.7.7

Fixed

  • Security: Prevent inserting DOM nodes when they are not well-formed CVE-2022-39353 In case such a DOM would be created, the part that is not well-formed will be transformed into text nodes, in which xml specific characters like < and > are encoded accordingly. In the upcoming version 0.9.0 those text nodes will no longer be added and an error will be thrown instead. This change can break your code, if you relied on this behavior, e.g. multiple root elements in the past. We consider it more important to align with the specs that we want to be aligned with, considering the potential security issues that might derive from people not being aware of the difference in behavior. Related Spec: https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity

Thank you, @frumioj, @cjbarth, @markgollnick for your contributions

karfau
published 0.9.0-beta.4 •

Changelog

Source

0.9.0-beta.4

Fixed

  • Security: Prevent inserting DOM nodes when they are not well-formed CVE-2022-39353 In case such a DOM would be created, the part that is not well-formed will be transformed into text nodes, in which xml specific characters like < and > are encoded accordingly. In the upcoming version 0.9.0 those text nodes will no longer be added and an error will be thrown instead. This change can break your code, if you relied on this behavior, e.g. multiple root elements in the past. We consider it more important to align with the specs that we want to be aligned with, considering the potential security issues that might derive from people not being aware of the difference in behavior. Related Spec: https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity

Chore

  • update multiple devDependencies
  • Add eslint-plugin-node for lib #448 / #190
  • style: Apply prettier to all code #447 / #29 / #130

Thank you, @XhmikosR, @awwright, @frumioj, @cjbarth, @markgollnick for your contributions

karfau
published 0.9.0-beta.3 •

Changelog

Source

0.9.0-beta.3

Fixed

  • fix: Stop adding tags after incomplete closing tag #445 / #416 BREAKING CHANGE: It no longer reports an error when parsing HTML containing incomplete closing tags, to align the behavior with the one in the browser. BREAKING CHANGE: If your code relied on not well-formed XML to be parsed and include subsequent tags, this will no longer work.
  • fix: Avoid bidirectional characters in source code #440

Other

  • ci: Add CodeQL scan #444

Thank you, @ACN-kck, @mgerlach for your contributions

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc