@hashicorp/react-enterprise-alert

中文文档
7.0.1发布于 2023/02/16MPL-2.0近 30 天下载 5317

Render an alert used to note the requirement of an enterprise product

此软件包已被标记为弃用

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

原始使用文档

EnterpriseAlert

The <EnterpriseAlert> component renders an alert used to note the requirement of an enterprise product.

Installation

npm install @hashicorp/react-enterprise-alert

版本与发布记录

@hashicorp/react-enterprise-alert 共发布 46 个版本,首次发布于 2019/09/05;过去 12 个月发布了 0 个版本。

版本发布日期距今
7.0.1latest2023/02/163 年前
7.0.02022/04/274 年前
7.0.0-canary-20220426210227canary2022/04/274 年前
7.0.0-canary-202204262007252022/04/274 年前
7.0.0-canary-202204262004282022/04/274 年前
7.0.0-canary-202204221656522022/04/234 年前

其他发布通道:fonts → 1.1.17-fonts.0,canary → 7.0.0-canary-20220426210227。

关于 @hashicorp/react-enterprise-alert 的常见问题

@hashicorp/react-enterprise-alert 是什么?

Render an alert used to note the requirement of an enterprise product注意:该包已被作者标记为弃用——Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

如何安装 @hashicorp/react-enterprise-alert?

在项目目录运行 npm install @hashicorp/react-enterprise-alert,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:react(>=16.x)、@hashicorp/mktg-global-styles(>=3.x)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@hashicorp/react-enterprise-alert 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/hashicorp__react-enterprise-alert 是否存在。

@hashicorp/react-enterprise-alert 可以商用吗?

@hashicorp/react-enterprise-alert 使用 MPL-2.0 许可。弱 Copyleft:可以商用,也可以和闭源代码一起使用;但如果分发时修改了 MPL 授权的文件,这些文件的修改需以 MPL 开源。以上为概括,不构成法律意见,请以许可原文为准。

@hashicorp/react-enterprise-alert 的下载量有多少?

根据 npm 官方下载统计,@hashicorp/react-enterprise-alert 在 2026/10/18 – 2026/11/16 这 30 天内被下载 5,317 次,日均约 177 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@hashicorp/react-enterprise-alert 还在维护吗?

最新版本 7.0.1 发布于 2023/02/16(3 年前);至今共发布 46 个版本,其中过去 12 个月发布了 0 个;首次发布于 2019/09/05。作者已将其标记为弃用,新项目建议寻找替代方案。