Add support for configuring reviewed and ignored dependencies at specific versions #629
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This builds off of the configuration changes made in #560 to bring in full support for configuring reviewed and ignored dependencies that include version identifiers.
Version identifiers are given by adding
@...
to the end of dependency names in the reviewed and ignored configuration lists. Identifiers can have the following values:*
- explicitly match all versionsGem::Requirement
provides support for version ranges -(=|<|<=|>|>=|~>) 1.2.3
. For non-Ruby devs, the~>
is called the twiddle-waka and is a pessimistic matcher similar to node's tilda range operator.dependency@>= 1.0.0, < 2.0.0
Gem::Requirement
will be compared with an exact string match to a found dependency's versionThis mostly affects the
pnpm
source at the moment, which requires reviewing and ignoring dependencies using@...
. For other sources, the change is expected to be backwards compatible and users should only expect changes when configuring dependencies at specific versions or specific version ranges.