Socket
Socket
Sign inDemoInstall

xmlbuilder2

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xmlbuilder2 - npm Package Versions

1345

2.1.7

Diff

Changelog

Source

[2.1.7] - 2020-07-09

Bug Fixes

  • Prevented object converter from grouping attributes into element content (see #29).
oozcitak
published 2.1.6 •

Changelog

Source

[2.1.6] - 2020-07-02

Bug Fixes

  • Added minified browser bundle from transpiled ES5 code so that the library can be used on old browsers (see #28). Note that Proxy and Reflect polyfills are required to use the library on IE 11.
oozcitak
published 2.1.5 •

Changelog

Source

[2.1.5] - 2020-06-18

Bug Fixes

  • Fixed a bug where carriage return characters ('\r') were escaped in text and attribute contents (see #24).
oozcitak
published 2.1.4 •

Changelog

Source

[2.1.4] - 2020-06-16

Bug Fixes

  • Fixed a bug where mixin classes overwrote DOM class constructors (see #23).
oozcitak
published 2.1.3 •

Changelog

Source

[2.1.3] - 2020-06-11

Bug Fixes

  • Fixed a bug where child nodes did not inherit the parent namespace (see #18).
  • Fixed a bug where falsy values passed as node contents caused missing nodes (see #21).
oozcitak
published 2.1.2 •

Changelog

Source

[2.1.2] - 2020-04-09

Bug Fixes

oozcitak
published 2.1.1 •

Changelog

Source

[2.1.1] - 2020-04-01

Bug Fixes

  • Fixed a bug where calling end on a document fragment node would serialize the fragment's owner document not the fragment itself.
oozcitak
published 2.1.0 •

Changelog

Source

[2.1.0] - 2020-03-31

Features

  • Added the noDoubleEncoding option to prevent html entities from being re-encoded when serialized (see #15).
oozcitak
published 2.0.0 •

Changelog

Source

[2.0.0] - 2020-03-30

Bug Fixes

  • Fixed namespace inheritance logic, so that a preferred prefix is not retrieved from a parent element if the element has no prefix and its namespace matches the default namespace declaration (see: https://github.com/web-platform-tests/wpt/pull/16703).
  • Namespace declaration attributes from JS objects are now applied correctly to their parent elements (see #13).

Features

  • Narrowed return value types of functions for better intellisense support with TypeScript (see #14).
  • Added invalidCharReplacement option to sanitize input strings by replacing invalid characters (see #12). The option has no defaults and must be configured by the user.

BREAKING CHANGES

  • Removed inheritNS options (see #1, #6 and #13). Element nodes now inherit namespaces from their parent element nodes by default. To reset the default namespace declaration create an "xmlns" attribute with an empty value ("") as in the DOM.
oozcitak
published 1.8.1 •

Changelog

Source

[1.8.1] - 2020-03-27

Bug Fixes

  • Fixed where JS object, map and JSON serializers' group setting defaulted to true.
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