Problem/Motivation
Packages that need to be updated to latest minor:
Note: both cspell and nightwatch updates are handled in separate issues.
cspell: #3306441: Update to the latest cspell version (6.8.1)
nightwatch: #3306446: Update Nightwatch to 2.4.1
yarn outdated, left only minor and patch versions in, also removed cspell and nightwatch since they have their own issue.
Package Current Latest
@babel/core 7.17.10 7.19.0
@babel/preset-env 7.17.10 7.19.0
@babel/register 7.17.7 7.18.9
eslint 8.14.0 8.23.0
eslint-plugin-prettier 4.0.0 4.2.1
jquery 3.6.0 3.6.1
prettier 2.6.2 2.7.1
stylelint 14.8.2 14.11.0
terser 5.14.2 5.15.0
terser-webpack-plugin 5.3.3 5.3.6
underscore 1.13.3 1.13.4
webpack 5.72.0 5.74.0
webpack-cli 4.9.2 4.10.0
We can't make the major version jump for tabbable in 9.5.x, since that major version dropped IE11 support. (In 10.0.x we do that jump here: #3306167: Update to tabbable v6.0.0)
We can however update to the latest patch release of the 5.3 branch which is currently 5.3.3.
So for 9.5.x there's one extra row in the above table:
Package Current Latest
tabbable 5.3.2 5.3.3
| Comment | File | Size | Author |
|---|
Issue fork drupal-3306182
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
Comment #2
lauriiiComment #3
lauriiiComment #4
lauriiiComment #5
lauriiiComment #6
lauriiiComment #7
longwaveWe should regenerate our cspell dictionary as the dictionary libraries have been updated.
Comment #8
lauriiiThanks for the review! Here's a patch that updates the dictionary.
Comment #9
longwaveWhile your name is in MAINTAINERS.txt that should be ignored by the cspell config - was this a clean checkout? Not sure where this is coming from otherwise.
Comment #10
spokjeRan
yarn spellcheck:make-drupal-dicton a clean install of9.5.xand again on a clean install of10.0.x.The fact that both runs ended up with only removals from
/core/misc/cspell/dictionary.txtmakes me think this went well.Am (a bit) worried about both failures on
10.0.xon nightwatch, which is updated in this patch.I think we might want to give that update it's own issue if this round of tests fails again.
Let's see what happens if we give the ol' "try-the-same-expect-different-results" theory a spin...
Comment #11
spokjeComment #12
spokjeHmm, nightwatch failure(s) may or may not have anything to do with https://github.com/nightwatchjs/nightwatch/issues/3221Turns out upping the nightwatch version ups the selenium-webdriver version, which makes (our current) chromedriver 98.x unsupported. #3306446-5: Update Nightwatch to 2.4.1
Comment #13
spokjeSlept on it, and looking at the nightwatch test failures, I think we should split the update of that one into a separate issue.
I _think_ the cspell update might deserve a separate issue as well, since it involves updating the dictionary as well on all branches.
Which would leave this issue as the "Update to latest minor and patch versions of JavaScript dependencies (except nightwatch and cspell)" issue.
Things seems to move fast in JavaScript dependency land since the updates in the patch are already behind on some dependencies.
Comment #14
spokjeComment #15
spokjeComment #16
spokjeComment #17
spokjeComment #18
spokjeComment #19
spokjeComment #20
spokjeComment #22
spokjeFor the
10.0.xMR (MR!2697):Comment #23
spokjeComment #24
spokjeUnsure if we should do something about the following warning during
yarn install:Maybe add a dependency on
"typescript": "*"to ourcore/package.json? Or is this something that CKEditor itself should take care of and we should address this upstream?Comment #26
spokjeFor the
9.5.xMR (MR!2698):Comment #27
spokjeComment #28
spokjeComment #29
spokjeComment #30
spokjeComment #31
spokjeComment #32
spokjehttps://github.com/webpack-contrib/terser-webpack-plugin/releases/tag/v5...
Updated both MRs, the IS and the output of both
yarn-lock-diff -o old.yarn.lock -n yarn.locks.Comment #33
bnjmnmRebasing yarn.lock on an MR was not happening. Here are some rerolls
Comment #34
lauriiiThis should be
~2.11.6I guess to allow future patch releases 🤔This should be
~3.6.1to allow future patch releases.This should be
~1.13.4to allow future patch releases.Comment #35
bnjmnmAddresses #34
Comment #36
spokjehttps://www.npmjs.com/package/@ckeditor/ckeditor5-dev-utils/v/30.5.0
Updated IS
Comment #37
lauriiiThis needs a reroll now that #3307713: Remove @ckeditor/ckeditor5-dev-utils has landed.
Comment #38
spokjeComment #39
spokjeComment #40
spokjeComment #41
spokjeUpdated both MRs, IS, #22 and #26.
Comment #42
spokjeHidden (now) outdated patch files.
Comment #43
spokjeComment #44
bnjmnmTechnically needs rebase 🤷♂️
Comment #45
spokjePushed the "rebase"-button on both MRs whilst trying to look as technical as possible.
Tests haven't started (yet), but experience with recent GitLab hardware issues tell me that they will/can/should start within the next 5-15 minutes or so.
Putting this back on NR.
Comment #46
spokjeThanks @longwave for pointing out in Slack I went a bit too far with the status change, Needs Review was what I'm after.
Comment #47
spokjeAnd let's remove the 'Needs reroll' tag *sigh*
Comment #48
bnjmnmI've never seen the Gitlab rebase button actually work!
Several recent commits required this to get rebuilt a few times, but it resulted in the MRs here being easier to follow. This looks all set to me assuming the tests are green (there are a few minutes left on each run and no fails yet...)
Comment #52
lauriii#2697 committed b0b4569 and pushed to 10.1.x and cherry-picked to 10.0.x. #2698 committed 5866092 and pushed to 9.5.x. Thanks!
Comment #55
longwaveOpened #3308458: core.libraries.yml is out of sync in 9.5.x as we didn't run
yarn vendor-updatefor 9.5.x here.