Describe your bug or feature request.

The following deprecation can be found in the test reports:

62x: Javascript Deprecation: jQuery.once() is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256.

Since the core/once library has been introduced in D9.2.0, and Commerce requires 9.2 minimum, we can safely get rid of the jquery/once dependency.

Here's a link to the change record explaining how to use the replacing library: https://www.drupal.org/node/3158256.

Issue fork commerce-3272697

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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jsacksick created an issue. See original summary.

jsacksick’s picture

Issue tags: +Deprecation Removal
kimberlly_amaral’s picture

Assigned: Unassigned » kimberlly_amaral

I'll work on that.

jsacksick’s picture

Issue summary: View changes

kimberlly_amaral’s picture

Assigned: kimberlly_amaral » Unassigned
Status: Active » Needs review

  • jsacksick committed f8abc7d on 8.x-2.x
    Issue #3272697 by kimberlly_amaral, jsacksick: Replace jquery/once by...

jsacksick’s picture

Status: Needs review » Fixed

Thank you very much! I copied the commit commend and didn't pay attention that it didn't contain the right --author... So fixed the commit authorship when committing to the 3.0.x branch.

Status: Fixed » Closed (fixed)

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