Install
openclaw skills install dependency-update-checkerCLI tool to check for outdated dependencies in package.json, requirements.txt, pyproject.toml, and other package files.
openclaw skills install dependency-update-checkerA CLI tool that checks for outdated dependencies by running native package manager commands. Currently supports:
package.json dependencies using npm outdatedrequirements.txt using pip list --outdatedpyproject.toml using poetry show --outdated (if poetry is installed)The tool detects which package managers are relevant based on files in the current directory and runs the appropriate checks.
Check dependencies in current directory:
python3 scripts/main.py check
Check specific package manager:
python3 scripts/main.py check --manager npm
python3 scripts/main.py check --manager pip
python3 scripts/main.py check --manager poetry
Output format (JSON):
python3 scripts/main.py check --format json
cd /path/to/project
python3 scripts/main.py check
Output:
Checking dependencies...
[✓] Found package.json
[✓] Running npm outdated...
┌─────────────────┬─────────┬─────────┬─────────┬──────────────┐
│ Package │ Current │ Wanted │ Latest │ Package Type │
├─────────────────┼─────────┼─────────┼─────────┼──────────────┤
│ express │ 4.17.1 │ 4.18.0 │ 4.18.0 │ dependencies │
│ lodash │ 4.17.20 │ 4.17.21 │ 4.17.21 │ dependencies │
└─────────────────┴─────────┴─────────┴─────────┴──────────────┘
[✓] Found requirements.txt
[✓] Running pip list --outdated...
┌─────────────────┬─────────┬─────────┐
│ Package │ Current │ Latest │
├─────────────────┼─────────┼─────────┤
│ requests │ 2.28.1 │ 2.31.0 │
│ flask │ 2.2.3 │ 2.3.0 │
└─────────────────┴─────────┴─────────┘
python3 scripts/main.py check --format json
Output:
{
"npm": [
{
"package": "express",
"current": "4.17.1",
"wanted": "4.18.0",
"latest": "4.18.0",
"type": "dependencies"
}
],
"pip": [
{
"package": "requests",
"current": "2.28.1",
"latest": "2.31.0"
}
]
}