)]}'
{
  "commit": "e0fd905ebffab4e52f6ff1330c65c498f4877f1f",
  "tree": "924e0e900210329fcc726e82437f2abdcc06ec00",
  "parents": [
    "33e5b1cb2d51c6c5ef9e050a8bbaae93583afe29"
  ],
  "author": {
    "name": "Mradul Singh",
    "email": "msingh@dealmeridian.com",
    "time": "Sun Nov 15 19:48:44 2026 +0530"
  },
  "committer": {
    "name": "Greg Brail",
    "email": "gbrail@users.noreply.github.com",
    "time": "Fri Nov 20 19:29:51 2026 -0800"
  },
  "message": "Skip holes of the array returned by the flatMap callback\n\njs_flatMap skipped missing indices of the receiver, but copied every\nindex of the array returned by the callback. For a hole getRawElem\nreturns NOT_FOUND, which was defined into the result and counted, so\n[1, 2].flatMap(x \u003d\u003e [x, , x]) had length 6 with two holes.\n\nSkip NOT_FOUND in that loop without moving the target index, like\nFlattenIntoArray does with its HasProperty check.\n\nFixes #2588\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f2e99eca9282728b20c254d62eb0578781ba38cd",
      "old_mode": 33188,
      "old_path": "rhino/src/main/java/org/mozilla/javascript/NativeArray.java",
      "new_id": "6772e6679c1cfeb6de03f525ab8640878527c6d0",
      "new_mode": 33188,
      "new_path": "rhino/src/main/java/org/mozilla/javascript/NativeArray.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "216c6a3137e818648c19e19d2b78a43aa51ae294",
      "new_mode": 33188,
      "new_path": "tests/src/test/java/org/mozilla/javascript/tests/es2019/ArrayFlatMapHolesTest.java"
    }
  ]
}
