Require mobiledetectlib 4.8

Created on 30 November 2023, 7 months ago
Updated 14 December 2023, 7 months ago

Problem/Motivation

Currently module requires "mobiledetect/mobiledetectlib": "^2.8"

However, every now and then, the module fails since my site is running PHP 8.1

How can we make it for the module to require 4.8?
"mobiledetect/mobiledetectlib": "^4.8"

I tried editing the composer.json file and ludwig.json file inside the module which mention 2.8 and edit that to 4.8, but when I run composer, it seems to always install 2.8 since it has not applied the patch yet. Any idea how to make composer read the 4.8 requirement before patch is applied? Or how is this achieved? Inside my composer vendor folder, the mobile detect library is always 2.8 and cannot get it to install 4.8. If I add the library as a requirement on my main site composer file, I get error saying mobile_detect module requires 2.8.

Thank you.

πŸ’¬ Support request
Status

Needs review

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jsidigital

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

Comments & Activities

Production build 0.69.0 2024