macOS
brew install semverlocal Homebrew formula metadata
安装
brew install semverlocal Homebrew formula metadata
nix profile install nixpkgs#semvernixpkgs package indexes · pkgs/by-name/se/semver/package.nix · 来源: api.github.com
sudo pacman -S semverArch Linux sync databases · semver · 来源: geo.mirror.pkgbuild.com
sudo dnf install semver-develFedora Rawhide package metadata · semver-devel · 来源: dl.fedoraproject.org
概览
Semantic version parser for node (the one npm uses)
历史
semver, commonly called node-semver when distinguishing the repository, is npm's JavaScript parser and range engine for Semantic Versioning. It can be used as a Node.js module or as a command-line utility.
Created by Isaac Z. Schlueter as the semantic-version parser for npm, node-semver implements the Semantic Versioning specification for JavaScript and exposes both a library and the semver command-line program.
The package became foundational Node.js infrastructure through its use by npm. It is also distributed by multiple system package managers, including Homebrew, Fedora-family repositories, Nix, and Arch Linux.
Developers use the library to validate and normalize versions, test versions against dependency ranges, compare and sort releases, calculate minimum or maximum satisfying versions, and increment release identifiers. The CLI performs filtering, sorting, coercion, and version increments from shell scripts.
node-semver is a reference implementation in everyday package-management practice: it turns Semantic Versioning rules into the range matching, precedence sorting, coercion, and increment operations used by npm workflows.
安全态势
没有找到 semver 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
semver | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/npm/node-semver
安装元数据
| 软件包键 | brew:semver |
|---|---|
| 版本 | 7.8.5 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/semver |
| 主页 | https://semver.npmjs.com/ |
| 仓库 | https://github.com/npm/node-semver |
| 上游文档 | https://semver.npmjs.com/ |
| 许可证 | ISC |
| 源码归档 | https://github.com/npm/node-semver/archive/refs/tags/v7.8.5.tar.gz |
| 最后更新 | 2026-06-19T22:36:23Z |
| Pulse | updated |
| 依赖 | node |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | semver |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
semver
nix profile install nixpkgs#semversemver-devel 0.3.1-6.fc45
Development files for semver
https://github.com/Neargye/semver
sudo dnf install semver-develsemver 7.8.5-1
The semantic version parser used by npm
https://github.com/npm/node-semver
sudo pacman -S semver来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.