Problem/Motivation

Status report page shows Lazysizes library version as 5.2.0. It's in fact the version defined in the lazy.libraries.yml file, rather than dynamically reading the installed version information.

Steps to reproduce

Open "Status report" page at https://example.com/admin/reports/status
Look up for "LAZYSIZES LIBRARY" to find the version information.

Proposed resolution

Read the version information dynamically from the package.json file.

Comments

osman created an issue. See original summary.

  • osman committed c1a73e0 on 8.x-3.x
    Issue #3209616 by osman: Status report page shows wrong version for...
osman’s picture

Version: 8.x-3.6 » 8.x-3.x-dev
Status: Active » Needs review
osman’s picture

Status: Needs review » Fixed

Fixed in 3.7 release.

Christopher Riley’s picture

I am confused about this as I still get the following:

The lazySizes library needs to be downloaded and extracted into the /libraries/lazysizes folder in your Drupal installation directory. The name of the extracted folder has to be lazysizes. If you manage assets via Composer, you can use composer require bower-asset/lazysizes to download the library.

I am using composer and 5.3.1 (which is what the status page now shows I have) is the latest version. Shouldn't the need to download message be supressed?

Thanks in advance.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.