diff --git a/content/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file.md b/content/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file.md index 2c80b5ee97d9..8a32cfeabe0c 100644 --- a/content/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file.md +++ b/content/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file.md @@ -811,49 +811,14 @@ When {% data variables.product.prodname_dependabot %} edits a manifest file to u The following table shows an example of how `versioning-strategy` can be used. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ConstraintCurrent VersionNew VersionStrategyNew Constraint
^1.0.01.0.01.2.0'widen'^1.0.0
'increase'^1.2.0
'increase-if-necessary'^1.0.0
^1.0.01.0.02.0.0'widen'>=1.0.0 <3.0.0
'increase'^2.0.0
'increase-if-necessary'^2.0.0
+| Current constraint | Current version | New version | Strategy | New constraint | +|--------------------|-----------------|-------------|----------|----------------| +| ^1.0.0 | 1.0.0 | 1.2.0 | `widen` | ^1.0.0 | +| ^1.0.0 | 1.0.0 | 1.2.0 | `increase` | ^1.2.0 | +| ^1.0.0 | 1.0.0 | 1.2.0 | `increase-if-necessary` | ^1.0.0 | +| ^1.0.0 | 1.0.0 | 2.0.0 | `widen` | >=1.0.0 <3.0.0 | +| ^1.0.0 | 1.0.0 | 2.0.0 | `increase` | ^2.0.0 | +| ^1.0.0 | 1.0.0 | 2.0.0 | `increase-if-necessary` | ^2.0.0 | Use the `versioning-strategy` option to change this behavior for supported package managers.