Problem/Motivation

Drupal 10.2.0 is due in the week of December 11, 2023, a number of JavaScript dependencies have major, minor and patch level release bumps that we should try to incorporate in the release.

Notes:

  • This issue is chasing the ever moving target to keep as up-to-date as possible.
  • This issue will not include an update of ckeditor5, that has its own issue here: #3406732: Update CKEditor 5 to 40.2.0
  • This issue will not include an update of stylelint and friends, that has its own issue here: #3407211: [PP-upstream] Update stylelint(-config-standard) to latest versions (major bump) and is postponed and won't be included in 10.2.0
  • It will be kept updated until the release of Drupal 10.2.0.
  • Now that we're in the release week of Drupal 10.2.0, this issue will be NR soon. Ideally we'll first land #3406732: Update CKEditor 5 to 40.2.0 and do one last round of updates in here.
  • Until the week of December 11, 2023, this issue will not be on Needs Review in order to get the most up-to-date list of JavaScript dependencies in the 10.2.0 release.
  • There will be an up-to-date with the current state of the MR $ yarn-lock-diff -o yarn.old.lock -n yarn.lock in #2.

Steps to reproduce

$ yarn outdated
Package                                Current Wanted  Latest    Package Type          
@ckeditor/ckeditor5-alignment          40.1.0  40.1.0  40.2.0    devDependencies       
@ckeditor/ckeditor5-autoformat         40.1.0  40.1.0  40.2.0    devDependencies       
@ckeditor/ckeditor5-basic-styles       40.1.0  40.1.0  40.2.0    devDependencies       
@ckeditor/ckeditor5-block-quote        40.1.0  40.1.0  40.2.0    devDependencies       
@ckeditor/ckeditor5-code-block         40.1.0  40.1.0  40.2.0    devDependencies       
@ckeditor/ckeditor5-editor-classic     40.1.0  40.1.0  40.2.0    devDependencies       
@ckeditor/ckeditor5-editor-decoupled   40.1.0  40.1.0  40.2.0    devDependencies       
@ckeditor/ckeditor5-essentials         40.1.0  40.1.0  40.2.0    devDependencies       
@ckeditor/ckeditor5-heading            40.1.0  40.1.0  40.2.0    devDependencies       
@ckeditor/ckeditor5-horizontal-line    40.1.0  40.1.0  40.2.0    devDependencies       
@ckeditor/ckeditor5-html-support       40.1.0  40.1.0  40.2.0    devDependencies       
@ckeditor/ckeditor5-image              40.1.0  40.1.0  40.2.0    devDependencies       
@ckeditor/ckeditor5-indent             40.1.0  40.1.0  40.2.0    devDependencies       
@ckeditor/ckeditor5-language           40.1.0  40.1.0  40.2.0    devDependencies       
@ckeditor/ckeditor5-link               40.1.0  40.1.0  40.2.0    devDependencies       
@ckeditor/ckeditor5-list               40.1.0  40.1.0  40.2.0    devDependencies       
@ckeditor/ckeditor5-paste-from-office  40.1.0  40.1.0  40.2.0    devDependencies       
@ckeditor/ckeditor5-remove-format      40.1.0  40.1.0  40.2.0    devDependencies       
@ckeditor/ckeditor5-show-blocks        40.1.0  40.1.0  40.2.0    devDependencies       
@ckeditor/ckeditor5-source-editing     40.1.0  40.1.0  40.2.0    devDependencies       
@ckeditor/ckeditor5-special-characters 40.1.0  40.1.0  40.2.0    devDependencies       
@ckeditor/ckeditor5-style              40.1.0  40.1.0  40.2.0    devDependencies       
@ckeditor/ckeditor5-table              40.1.0  40.1.0  40.2.0    devDependencies       
ckeditor5                              40.1.0  40.1.0  40.2.0    devDependencies       
cspell                                 8.0.0   8.1.3   8.1.3     devDependencies       
eslint                                 8.54.0  8.55.0  8.55.0    devDependencies       
eslint-config-prettier                 9.0.0   9.1.0   9.1.0     devDependencies       
glob                                   10.3.5  10.3.5  10.3.10   devDependencies       
jackspeak                              2.1.1   2.1.1   2.3.6     resolutionDependencies
jsdom                                  23.0.0  23.0.1  23.0.1    devDependencies       
loadjs                                 4.2.0   4.2.0   4.3.0-rc1 devDependencies       
nightwatch                             2.4.2   2.4.2   3.3.4     devDependencies       
postcss                                8.4.31  8.4.32  8.4.32    devDependencies       
prettier                               3.1.0   3.1.1   3.1.1     devDependencies       
shepherd.js                            10.0.1  10.0.1  11.2.0    devDependencies       
sortablejs                             1.15.0  1.15.1  1.15.1    devDependencies       
stylelint                              15.11.0 15.11.0 16.0.2    devDependencies       
stylelint-config-standard              34.0.0  34.0.0  35.0.0    devDependencies       
stylelint-order                        6.0.3   6.0.4   6.0.4     devDependencies       
terser                                 5.24.0  5.26.0  5.26.0    devDependencies         

Proposed resolution

$ yarn upgrade cspell eslint eslint-config-prettier jsdom postcss sortablejs
Yarn is pretty indeterministic when doing upgrades on one/some dependencies when it comes to the rollup of sub-dependencies.
Let's remove all cruft from yarn.lock and start anew:

$ rm core/yarn.lock
$ yarn install
$ yarn spellcheck:make-dict
$ yarn build

That leaves us with:

$ yarn outdated
Package                   Current Wanted  Latest    Package Type          
Package                                Current Wanted  Latest    Package Type           
@ckeditor/ckeditor5-alignment          40.1.0  40.1.0  40.2.0    devDependencies        
@ckeditor/ckeditor5-autoformat         40.1.0  40.1.0  40.2.0    devDependencies        
@ckeditor/ckeditor5-basic-styles       40.1.0  40.1.0  40.2.0    devDependencies        
@ckeditor/ckeditor5-block-quote        40.1.0  40.1.0  40.2.0    devDependencies        
@ckeditor/ckeditor5-code-block         40.1.0  40.1.0  40.2.0    devDependencies        
@ckeditor/ckeditor5-editor-classic     40.1.0  40.1.0  40.2.0    devDependencies        
@ckeditor/ckeditor5-editor-decoupled   40.1.0  40.1.0  40.2.0    devDependencies        
@ckeditor/ckeditor5-essentials         40.1.0  40.1.0  40.2.0    devDependencies        
@ckeditor/ckeditor5-heading            40.1.0  40.1.0  40.2.0    devDependencies        
@ckeditor/ckeditor5-horizontal-line    40.1.0  40.1.0  40.2.0    devDependencies        
@ckeditor/ckeditor5-html-support       40.1.0  40.1.0  40.2.0    devDependencies        
@ckeditor/ckeditor5-image              40.1.0  40.1.0  40.2.0    devDependencies        
@ckeditor/ckeditor5-indent             40.1.0  40.1.0  40.2.0    devDependencies        
@ckeditor/ckeditor5-language           40.1.0  40.1.0  40.2.0    devDependencies        
@ckeditor/ckeditor5-link               40.1.0  40.1.0  40.2.0    devDependencies        
@ckeditor/ckeditor5-list               40.1.0  40.1.0  40.2.0    devDependencies        
@ckeditor/ckeditor5-paste-from-office  40.1.0  40.1.0  40.2.0    devDependencies        
@ckeditor/ckeditor5-remove-format      40.1.0  40.1.0  40.2.0    devDependencies        
@ckeditor/ckeditor5-show-blocks        40.1.0  40.1.0  40.2.0    devDependencies        
@ckeditor/ckeditor5-source-editing     40.1.0  40.1.0  40.2.0    devDependencies        
@ckeditor/ckeditor5-special-characters 40.1.0  40.1.0  40.2.0    devDependencies        
@ckeditor/ckeditor5-style              40.1.0  40.1.0  40.2.0    devDependencies        
@ckeditor/ckeditor5-table              40.1.0  40.1.0  40.2.0    devDependencies        
ckeditor5                              40.1.0  40.1.0  40.2.0    devDependencies        
glob                                   10.3.5  10.3.5  10.3.10   devDependencies        
jackspeak                              2.1.1   2.1.1   2.3.6     resolutionDependencies 
loadjs                                 4.2.0   4.2.0   4.3.0-rc1 devDependencies        
nightwatch                             2.4.2   2.4.2   3.3.4     devDependencies        
shepherd.js                            10.0.1  10.0.1  11.2.0    devDependencies        
stylelint                              15.11.0 15.11.0 16.0.2    devDependencies        
stylelint-config-standard              34.0.0  34.0.0  35.0.0    devDependencies        

Reasons for not updating those (here) are in the parent IS, #3406732: Update CKEditor 5 to 40.2.0 and #3407211: [PP-upstream] Update stylelint(-config-standard) to latest versions (major bump).

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Issue fork drupal-3405685

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:

Comments

Spokje created an issue. See original summary.

spokje’s picture

Issue summary: View changes
$ yarn-lock-diff -o yarn.old.lock -n yarn.lock
┌──────────────────────────────┬─────────────────────┬────────────────┐
│ package name                 │ old version(s)      │ new version(s) │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @babel/code-frame            │ 7.22.13             │ 7.23.5         │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @babel/highlight             │ 7.22.20             │ 7.23.4         │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/cspell-bundled-dicts │ 8.0.0               │ 8.1.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/cspell-json-reporter │ 8.0.0               │ 8.1.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/cspell-pipe          │ 8.0.0               │ 8.1.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/cspell-resolver      │ 8.0.0               │ 8.1.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/cspell-service-bus   │ 8.0.0               │ 8.1.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/cspell-types         │ 8.0.0               │ 8.1.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-bash            │ 4.1.2               │ 4.1.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-companies       │ 3.0.27              │ 3.0.28         │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-cpp             │ 5.0.9               │ 5.0.10         │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-en_us           │ 4.3.11              │ 4.3.12         │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-filetypes       │ 3.0.2               │ 3.0.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-golang          │ 6.0.4               │ 6.0.5          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-lua             │ 4.0.2               │ 4.0.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-npm             │ 5.0.12              │ 5.0.13         │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-powershell      │ 5.0.2               │ 5.0.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-software-terms  │ 3.3.9               │ 3.3.12         │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dynamic-import       │ 8.0.0               │ 8.1.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/strong-weak-map      │ 8.0.0               │ 8.1.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @eslint/eslintrc             │ 2.1.3               │ 2.1.4          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @eslint/js                   │ 8.54.0              │ 8.55.0         │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @types/eslint                │ 8.44.7              │ 8.44.9         │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @types/minimist              │ 1.2.4               │ 1.2.5          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @types/node                  │ 20.8.10             │ 20.10.4        │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @types/normalize-package-da… │ 2.4.3               │ 2.4.4          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ big-integer                  │ 1.6.51              │ 1.6.52         │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ browserslist                 │ 4.22.1              │ 4.22.2         │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ caniuse-lite                 │ 1.0.30001561        │ 1.0.30001568   │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ cli-spinners                 │ 2.9.1               │ 2.9.2          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ cosmiconfig                  │ [..., 8.3.6], 8.0.0 │ [...], 8.3.6   │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ cspell-dictionary            │ 8.0.0               │ 8.1.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ cspell-gitignore             │ 8.0.0               │ 8.1.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ cspell-glob                  │ 8.0.0               │ 8.1.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ cspell-grammar               │ 8.0.0               │ 8.1.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ cspell-io                    │ 8.0.0               │ 8.1.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ cspell-lib                   │ 8.0.0               │ 8.1.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ cspell-trie-lib              │ 8.0.0               │ 8.1.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ cspell                       │ 8.0.0               │ 8.1.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ cssdb                        │ 7.9.0               │ 7.9.1          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ electron-to-chromium         │ 1.4.577             │ 1.4.611        │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ es-module-lexer              │ 1.3.1               │ 1.4.1          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ eslint-config-prettier       │ 9.0.0               │ 9.1.0          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ eslint                       │ 8.54.0              │ 8.55.0         │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ fast-equals                  │ [..., 5.0.1], 4.0.3 │ [...], 5.0.1   │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ file-entry-cache             │ 7.0.1               │ 7.0.2          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ find-up                      │ [..., 6.3.0]        │ [...]          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ flat-cache                   │ [..., 3.2.0], 3.1.1 │ [...], 3.2.0   │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ global-dirs                  │ 3.0.1               │ -              │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ globals                      │ 13.23.0             │ 13.24.0        │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ ignore                       │ [..., 5.3.0], 5.2.4 │ [...], 5.3.0   │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ import-meta-resolve          │ 3.1.1               │ 4.0.0          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ ini                          │ 2.0.0               │ 4.1.1          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ jsdom                        │ 23.0.0              │ 23.0.1         │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ locate-path                  │ [..., 7.2.0]        │ [...]          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ lru-cache                    │ 10.0.1              │ 10.1.0         │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ node-releases                │ 2.0.13              │ 2.0.14         │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ object.assign                │ 4.1.4               │ 4.1.5          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ p-limit                      │ [..., 4.0.0]        │ [...]          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ p-locate                     │ [..., 6.0.0]        │ [...]          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ path-exists                  │ [..., 5.0.0]        │ [...]          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ postcss                      │ 8.4.31              │ 8.4.32         │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ prettier                     │ 3.1.0               │ 3.1.1          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ sortablejs                   │ 1.15.0              │ 1.15.1         │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ stylelint-order              │ 6.0.3               │ 6.0.4          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ synckit                      │ 0.8.5               │ 0.8.6          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ terser                       │ 5.24.0              │ 5.26.0         │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ ws                           │ 8.14.2              │ 8.15.1         │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ yocto-queue                  │ [..., 1.0.0]        │ [...]          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ cspell-config-lib            │ -                   │ 8.1.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ find-up-simple               │ -                   │ 1.0.0          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ global-directory             │ -                   │ 4.0.1          │
└──────────────────────────────┴─────────────────────┴────────────────┘
spokje’s picture

Issue summary: View changes

spokje’s picture

Issue summary: View changes
spokje’s picture

Issue summary: View changes
spokje’s picture

Issue summary: View changes
spokje’s picture

spokje’s picture

Issue summary: View changes
spokje’s picture

Issue summary: View changes
spokje’s picture

spokje’s picture

spokje’s picture

Issue summary: View changes
spokje’s picture

Issue summary: View changes
spokje’s picture

spokje’s picture

Issue summary: View changes
spokje’s picture

Issue summary: View changes
spokje’s picture

Issue summary: View changes
spokje’s picture

Issue summary: View changes
spokje’s picture

Issue summary: View changes
spokje’s picture

Issue summary: View changes
spokje’s picture

Issue summary: View changes
spokje’s picture

Issue summary: View changes
spokje’s picture

Issue summary: View changes
spokje’s picture

Assigned: spokje » Unassigned
Status: Active » Needs review

We can keep updating this till the end of times, but I think we've gotten to a point that's good enough.

longwave’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me - agreed there is no time for any more changes, this is ready to go for 10.2.0.

  • lauriii committed 31a6cdf3 on 11.x
    Issue #3405685 by Spokje, longwave: Update JavaScript dependencies for...

  • lauriii committed af6ac45e on 10.2.x
    Issue #3405685 by Spokje, longwave: Update JavaScript dependencies for...
lauriii’s picture

Version: 11.x-dev » 10.2.x-dev
Status: Reviewed & tested by the community » Fixed

Committed 31a6cdf and pushed to 11.x. Also cherry-picked to 10.2.x. Thanks!

Status: Fixed » Closed (fixed)

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