Problem/Motivation
Steps to reproduce
Deprecate the existing library and create a new core/internal.underscore library to provide underscore for internal.backbone until the usages are removed.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
The underscore JS library has been deprecated in Drupal 9.4.0. There is no replacement.
Issue fork drupal-3272872
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:
- 3272872-deprecate-underscore-and
changes, plain diff MR !2038
Comments
Comment #3
nod_Comment #4
thiagoht commentedI'll check it out!
Comment #5
thiagoht commentedLooks like everything ok!
Comment #6
murilohp commentedJust added a CR here about underscore being deprecated and how to replace it using vanilla js.
Comment #7
alexpottCommitted 49a6133 and pushed to 10.0.x. Thanks!
Committed 7be4a4f and pushed to 9.4.x. Thanks!
I applied the patch on to 10.0.x using a 3 way merge and resolved the conflicts.
@murilohp thanks for writing the CR I've credited you on this issue for that.
@thiagoht thanks for the review detailing what you did.
Comment #10
xjm