Socket
Socket
Sign inDemoInstall

pixl-xml

Package Overview
Dependencies
0
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.11 to 1.0.12

2

package.json
{
"name": "pixl-xml",
"version": "1.0.11",
"version": "1.0.12",
"description": "A simple module for parsing and composing XML.",

@@ -5,0 +5,0 @@ "author": "Joseph Huckaby <jhuckaby@gmail.com>",

@@ -170,3 +170,3 @@ # Overview

If you want to preserve whitespace before and after text inside elements, set the `preserveWhitespace` flag to a true value. Note that this has no effect on attributes (whitespace is always preserved there), nor does it effect whitespace |between| complex elements. Example:
If you want to preserve whitespace before and after text inside elements, set the `preserveWhitespace` flag to a true value. Note that this has no effect on attributes (whitespace is always preserved there), nor does it effect whitespace *between* complex elements. Example:

@@ -195,3 +195,3 @@ ```js

Notice that the whitespace before/after all the opening and closing tags has no effect on the parsed object. It only has effect |inside| elements that also contain a text value.
Notice that the whitespace before/after all the opening and closing tags has no effect on the parsed object. It only has effect *inside* elements that also contain a text value.

@@ -198,0 +198,0 @@ ## Composing XML

@@ -34,3 +34,3 @@ /*

var sort_args = null;
var re_valid_tag_name = /^\w[\w\-\:]*$/;
var re_valid_tag_name = /^\w[\w\-\:\.]*$/;

@@ -37,0 +37,0 @@ var XML = exports.XML = exports.Parser = function XML(args, opts) {

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc