Problem/Motivation
In parent issue #3258933-51: [meta] Update JavaScript dependencies for Drupal 10 we discovered updating Nighwatch to the latest version breaks all nightwatch tests.
We'll handle the update in a separate issue.
Also, shepherd.js has a big breaking change: the underlying library has moved from popperjs to floating-ui. This already has a separate issue for (maybe) updating: #3323834: (Try to) update Sheperd.js to latest major version.
All other JavaScript dependencies should be updated to their latest releases.
$ yarn outdated
Package Current Wanted Latest Package Type
cspell 6.14.1 6.15.0 6.15.0 devDependencies
eslint 8.27.0 8.28.0 8.28.0 devDependencies
jsdom 20.0.2 20.0.3 20.0.3 devDependencies
postcss-preset-env 7.8.2 7.8.3 7.8.3 devDependencies
prettier 2.7.1 2.8.0 2.8.0 devDependencies
stylelint 14.14.1 14.15.0 14.15.0 devDependencies
terser 5.15.1 5.16.0 5.16.0 devDependencies
webpack-cli 4.10.0 4.10.0 5.0.0 devDependencies
(Removed shepherd.js and nightwatch)
Proposed resolution
yarn upgrade cspell eslint jsdom postcss-preset-env prettier stylelint terser webpack-cli
run lint:core-js-passing
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) │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ @cspell/cspell-bundled-dicts │ 6.14.1 │ 6.15.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ @cspell/cspell-pipe │ 6.14.1 │ 6.15.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ @cspell/cspell-service-bus │ 6.14.1 │ 6.15.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ @cspell/cspell-types │ 6.14.1 │ 6.15.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ @cspell/dict-ada │ 3.0.0 │ 4.0.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ @cspell/dict-bash │ 3.0.0 │ 4.1.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ @cspell/dict-csharp │ 4.0.1 │ 4.0.2 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ @cspell/dict-css │ 3.0.0 │ 4.0.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ @cspell/dict-django │ 3.0.0 │ 4.0.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ @cspell/dict-dotnet │ 3.0.1 │ 4.0.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ @cspell/dict-elixir │ 3.0.0 │ 4.0.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ @cspell/dict-en_us │ 4.0.0 │ 4.1.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ @cspell/dict-golang │ 4.0.0 │ 5.0.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ @cspell/dict-haskell │ 3.0.0 │ 4.0.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ @cspell/strong-weak-map │ 6.14.1 │ 6.15.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.1], 7.2.0 │ [...], 9.4.1 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ cosmiconfig │ [...], 7.0.1 │ [..., 8.0.0], 7.1.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ cspell-dictionary │ 6.14.1 │ 6.15.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ cspell-gitignore │ 6.14.1 │ 6.15.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ cspell-glob │ 6.14.1 │ 6.15.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ cspell-grammar │ 6.14.1 │ 6.15.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ cspell-io │ 6.14.1 │ 6.15.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ cspell-lib │ 6.14.1 │ 6.15.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ cspell-trie-lib │ 6.14.1 │ 6.15.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ cspell │ 6.14.1 │ 6.15.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ eslint │ 8.27.0 │ 8.28.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ globals │ 13.17.0 │ 13.18.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ interpret │ 2.2.0 │ 3.1.1 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ is-core-module │ [..., 2.11.0], 2.10.0 │ [...], 2.11.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ 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 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ postcss │ [..., 8.4.19], 8.4.18 │ [...], 8.4.19 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ prettier │ 2.7.1 │ 2.8.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ rechoir │ 0.7.1 │ 0.8.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ stylelint │ 14.14.1 │ 14.15.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ terser │ [...] │ [..., 5.16.0] │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ w3c-xmlserializer │ 3.0.0 │ 4.0.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ webpack-cli │ 4.10.0 │ 5.0.0 │
├──────────────────────────────┼───────────────────────┼─────────────────────┤
│ ws │ 8.10.0 │ 8.11.0 │
└──────────────────────────────┴───────────────────────┴─────────────────────┘
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 3323944-4.patch | 46.6 KB | spokje |
Comments
Comment #2
spokjeComment #3
spokjeComment #4
spokjeComment #5
spokjeComment #6
spokjeComment #7
longwaveThis looks correct to me.
Comment #8
catchCommitted/pushed to 10.1.x and cherry-picked to 10.0.x, thanks!