You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: name.valueOf is not a function
at XMLElement.module.exports.XMLNode.element (.../node_modules/xmlbuilder/lib/XMLNode.js:55:21)
at XMLDocument.module.exports.XMLNode.element (.../node_modules/xmlbuilder/lib/XMLNode.js:85:23)
at XMLDocument.module.exports.XMLNode.ele (.../node_modules/xmlbuilder/lib/XMLNode.js:357:19)
This is due to xmlbuilder uses .valueOf method but objects created through Object.create(null) don't have the method because they don't inherit Object.
The text was updated successfully, but these errors were encountered:
xmlbuilder version is 9.0.4
This code causes TypeError:
This is due to xmlbuilder uses .valueOf method but objects created through Object.create(null) don't have the method because they don't inherit Object.
The text was updated successfully, but these errors were encountered: