Skip to content

chore: upgrade mocha to 12 and nyc to 18 (DS-3445) - #85

Merged
nikosd23 merged 2 commits into
masterfrom
chore/DS-3445-mocha-nyc
Oct 13, 2026
Merged

nikosd23 merged 2 commits into
masterfrom
chore/DS-3445-mocha-nyc

Conversation

@ikarachristos

@ikarachristos ikarachristos commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Why

Step 3 of DS-3442. Stacked on #83, which is stacked on #82. Merge in order, retargeting each to master.

The last 3 Dependabot alerts come from old transitive versions that only the next majors drop: serialize-javascript (2 alerts, via mocha 11) and uuid 3.4 (via nyc 15's istanbul-lib-processinfo). Both upgrades only change the minimum Node version: mocha 12 needs ^20.19.0 || >=22.12.0 and nyc 18 needs 20 || >=22. CI's 20.x, 22.x and 24.x matrix already meets both. .mocharc.js and the nyc config need no changes.

With #82 and #83, this resolves all 23 open alerts against the lockfile. After this merges, Dependabot PRs #56 and #63 are stale and can be closed.

npm audit still reports 9 findings with no Dependabot alert. They come from tslint (sprintf-js via argparse/js-yaml 3, also pulled in by nyc's config loader) and lint-staged 11 (braces via micromatch). They're dev-only and belong with the optional toolchain step (DS-3446).

Testing

Lint and the full suite on RabbitMQ 3.13.7, run twice: 102 passing both times, the same as master. Coverage is unchanged.

🤖 Generated with Claude Code

@ikarachristos
ikarachristos added this pull request to stack #84 October 12, 2026 18:50
nikosd23
nikosd23 previously approved these changes Oct 13, 2026
@nikosd23
nikosd23 force-pushed the chore/DS-3445-mocha-nyc branch from 6ffeb81 to 8573c21 Compare October 13, 2026 06:16
@nikosd23
nikosd23 dismissed their stale review October 13, 2026 06:19

The merge-base changed after approval.

@nikosd23
nikosd23 force-pushed the chore/DS-3445-mocha-nyc branch from 8573c21 to 5ba6483 Compare October 13, 2026 06:19
Base automatically changed from chore/DS-3444-lockfile-refresh to master October 13, 2026 06:35
Clears the last Dependabot alerts: serialize-javascript via mocha 11 and
uuid via nyc 15's istanbul-lib-processinfo. Both majors only raise the
Node floor (mocha ^20.19 || >=22.12, nyc 20 || >=22), which CI's 20.x,
22.x and 24.x matrix already meets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nikosd23
nikosd23 force-pushed the chore/DS-3445-mocha-nyc branch from 5ba6483 to f486f06 Compare October 13, 2026 06:35
…-nyc

# Conflicts:
#	package-lock.json
#	package.json
@nikosd23
nikosd23 merged commit 1333313 into master Oct 13, 2026
10 of 13 checks passed
@nikosd23
nikosd23 deleted the chore/DS-3445-mocha-nyc branch October 13, 2026 07:05
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.

2 participants