@xmldom/xmldom 0.8.8 → 0.8.9
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 +9 -0
- package/lib/dom.js +2 -2
- package/package.json +1 -1
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.8.9](https://github.com/xmldom/xmldom/compare/0.8.8...0.8.9)
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- 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.8.8](https://github.com/xmldom/xmldom/compare/0.8.7...0.8.8)
|
|
8
17
|
|
|
9
18
|
### Fixed
|
package/lib/dom.js
CHANGED
|
@@ -1161,8 +1161,8 @@ Document.prototype = {
|
|
|
1161
1161
|
createProcessingInstruction : function(target,data){
|
|
1162
1162
|
var node = new ProcessingInstruction();
|
|
1163
1163
|
node.ownerDocument = this;
|
|
1164
|
-
node.tagName = node.target = target;
|
|
1165
|
-
node.nodeValue= node.data = data;
|
|
1164
|
+
node.tagName = node.nodeName = node.target = target;
|
|
1165
|
+
node.nodeValue = node.data = data;
|
|
1166
1166
|
return node;
|
|
1167
1167
|
},
|
|
1168
1168
|
createAttribute : function(name){
|