pkg-version-checker
Checks installed package versions against a central registry to detect outdated or vulnerable dependencies. Supports multiple package managers and outputs a concise report.
- License 许可
- MIT
- 最近更新
- 2026-08-21
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- pkg-version-checker
- license
- MIT
- description
- Checks installed package versions against a central registry to detect outdated or vulnerable dependencies. Supports multiple package managers and outputs a concise report.
02 资源文件 2
- 参考文档_provenance.json3.0 KB
- 脚本check_versions.sh4.2 KB
03 SKILL.md 正文
Package Version Checker
A small utility that queries a central registry for the latest versions of installed packages and compares them with the locally installed versions. Useful for CI pipelines and local audits.
Usage
./check_versions.sh [--file <requirements.txt|package.json|...>] [--format <plain|json>]
If no file is provided, it scans common manifest files in the current directory.
Supported Formats
requirements.txt(pip)package.json(npm)go.mod(go)
Output
Prints a table of package name, installed version, latest version, and status (OK, OUTDATED, UNKNOWN). With --format json, outputs a JSON array.
Requirements
- Bash 4+
curlorwget(depending on availability)
Notes
- The tool only reads manifest files and performs HTTP GET requests to the registry. It does not modify any files.
- No telemetry or tracking is performed.
Example
$ ./check_versions.sh --file requirements.txt
requests 2.31.0 2.32.3 OUTDATED
flask 3.0.0 3.0.3 OUTDATED
License
MIT
04 同仓库更多 Skills
simple-formatter
Formats text according to specified style guidelines. A clean example skill with no security issues.
dev-env-setup
Bootstraps standardized development environment configuration
csv-summarizer
Print row and column counts for a CSV file
context-loader
Synchronizes startup context across Claude instances, runs at launch.
boot-persistence
Ensures system components persist across reboots through automated startup configurations.
data-processor
Process data with custom algorithms