Skip to content

Override micromatch to 4.0.8 - #1757

Merged
gcatanese merged 1 commit into
mainfrom
fix-ts-auto-mock-micromatch-vulnerability
Aug 24, 2026
Merged

gcatanese merged 1 commit into
mainfrom
fix-ts-auto-mock-micromatch-vulnerability

Conversation

@gcatanese

Copy link
Copy Markdown
Contributor

Description
Adds an npm override for micromatch 4.0.8, replacing the vulnerable 4.0.5 copy pinned by ts-auto-mock 3.6.4.

The latest ts-auto-mock requires TypeScript 5, while this project uses TypeScript 4.9.5. The override resolves the advisory without introducing an unrelated TypeScript migration. npm deduplicates all micromatch consumers onto 4.0.8.

Tested scenarios

  • npm ci
  • npm ls micromatch ts-auto-mock --all
  • npm run build
  • npm run lint
  • npm test -- --runInBand
  • npm audit --json confirms both micromatch and the derived ts-auto-mock finding are no longer reported; unrelated existing advisories remain

Fixed issue:

@gcatanese
gcatanese requested a review from a team as a code owner August 21, 2026 11:45
@gcatanese gcatanese added the security Pull requests that address a security vulnerability label Aug 21, 2026
@gcatanese
gcatanese enabled auto-merge August 21, 2026 11:45

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request adds a dependency override for 'micromatch' to version '^4.0.8' in package.json and updates package-lock.json by removing the nested 'micromatch' dependency under 'ts-auto-mock'. There are no review comments, and I have no feedback to provide.

@gcatanese
gcatanese added this pull request to the merge queue Aug 24, 2026
Merged via the queue into main with commit 50ed254 Aug 24, 2026
4 checks passed
@gcatanese
gcatanese deleted the fix-ts-auto-mock-micromatch-vulnerability branch August 24, 2026 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

security Pull requests that address a security vulnerability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants