Crytic-compile

Latest version: v0.3.8

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

Scan your dependencies

Page 3 of 5

0.2.1

Not secure
This release adds support for BSC, improves truffle and waffle support, and improves the overall code quality through type hints and documentation.

Added
- BSC support (https://github.com/crytic/crytic-compile/pull/189, https://github.com/crytic/crytic-compile/pull/194)
- API:
- Filenames at the compilation unit level (https://github.com/crytic/crytic-compile/pull/205)
- `get_global_offset_from_line` (https://github.com/crytic/crytic-compile/pull/193)
- Waffle: Support for `.waffle.json` config filename (https://github.com/crytic/crytic-compile/pull/198)
- Truffle: Support for truffle >= 5.3.14 (https://github.com/crytic/crytic-compile/pull/204)
- Documentation for all functions/modules (https://github.com/crytic/crytic-compile/pull/207). The documentation follows the google style. The CI checks the documentation accuracy with `dargling` (see CONTRIBUTING.md)
- Reach 100% type hints coverage (https://github.com/crytic/crytic-compile/pull/195). The CI checks the accuracy of the type with `mypy` (see CONTRIBUTING.md)

Fixed
- Bug in the Zip output (https://github.com/crytic/crytic-compile)
- Typo in test (https://github.com/crytic/crytic-compile/pull/200)

0.2.0

Not secure
This release adds the support for multiple compilation units and contains breaking changes required for its support. Additionally, it improves the support for Vyper, Brownie, and Etherscan.

Added
- Add vyper source mapping (https://github.com/crytic/crytic-compile/pull/171)

Changed
- Add support for multiple compilation units (https://github.com/crytic/crytic-compile/pull/167, https://github.com/crytic/crytic-compile/pull/176). See https://github.com/crytic/crytic-compile/pull/167 for the **breaking changes**.
- Use `--force` by default with hardhat (https://github.com/crytic/crytic-compile/pull/173)
- Use pylint 2.8.2 (https://github.com/crytic/crytic-compile/pull/180)

Fixed
- Improve Etherscan support (for Solidity >= 0.8) (https://github.com/crytic/crytic-compile/pull/172)
- Improve Brownie support (https://github.com/crytic/crytic-compile/pull/166)

0.1.13

Not secure
This release improves the support of solc 0.8, as well as hardhat and Etherscan support.

We are currently investigating issues with the hardhat support (crytic/crytic-compile164), in the meantime, hardhat should be considered as partially supported.

Added
- Support for solc 0.8 (direct compilation) (https://github.com/crytic/crytic-compile/pull/147)

Changed
- Improvements to Etherscan export directory (https://github.com/crytic/crytic-compile/pull/144, https://github.com/crytic/crytic-compile/pull/148)
- Improve Etherscan error message (https://github.com/crytic/crytic-compile/pull/159)
- Clean up solc platform (https://github.com/crytic/crytic-compile/pull/149)
- Use pylint `2.7.2` and black `20.8b1`, and improve CI (https://github.com/crytic/crytic-compile/pull/162)

Fixed
- Fix hardhat source mapping (https://github.com/crytic/crytic-compile/pull/154)

0.1.12

Not secure
This release adds the support for multi-files on Etherscan adds a new API for Slither

Added
- Support for multi-files on Etherscan (https://github.com/crytic/crytic-compile/pull/142, https://github.com/crytic/crytic-compile/pull/143)
- `get_code_from_line` API (https://github.com/crytic/crytic-compile/pull/141)

0.1.11

Not secure
This release improves hardhat and dapp support, and contains optimizations for Slither.

We would like to thanks elopez for its contributions.

Added
- Support for typescript configuration with hardhat (https://github.com/crytic/crytic-compile/pull/131)
- Latest dapp support (https://github.com/crytic/crytic-compile/pull/137)
- Hardhat custom configuration (`--hardhat-ignore-compile`, `--hardhat-cache-directory`, `--hardhat-artifacts-directory`) (https://github.com/crytic/crytic-compile/pull/136)
- Add memorization for `filename_lookup`, and cache for `is_dependency` results (https://github.com/crytic/crytic-compile/pull/129, https://github.com/crytic/crytic-compile/pull/135). This result in significant speed improvements for Slither for codebase with several files (up to 30% speed gain from an initial benchmark)
- Add `get_line_from_offset` API (https://github.com/crytic/crytic-compile/pull/130). This is an optimized version of the original Slither's `source_mapping._compute_line` (https://github.com/crytic/slither/pull/702)

Fixed
- Incorrect source mapping in buidler (https://github.com/crytic/crytic-compile/pull/133)
- solc version detection for `--solc-solcs-(select|bin)` (https://github.com/crytic/crytic-compile/pull/138)
- solc version regex guessing (https://github.com/crytic/crytic-compile/pull/139)

0.1.10

Not secure
This release introduces the support for hardhat, and improves Waffle and Buidler support.

We would like to thanks PaulRBerg, for helping us debugging the buidler directory name bug (https://github.com/crytic/crytic-compile/issues/116).

Added
- Hardhat support (https://github.com/crytic/crytic-compile/pull/126)
- `--solc-force-legacy-json` flag (https://github.com/crytic/crytic-compile/pull/111)
- Support for builder directory name bug (https://github.com/crytic/crytic-compile/issues/116, https://github.com/crytic/crytic-compile/pull/127). The fix can be disabled with `--buidler-skip-directory-name-fix`

Changed
- Solc output: sort the source list (https://github.com/crytic/crytic-compile/pull/125)
- Multiple improvements on the waffle support (https://github.com/crytic/crytic-compile/pull/119)
- Use black `19.10b0` instead of latest for github super linter compatibility (https://github.com/crytic/crytic-compile/pull/124)

Page 3 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.