kentcdodds / nps-utils

Utilities for http://npm.im/nps (npm-package-scripts)
https://doclets.io/kentcdodds/nps-utils/master
MIT License
101 stars 23 forks source link

Upgrade cpy-cli to latest version #46

Open Vages opened 3 years ago

Vages commented 3 years ago

Upgrade dependency cpy-cli to latest version to remove vulnerabilities in transitive dependencies, most importantly in trim-newlines,

Results of running yarn audit --groups dependencies --no-lockfile (install dependencies as if your pakage depended on it and all versions resolved to the newest available): Before upgrading: Severity: 8 Low | 8 Moderate | 7 High After upgrading: Severity: 10 Low | 6 Moderate | 5 High

I also tried upgrading opn-cli, but that required code changes. I may do it in a separate PR if I find the time.

Warning: cpy-cli>=3 requires node.js 8. This may be a breaking change; I was unfortunately not able to find the currently required version.