Xmldiff

Latest version: v2.7.0

Safety actively analyzes 631819 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

2.7.1

------------------

- Nothing changed yet.

2.7.0

------------------

- Changed the comparison to make accurate and standard more accurate,
although fast gets less accurate as a result.

- Changed usage of deprecated `pkg_resources` package to `importlib.metadata`.

- A `use_replace` flag was added to the `XMLFormatter` by Thomas Pfitzinger.
It changes text replacement from delete and insert tags to a replace tag.
It's not currently accessaible thtough the CLI, the question is it is better
to add a new formatter name, or an option to pass in formatter flags.

- Added option to XMLFormatter to use replace tags
- in _make_diff_tags after diffing, neighboring delete/insert diffs are joined to a replace tag
- the deleted text is added as an attribute ("old-text")
- the inserted text is the element's text

2.6.3

------------------

- And there was a namespace bug in the patch as well. 118

2.6.2

------------------

- Solved an error in the xmlformatter when using default namespaces. 89

2.6.1

------------------

- 108: Fixed an error that happens if using namespaces like ns0 or ns1.

2.6

----------------

- Added `InsertNamespace` and `DeleteNamespace` actions for better handling
of changing namespaces. Should improve any "Unknown namespace prefix"
errors. Changing the URI of a a namespace prefix is not supported, and will
raise an error.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.