Skip to content

Resolve npm audit vulnerabilities and linting issues#52

Draft
Copilot wants to merge 4 commits intomainfrom
copilot/resolve-npm-audit-issues
Draft

Resolve npm audit vulnerabilities and linting issues#52
Copilot wants to merge 4 commits intomainfrom
copilot/resolve-npm-audit-issues

Conversation

Copy link

Copilot AI commented Feb 11, 2026

Fixes 9 security vulnerabilities and eliminates all linting errors/warnings.

Security Updates

  • Updated vulnerable dependencies via npm audit fix:
    • @babel/runtime 7.26.7 → 7.28.6 (inefficient RegExp)
    • axios (DoS vulnerabilities)
    • react-router / react-router-dom (CSRF, XSS)
    • vite (file serving bypass)
    • lodash, js-yaml, brace-expansion, diff

Linting Fixes

  • PlaceSitemapPage.tsx: Removed @ts-nocheck, added type assertions for recursive tree navigation:
    // Before: @ts-nocheck suppressing errors
    <ListComponents tree={value} level={level + 1} />
    
    // After: Proper typing
    <ListComponents 
      tree={value as Record<string, unknown> | Webcam} 
      level={(level + 1) as 0 | 1 | 2 | 3 | 4} 
    />
  • Removed invalid sonarjs/cognitive-complexity rule from utils/collect.ts
  • Added descriptions to @ts-expect-error directives in youtubeLint.ts
  • Cleaned up 25 unused eslint-disable directives across 9 files
  • Added React version detection to eslint config

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node node scripts/postinstall.js (http block)

If you need me to access, download, or install something from one of these locations, you can either:


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 3 commits February 11, 2026 18:34
Co-authored-by: wvanderp <2423856+wvanderp@users.noreply.github.com>
Co-authored-by: wvanderp <2423856+wvanderp@users.noreply.github.com>
Co-authored-by: wvanderp <2423856+wvanderp@users.noreply.github.com>
Copilot AI changed the title [WIP] Resolve all issues found by npm audit and fix linting issues Resolve npm audit vulnerabilities and linting issues Feb 11, 2026
Copilot AI requested a review from wvanderp February 11, 2026 18:40
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.

2 participants