Cvldoc-parser

Latest version: v1.0.1

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

Scan your dependencies

Page 2 of 3

0.5.0

Added
- Python wrapper: Expose wrapper classes to Python, so their types can be named
Fixed
- Handle lines of the form /*****/ (for any amount of *)
- Ignore /*****/ (for any amount of *) when it is a separator between elements
- Fixed element span to contain both the documentation block and the associated element

0.4.2

Fixed
- Fix issue with recognition of `rule` blocks.

0.4.1

Fixed
- No longer ignore line terminator kind, so CRLF is now parsed correctly.

0.4.0

Changed
- Changed all references from "NatSpec" to the new name, "CVLDoc"
- Internal restructure of documentation struct to refacator redundant fields
Added
- `raw` field is now captured, containing the entire text from beginning of capture

Changed
- Python wrapper: Changed all references from "NatSpec" to the new name, "CVLDoc"
- Python wrapper: `range` is no longer printed in `repr` of classes that have them, to reduce noise
Added

0.3.3

Changed
- Python wrapper: Now using `abi3` bindings, to (hopefully!) support all Python versions with a single build
- Python wrapper: Renamed crate (exported python module's name did not change)
- Updated dependencies

0.3.0

Added
- Multi-line freeform comments with `////` are now supported. They concatenate into a single comment.
Changed
- Rules without parameters were not detected
- Merge `SingleLineFreeForm` and `MultiLineFreeForm` into a single enum.
- No longer distinguish between the header and the body of a freeform comment. Now just grab everything into a single String.
- Don't special-case `` in the grammar.
- Don't trim `` from headers.
- Stopped removing lines that are just whitespace.
- Wrapper: Definition of `FreeForm` was simplified to match the definition in `natspec_parser`: Replaced `header` and `block` with `text`.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.