Shared dependency prevents related module updates
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3543426. --> Reported by: [euk](https://www.drupal.org/user/1508222) Related to !2 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>I had <code>svg_image</code> and <code>svg_embed </code> both installed. While performing module updates, I discovered that both of these modules have a shared dependency - <code>enshrined/svg-sanitize</code>, however the way the dependency is required in <code>svg_embed </code>makes it impossible to update <code>svg_image </code>module to the latest version.</p> <pre>drupal/svg_embed 2.1.2 requires enshrined/svg-sanitize (^0.20) -- which is &gt;=0.20 &lt; 0.21&nbsp;&nbsp;&nbsp;&nbsp; <br>drupal/svg_image 3.2.1 requires enshrined/svg-sanitize (&gt;=0.15 &lt;1.0)</pre><p>These version constraints do not overlap as you can see.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>Install both <code>svg_image </code>and <code>svg_embed </code> - observe that <code>svg_image</code> is one patch version behind.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Change the version range constrain to <code>&gt;=0.20 &lt;1.0</code></p>
issue