Pasted text is truncated in v27 REPL

オープン
#67,423 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
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時間
マージ済み PR(30日)
266

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nodejs/node のほかの issue

nodejs/node の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。