Skip to content

Refresh lockfile to remediate Dependabot alert 66 (js-yaml via eslint) - #33

Merged
jibrang merged 2 commits into
masterfrom
copilot/update-dependency-lockfile
Aug 11, 2026
Merged

Refresh lockfile to remediate Dependabot alert 66 (js-yaml via eslint)#33
jibrang merged 2 commits into
masterfrom
copilot/update-dependency-lockfile

Conversation

Copilot AI commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

This fixes security vulnerability: https://github.com/github/multimap/security/dependabot/66

This updates the npm lockfile so the vulnerable transitive js-yaml@4.3.0 (via eslint -> @eslint/eslintrc) is no longer selected. The resolved version is now patched (4.3.1+) while preserving the existing root override behavior for js-yaml under mocha.

  • Lockfile remediation

    • Regenerated package-lock.json via npm (no manual integrity edits).
    • Updated the @eslint/eslintrc-scoped lock entry from js-yaml@4.3.0 to js-yaml@4.3.1.
  • Override preservation

    • Kept the existing root override for mocha’s js-yaml: ^5.2.2.
    • Lockfile now resolves that override to a newer compatible patch (5.2.3), without changing override intent.
  • Resulting dependency shape

    @eslint/eslintrc -> js-yaml@4.3.1
    mocha            -> js-yaml@5.2.3   (from override ^5.2.2)
    
  • Issue-requested checks executed

    • npm ls js-yaml
    • npm audit
    • npm test
Original prompt

Update the dependency lockfile to remediate Dependabot alert 66. The vulnerable transitive dependency is js-yaml 4.3.0, pulled through eslint -> @eslint/eslintrc. Refresh package-lock.json using npm's package manager so it resolves js-yaml to the patched 4.3.1 or later release. Do not manually edit integrity hashes. Preserve the existing root override for js-yaml ^5.2.2 and unrelated lockfile content. Run npm install --package-lock-only --ignore-scripts, npm ls js-yaml, npm audit, and the repository's existing test suite (npm test) if feasible. Include a concise PR summary and test results.

Co-authored-by: jibrang <17800593+jibrang@users.noreply.github.com>
Copilot AI changed the title [WIP] Update dependency lockfile for js-yaml remediation Refresh lockfile to remediate Dependabot alert 66 (js-yaml via eslint) Aug 11, 2026
Copilot AI requested a review from jibrang August 11, 2026 15:29
@jibrang
jibrang marked this pull request as ready for review August 11, 2026 15:30
@jibrang
jibrang requested a review from a team as a code owner August 11, 2026 15:30
Copilot AI balanced review requested due to automatic review settings August 11, 2026 15:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.

@jibrang
jibrang merged commit c4a1879 into master Aug 11, 2026
5 checks passed
@jibrang
jibrang deleted the copilot/update-dependency-lockfile branch August 11, 2026 16:08
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.

5 participants