Track the deepmerge advisory that has no patched release

Open
#396 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
github-actions, typescript
Domain
devops

Research direction

Start by reading the dependency declarations and lockfile entries for deepmerge, @svgr/plugin-svgo, and the Docusaurus packages, then check whether a release newer than 4.3.1 is available. When one is available, update the dependency and run npm audit; done means the advisory is gone without downgrading Docusaurus. Until then, the issue says to leave the dependency unchanged.

Written by the indexing model from the issue text.

Description

Medium Priority Security vulnerabilities

Summary

After the November pin pass (#392), npm audit has no high or moderate findings. The remaining low is one advisory, repeated through the SVGR chain:

  • deepmerge >= 4.2.0 (GHSA-gcqx-w48m-w2h4)
  • Pulled in by @svgr/plugin-svgo, then @svgr/webpack, @docusaurus/plugin-svgr, and @docusaurus/preset-classic
  • Newest 4.x release is 4.3.1, which is still inside the range
  • @svgr/plugin-svgo requires ^4.3.1, so an override to an older 4.x is outside the version that package asks for

npm audit fix --force wants to downgrade @docusaurus/preset-classic to 3.6.3. Do not do that.

This is separate from #339, which is the braces advisory. #338 should keep failing only on high and critical, so this low must not turn the build red. It still needs a place to be revisited.

What to change

  • Leave the dependency where it is.
  • When a deepmerge release newer than 4.3.1 is published, bump it and confirm npm audit no longer reports GHSA-gcqx-w48m-w2h4.
  • Until then, do not allow-list it by downgrading Docusaurus.

Acceptance

  • The issue stays open until a patched deepmerge exists
  • No pull request downgrades Docusaurus to clear this one low
Dominant language
TypeScript
Stars
13
Forks
24
Avg merge
3d 1h
Merged PRs (30d)
34

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from IntersectMBO/developer-experience

All issues in IntersectMBO/developer-experience

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.