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

@loaders.gl/xml

Package Overview
Dependencies
Maintainers
7
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loaders.gl/xml - npm Package Compare versions

Comparing version 3.3.0-alpha.8 to 3.3.0-alpha.9

5

dist/es5/lib/parse-xml.js

@@ -15,3 +15,6 @@ "use strict";

function parseXML(text, options) {
var parser = new _fastXmlParser.XMLParser(_objectSpread({}, options));
var parser = new _fastXmlParser.XMLParser(_objectSpread({
ignoreAttributes: false,
attributeNamePrefix: ''
}, options));
var parsedXML = parser.parse(text);

@@ -18,0 +21,0 @@ return parsedXML;

2

dist/es5/xml-loader.js

@@ -11,3 +11,3 @@ "use strict";

var _parseXml = require("./lib/parse-xml");
var VERSION = typeof "3.3.0-alpha.8" !== 'undefined' ? "3.3.0-alpha.8" : 'latest';
var VERSION = typeof "3.3.0-alpha.9" !== 'undefined' ? "3.3.0-alpha.9" : 'latest';
var XMLLoader = {

@@ -14,0 +14,0 @@ name: 'XML',

@@ -7,2 +7,4 @@

const parser = new FastXMLParser({
ignoreAttributes: false,
attributeNamePrefix: '',
...options

@@ -9,0 +11,0 @@ });

import { parseXML } from './lib/parse-xml';
const VERSION = typeof "3.3.0-alpha.8" !== 'undefined' ? "3.3.0-alpha.8" : 'latest';
const VERSION = typeof "3.3.0-alpha.9" !== 'undefined' ? "3.3.0-alpha.9" : 'latest';
export const XMLLoader = {

@@ -5,0 +5,0 @@ name: 'XML',

{
"name": "@loaders.gl/xml",
"version": "3.3.0-alpha.8",
"version": "3.3.0-alpha.9",
"description": "Framework-independent loaders for the XML (eXtensible Markup Language) format",

@@ -36,4 +36,4 @@ "license": "MIT",

"@babel/runtime": "^7.3.1",
"@loaders.gl/loader-utils": "3.3.0-alpha.8",
"@loaders.gl/schema": "3.3.0-alpha.8",
"@loaders.gl/loader-utils": "3.3.0-alpha.9",
"@loaders.gl/schema": "3.3.0-alpha.9",
"fast-xml-parser": "^4.0.11"

@@ -44,3 +44,3 @@ },

},
"gitHead": "69cfde0340328dd800c7c90151b56b406f47e9ae"
"gitHead": "c95a4ff72512668a93d9041ce8636bac09333fd5"
}

@@ -7,3 +7,8 @@ // loaders.gl, MIT license

export function parseXML(text: string, options): any {
const parser = new FastXMLParser({...options});
const parser = new FastXMLParser({
ignoreAttributes: false,
attributeNamePrefix: '',
// parseAttributeValue: true,
...options
});

@@ -10,0 +15,0 @@ const parsedXML = parser.parse(text);

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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