)]}'
{
  "commit": "00260cd5b2468f1e9011d6df6b8c897739ee8f8d",
  "tree": "6382021589737153a1c9a01781696de93eb7863f",
  "parents": [
    "8c4c087c30ffd9dd09fcbb4d2584120958413a0b"
  ],
  "author": {
    "name": "Antoine Musso",
    "email": "hashar@free.fr",
    "time": "Fri Jul 07 17:31:52 2023 +0200"
  },
  "committer": {
    "name": "Antoine Musso",
    "email": "hashar@free.fr",
    "time": "Tue Jun 25 21:49:51 2024 +0200"
  },
  "message": "Update Resemble.js 3.2.4 \u003e 4.0.0\n\nResemble.JS 3.2.4 has support for Node.JS rendering which is done via\ncanvas, canvas, which depends on cairo and in turn requires system\nlibraries to be available. The missing libraries cause the build to\nfail.  Since image-diff is a browser plugin, we do not need the canvas\ndependency.\n\nI tried to find a way to use `yarn install --ignore-optional`, but short\nof editing the Gerrit main WORKSPACE, I could not find any way to do it.\n\nEventually I have found a later version of Resemble.js changes canvas to\nan optional dependencies:\nhttps://github.com/rsmbl/Resemble.js/commit/35e294dab95ad6bb531138eb5613355571805aa9\n\nIt was released with version 4.0.0 of Resemble.JS and removes the\ndependency upon system libraries.\n\nI have noticed the `yarn.lock` is still pointing to resemble@1.2.1 which\nclearly got forgotten. I don\u0027t know how the build still work since Gerrit\n`yarn_install` refers to that lock file. I have regenerated it with\nGerrit 3.5 using:\n\nbazel run @yarn//:yarn install -- --cwd plugins/image-diff install\n\nThe `package-lock.json` has been regenerated with npm 7.21.0 within the\nGerrit stable-3.5 branch (for polymer-bridges).\n\nChange-Id: I924b66b535619a4072039b7396850ca34caf9e3e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4088abf185ea79f8131f902b1618ae6111e7a791",
      "old_mode": 33188,
      "old_path": "README.md",
      "new_id": "dd7c8dd9cf89c73f8368a913518a4d3820c4c5ca",
      "new_mode": 33188,
      "new_path": "README.md"
    },
    {
      "type": "modify",
      "old_id": "d893ad9a5567b5f7d0816f6c4373adcfb8040bde",
      "old_mode": 33188,
      "old_path": "package-lock.json",
      "new_id": "b2c3aa321cdefe15adcb4f55ad756cc114a2c548",
      "new_mode": 33188,
      "new_path": "package-lock.json"
    },
    {
      "type": "modify",
      "old_id": "0d98a86c977c2b5482916e515fd724bbc4d2dcdc",
      "old_mode": 33188,
      "old_path": "package.json",
      "new_id": "790065b0109a3b3487e8ed3359d02e572f4eaf4d",
      "new_mode": 33188,
      "new_path": "package.json"
    },
    {
      "type": "modify",
      "old_id": "915c2c316a2f9dde0dad290267d405a81324b170",
      "old_mode": 33188,
      "old_path": "yarn.lock",
      "new_id": "459d5263209f520ee602fe7ffeb45a57cd8113a2",
      "new_mode": 33188,
      "new_path": "yarn.lock"
    }
  ]
}
