Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): Resolve vulnerabilities by updating dependencies #87

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

mitsuki31
Copy link
Owner

@mitsuki31 mitsuki31 commented Jan 10, 2025

Overview

This pull request resolves two reported vulnerabilities (1 low, 1 high) according to npm audit by updating specific package dependencies in the project. Ensuring up-to-date and secure dependencies improves the overall security and stability of the application.

Changes Made

  • Bumped @eslint/plugin-kit from version 0.2.2 to 0.2.4 to address a low severity vulnerability.
  • Bumped cross-spawn from version 7.0.3 to 7.0.6 to address a high severity vulnerability.
  • Removed an unused nested dependency, @eslint/js, from the ESLint module to reduce dependency bloat.

NPM Audit Report

# npm audit report

@eslint/plugin-kit  <0.2.3
Regular Expression Denial of Service (ReDoS) in @eslint/plugin-kit - https://github.com/advisories/GHSA-7q7g-4xm8-89cq
fix available via `npm audit fix`
node_modules/@eslint/plugin-kit

cross-spawn  7.0.0 - 7.0.4
Severity: high
Regular Expression Denial of Service (ReDoS) in cross-spawn - https://github.com/advisories/GHSA-3xgq-45jj-v275
fix available via `npm audit fix`
node_modules/cross-spawn

2 vulnerabilities (1 low, 1 high)

Impact

  • Resolves dependency vulnerabilities for improved security and compliance.
  • The updates ensure compatibility with existing code since no breaking changes were introduced in the updated versions.

Summary

This pull request eliminates the reported vulnerabilities in the project by updating the affected dependencies to their latest secure versions. This enhances the application's security posture and ensures its dependency graph is clean.

- Updated `@eslint/plugin-kit` from 0.2.2 to 0.2.4 to address a low severity vulnerability.
- Updated `cross-spawn` from 7.0.3 to 7.0.6 to address a high severity vulnerability.
- Automatically removed unused nested dependency `@eslint/js` from the ESLint module.
@mitsuki31 mitsuki31 added bugfix Fixes any issue and bug chore Maintenance updates to improve project maintainability dependencies Dependencies updates (e.g., NPM packages) labels Jan 10, 2025
@mitsuki31 mitsuki31 self-assigned this Jan 10, 2025
Copy link

codecov bot commented Jan 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.33%. Comparing base (30d4c11) to head (b82c8a8).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #87   +/-   ##
=======================================
  Coverage   80.33%   80.33%           
=======================================
  Files          10       10           
  Lines         600      600           
=======================================
  Hits          482      482           
  Misses        118      118           
Flag Coverage Δ
Ubuntu 80.33% <ø> (ø)
Windows 80.00% <ø> (ø)
all 80.33% <ø> (ø)
macOS 80.33% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mitsuki31 mitsuki31 added this to the YTMP3-JS v2.0.0 milestone Jan 10, 2025
@mitsuki31 mitsuki31 added the patch Patch changes label Jan 10, 2025
@mitsuki31 mitsuki31 merged commit 575cf66 into master Jan 10, 2025
20 checks passed
@mitsuki31 mitsuki31 deleted the fix/update-deps-resolve-vulnerabilities branch January 10, 2025 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fixes any issue and bug chore Maintenance updates to improve project maintainability dependencies Dependencies updates (e.g., NPM packages) patch Patch changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant