0.103.0 - 2022-07-05
Added
- Expression statement patterns (e.g.
foo();
) used to also match when
they were a bit deeper in the expression (e.g.,x = foo();
).
This can now be disabled via ruleoptions:
withimplicit_deep_exprstmt: false
(#5472) - The timeout for git commands Semgrep runs is now configurable by setting the
SEMGREP_GIT_COMMAND_TIMEOUT
environment variable.
The unit used is seconds. The default value is 300.
Fixed
- Error messages in JSON output used to contain ANSI color codes,
this was fixed so they are now uncolored (and readable!) plain text.