Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update semgrep requirement from ~=1.49.0 to ~=1.50.0 #138

Merged
merged 1 commit into from
Nov 17, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 17, 2023

Updates the requirements on semgrep to permit the latest version.

Release notes

Sourced from semgrep's releases.

Release v1.50.0

1.50.0 - 2023-11-17

No significant changes.

Changelog

Sourced from semgrep's changelog.

1.50.0 - 2023-11-17

No significant changes.

1.49.0 - 2023-11-15

Added

  • Added support in Ruby, Julia, and Rust to match implicit return statement inside functions.

    For example:

    return 0

    can now match 0 in

    function f()
      0
    end

    This matching is enabled by default and can be disabled with the rule option implicit_return. (gh-8408)

  • Pro engine supports constant propagation of numbers defined via macro in C++ (gh-9221)

  • taint-mode: The by-side-effect option for taint sources (only) now accepts a third value only (besides true and false). Setting by-side-effect: only will define a taint source that only propagates by side effect. This option should allow (ab)using taint-mode for writing some typestate rules.

    For example, this taint rule:

    pattern-sources:
      - by-side-effect: only
        patterns:
          - pattern: lock($L)
          - focus-metavariable: $L
    pattern-sanitizers:
      - by-side-effect: true
        patterns:
          - pattern: unlock($L)
          - focus-metavariable: $L
    pattern-sinks:
      - pattern: lock($L)

    will match the second lock(x) in this code:

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [semgrep](https://github.com/returntocorp/semgrep) to permit the latest version.
- [Release notes](https://github.com/returntocorp/semgrep/releases)
- [Changelog](https://github.com/semgrep/semgrep/blob/develop/CHANGELOG.md)
- [Commits](semgrep/semgrep@v1.49.0...v1.50.0)

---
updated-dependencies:
- dependency-name: semgrep
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 17, 2023
Copy link

codecov bot commented Nov 17, 2023

Codecov Report

Merging #138 (486f524) into main (3c56324) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #138   +/-   ##
=======================================
  Coverage   96.32%   96.32%           
=======================================
  Files          65       65           
  Lines        2721     2721           
=======================================
  Hits         2621     2621           
  Misses        100      100           

@andrecsilva andrecsilva added this pull request to the merge queue Nov 17, 2023
Merged via the queue into main with commit 2e816f3 Nov 17, 2023
13 checks passed
@andrecsilva andrecsilva deleted the dependabot/pip/semgrep-approx-eq-1.50.0 branch November 17, 2023 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant