Problem/Motivation

in views_year_filter.libraries.yml the library views_year_filter.libraries.yml/datepicker has a dependency on "core/jquery.once" this library is deprecated as of Drupal 9.2 and removed as of Drupal 10.0. I looked and the datepicker.js file doens't even use jquery.once so it can be removed the views_year_filter.libraries.yml without issue.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jrglasgow created an issue. See original summary.

jrglasgow’s picture

Status: Active » Needs review
noorulshameera’s picture

I verified the patch works fine and we can remove 'jquery.once' from the libraries.yml file and no need to replace it with core/once, since it is not used in both datepicker.js and views-year-filter.js files in the codebase.
RTBC+1

  • berramou committed 4d2a97f6 on 2.0.x
    Issue #3379727: remove dependency on core/jquery.once
    
berramou’s picture

Status: Needs review » Fixed
berramou’s picture

Status: Fixed » Closed (fixed)