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.3.5 to 0.3.6

12

jpath.js

@@ -8,2 +8,8 @@ 'use strict';

function jpescape(s) {
s = s.replaceAll('~','~0');
s = s.replaceAll('/','~1');
return s;
}
// JSON Pointer specification: http://tools.ietf.org/html/rfc6901

@@ -13,4 +19,5 @@ function jptr(obj, prop, newValue) {

if (typeof obj === 'undefined') return false;
if (!prop) return obj;
if ((!prop) || (prop == '#')) return obj;
if (prop.startsWith('#')) prop = prop.slice(1);
if (prop.startsWith('/')) prop = prop.slice(1);

@@ -240,3 +247,4 @@ var props = prop.split('/');

fetchFromObject : fetchFromObject,
jptr : jptr
jptr : jptr,
jpescape : jpescape
};

2

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

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

@@ -55,2 +55,5 @@ # jgeXml - The Just-Good-Enough XML Toolkit

The utility `xsd2json` can convert most XML Schemas to JSON schema draft 4. XSD's may of course be converted
to JSON simply as if they were XML documents too.
Experimental JSONPath and JSONT utilities are under development.

@@ -64,3 +67,2 @@

It can parse and transform XSD files as XML, conversion to JSON schema is planned.

@@ -67,0 +69,0 @@ The parser is string-based; to process streams, read the data into a string first. It may be memory intensive on large documents.

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