npm · npm:@astrojs/react
@astrojs/react 活跃
Use React components within Astro
@astrojs/react 的最新稳定版本是 7.1.8,发布于 2026-11-11。Vigia 于 2026-11-12 核实。
| 最新稳定版本 | 7.1.8 |
|---|---|
| 发布时间 | 2026-11-11 17:35:45 UTC |
| 安装 | npm install @astrojs/react@latest |
| 运行要求(engines) | {"node":">=22.23.4"} |
| Peer 依赖 | react ^17.0.2 || ^18.0.0 || ^19.0.0 react-dom ^17.0.2 || ^18.0.0 || ^19.0.0 @types/react ^17.0.50 || ^18.0.21 || ^19.0.0 @types/react-dom ^17.0.17 || ^18.0.6 || ^19.0.0 oxc-transform-react >=0.145.0 <0.157.0 |
| Dist 标签 | rc: 3.0.0-rc.6 pre: 0.4.1-pre.2 beta: 6.0.0-beta.2 next: 1.1.0-next.0 alpha: 6.0.0-alpha.0 latest: 7.1.8 next--perf: 0.0.0-perf-20230907211643 next--monorepos: 0.0.0-monorepos-20221010034923 next--middleware: 0.0.0-middleware-20230331181015 next--schema-image: 0.0.0-schema-image-20230401013700 experimental--10745: 0.0.0-10745-20240410180016 next--cloudcannon-fix: 0.0.0-cloudcannon-fix-20230306211609 experimental--react-19: 0.0.0-react-19-20240503180451 experimental--sessions: 0.0.0-sessions-20241128172109 experimental--astro-env: 0.0.0-astro-env-20240522153443 experimental--container: 0.0.0-container-20240524172326 next--experimental-assets: 0.0.0-experimental-assets-20230307131344 experimental--atomic-writes: 0.0.0-atomic-writes-20241212091949 experimental--router-noexec: 0.0.0-router-noexec-20250129135648 experimental--non-admin-test: 0.0.0-non-admin-test-20240308195029 experimental--cc-preserve-cache: 0.0.0-cc-preserve-cache-20240502141405 experimental--toolbar-improvements: 0.0.0-toolbar-improvements-20240405144822 experimental--react-children-client: 0.0.0-react-children-client-20231023164643 experimental--self-closing-children: 0.0.0-self-closing-children-20231120173528 experimental--experimental-container: 0.0.0-experimental-container-20240613104104 experimental--dupicate-content-entry-improved-message: 0.0.0-dupicate-content-entry-improved-message-20231220220040 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-11-12 18:30:21 UTC |
| 来源 | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
维护情况
| 活跃度 | 活跃 |
|---|---|
| 最近的稳定版本 | 2026-11-11 17:35:45 UTC · 1 天前 |
| 过去 12 个月的稳定版本数 | 26 |
| 已发布版本数 | 175 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
7.1.8 | 2026-11-11 17:35:45 UTC |
7.1.7 | 2026-11-10 20:10:11 UTC |
7.1.6 | 2026-11-10 18:34:58 UTC |
7.1.5 | 2026-11-09 14:50:58 UTC |
7.1.4 | 2026-11-05 19:58:24 UTC |
7.1.3 | 2026-11-05 16:18:19 UTC |
7.1.2 | 2026-10-28 14:49:06 UTC |
7.1.1 | 2026-10-21 14:16:31 UTC |
7.1.0 | 2026-10-15 14:46:22 UTC |
7.0.1 | 2026-10-06 12:42:35 UTC |
7.0.0 | 2026-09-22 18:56:37 UTC |
6.0.6 | 2026-09-16 19:41:17 UTC |
6.0.5 | 2026-08-31 19:37:35 UTC |
6.0.4 | 2026-08-19 14:40:47 UTC |
6.0.3 | 2026-08-18 13:38:38 UTC |
6.0.2 | 2026-07-28 16:51:00 UTC |
6.0.1 | 2026-07-02 19:27:37 UTC |
6.0.0 | 2026-06-22 10:10:05 UTC |
5.0.7 | 2026-06-02 15:20:04 UTC |
5.0.6 | 2026-05-28 09:58:56 UTC |
显示 108 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
node 16 | 2.3.2 |
node 18 | 4.4.2 |
node 20 | 5.0.0 |
node 22 | 7.1.8 |
node 24 | 7.1.8 |
把这些数据交给你的 AI 智能体
Vigia 是免费的 MCP 服务器:你的编程智能体在写代码之前就能检查版本、不兼容变更和安全漏洞。无需注册,无需 API 密钥。
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
添加到 Cursor添加到 VS Code★ 在 GitHub 上加星
任何其他 MCP 客户端
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }常见问题
@astrojs/react 的最新版本是什么?
@astrojs/react 的最新稳定版本是 7.1.8,发布于 2026-11-11。Vigia 于 2026-11-12 核实。
如何安装 @astrojs/react 的最新版本?
运行 npm install @astrojs/react@latest。最新稳定版本是 7.1.8(2026-11-12 核实)。
@astrojs/react 是否已弃用?
否。注册表中 @astrojs/react 未被标记为已弃用。
@astrojs/react 需要哪个版本的 Node.js?
@astrojs/react 7.1.8 声明的要求为:{"node":">=22.23.4"}。
@astrojs/react 7.1.8 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 @astrojs/react 7.1.8。
@astrojs/react 是否仍在维护?
@astrojs/react 在过去 12 个月内发布了 26 个稳定版本,最近一次在 1 天前。活跃度:活跃。
观察到的变更
- Wed Nov 11 2026 18:29:45 GM +0000 (Coordinated Universal Time) — released 7.1.7 → 7.1.8
- ue Nov 10 2026 22:29:25 GMT+0000 (Coordinated Universal Time) — released 7.1.7 → 7.1.7
- ue Nov 10 2026 20:29:23 GMT+0000 (Coordinated Universal Time) — released 7.1.5 → 7.1.7
- Mon Nov 09 2026 20:29:05 GM +0000 (Coordinated Universal Time) — released 7.1.5 → 7.1.5
- Mon Nov 09 2026 16:29:03 GM +0000 (Coordinated Universal Time) — released 7.1.4 → 7.1.5
- hu Nov 05 2026 20:27:44 GMT+0000 (Coordinated Universal Time) — released 7.1.3 → 7.1.4
- hu Nov 05 2026 18:27:42 GMT+0000 (Coordinated Universal Time) — released 7.1.3 → 7.1.3
- hu Nov 05 2026 16:27:41 GMT+0000 (Coordinated Universal Time) — released 7.1.2 → 7.1.3
- Wed Oct 28 2026 18:24:53 GM +0000 (Coordinated Universal Time) — released 7.1.2 → 7.1.2
- Wed Oct 28 2026 16:24:49 GM +0000 (Coordinated Universal Time) — released 7.1.1 → 7.1.2
- Wed Oct 21 2026 16:11:45 GM +0000 (Coordinated Universal Time) — runtime_requirement_changed
- Wed Oct 21 2026 16:11:45 GM +0000 (Coordinated Universal Time) — released 7.1.0 → 7.1.1
- hu Oct 15 2026 16:02:19 GMT+0000 (Coordinated Universal Time) — runtime_requirement_changed
- hu Oct 15 2026 16:02:19 GMT+0000 (Coordinated Universal Time) — released 7.0.1 → 7.1.0
相关软件包
- @types/react
- @types/react-dom
- react
- react-dom
- @cspell/dict-makefile
- cssnano-preset-advanced
- @types/pug
- launchdarkly-react-client-sdk
- oauth-1.0a
- @nx/playwright
- @types/resize-observer-browser
- body
- @walletconnect/keyvaluestorage
- @ethersproject/contracts
- lodash._objecttypes
- ast-metadata-inferer
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/npm/@astrojs/react) [](https://vigia.coredls.cloud/npm/@astrojs/react) [](https://vigia.coredls.cloud/npm/@astrojs/react)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/npm/@astrojs/react
GET https://vigia.coredls.cloud/v1/packages/npm/@astrojs/react/versions/{version}