@azure/core-xml
Advanced tools
Comparing version 1.0.0-alpha.20210326.1 to 1.0.0-alpha.20210518.2
@@ -5,3 +5,5 @@ // Copyright (c) Microsoft Corporation. | ||
import { XML_ATTRKEY, XML_CHARKEY } from "./xml.common"; | ||
// tslint:disable-next-line:no-null-keyword | ||
if (!document || !DOMParser || !Node || !XMLSerializer) { | ||
throw new Error(`This library depends on the following DOM objects: ["document", "DOMParser", "Node", "XMLSerializer"] to parse XML, but some of these are undefined. You may provide a polyfill to make these globally available in order to support your environment. For more information, please refer to https://aka.ms/azsdk/js/web-workers. `); | ||
} | ||
const doc = document.implementation.createDocument(null, null, null); | ||
@@ -8,0 +10,0 @@ const parser = new DOMParser(); |
{ | ||
"name": "@azure/core-xml", | ||
"version": "1.0.0-alpha.20210326.1", | ||
"version": "1.0.0-alpha.20210518.2", | ||
"description": "Core library for interacting with XML payloads", | ||
@@ -94,2 +94,3 @@ "sdk-type": "client", | ||
"@azure/eslint-plugin-azure-sdk": "^3.0.0-alpha", | ||
"@azure/dev-tool": "^1.0.0-alpha", | ||
"chai": "^4.2.0", | ||
@@ -96,0 +97,0 @@ "downlevel-dts": "~0.4.0", |
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
50432
480
41