Problem/Motivation

Update minor and patch releases of JavaScript dependencies before Drupal 9.5.0.

Steps to reproduce

yarn outdated

$ yarn outdated
Package            Current Wanted  Latest 
@babel/core        7.20.2  7.20.5  7.20.5 
cspell             6.8.1   6.15.0  6.15.0 
eslint             8.27.0  8.28.0  8.28.0 
jsdom              20.0.2  20.0.3  20.0.3 
postcss-preset-env 7.8.2   7.8.3   7.8.3  
prettier           2.7.1   2.8.0   2.8.0  
stylelint          14.14.1 14.15.0 14.15.0
terser             5.15.1  5.16.0  5.16.0 
webpack-cli        4.10.0  4.10.0  5.0.0  

(Removed chalk, nightwatch and shepherd and tabbable as they are on the latest versions of their minors and we cannot go to the next major.)

Proposed resolution

$ yarn upgrade @babel/core cspell eslint jsdom postcss-preset-env prettier stylelint terser webpack-cli
$ yarn build
And since we're updating cspell: $ yarn spellcheck:make-drupal-dict

$ yarn-lock-diff -o old.yarn.lock -n yarn.lock
┌──────────────────────────────┬─────────────────────┬─────────────────────┐
│ package name                 │ old version(s)      │ new version(s)      │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @babel/compat-data           │ [...]               │ [..., 7.20.5]       │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @babel/core                  │ 7.20.2              │ 7.20.5              │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @babel/generator             │ 7.20.4              │ 7.20.5              │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @babel/helpers               │ 7.20.1              │ 7.20.6              │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @babel/parser                │ 7.20.3              │ 7.20.5              │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @babel/traverse              │ [...]               │ [..., 7.20.5]       │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @babel/types                 │ [...]               │ [..., 7.20.5]       │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/cspell-bundled-dicts │ 6.8.1               │ 6.15.0              │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/cspell-pipe          │ 6.8.1               │ 6.15.0              │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/cspell-service-bus   │ 6.8.1               │ 6.15.0              │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/cspell-types         │ 6.8.1               │ 6.15.0              │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-ada             │ 2.0.1               │ 4.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-aws             │ 2.0.0               │ 3.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-bash            │ 2.0.4               │ 4.1.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-companies       │ 2.0.13              │ 3.0.3               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-cpp             │ 3.2.1               │ 4.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-cryptocurrenci… │ 2.0.0               │ 3.0.1               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-csharp          │ 3.0.1               │ 4.0.2               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-css             │ 2.1.0               │ 4.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-dart            │ 1.1.1               │ 2.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-django          │ 2.0.0               │ 4.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-docker          │ 1.1.1               │ 1.1.3               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-dotnet          │ 2.0.1               │ 4.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-elixir          │ 2.0.1               │ 4.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-en_us           │ 2.3.3               │ 4.1.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-filetypes       │ 2.1.1               │ 3.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-fonts           │ 2.1.0               │ 3.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-fullstack       │ 2.0.6               │ 3.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-git             │ 1.0.1               │ 2.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-golang          │ 3.0.1               │ 5.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-haskell         │ 2.0.1               │ 4.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-html-symbol-en… │ 3.0.0               │ 4.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-html            │ 3.3.1               │ 4.0.1               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-java            │ 3.0.7               │ 5.0.2               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-latex           │ 2.0.9               │ 3.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-lorem-ipsum     │ 2.0.1               │ 3.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-lua             │ 2.0.0               │ 3.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-node            │ 3.0.1               │ 4.0.1               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-npm             │ 3.1.2               │ 4.0.1               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-php             │ 2.0.0               │ 3.0.3               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-powershell      │ 2.0.0               │ 3.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-public-licenses │ 1.0.6               │ 2.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-python          │ 3.0.6               │ 4.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-r               │ 1.0.3               │ 2.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-ruby            │ 2.0.2               │ 3.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-rust            │ 2.0.1               │ 3.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-scala           │ 2.0.0               │ 3.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-software-terms  │ 2.2.6               │ 3.0.5               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-sql             │ 1.0.4               │ 2.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-swift           │ 1.0.3               │ 2.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-typescript      │ 2.0.1               │ 3.0.1               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/dict-vue             │ 2.0.2               │ 3.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @webpack-cli/configtest      │ 1.2.0               │ 2.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @webpack-cli/info            │ 1.5.0               │ 2.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @webpack-cli/serve           │ 1.7.0               │ 2.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ ajv                          │ 8.11.0              │ 8.11.2              │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ caniuse-lite                 │ 1.0.30001431        │ 1.0.30001434        │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ commander                    │ [..., 9.4.0], 7.2.0 │ [...], 9.4.1        │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ cosmiconfig                  │ [...], 7.0.1        │ [..., 8.0.0], 7.1.0 │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ cspell-gitignore             │ 6.8.1               │ 6.15.0              │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ cspell-glob                  │ 6.8.1               │ 6.15.0              │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ cspell-grammar               │ 6.8.1               │ 6.15.0              │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ cspell-io                    │ 6.8.1               │ 6.15.0              │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ cspell-lib                   │ 6.8.1               │ 6.15.0              │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ cspell-trie-lib              │ 6.8.1               │ 6.15.0              │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ cspell                       │ 6.8.1               │ 6.15.0              │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ eslint                       │ 8.27.0              │ 8.28.0              │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ gensequence                  │ 3.1.1               │ 4.0.2               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ globals                      │ 13.17.0             │ 13.18.0             │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ ignore                       │ 5.2.0               │ 5.2.1               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ interpret                    │ 2.2.0               │ 3.1.1               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ js-sdsl                      │ 4.1.5               │ 4.2.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ jsdom                        │ 20.0.2              │ 20.0.3              │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ parse5                       │ 7.1.1               │ 7.1.2               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ postcss-preset-env           │ 7.8.2               │ 7.8.3               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ postcss-selector-parser      │ 6.0.10              │ 6.0.11              │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ prettier                     │ 2.7.1               │ 2.8.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ rechoir                      │ 0.7.1               │ 0.8.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ semver                       │ [..., 7.3.8], 7.3.7 │ [...], 7.3.8        │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ stylelint                    │ 14.14.1             │ 14.15.0             │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ terser                       │ [...]               │ [..., 5.16.0]       │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ vscode-uri                   │ 3.0.3               │ 3.0.6               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ w3c-xmlserializer            │ 3.0.0               │ 4.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ webpack-cli                  │ 4.10.0              │ 5.0.0               │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ ws                           │ 8.10.0              │ 8.11.0              │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ @cspell/strong-weak-map      │ -                   │ 6.15.0              │
├──────────────────────────────┼─────────────────────┼─────────────────────┤
│ cspell-dictionary            │ -                   │ 6.15.0              │
└──────────────────────────────┴─────────────────────┴─────────────────────┘
CommentFileSizeAuthor
#5 interdiff.2-5.txt627 bytesspokje
#5 3324378-5.patch511.23 KBspokje
#2 3324378-2.patch510.46 KBspokje

Comments

Spokje created an issue. See original summary.

spokje’s picture

StatusFileSize
new510.46 KB
spokje’s picture

Title: [meta] Update JavaScript dependencies for Drupal 9.5 » [meta] Update JavaScript dependencies for Drupal 9.5
spokje’s picture

Title: [meta] Update JavaScript dependencies for Drupal 9.5 » Update JavaScript dependencies for Drupal 9.5
spokje’s picture

StatusFileSize
new511.23 KB
new627 bytes
spokje’s picture

Status: Active » Needs review
longwave’s picture

Status: Needs review » Reviewed & tested by the community

Works for me, there are only major version updates left after this for 9.5 which we can't upgrade for BC reasons.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 5527e00 and pushed to 9.5.x. Thanks!

We should open an issue to update cspell on 10.x and 9.5.x - there's a new patch release.

  • alexpott committed 5527e00 on 9.5.x
    Issue #3324378 by Spokje: Update JavaScript dependencies for Drupal 9.5
    

Status: Fixed » Closed (fixed)

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