@azure/core-xml
Advanced tools
Comparing version 1.2.0-alpha.20220120.2 to 1.2.0-alpha.20220125.3
@@ -7,2 +7,3 @@ # Release History | ||
- Fix root version node handling difference with fxp v3. [#20035](https://github.com/Azure/azure-sdk-for-js/pull/20035) | ||
- Upgrade to `fast-xml-parser` to v4 [PR# 19898](https://github.com/Azure/azure-sdk-for-js/pull/19898) | ||
@@ -9,0 +10,0 @@ |
@@ -50,2 +50,7 @@ // Copyright (c) Microsoft Corporation. | ||
const parsedXml = parser.parse(unescapeHTML(str)); | ||
// Remove the <?xml version="..." ?> node. | ||
// This is a change in behavior on fxp v4. Issue #424 | ||
if (parsedXml["?xml"]) { | ||
delete parsedXml["?xml"]; | ||
} | ||
if (!opts.includeRoot) { | ||
@@ -52,0 +57,0 @@ for (const key of Object.keys(parsedXml)) { |
@@ -64,2 +64,7 @@ 'use strict'; | ||
const parsedXml = parser.parse(unescapeHTML(str)); | ||
// Remove the <?xml version="..." ?> node. | ||
// This is a change in behavior on fxp v4. Issue #424 | ||
if (parsedXml["?xml"]) { | ||
delete parsedXml["?xml"]; | ||
} | ||
if (!opts.includeRoot) { | ||
@@ -66,0 +71,0 @@ for (const key of Object.keys(parsedXml)) { |
{ | ||
"name": "@azure/core-xml", | ||
"version": "1.2.0-alpha.20220120.2", | ||
"version": "1.2.0-alpha.20220125.3", | ||
"description": "Core library for interacting with XML payloads", | ||
@@ -5,0 +5,0 @@ "sdk-type": "client", |
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
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
47458
424
249
19
33
163