trivy icon indicating copy to clipboard operation
trivy copied to clipboard

feat(dart): use first version of constraint for dependencies using SDK version

Open DmitriyLewen opened this issue 1 year ago • 1 comments

Description

Use first version of constraint for dependencies using SDK version. e.g. in this case the version of flutter_test should be 3.3.0:

  flutter_test:
    dependency: "direct dev"
    description: flutter
    source: sdk
    version: "0.0.0"
sdks:
  dart: ">=2.18.0 <3.0.0"
  flutter: "^3.3.0"

More information in #5984

Related issues

  • Close #6017

Checklist

  • [x] I've read the guidelines for contributing to this repository.
  • [x] I've followed the conventions in the PR title.
  • [x] I've added tests that prove my fix is effective or that my feature works.
  • [x] I've updated the documentation with the relevant information (if needed).
  • [ ] I've added usage information (if the PR introduces new options)
  • [x] I've included a "before" and "after" example to the description (if the PR is a user interface change).

DmitriyLewen avatar Mar 01 '24 06:03 DmitriyLewen

This PR is stale because it has been labeled with inactivity.

github-actions[bot] avatar May 26 '24 00:05 github-actions[bot]