Unidiff

Latest version: v0.7.5

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

Scan your dependencies

Page 1 of 3

0.7.5

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

* Fixed issue with spaces in filename when using custom git prefix.
* Support binary patch format.

0.7.4

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

* Fixed git diff parsing issues (filename with spaces, only one added/deleted file).

0.7.3

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

* Fixed RE_BINARY_DIFF regex to make it a raw string.

0.7.2

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

* Fixed issue when parsing git diff header generated with `--no-prefix`.

0.7.1

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

* Improved git added/deleted file detection.
* Added `newline` optional param when parsing `from_filename`.

0.7.0

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

* Fixed issues handling multiple git renames.
* Renamed files return target filename as PatchedFile.path.
* Fixed error when first change is a binary file.
* Added source code type hints.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.