Comparing version 1.2.2 to 1.2.3
@@ -67,4 +67,4 @@ /** | ||
global.XPathEvaluator = require(p + 'xpath'); | ||
global.DOMParser = require(p + 'xmldom').DOMParser; | ||
global.XMLSerializer = require(p + 'xmldom').XMLSerializer; | ||
global.DOMParser = require((p || '@xmldom/') + 'xmldom').DOMParser; | ||
global.XMLSerializer = require((p || '@xmldom/') + 'xmldom').XMLSerializer; | ||
} catch (e) { | ||
@@ -71,0 +71,0 @@ console.log(e.message); |
{ | ||
"name": "mergexml", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Merge multiple XML sources", | ||
@@ -24,3 +24,3 @@ "main": "mergexml.js", | ||
"formidable": "^1.2.1", | ||
"xmldom": "^0.1.27", | ||
"@xmldom/xmldom": "^0.7.0", | ||
"xpath": "0.0.27" | ||
@@ -27,0 +27,0 @@ }, |
@@ -21,3 +21,2 @@ JS MergeXML [![npm version](https://badge.fury.io/js/mergexml.svg)](https://badge.fury.io/js/mergexml) | ||
2. as a global script: | ||
@@ -161,4 +160,9 @@ | ||
- NodeJS usage sample | ||
September 2021 (eyelidlessness) | ||
- *mergexml.js* | ||
- Upgrade xmldom to @xmldom/xmldom | ||
[php-merge-xml]: http://www.github.com/hareko/php-merge-xml | ||
[js-merge-xml]: http://www.github.com/hareko/js-merge-xml |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
42101
167
+ Added@xmldom/xmldom@^0.7.0
+ Added@xmldom/xmldom@0.7.13(transitive)
- Removedxmldom@^0.1.27
- Removedxmldom@0.1.31(transitive)