Fixed
- Support immediately indexed arrays with initializers in Java
- Support object rest parameters in ECMAScript 6+
- Support various array destructuring calls with ommitted arguments in
ECMAScript 6+ - Fix an issue where an error was raised when matching to Python else
blocks with a metavariable - Don't filter out files that are explicitly passed as arguments to semgrep
even if they do not have expected extension
Added
- Java imports can now be searched with patterns written like
import javax.crypto.$ANYTHING
--debugging-json
flag for use on semgrep.live
Changed
- Pattern matches now distinguish between conditionals without
else
blocks
and those with emptyelse
blocks; write two patterns to capture both
possibilities - Print output before exiting when using --strict