eslint / eslint-release

The ESLint release tool
Other
24 stars 11 forks source link

chore: remove dependency shelljs #61

Closed fasttime closed 8 months ago

fasttime commented 8 months ago

This PR removes the dependency shelljs and replaces its usages with native Node.js API calls. It also adds unit tests to ensure that the behavior of writeChangelog() hasn't changed.

ShellJS in versions prior to 0.8.5 has a high rated vulnerability: https://nvd.nist.gov/vuln/detail/CVE-2022-0144.