Remove deprecated and disused jquery.once from widget dependencies

Created on 27 September 2023, over 1 year ago

Problem/Motivation

The core/jquery.once library was deprecated in Drupal 9 and removed in Drupal 10. While the Facets module appears to have removed use of the library in code, it is still listed as a dependency in two widget submodules: facets_range_widget and facets_searchbox_widget.

A search of both submodule's JavaScript reveals no use of the once() function, jQuery or core, so it can be removed as being both deprecated and disused.

Proposed resolution

Remove reference to these libraries in each submodule's libraries.yml file.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States daletrexel Minnesota, USA

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

Comments & Activities

Production build 0.71.5 2024