Socket
Socket
Sign inDemoInstall

xml2js

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xml2js - npm Package Compare versions

Comparing version 0.4.7 to 0.4.8

2

lib/xml2js.js

@@ -190,3 +190,3 @@ // Generated by CoffeeScript 1.9.1

} else {
if (_this.options.cdata && requiresCDATA(child)) {
if (typeof child === 'string' && _this.options.cdata && requiresCDATA(child)) {
element = element.ele(key).raw(wrapCDATA(child)).up();

@@ -193,0 +193,0 @@ } else {

@@ -6,3 +6,3 @@ {

"homepage" : "https://github.com/Leonidas-from-XIV/node-xml2js",
"version" : "0.4.7",
"version" : "0.4.8",
"author" : "Marek Kubica <marek@xivilization.net> (http://xivilization.net)",

@@ -40,3 +40,4 @@ "contributors" : [

"Tom Hughes <<tom@compton.nu> (http://compton.nu/)",
"Piotr Rochala (http://rocha.la/)"
"Piotr Rochala (http://rocha.la/)",
"Michael Avila (https://github.com/michaelavila)"
],

@@ -43,0 +44,0 @@ "main" : "./lib/xml2js",

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