Repository navigation
3.0.0
This library is now availabled on jsr.io
This version introduces some requested changes to the default behaviour of parse() and stringify() functions.
- BREAKING(parse): XML prolog
versionattribute is now always left untouched (i.e. ifversion="1.0"it won't be converted to1anymore even withreviveNumbers: true) - BREAKING(parse):
reviveNumbersandreviveBooleansnow defaults tofalse(note:emptyToNullis stilltrueby default) - BREAKING(stringify): XML entities are now escaped based on context rather than always (i.e. only
"and'will be escaped in attributes while only<and>will be escaped in nodes)- feat(stringify): add
escapeAllEntitiesoption to always escape XML entities regardless of context
- feat(stringify): add
Internal changes:
- chore: remove deprecated deno api
- test: switch to
expectapi- test: switch to
Deno.bench- deps: use
std/io/types- chore: update
deno.jsonc- ci: update workflow
Full Changelog: 2.1.3...3.0.0