Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
We currently ship Underscore.js 1.9.1. However, the latest release of the library is 1.11.0.
Proposed resolution
Update Underscore.js to the latest release.
Remaining tasks
-
API changes
-
Release notes snippet
Update Underscore.js to 1.11.0
Comment | File | Size | Author |
---|---|---|---|
#11 | core-8.9.13-underscore-update.patch | 101.2 KB | perfectcu.be |
Comments
Comment #2
lauriiiComment #3
jungleI think
core/assets/vendor/underscore/underscore-min.js.map
should be updated accordinglyComment #4
alexpottHowever we need to update core/assets/vendor/underscore/underscore-min.js.map too.
Comment #5
jungleUpdating
core/assets/vendor/underscore/underscore-min.js.map
Comment #6
longwaveIdentical to the patch that I was about to upload :)
Comment #9
catchCommitted/pushed to 9.2.x and cherry-picked to 9.1.x, thanks!
Comment #11
perfectcu.be CreditAttribution: perfectcu.be as a volunteer and commentedI needed an underscore update for a site on version 8.9.13. Attached is the patch that updates underscore to version 1.12.0, altering these files:
The patched js/map files were sourced from:
Sorry for the threadjack but this issue comes up first when I google "drupal update underscore"