Pasted text is truncated in v27 REPL
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 52/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- javascript, node.js
调研方向
Start by investigating the Node.js REPL's paste handling when syntax highlighting is enabled; the issue does not identify a file or test. Reproduce by pasting the supplied multiline object and compare the result with highlighting enabled and disabled. Done means the full pasted object appears in the REPL with highlighting enabled.
由索引模型根据 Issue 内容生成。
描述
Version
v27.0.0
Platform
Darwin KXT44HPV2P 25.6.0 Darwin Kernel Version 25.6.0: Tue Aug 18 17:48:46 PDT 2026; root:xnu-12377.161.15.700.19~2/RELEASE_ARM64_T6041 arm64
Subsystem
repl
What steps will reproduce the bug?
Paste the following text into the REPL:
{
"xxx": {
"nnn": "yyy",
"vvv": "123",
"xyz": 123,
"ddd": "aaa"
},
"yyy": "zzz",
"zzz": {
"yyy": [
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
}
],
"aaa": [
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
}
]
},
"uuu": {
"yyy": [
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
}
],
"aaa": [
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
},
{
"name": "aaa",
"type": "aaa"
}
]
},
"bbb": {
"a": "aaa",
"b": "aaa",
"c": "aaa",
"d": "aaa",
"e": "aaa",
"f": "aaa",
"g": "aaa",
"h": "aaa",
"i": "aaa",
"g": "aaa",
"k": "aaa"
}
}
How often does it reproduce? Is there a required condition?
Only when syntax highlighting is enabled
What is the expected behavior? Why is that the expected behavior?
The entirety of the pasted object should appear in the REPL
What do you see instead?
The pasted text is truncated approximately 79 lines in
Additional information
No response
- 主要语言
- JavaScript
- 星标
- 124k
- 派生
- 38k
- 平均合并
- 4 天 2 小时
- 30 天内合并 PR
- 266
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nodejs/node 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 69/100
维护者通常 1 天内回复
-
fs: document readStream.start and readStream.end可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭doc
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
doc: document the Buffer.prototype.*Slice() methods可能已有人在做 @AyushCipher 今天认领。 未关闭doc
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
`styleText` fast path bypasses `options` and `options.validateStream` validation可能已有人在做 @GBra-4-669 于 8 天前认领。 未关闭util
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
riscv64
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
相似的 Issue
-
bug triage needed
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复
-
resource-submission validation-passed
难度 1/5 1 小时以内 新手友好度 82/100
hesreallyhim/awesome-claude-code#3773 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 73/100
tabatkins/railroad-diagrams#129 ·
-
web: api() turns a null or object-valued error body into a TypeError or "[object Object]" and loses the status可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复