Skip to content

fix: patch vulnerable transitive npm dependencies to close Dependabot alerts - #104

Merged
Serhioromano merged 1 commit into
mainfrom
fix/dependabot-alerts
Aug 11, 2026
Merged

fix: patch vulnerable transitive npm dependencies to close Dependabot alerts#104
Serhioromano merged 1 commit into
mainfrom
fix/dependabot-alerts

Conversation

@Serhioromano

Copy link
Copy Markdown
Owner

Summary

Fixes 9 open Dependabot security alerts on the default branch by upgrading
vulnerable transitive npm dependencies via overrides in package.json.

Alerts addressed

Alert Package Vulnerable → Fixed
#114 js-yaml 4.3.0 → 4.3.1
#97 linkify-it 3.0.3 → 5.0.2
#86 markdown-it 12.3.2 → 14.3.0
#80 serialize-javascript 6.0.2 → 7.1.0
#62 serialize-javascript 6.0.2 → 7.1.0
#60 minimatch 9.0.5 → 9.0.9
#58 minimatch 3.1.2 → 3.1.5
#39 glob 10.4.5 → 10.5.0
#7 xml2js 0.4.23 → 0.5.0

Changes

  • Add overrides for js-yaml, eslintminimatch, mocha
    (glob, minimatch, serialize-javascript), vsce
    (minimatch, markdown-it, xml2js)
  • Pin minimatch ^3.1.3 as a devDependency so the nested vulnerable
    minimatch@3.1.2 under vsceglob@7 is deduped to 3.1.5
  • Remove unused glob/@types/glob devDependencies
  • Regenerate package-lock.json

Verification

  • npm run compile — passes
  • npm run lint — only the pre-existing documented exceptions
  • npm audit — all 9 alert packages at patched versions; only
    remaining item is low-severity diff (mocha transitive, no open alert)

Fixes #7 #39 #58 #60 #62 #80 #86 #97 #114

… alerts

- Add npm overrides for js-yaml (4.3.1), markdown-it (14.3.0),
  xml2js (0.5.0), glob (10.5.0), serialize-javascript (7.0.5),
  and minimatch (3.1.3 / 9.0.9) across eslint, mocha, vsce
- Remove unused glob/@types/glob devDependencies
- Pin minimatch ^3.1.3 as devDependency to eliminate nested
  vulnerable minimatch@3.1.2 under vsce -> glob
- Regenerate package-lock.json
@Serhioromano
Serhioromano merged commit 8a24f98 into main Aug 11, 2026
1 check passed
@Serhioromano
Serhioromano deleted the fix/dependabot-alerts branch August 11, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Status bar button

1 participant