jshttp / content-disposition

Create and parse HTTP Content-Disposition header
MIT License
224 stars 43 forks source link

replace `mocha` and `nyc` with native node test runner and `c8` #54

Open Phillip9587 opened 3 weeks ago

Phillip9587 commented 3 weeks ago

This PR refactors the test setup by replacing Mocha and NYC with Node.js's native test runner (node:test) and c8 for coverage reporting.

Key Changes:

Benefits:
These changes modernize the testing framework, reduce external dependencies, and uphold code coverage standards using built-in Node.js capabilities.

socket-security[bot] commented 3 weeks ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher

🚮 Removed packages: npm/deep-equal@1.0.1, npm/mocha@9.2.2, npm/nyc@15.1.0

View full report↗︎