@loaders.gl/xml
Advanced tools
Comparing version 3.3.0-alpha.8 to 3.3.0-alpha.9
@@ -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; |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
456973
7623
1
+ Added@loaders.gl/loader-utils@3.3.0-alpha.9(transitive)
+ Added@loaders.gl/schema@3.3.0-alpha.9(transitive)
+ Added@loaders.gl/worker-utils@3.3.0-alpha.9(transitive)
- Removed@loaders.gl/loader-utils@3.3.0-alpha.8(transitive)
- Removed@loaders.gl/schema@3.3.0-alpha.8(transitive)
- Removed@loaders.gl/worker-utils@3.3.0-alpha.8(transitive)