pypi semgrep 1.34.1
Release v1.34.1

latest releases: 1.96.0, 1.95.0, 1.94.0...
15 months ago

1.34.1 - 2023-07-28

Added

  • feat(eval): add "parse_promql_duration" function to convert a promql duration into milliseconds. This makes it possible to write comparisons like this:

    - metavariable-comparison:
        metavariable: $RANGE
        comparison: parse_promql_duration(str($RANGE)) > parse_promql_duration("1d")
    ``` (gh-8381)
    
    
    

Fixed

  • fix(yaml): fix captures for sequences that contain mappings (gh-8388)

Don't miss a new semgrep release

NewReleases is sending notifications on new releases.