Socket
Socket
Sign inDemoInstall

jgexml

Package Overview
Dependencies
0
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.2 to 0.4.3

2

package.json
{
"name": "jgexml",
"version": "0.4.2",
"version": "0.4.3",
"description": "The Just-Good-Enough XML Toolkit",

@@ -5,0 +5,0 @@ "main": "jgeXml.js",

@@ -422,2 +422,3 @@ 'use strict';

typeData["enum"] = [];
enumSource = toArray(enumSource); // handle 'const' case
for (var i = 0; i < enumSource.length; i++) {

@@ -433,3 +434,2 @@ typeData["enum"].push(enumSource[i]["@value"]);

if (!typeData.description) delete typeData.description;
delete typeData.type; // assert it was a stringish type?
}

@@ -554,2 +554,3 @@ else {

if (key == xsPrefix + "attribute") delete obj[key];
if (key == xsPrefix + "restriction") delete obj[key];
if (obj.properties && (Object.keys(obj.properties).length == 1) && obj.properties["#text"] && obj.properties["#text"]["$ref"]) {

@@ -556,0 +557,0 @@ obj.properties["$ref"] = obj.properties["#text"]["$ref"];

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc