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
error: TypeError: Cannot add property ~name, object is not extensible
;(document as Record<PropertyKey, unknown>)["~name"] ??= "xml"
^
at xml_prolog (https://jsr.io/@libs/xml/6.0.4/stringify.ts:135:55)
at Module.stringify (https://jsr.io/@libs/xml/6.0.4/stringify.ts:74:11)
In general, an operation to translate one object into another should not alter the source object.
(thank you for this library - it is the best xml parser out there)
The text was updated successfully, but these errors were encountered:
If I do:
And error will be thrown:
In general, an operation to translate one object into another should not alter the source object.
(thank you for this library - it is the best xml parser out there)
The text was updated successfully, but these errors were encountered: