Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Testify v2.5.5
Important
Merge #249 (the version bump) into
developfirst. #248 is already in. Until #249 merges, this pull request still reads 2.5.4, which is already tagged, so merging it would release nothing.What this changes
Ships #248 and #249 as version 2.5.5:
ws,mysql2andminimatchmoved past advisories published on 1 December, which failed the nightly's Snyk scan and dependency audit onmain.main's release merge brought intodevelop, and Update ws, mysql2 and minimatch past their new advisories #248 merged in so the bump passes the audit on its own.Release notes
Testify v2.5.5
A security release. Three libraries the bot ships with get fixes for advisories published on 1 December: the WebSocket library discord.js connects through, the MySQL driver the analytics collector carries, and the pattern matcher behind
glob. The bot behaves as before.ghcr.io/kkkermit/testify:2.5.5, rebuild the image, or runnpm ciandnpm run build. Unlike 2.5.4's fix, these packages are in the image.mysql2only runs when the analytics collector stores its data in MySQL, and the bot's own collector uses MongoDB.wsis only ever a client to Discord, never a server.minimatchonly ever sees file patterns from the bot's own code, never anything a user types.🔒 Security
mysql2@shardlens/collectorws@discordjs/voiceminimatchglobsql-escapermoves from 1.9.1 to 1.10.0, whichmysql23.25.0 needs.named-placeholdersis no longer installed, becausemysql2stopped using it.mysql2,minimatchandsql-escapercarry npm build provenance from their own repositories.evalcalls.overridespin was needed, because every package that brings these in already accepts the new versions.minimatch, which only ESLint's import plugin and Jest's coverage use. It's development-only and below the level either scan fails on. Its fix is minimatch 11, which those packages don't accept yet.🧪 Tests
npm ciinstalls the new versions and leaves the lockfile unchanged.npm ls --allreports no invalid, missing or extraneous packages.npm run checkpasses with 4,142 tests, andnpm run buildpasses. The loader smoke test registers every command, button and menu, withwsand the collector's MongoDB entry loading.wsnow uses Node's own WebSocket masking where Node provides it, which the image's Node 24 may. Local testing ran on Node 22, which keeps the JavaScript masking.Full changelog: release/v2.5.4...release/v2.5.5
Why
main's nightly failed on Snyk (one critical, three high) and on the dependency audit (two high), all from these packages.How to verify
Before merging:
developreads 2.5.5, withws8.23.1,mysql23.25.0 andminimatch11.0.9 underglobin its lockfile.Docker imagecheck finish green on this pull request.After merging:
v2.5.5 Testifywith the notes above.ghcr.io/kkkermit/testifyhas2.5.5andlatest.mainpasses Snyk and the dependency audit.Checklist
developintomain.ws,mysql2andminimatchupdated (Update ws, mysql2 and minimatch past their new advisories #248, merged).npm ciaccepts the lockfile, and a trial merge of the two is clean.npm run check,npm run buildandnpm run auditpass locally. The nightly, Snyk included, passed on Update ws, mysql2 and minimatch past their new advisories #248's branch.embed()factory.console.*calls.docs/commands.mdis unchanged.https://claude.ai/code/session_01JrFnSipitEXUhVySPKfrMR
Generated by Claude Code