Problem/Motivation
We should update all of core's remaining JavaScript dependencies prior to 9.0.0-beta1, including any major version updates that may be available.
Proposed resolution
Here's a table of all core's JS dependencies and what to do with them:
Dependency | Proposed resolution and/or issue |
---|---|
package.json (dev) dependencies | #3042182: Update core JavaScript libraries before 8.9.0/9.0.0 |
Backbone | |
CKEditor | N/A; we are retaining CKEditor 4 for 9.x. 9.0 and 8.9 should use the same version of CKEditor. |
Farbtastic | No new stable release since 2010. Repository is a read-only on github. |
jquery | TBD. jQuery 4 is still under development. If it is available before 9.0.0 we should try to make Drupal compatible. jQuery 4 development progress: https://github.com/jquery/jquery/milestone/7 |
jquery-form | On latest release (4.2.2) of jquery-form as of Nov. 2019. No new releases since 2017. |
jquery-joyride | Confusing, since 2.0.0 is listed as the "latest release" despite 2.1 existing, but we appear to be on the latest release (2.1.0) of jquery-joyride. No new releases since 2013 (or 2014?) |
jquery-once | We are on 2.2.0. jquery-once 2.2.3 is available as of Nov. 2019.#3100943: Update jquery-once to 2.2.3 |
jquery.cookie | On the latest jquery.cookie version (1.4.1) as of Nov. 2019. #2550717: [JS] Replace jQuery.cookie with JS-cookie and provide a BC layer |
jquery.ui | N/A. Project is EOL and forked into core. #3087685: Remove deprecated jQuery UI components and fork remaining source code into core |
modernizr | Modernizr 3.8.0 is available as of Nov. 2019. We are on 3.3.1. #3100937: Update modernizr to 3.8.0 |
normalize-css | New major versions of Normalize are available (up to 8.0.1). We are on 3.0.3. #2821525: Update normalize.css to the most recent version |
picturefill | Picturefill 3.0.3 is available as of Nov. 2019. We are on 3.0.1. #3100939: Update picturefill to 3.0.3 |
popperjs | PopperJS 1.16.0 was released last month. We are on 1.15.0 (popper.min.js md5 e21a6649041ef6f5f1bf43f11946621f). The minified JS appears to not include the version in the metadata.#3100949: Update popper.js to 1.16.0 |
sortable | Sortable 1.10.1 is available as of Nov. 2019. We are on 1.10.0. #3101661: Update SortableJS to 1.10.1 |
underscore | Underscore 1.9.1 is available as of Nov. 2019. We are on 1.8.3. #3101643: Update Underscore. to 1.9.1 |
Remaining tasks
Create issues for the above where an update is available (or locate existing issues, e.g. for Normalizer). Re-review the versions immediately prior to 9.0.0-beta1.