dependency-downgrader
v1.3.0
Published
Zero dependency dependency date checker and downgrade script generator.
Downloads
11
Readme
dependency-downgrader
Zero dependency dependency date checker and downgrade script generator.
Usage
npm install dependency-downgrader
# Process direct dependencies
npx dependency-downgrader 2022-02-22 > result-direct.sh 2> log-direct.txt
sh result-direct.sh
npm audit
# Process all other dependencies too
PROCESS_FULL_GRAPH=1 npx dependency-downgrader 2022-02-22 > result-all.sh 2> log-all.txt
sh result-all.sh
npm audit
Feeling lucky?
npx -y dependency-downgrader 2022-02-22 | sh
PROCESS_FULL_GRAPH=1 npx -y dependency-downgrader 2022-02-22 | sh
Options
| Environment variable | Default | Description |
| ---------------------- | --------------- | --------------------------------------- |
| IGNORE_CACHE
| undefined | Forces npm info
call |
| MAX_BUFFER_FOR_EXEC
| 5 * 1024 * 1024 | Sets custom buffer length for exec |
| PARALLEL_LIMIT
| 8 | Sets parallel dependecy resolving limit |
| PROCESS_FULL_GRAPH
| undefined | Adds full dependency graph analysis |
| USE_PARTIAL_VERSIONS
| undefined | Allows rc
, beta
, etc. versions |