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

xmlbuilder

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xmlbuilder - npm Package Versions

1
10

5.0.0

Diff

Changelog

Source

[5.0.0] - 2016-03-05

  • Added text case option for element names and attribute names. Valid cases are lower, upper, camel, kebab and snake.
  • Attribute and element values are escaped according to the Canonical XML 1.0 specification. See #54 and #86.
  • Added the allowEmpty option to end(). When this option is set, empty elements are not self-closed.
  • Added support for nested CDATA. The triad ]]> in CDATA is now automatically replaced with ]]]]><![CDATA[>.
oozcitak
published 4.2.1 •

Changelog

Source

[4.2.1] - 2016-01-15

  • Updated lodash dependency to 4.0.0.
oozcitak
published 4.2.0 •

Changelog

Source

[4.2.0] - 2015-12-16

  • Added the noDoubleEncoding option to create() to control whether existing html entities are encoded.
oozcitak
published 4.1.0 •

Changelog

Source

[4.1.0] - 2015-11-11

  • Added the separateArrayItems option to create() to control how arrays are handled when converting from objects. e.g.
root.ele({ number: [ "one", "two"  ]});
// with separateArrayItems: true
<number>
  <one/>
  <two/>
</number>
// with separateArrayItems: false
<number>one</number>
<number>two</number>
oozcitak
published 4.0.0 •

Changelog

Source

[4.0.0] - 2015-11-01

  • Removed the #list decorator. Array items are now created as child nodes by default.
  • Fixed a bug where the XML encoding string was checked partially.
oozcitak
published 3.1.0 •

Changelog

Source

[3.1.0] - 2015-09-19

  • #list decorator ignores empty arrays.
oozcitak
published 3.0.0 •

Changelog

Source

[3.0.0] - 2015-09-10

  • Allow \r, \n and \t in attribute values without escaping. See #86.
oozcitak
published 2.6.5 •

Changelog

Source

[2.6.5] - 2015-09-09

  • Use native isArray instead of lodash.
  • Indentation of processing instructions are set to the parent element's.
oozcitak
published 2.6.4 •

Changelog

Source

[2.6.4] - 2015-05-27

  • Updated lodash dependency to 3.5.0.
oozcitak
published 2.6.3 •

Changelog

Source

[2.6.3] - 2015-05-27

  • Bumped version because previous release was not published on npm.
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