Closed (fixed)
Project:
Drupal core
Version:
9.0.x-dev
Component:
javascript
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 Nov 2019 at 16:45 UTC
Updated:
12 Sep 2022 at 15:00 UTC
Jump to comment: Most recent
Comments
Comment #2
lauriiiShould we also update packages in package.json?
Comment #3
xjmComment #4
xjmFixing IS markup.
Comment #5
xjmAdding data on all the versions.
Comment #6
mradcliffeAdded some related issues. There is probably some additional info. in comments and issue summary related to this in #3042182: Update core JavaScript libraries before 8.9.0/9.0.0.
There is a replacement for jquery-cookie as js-cookie, which is in Need review.
Comment #7
mradcliffeLooking at #3074267: Replace jQuery UI position() with PopperJS, I think popper.js is the minified version of 1.15.0, but that isn't guaranteed. I couldn't find any other mention of updating.
I did confirm the md5 checksum of popper.min.js in core is e21a6649041ef6f5f1bf43f11946621f, which is the same as the one available at https://unpkg.com/popper.js@1.15.0/dist/umd/popper.min.js.
Comment #8
gábor hojtsyComment #9
mradcliffeI added not about github repository being read-only for farbtastic.
Comment #10
tedbowComment #11
tedbowcreated #3100943: Update jquery-once to 2.2.3
Comment #12
lauriiiOpened #3101543: Update core JavaScript dependencies listed in package.json for dependencies listed in package.json.
Comment #13
bnjmnmAdded normalize.css issue
Comment #14
bnjmnmUpdated IS with underscore issue.
Comment #15
bnjmnmAdded Popperjs issue to IS
Comment #16
bnjmnmAdded SortableJS issue to IS.
Comment #17
xjmI just checked the progress on jQuery 4 development. It is 50% complete (up from 46% a month ago): https://github.com/jquery/jquery/milestone/7
Seems like an alpha is still a ways off, but I added the above link to the summary for easier tracking.
Comment #18
xjmComment #19
xjmComment #20
bnjmnmAdded backbonejs issue
Comment #21
lauriiiComment #22
wim leersD8/D9 are on CKEditor 4.13.0. Shortly after 8.8.0 shipped, 4.13.1 was released. See #3105327: Update CKEditor to version 4.13.1.
Comment #23
andypostNew release https://github.com/jashkenas/underscore/releases/tag/1.9.2 but changes only in docs and tests
Comment #24
lauriiiOpened new issue for updating stylelint to 13.0.0: #3107926: Update stylelint to ^13.0.0.
Comment #25
lauriiiPopper.js 2 has been released #3108402: Update to Popper.js to 2.0.0.
Comment #26
kingdutchGabor asked for feedback on Twitter, so here we are :D
It may not fit entirely in this issue but has there been any discussion on moving front-end dependencies to composer using asset-packagist? I realise this is different from what the rest of the front-end world does but it does fit better with what some contrib projects (Open Social in our case) are doing. It also makes these sorts of decisions easier/moot in the future because proper conflicts can be detected by composer if Drupal updates something that doesn't work with a module or theme.
If that route isn't chosen, by all means, please update everything that's possible, it's probably the only opportunity in a while. Most dependencies in the list can either be overwritten by themes (normalize et al) or scoped to certain code (jQuery et al).
Comment #27
lauriiiOpened new issue to prepare for the release of Yarn 2: #3109556: Update from Yarn 1 to Yarn 4.
Comment #28
lauriii@Kingdutch Thank you for the review! The discussion about moving frontend dependencies to Composer using asset-packagist is happening in #2873160: Implement core management of 3rd-party FE libraries. If you have some more time to help us out, we could also use some help reviewing the child issues updating specific libraries 😇
Comment #29
kingdutchI will check out the issue, thanks! We're currently hard at work on the Open Social 8.0 release. If there's updates left after this I'll be sure to take a look :)
Comment #30
damienmckennaTagging as a requirement for Drupal 9.0-beta1.
Comment #31
damienmckennaComment #32
sasanikolic commentedNew version of SortableJS is available. Created a followup with a patch for it #3111244: Update SortableJS to 1.10.2.
Comment #33
bnjmnmComment #34
catchjs-cookie just released beta4 four days ago, so we should keep an eye on that (probably after beta).
https://github.com/js-cookie/js-cookie/releases/tag/v3.0.0-beta.4
Comment #35
wim leersAnother surprise update: #3120022: Update CKEditor to version 4.14.0
Comment #36
wim leersComment #37
xjmWe should probably mark this fixed now, and if we do additional updates they can be added as separate related criticals.
Thanks to everyone who helped get our JavaScript in shape for D9!
Comment #38
briancoffelt commentedIs this issue in the queue for a Drupal 8 fix. Modernizr 3.3.1 has a security vulnerability: https://snyk.io/test/npm/modernizr/3.3.1 and needs to be bumped up to at least 3.4.0.
Comment #40
tim.plunkett