# 使用 npm 安装 safe-publish-latest

查看 safe-publish-latest 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install npm:safe-publish-latest
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g safe-publish-latest
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:safe-publish-latest
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/safe-publish-latest>
- **版本:** 2.0.0
- **来源摘要:** Ensure that when you npm publish, the "latest" tag is only set for the truly latest version.
- **主页:** <https://github.com/ljharb/safe-publish-latest#readme>
- **仓库:** <https://github.com/ljharb/safe-publish-latest>
- **上游文档:** <https://github.com/ljharb/safe-publish-latest#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/safe-publish-latest/-/safe-publish-latest-2.0.0.tgz>
- **问题跟踪器:** <https://github.com/ljharb/safe-publish-latest/issues>
- **发布时间:** 2021-10-14T06:14:05.081Z
- **最后更新:** 2021-10-14T06:14:05.081Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- safe-publish-latest (cli)
- safe-publish-latest (别名)

## 依赖

- in-publish
- semver
- yargs

## 构建依赖

- @ljharb/eslint-config
- aud
- auto-changelog
- eclint
- eslint
- mock-env
- nyc
- tape

## 安装行为

- post-install 钩子: 未定义
- npm 生命周期脚本: prepublish
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.0.0
- 管理器更新时间: 2021-10-14
- 本地数据: OK
- 上游仓库: https://github.com/ljharb/safe-publish-latest
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 safe-publish-latest 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 2.0.0
- **Version Count:** 9
- **Maintainers:** ljharb
- **Author:** Jordan Harband
- **Publisher:** ljharb
- **Engines:** Node: >= 12
- **Funding:** <https://github.com/sponsors/ljharb>
- **Integrity:** sha512-Qc6L9iNKfNl24X8O4XS31yHo49jX1IH+DsnxHIbCDjoARckTOk0Cj9v8G2IYVvZjj94dc9tjs2WIUtL8epJqvw==
- **Shasum:** 83ce4e3ea9d26ac354a8d893202e280dbc5c7fc7
- **Unpacked Size:** 19,017
- **File Count:** 0
- **Created At:** 2016-06-28T21:49:54.447Z
- **Latest Published At:** 2021-10-14T06:14:05.081Z
- **Modified At:** 2022-06-26T15:20:02.542Z


## 相关链接

- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched curated package taxonomy and local package facts.
- [absolute-version](https://pkg.so/zh-hans/npm/absolute-version/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, npm, release.
- [lambdatest-cypress-cli](https://pkg.so/zh-hans/npm/lambdatest-cypress-cli/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, is, semver.
- [jest-coverage-thresholds-bumper](https://pkg.so/zh-hans/npm/jest-coverage-thresholds-bumper/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, testing, that.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
