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

xml-js

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xml-js - npm Package Compare versions

Comparing version 1.6.5 to 1.6.6

2

lib/js2xml.js

@@ -63,3 +63,3 @@ var helper = require('./options-helper');

for (key in attributes) {
if (attributes.hasOwnProperty(key)) {
if (attributes.hasOwnProperty(key) && attributes[key] !== null && attributes[key] !== undefined) {
quote = options.noQuotesForNativeAttributes && typeof attributes[key] !== 'string' ? '' : '"';

@@ -66,0 +66,0 @@ attr = '' + attributes[key]; // ensure number and boolean are converted to String

{
"name": "xml-js",
"version": "1.6.5",
"version": "1.6.6",
"description": "A convertor between XML text and Javascript object / JSON text.",

@@ -5,0 +5,0 @@ "repository": {

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