Crytic-compile

Latest version: v0.3.7

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

Scan your dependencies

Page 3 of 5

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)

0.1.9

Not secure
This release adds two new flags to improve truffle support, and improves etherlime, waffle and buidler support. Additionally, slither now runs GitHub [super-linter](https://github.com/github/super-linter) (see [CONTRIBUTING.md#linters](https://github.com/crytic/crytic-compile/blob/845c57854782529ae277f91cd22fff109971d945/CONTRIBUTING.md#linters)).

We also want to thanks alphastorm and tomlinton for their contributions.

Added
- `--truffle-overwrite-config` and `--truffle-overwrite-version` to ease the compilation on complex setup (https://github.com/crytic/crytic-compile/pull/88)
Changed
- Remove case sensitivity in `--compile-force-framework` (https://github.com/crytic/crytic-compile/pull/100)
- Improve waffle and etherlime support (https://github.com/crytic/crytic-compile/pull/101
- Github super linter (https://github.com/crytic/crytic-compile/pull/107)

Fixed
- Improve buidler detection (https://github.com/crytic/crytic-compile/pull/97)
- Fix natspec parsing in buidler (https://github.com/crytic/crytic-compile/pull/105)
- All pylint issues (https://github.com/crytic/crytic-compile/pull/107)

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.