)]}'
{
  "commit": "061f09c3049daf2d9586c0d1be6d654035e181f3",
  "tree": "977a440f65d9931841e802d7a7ddb64cfd483ada",
  "parents": [
    "d0ab3a6c1cd1f8e59d35a3ed5849b2c358d460c5"
  ],
  "author": {
    "name": "Jack Franklin",
    "email": "jacktfranklin@chromium.org",
    "time": "Tue Jul 12 14:31:09 2022"
  },
  "committer": {
    "name": "Devtools-frontend LUCI CQ",
    "email": "devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Jul 12 15:22:50 2022"
  },
  "message": "Upgrade TypeScript to 4.7.4\n\nThere are a couple of code changes for us that are relevant:\n\n1.The accuracy of `lib.d.ts` (DOM definitions) has improved, so we have\n  to update a type in `Button.ts`. This changes the type from\n  `X|undefined` to `X|null` so this is very minor.\n\n2. TypeScript got better at understanding conditionals that will always\n  return `true`, and caught a case where we were doing:\n\n  ```\n  addEventListener(e \u003d\u003e e.key \u003d\u003d\u003d \u0027Enter\u0027 \u0026\u0026 Common.Revealer.reveal(...)\n  \u0026\u0026 false)\n  ```\n\n  TS errored because the `reveal()` call is a promise and therefore will\n  always return true, causing the entire expression to return the final\n  `false`. Returning `false` from an event listener doesn\u0027t do anything,\n  so I\u0027ve removed it.\n\nDISABLE_THIRD_PARTY_CHECK\u003drequired updates to land TS upgrade\n\nBug: none\nChange-Id: I89ab2ad730d40308da173bd7788c17daf0b4a511\nReviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3757623\nAuto-Submit: Jack Franklin \u003cjacktfranklin@chromium.org\u003e\nCommit-Queue: Jack Franklin \u003cjacktfranklin@chromium.org\u003e\nReviewed-by: Philip Pfaffe \u003cpfaffe@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b62a4c5a80bda87da837c78c818dc62cbf5a4963",
      "old_mode": 33188,
      "old_path": "front_end/panels/elements/DOMLinkifier.ts",
      "new_id": "09ef1fa8b53a887f24e45280cc2b84cc268d722b",
      "new_mode": 33188,
      "new_path": "front_end/panels/elements/DOMLinkifier.ts"
    },
    {
      "type": "modify",
      "old_id": "206d0a5b1d116b03333c7ce8a1a83782f04157f6",
      "old_mode": 33188,
      "old_path": "front_end/ui/components/buttons/Button.ts",
      "new_id": "e359826e2ed16c3a34a8fede23ef1b683a3cd50b",
      "new_mode": 33188,
      "new_path": "front_end/ui/components/buttons/Button.ts"
    },
    {
      "type": "modify",
      "old_id": "d9f6282b9c73fcb16a475feba1556dc49c5ff5d8",
      "old_mode": 33188,
      "old_path": "node_modules/.package-lock.json",
      "new_id": "10339a90b7b7d143b3b50a04434612d237000ea8",
      "new_mode": 33188,
      "new_path": "node_modules/.package-lock.json"
    },
    {
      "type": "modify",
      "old_id": "b58f1a31efd33ea3472829a7ff459c3b1709805b",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/AUTHORS.md",
      "new_id": "e02b495d24240460932d6c95a31b23aaf52ffa9c",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/AUTHORS.md"
    },
    {
      "type": "modify",
      "old_id": "b14cdc5e62ed00db14d7482923e5db9bf54493d8",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/cs/diagnosticMessages.generated.json",
      "new_id": "1f126cf787fb9d7bb8e03a0d035428f0af06cdc6",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/cs/diagnosticMessages.generated.json"
    },
    {
      "type": "modify",
      "old_id": "798f01415708a997f64518e668e3aaf9c0572040",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/de/diagnosticMessages.generated.json",
      "new_id": "7ff4ec4fa12ab146e62549f618cb88b5ac735a8e",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/de/diagnosticMessages.generated.json"
    },
    {
      "type": "modify",
      "old_id": "1d3aa12a9519d96051fb91de6fba164d2711aeec",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/es/diagnosticMessages.generated.json",
      "new_id": "7ae523eb5be650855d91ea20c9f8e985104937ab",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/es/diagnosticMessages.generated.json"
    },
    {
      "type": "modify",
      "old_id": "287bd913e9b9fdb8868c5776da9271a4c5f84db0",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/fr/diagnosticMessages.generated.json",
      "new_id": "e515dfab588a501c88ef038af2c54bc903bb6d00",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/fr/diagnosticMessages.generated.json"
    },
    {
      "type": "modify",
      "old_id": "9c8c4041dfb9e6b63a5d27491e40e6939d89af93",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/it/diagnosticMessages.generated.json",
      "new_id": "1535b015b2207a0a9f58e58b4fd71dcd0c798711",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/it/diagnosticMessages.generated.json"
    },
    {
      "type": "modify",
      "old_id": "eac8c335da2f124a01c6efb9ce2acb555285ba5f",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/ja/diagnosticMessages.generated.json",
      "new_id": "4fb7a69a14a610dc83e5b1261b5b82bde87bd5cf",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/ja/diagnosticMessages.generated.json"
    },
    {
      "type": "modify",
      "old_id": "3a61c78057ca448047eba734ad7c11db35598ce5",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/ko/diagnosticMessages.generated.json",
      "new_id": "5a99847526fc3aa1123ba0b0eda045ab2b0fc823",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/ko/diagnosticMessages.generated.json"
    },
    {
      "type": "modify",
      "old_id": "7d9146827ea12b4be7fdd707f11f6826d520f214",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/lib.dom.d.ts",
      "new_id": "fcd2b1e92987d84cdf9904e2d5f4387e195c1ed2",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/lib.dom.d.ts"
    },
    {
      "type": "modify",
      "old_id": "4b265702df4f979e4096acfdf495a4ac19311e14",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/lib.dom.iterable.d.ts",
      "new_id": "c6154496823c450c9887a9c4bcbf1ef2f543d621",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/lib.dom.iterable.d.ts"
    },
    {
      "type": "modify",
      "old_id": "fd7ea2ad9e3783f33a06dcfbb8686af1b0376242",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/lib.es2015.core.d.ts",
      "new_id": "61469e6699076304eeff2b0ea85a5dcd933ae3e9",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/lib.es2015.core.d.ts"
    },
    {
      "type": "modify",
      "old_id": "355b6531afb82a82e09945156fc20dd4f631d558",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/lib.es2015.reflect.d.ts",
      "new_id": "4bfce28a74f9e00d51109aafc7fc56013a7d662a",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/lib.es2015.reflect.d.ts"
    },
    {
      "type": "modify",
      "old_id": "4d2cc2ad1a33150cc8951a166f176e0a11d017e1",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/lib.es2020.bigint.d.ts",
      "new_id": "a0ebccaf9ca774c0ae2dab32eb5db34b3dcc3a46",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/lib.es2020.bigint.d.ts"
    },
    {
      "type": "modify",
      "old_id": "1f20962f3d1207fded838d8a14f1dafa51805780",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/lib.es2020.d.ts",
      "new_id": "dfd50a57ced169cb6ef7319aa25cf00e3cfe2067",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/lib.es2020.d.ts"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8eeb6b981dd39c4c35db177f7befc4a2b047fa68",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/lib.es2020.date.d.ts"
    },
    {
      "type": "modify",
      "old_id": "3e47f89cf1bb13ad390585c9ee6912c26cde04e8",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/lib.es2020.intl.d.ts",
      "new_id": "af981e31c637627e688c1896f0878e4138dabe6a",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/lib.es2020.intl.d.ts"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "89f6a2723d3657a414ed44fef79b1838458ed864",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/lib.es2020.number.d.ts"
    },
    {
      "type": "modify",
      "old_id": "283effdeaaa5776a5324c2a06f60cd7b29e3c207",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/lib.es2021.intl.d.ts",
      "new_id": "1e8cec37a942cb5a0abbdc96235b77e8e5f96a85",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/lib.es2021.intl.d.ts"
    },
    {
      "type": "modify",
      "old_id": "73558c81125bbc8bd9e2d7d1211147c02fffa2cc",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/lib.es2022.d.ts",
      "new_id": "6d4283d28e2ef5a32b910553b9b0a0f973033266",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/lib.es2022.d.ts"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ff487a11c955c6593cceb809faaca13581cdbd3b",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/lib.es2022.intl.d.ts"
    },
    {
      "type": "modify",
      "old_id": "63460100667e4a10a7d0af632a473366df854a21",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/lib.es2022.object.d.ts",
      "new_id": "2fe2a1917f15e760c56b03dca93161201bbd22bf",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/lib.es2022.object.d.ts"
    },
    {
      "type": "modify",
      "old_id": "5487434b46253b292e68432cfdd3601bbad27470",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/lib.es5.d.ts",
      "new_id": "c25521b839c4e2b68118fe44b3bfc51d15a2791e",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/lib.es5.d.ts"
    },
    {
      "type": "modify",
      "old_id": "797d88cede67a27723c71fe66c82f458dda0c3bc",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/lib.esnext.intl.d.ts",
      "new_id": "1b303aad55e14a4caaba69f923380d2fdfcc91dc",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/lib.esnext.intl.d.ts"
    },
    {
      "type": "modify",
      "old_id": "ba78500eb1e0a1de63d66804ccbb3d61d261b21b",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/lib.webworker.d.ts",
      "new_id": "aeb66e14632a67a8a70ce4bee581018680c6bdb6",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/lib.webworker.d.ts"
    },
    {
      "type": "modify",
      "old_id": "9f39fc026ba40410ca381ffd5bac396d7ccc9906",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/lib.webworker.iterable.d.ts",
      "new_id": "af2588150c4bbe8e3f2420f7c10e4c470522c8b2",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/lib.webworker.iterable.d.ts"
    },
    {
      "type": "modify",
      "old_id": "fff13778e78b9aa5b06b2a6bb733633518fc73c8",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/pl/diagnosticMessages.generated.json",
      "new_id": "bff4cd6b1ea6f1f8718225fe1863b6ced22c2ef5",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/pl/diagnosticMessages.generated.json"
    },
    {
      "type": "modify",
      "old_id": "be7822781decca8f5ab39a5d0b80279fe27e7caa",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/protocol.d.ts",
      "new_id": "4407b6bf285fc7231f3d756423554e62830040eb",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/protocol.d.ts"
    },
    {
      "type": "modify",
      "old_id": "9c308dc25fa0bc856cd6748c13d9cc1cf1463c2c",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json",
      "new_id": "410dde0d0ca4a2e7a1d5dc5c1d27e7466ba85b43",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json"
    },
    {
      "type": "modify",
      "old_id": "5fa2e89c847eb8b4cb4648f80b5f27fd7606f1f2",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/ru/diagnosticMessages.generated.json",
      "new_id": "8fb5288b2816fac0a737f6170dfe6043337a0e5a",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/ru/diagnosticMessages.generated.json"
    },
    {
      "type": "modify",
      "old_id": "6e0ccb181857d91dbf10630e73a2578b942186bd",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/tr/diagnosticMessages.generated.json",
      "new_id": "374354fc5a2a2c308a4a352c0a36d0b36c0cb27e",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/tr/diagnosticMessages.generated.json"
    },
    {
      "type": "modify",
      "old_id": "7704b1a2be5380170b86a4d8436eeedf4faf7b76",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/tsc.js",
      "new_id": "4964bb73e22c460a0fc5838633f3644fbddcdc54",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/tsc.js"
    },
    {
      "type": "modify",
      "old_id": "ff74f351d1bd684118a225a95668f5e7fc4bcaa3",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/tsserver.js",
      "new_id": "c276781f379fd1ebef141416f059a105ecd752df",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/tsserver.js"
    },
    {
      "type": "modify",
      "old_id": "55d0fe287b3a0556cbf4a342c88cbeb6f25f3d48",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/tsserverlibrary.d.ts",
      "new_id": "ffa14ce6b4f79b94eaf9d9834849a0d8340c9b20",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/tsserverlibrary.d.ts"
    },
    {
      "type": "modify",
      "old_id": "9290a3661080ec35eef22c024589bd7bf4dd21b8",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/tsserverlibrary.js",
      "new_id": "5972181ff345c922285602bb0f35b86a1e0d8565",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/tsserverlibrary.js"
    },
    {
      "type": "modify",
      "old_id": "0c1763205539894bf6b2684177850ca5e33d8614",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/typescript.d.ts",
      "new_id": "66dc7a05a49f38acc622c6350c934eaead29e16d",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/typescript.d.ts"
    },
    {
      "type": "modify",
      "old_id": "89cc0ba3ffb18aa0a1bb7fa7f35a1cbd29502a41",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/typescript.js",
      "new_id": "e8734a648d0bcd37db98b545fae77c25ca6dbab3",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/typescript.js"
    },
    {
      "type": "modify",
      "old_id": "716fd189ce01e7592489d3d5554372417d25d974",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/typescriptServices.d.ts",
      "new_id": "447913ebfb5398fa4e2de818287158dade344b6f",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/typescriptServices.d.ts"
    },
    {
      "type": "modify",
      "old_id": "d1d97fe03d60cfb6fa33b15350e28cdeba39e7dc",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/typescriptServices.js",
      "new_id": "4e94b0f2524008c52d3145c9f7c08614c73c7c1a",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/typescriptServices.js"
    },
    {
      "type": "modify",
      "old_id": "67aa6f7336aa4de09f802af41ce6d7cbc057423d",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/typingsInstaller.js",
      "new_id": "83d1ad5de4924d0dfc8a5819c82d56d2043077bf",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/typingsInstaller.js"
    },
    {
      "type": "modify",
      "old_id": "ec27b2212ac08c7375ef76d0bb573767e64f16ba",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json",
      "new_id": "c842e78c354b3dd0af4ba77748f7244d4489bf47",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json"
    },
    {
      "type": "modify",
      "old_id": "acbe80d131839930b5c747c4b9d7e2c8db5b5ee3",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json",
      "new_id": "591800c8cc53065324b32b8d3cd4ebd8bd5efbcc",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json"
    },
    {
      "type": "modify",
      "old_id": "fcadce99ed4d97ad5bb6f537d3a5ca77d9c8dace",
      "old_mode": 33188,
      "old_path": "node_modules/typescript/package.json",
      "new_id": "8540c066e8908b0233208a8d07b6a5cfa13ae3e5",
      "new_mode": 33188,
      "new_path": "node_modules/typescript/package.json"
    },
    {
      "type": "modify",
      "old_id": "00e3af45dbc9eb9083a8f27c33c8ffa45cb667c3",
      "old_mode": 33188,
      "old_path": "package-lock.json",
      "new_id": "5bba89ae6bd6a7aede89f91761f0780256bec6b9",
      "new_mode": 33188,
      "new_path": "package-lock.json"
    },
    {
      "type": "modify",
      "old_id": "a4d5c6ef0ce3b5b8be779b72babea2dbcf2e6681",
      "old_mode": 33261,
      "old_path": "scripts/deps/manage_node_deps.py",
      "new_id": "7dccf24cbfa5aff77d9db5a7e1552f6732be587b",
      "new_mode": 33261,
      "new_path": "scripts/deps/manage_node_deps.py"
    }
  ]
}
