xml-toolkit 1.0.34 → 1.0.36

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/lib/XMLParser.js CHANGED
@@ -50,7 +50,7 @@ const XMLReader = class {
50
50
  if (this.text.length === 0) break
51
51
  if (this.stripSpace) this.text = this.text.trim ()
52
52
  if (this.text.length === 0) break
53
- (new XMLNode (this.text, this.entityResolver, SAXEvent.TYPES.CHARACTERS)).parent = this.element
53
+ (new XMLNode (this.text, null, SAXEvent.TYPES.CHARACTERS)).parent = this.element
54
54
  this.text = ''
55
55
 
56
56
  }
package/lib/XMLReader.js CHANGED
@@ -168,7 +168,7 @@ const XMLReader = class extends Transform {
168
168
 
169
169
  if (text.length !== 0) {
170
170
 
171
- let e = new XMLNode (text, this.entityResolver, SAXEvent.TYPES.CHARACTERS)
171
+ let e = new XMLNode (text, null, SAXEvent.TYPES.CHARACTERS)
172
172
 
173
173
  e.parent = this.element
174
174
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xml-toolkit",
3
- "version": "1.0.34",
3
+ "version": "1.0.36",
4
4
  "description": "XML parser, marshaller, SOAP adapter",
5
5
  "main": "index.js",
6
6
  "files": ["/lib", "/badges"],