Displaying 2 results from an estimated 2 matches for "serializetostr".
Did you mean:
serializetest
2023 Mar 09
0
njs-0.7.11
...`<note><to b="bar" a="foo">Tove</to><from>Jani</from></note>`;
: let doc = xml.parse(data);
:
: doc.$root.to.$attr$b = 'bar2';
: doc.$root.to.setAttribute('c', 'baz');
: delete doc.$root.to.$attr$a;
:
: console.log(xml.serializeToString(doc.$root.to))
: /* '<to b="bar2" c="baz">Tove</to>' */
:
: doc.$root.to.removeAllAttributes();
: doc.$root.from.$text = 'Jani2';
:
: console.log(xml.serializeToString(doc))
: /* '<note><to>Tove</to><from>Jani2</from&...
2025 Apr 08
0
njs-0.8.10
...ns.
*) Bugfix: fixed name corruption in variable and header processing.
*) Bugfix: fixed SharedDict.incr() with empty init argument
for QuickJS engine.
*) Bugfix: accepting response headers with underscore characters
in Fetch API.
Core:
*) Change: fixed serializeToString().
Previously, serializeToString() was exclusiveC14n() which returned
string instead of Buffer. According to the published
documentation it
should be c14n().
*) Feature: added WebCrypto API for QuickJS engine.
*) Feature: added TextEncoder/TextDecoder for Qui...