Shared dependency prevents related module updates

Created on 27 August 2025, about 1 month ago

Problem/Motivation

I had svg_image and svg_embed both installed. While performing module updates, I discovered that both of these modules have a shared dependency - enshrined/svg-sanitize, however the way the dependency is required in svg_embed makes it impossible to update svg_image module to the latest version.

drupal/svg_embed 2.1.2 requires enshrined/svg-sanitize (^0.20) -- which is >=0.20 < 0.21     
drupal/svg_image 3.2.1 requires enshrined/svg-sanitize (>=0.15 <1.0)

These version constraints do not overlap as you can see.

Steps to reproduce

Install both svg_image and svg_embed - observe that svg_image is one patch version behind.

Proposed resolution

Change the version range constrain to >=0.20 <1.0

πŸ’¬ Support request
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States euk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024