Repository navigation
fix: override vulnerable zod, glob and minimatch in dev tooling - #489
Merged
Merged
Conversation
Dependabot and pnpm audit flag zod 3.25 (GHSA-mrhx-c7xc-m3w5), glob 13 (GHSA-3g3m-2fjr-6pw4) and minimatch 9/10 (GHSA-g3hv-75wg-m249). All three only reach the workspace through development tooling: - zod 3 via openapi-zod-client/@zodios/core, which only uses it for types. Regenerating the count-aggregator client produces identical output with zod 4.6.7. - glob 13 via cpx2 and replace-in-file, which only call glob/globSync. - minimatch 9/10 via the Prettier import-sort plugin and ESLint config-array. Widen the existing zod floor to all versions below 4.6.6 and add floors for glob and minimatch. pnpm audit reports no remaining advisories.
|
This branch was successfully deployed
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.
Resolves the open Dependabot alerts for zod (GHSA-mrhx-c7xc-m3w5, high), glob (GHSA-3g3m-2fjr-6pw4) and minimatch (GHSA-g3hv-75wg-m249).
All three reach the workspace only through development tooling:
openapi-zod-client/@zodios/core(codegen for@mapsight/count-aggregator-api). The generator only imports zod for types; regenerating the client with zod 4.6.7 yields byte-identical output. No zod 3.x fix exists, so the existingzod@>=4.0.0 <4.6.6floor is widened tozod@<4.6.6.cpx2andreplace-in-file, which only useglob/globSync. Both were exercised (cpxcopy in lib-redux, vector-style-compilerupdate-readme).@trivago/prettier-plugin-sort-importsand ESLint's@eslint/config-array; both use the namedminimatch/Minimatchexports.No published package changes, so no changeset.
pnpm audit: before 1 high + 2 moderate, after none.