fix(mongodb-constants): fix regexp that picks valid part of semver version#168
Merged
gribnoysup merged 2 commits intomainfrom Sep 21, 2023
Merged
fix(mongodb-constants): fix regexp that picks valid part of semver version#168gribnoysup merged 2 commits intomainfrom
gribnoysup merged 2 commits intomainfrom
Conversation
b30752c to
78a6876
Compare
lerouxb
approved these changes
Sep 21, 2023
addaleax
approved these changes
Sep 21, 2023
github-actions Bot
added a commit
that referenced
this pull request
Apr 22, 2026
Adds npm overrides to force safe versions of minimatch for packages that were locked to vulnerable transitive versions: - mocha pinned minimatch to exactly 3.0.4 (vulnerable: < 3.1.4) → override to 3.1.5 - depcheck required ^7.4.6 but was locked to 7.4.6 (vulnerable: < 7.4.8) → override to 7.4.9 - @typescript-eslint/typescript-estree required ^9.0.4, locked at 9.0.5 (vulnerable: < 9.0.7) → override to 9.0.9 - glob@10 required ^9.0.4, locked at 9.0.5 → override to 9.0.9 - ignore-walk, @npmcli/package-json, cacache had minimatch 10.2.0 locked (vulnerable: < 10.2.3) → override to 10.2.5 Resolves Dependabot alerts: #169, #168, #166, #165, #163, #162, #158, #154, #153, #152 GHSA-23c5-xmqv-rm74 (CVE-2026-27904) GHSA-7r86-cg39-jmmj (CVE-2026-27903) GHSA-3ppc-4f35-3m26 (CVE-2026-26996) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
The regex that we used to clean up current server version was only picking up a single number from the patch version because of the unnecessary
?usage. Seems like we had this bug for awhile now, even before we moved all this logic to this package, just never noticed or got reports before, I noticed this only now when testing$vectorSearchstageAlso @mcasimir asked to add tests for version as we specify it in constants, added it in the same patch as a drive-by