Skip to content

chore: update deprecated and old deps - #5159

Merged
straker merged 5 commits into
developfrom
dep-update
Jun 12, 2026
Merged

chore: update deprecated and old deps#5159
straker merged 5 commits into
developfrom
dep-update

Conversation

@straker

@straker straker commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

This started because chromedriver wasn't the latest version in the package-lock so every time I switched between the grunt removal branch and any other branch I had to reinstall chromedriver to the latest. It then spiraled to looking at all the npm warnings and updating what made sense.

  • @babel/plugin-proposal-object-rest-spread was deprecated as it was merged into the spec and we can now use the actual package @babel/plugin-transform-object-rest-spread
  • standard-version was deprecated and they recommend using commit-and-tag-version
  • glob was prevented from updating to v11 as it removed node version <20 and we still test under node 18. But looking at the code now we only use glob when we build, which we already restore a cache version of before we test our code using different node versions. so we should be able to update it now

The remaining warns can't be fixed at the moment.

@straker
straker marked this pull request as ready for review June 10, 2026 21:48
@straker
straker requested a review from a team as a code owner June 10, 2026 21:48
Comment thread .npmrc
@@ -1 +1,2 @@
registry=https://registry.npmjs.org No newline at end of file
registry=https://registry.npmjs.org
@deque:registry=https://registry.npmjs.org No newline at end of file

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Installing made @deque/dot not use the public npm so needed to add this to make sure it didn't happen again.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea, because our user configs all have @deque pointing to the private registry.

Comment thread .github/dependabot.yml
# @see https://github.com/dequelabs/axe-core/issues/4428
- dependency-name: 'colorjs.io'
versions: ['>0.4.3']
# Still need to support node 18 in our tests

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, we are not supporting Node 18 (or potentially earlier) testing? What exactly is the impact here?

Or is older stuff only tested after being compiled which negates the impact of this dep?

@straker straker Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The latter. We cache the built files using current node, then restore the built files when we test older node versions so we don't have to build them.

@straker
straker merged commit a10bc44 into develop Jun 12, 2026
29 checks passed
@straker
straker deleted the dep-update branch June 12, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants