@xmldom/xmldom 0.7.11 → 0.7.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.7.12](https://github.com/xmldom/xmldom/compare/0.7.11...0.7.12)
8
+
9
+ ### Fixed
10
+
11
+ - fix: Set nodeName property in ProcessingInstruction [`#509`](https://github.com/xmldom/xmldom/pull/509) / [`#505`](https://github.com/xmldom/xmldom/issues/505)
12
+
13
+ Thank you, [@cjbarth](https://github.com/cjbarth), for your contributions
14
+
15
+
7
16
  ## [0.7.11](https://github.com/xmldom/xmldom/compare/0.7.10...0.7.11)
8
17
 
9
18
  ### Fixed
package/lib/dom.js CHANGED
@@ -1136,8 +1136,8 @@ Document.prototype = {
1136
1136
  createProcessingInstruction : function(target,data){
1137
1137
  var node = new ProcessingInstruction();
1138
1138
  node.ownerDocument = this;
1139
- node.tagName = node.target = target;
1140
- node.nodeValue= node.data = data;
1139
+ node.tagName = node.nodeName = node.target = target;
1140
+ node.nodeValue = node.data = data;
1141
1141
  return node;
1142
1142
  },
1143
1143
  createAttribute : function(name){
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmldom/xmldom",
3
- "version": "0.7.11",
3
+ "version": "0.7.12",
4
4
  "description": "A pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module.",
5
5
  "keywords": [
6
6
  "w3c",