Pathvalidate

Latest version: v3.2.0

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

Scan your dependencies

Page 5 of 8

0.24.1

- Fix improper error messages
- Improve error message readability

0.24.0

- Add `is_valid_filename`/`is_valid_filepath` function
- Add `FileNameSanitizer`/`FilePathSanitizer` classes
- Add minimum length validation support
- Remove deprecated functions

0.23.0

- Improve sanitization/validation for files
- Add `.` and `..` as reserved keywords for files
- Add limit to `max_filename_len`
- Fix platform specific sanitization: 7
- Fix reserved keywords sanitization/validation for files
- Integrate `InvalidCharWindowsError` into `InvalidCharError`
- Change to use `ReservedNameError` instead of `InvalidReservedNameError`
- Breaking changes
- Rename a property for `FileSanitizer` from `platform_name` to `platform`
- Rename methods argument from `platform_name` to `platform`

0.22.0

- Add universal (platform independent) filename/filepath sanitization/validation
- Treat ASCII whitespace other than normal space as invalid on Windows 6 (Thanks to nyuszika7h)

0.21.1

- Add support for PathLike object
- Bug fixes

0.18.0

- Add validations/sanitizations for unprintable characters
- Add support for Python 3.7

Page 5 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.