npm · npm:detect-newline
detect-newline 活跃
Detect the dominant newline character of a string
detect-newline 的最新稳定版本是 4.0.1,发布于 2023-09-22。Vigia 于 2026-11-12 核实。
| 最新稳定版本 | 4.0.1 |
|---|---|
| 发布时间 | 2023-09-22 18:59:49 UTC |
| 安装 | npm install detect-newline@latest |
| 运行要求(engines) | {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} |
| Peer 依赖 | — |
| Dist 标签 | latest: 4.0.1 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-11-12 12:46:08 UTC |
| 来源 | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
维护情况
| 活跃度 | 停滞 |
|---|---|
| 最近的稳定版本 | 2023-09-22 18:59:49 UTC · 1147 天前 |
| 过去 12 个月的稳定版本数 | 0 |
| 已发布版本数 | 13 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
4.0.1 | 2023-09-22 18:59:49 UTC |
4.0.0 | 2021-10-14 08:16:13 UTC |
3.1.0 | 2019-11-13 08:43:13 UTC |
3.0.0 | 2019-04-11 08:25:33 UTC |
2.1.0 | 2016-02-16 18:42:47 UTC |
2.0.1 | 2016-02-09 12:52:41 UTC |
2.0.0 | 2016-02-09 12:42:09 UTC |
1.0.3 | 2015-02-16 17:31:25 UTC |
1.0.2 | 2015-01-24 11:57:35 UTC |
1.0.1 | 2014-08-17 23:43:06 UTC |
1.0.0 | 2014-08-14 18:23:36 UTC |
0.1.1 | 2014-06-28 14:59:05 UTC |
0.1.0 | 2014-06-28 14:34:10 UTC |
显示 13 个版本中最新的 13 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
node 16 | 4.0.1 |
node 18 | 4.0.1 |
node 20 | 4.0.1 |
node 22 | 4.0.1 |
node 24 | 4.0.1 |
把这些数据交给你的 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" } } }常见问题
detect-newline 的最新版本是什么?
detect-newline 的最新稳定版本是 4.0.1,发布于 2023-09-22。Vigia 于 2026-11-12 核实。
如何安装 detect-newline 的最新版本?
运行 npm install detect-newline@latest。最新稳定版本是 4.0.1(2026-11-12 核实)。
detect-newline 是否已弃用?
否。注册表中 detect-newline 未被标记为已弃用。
detect-newline 需要哪个版本的 Node.js?
detect-newline 4.0.1 声明的要求为:{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"}。
detect-newline 4.0.1 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 detect-newline 4.0.1。
detect-newline 是否仍在维护?
detect-newline 在过去 12 个月内发布了 0 个稳定版本,最近一次在 1147 天前。活跃度:停滞。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- jsonc-parser
- @aws-crypto/sha256-js
- yauzl
- @types/http-errors
- require-in-the-middle
- jsx-ast-utils
- defaults
- @webassemblyjs/helper-wasm-bytecode
- @types/babel__traverse
- @babel/plugin-syntax-class-properties
- @babel/plugin-transform-literals
- @babel/plugin-transform-async-to-generator
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/npm/detect-newline) [](https://vigia.coredls.cloud/npm/detect-newline) [](https://vigia.coredls.cloud/npm/detect-newline)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/npm/detect-newline
GET https://vigia.coredls.cloud/v1/packages/npm/detect-newline/versions/{version}