)]}'
{
  "commit": "adc57d9ed3938ae5ccf982aee83a4b496b02f7c1",
  "tree": "d20cecf83dad8fbb1405093d4a1cc15249875768",
  "parents": [
    "0dbbb07345fcda7428eb16f3a23d1eff2d72542f"
  ],
  "author": {
    "name": "Steve Golton",
    "email": "stevegolton@google.com",
    "time": "Mon Jun 08 11:48:14 2026 +0100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Jun 08 11:48:14 2026 +0100"
  },
  "message": "ui: chore: Bump deps to patch security issues (#6160)\n\nThis patch fixes the following security issues:\n1. markdown-it -\nhttps://github.com/google/perfetto/security/dependabot/312\n2. protobufjs -\nhttps://github.com/google/perfetto/security/dependabot/308\n\nNote: These are not a major concern for us as this code for the most\npart runs client side, but worth keeping on top of this issues.\n\n## List of packages updated\n\n| Package | Previous Version | New Version | Type |\n| :--- | :--- | :--- | :--- |\n| `typescript` | `5.5.2` | `5.9.3` | devDependencies |\n| `eslint` | `^9.6.0` | `^9.39.4` | devDependencies |\n| `@typescript-eslint/eslint-plugin` | `^7.14.1` | `^8.60.1` |\ndevDependencies |\n| `@typescript-eslint/parser` | `^7.14.1` | `^8.60.1` | devDependencies\n|\n| `protobufjs` | `^7.5.6` | `^7.6.2` | dependencies |\n| `protobufjs-cli` | `1.2.1` | `^1.3.2` | devDependencies |\n| `markdown-it` | `^13.0.0` | `^14.2.0` | dependencies |\n| `@types/markdown-it` | `^13.0.0` | `^14.1.2` | devDependencies |\n| `@types/node` | `^20.14.9` | `^20.19.41` | dependencies |\n| `@types/w3c-web-usb` | `^1.0.10` | `^1.0.14` | dependencies |\n\n## Updating markdown-it\n\nUpdating this package kicked off a cascade of issues.\n\n- markdown-it@14 requires a newer typescript version than what we\ncurrently are using (5.5.2). For the sake of completeness this patch\nbumps typescript to 5.9.3 which is the latest version within the 5 major\nrevision (moving to 6.X is another problem).\n- Typescript 5.7 introduced a breaking change in TypedArrays and friends\n(such as DataView), making these generic over the type of ArrayBuffer\nthey use - ArrayBuffer or SharedArrayBuffer. [TS Release\nNotes](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-7.html#typedarrays-are-now-generic-over-arraybufferlike).\nIIUC, this is to support ES2024 changes to the API of ArrayBuffer.\n- A lot of libraries have been very slow to update their types to be\nmore specific about what type of array they output, simply leaving it\nhas Uint8Array or similar, or to allow ArrayBufferLike as inputs.\n- This caused a cascade of type issues through the codebase which needed\nto be fixed. Mostly mechanical aside from one sticking point:\n- protobuf.Write.finish() returns a Uint8Array, the storage type is left\npurposely undefined. In reality it\u0027s always going to be an ArrayBuffer\ntype unless patched but the types have not been tweaked to address this.\n- This causes type issues as we try to write this into a Blob as a\nBlobPart which the types specify as having a requirement on ArrayBuffer\n(not shared). This is bogus, all environments would accept a\nSharedArrayBuffer anyway.\n- Tangentially related - a Uint8Array cannot be implicity cast to an\nArrayBuffer any more - meaning the special cast in AppImpl is no longer\nrequired.\n- Argument of type \u0027Uint8Array\u003cArrayBuffer\u003e\u0027 is not assignable to\nparameter of type \u0027ArrayBuffer\u0027.\n- Also what\u0027s changed is that calling map.keys().next().value now\nreturns T | undefined, but before it returned T. See [TS release\nnotes](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-6.html#strict-builtin-iterator-checks-and---strictbuiltiniteratorreturn).",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c03f37e6ce7b963d150e62fa32a85efb4701b706",
      "old_mode": 33188,
      "old_path": "ui/package.json",
      "new_id": "1c94d5695cf545da797de24e74dd1f73c8995a70",
      "new_mode": 33188,
      "new_path": "ui/package.json"
    },
    {
      "type": "modify",
      "old_id": "aa3d9867a0107ada71619fcf933257000c5a3d24",
      "old_mode": 33188,
      "old_path": "ui/pnpm-lock.yaml",
      "new_id": "e46a1544bf156eab67df9955499e1490fb97558e",
      "new_mode": 33188,
      "new_path": "ui/pnpm-lock.yaml"
    },
    {
      "type": "modify",
      "old_id": "3ce1523562691fb93c74529cb586afc9f32e537d",
      "old_mode": 33188,
      "old_path": "ui/src/base/assert.ts",
      "new_id": "06ae6486b8bf4682da6894422358d9b8d8b84ad2",
      "new_mode": 33188,
      "new_path": "ui/src/base/assert.ts"
    },
    {
      "type": "modify",
      "old_id": "0d6559aa981d3f9e28584dc7f46b7678f41df49b",
      "old_mode": 33188,
      "old_path": "ui/src/base/download_utils.ts",
      "new_id": "da68ec852a17f2a804804718ab81efc8cf7022f9",
      "new_mode": 33188,
      "new_path": "ui/src/base/download_utils.ts"
    },
    {
      "type": "modify",
      "old_id": "e06bdcf195295f0150b6b0b947e6d8f70a0cc071",
      "old_mode": 33188,
      "old_path": "ui/src/base/hash.ts",
      "new_id": "209d3ae8f25ce93bdc3d5b3a58ef641f0c392205",
      "new_mode": 33188,
      "new_path": "ui/src/base/hash.ts"
    },
    {
      "type": "modify",
      "old_id": "4de0c5a6caa6a9e0286a156a3976182aae36befa",
      "old_mode": 33188,
      "old_path": "ui/src/base/resizable_array_buffer.ts",
      "new_id": "1e71ab2fc6cf5f94cf3fa66f60323d0b8b32b1eb",
      "new_mode": 33188,
      "new_path": "ui/src/base/resizable_array_buffer.ts"
    },
    {
      "type": "modify",
      "old_id": "9586423c62b4dfe5ebbaab15f70189f91c2d549a",
      "old_mode": 33188,
      "old_path": "ui/src/base/string_utils.ts",
      "new_id": "b7e3fb8f2c3bdb4885615d89107ec80437fa2617",
      "new_mode": 33188,
      "new_path": "ui/src/base/string_utils.ts"
    },
    {
      "type": "modify",
      "old_id": "87919ce42a965bf39941a9e3c15bda1acf4b26d5",
      "old_mode": 33188,
      "old_path": "ui/src/core/app_impl.ts",
      "new_id": "b0b6af52865c49496ac7646d02e13eb9c11f9806",
      "new_mode": 33188,
      "new_path": "ui/src/core/app_impl.ts"
    },
    {
      "type": "modify",
      "old_id": "846b8a45160238057417bc4669ec4e1b2ef0ed62",
      "old_mode": 33188,
      "old_path": "ui/src/frontend/trace_actions.ts",
      "new_id": "6f85d2fd3b3021bf1fd3b795fe672275774cad08",
      "new_mode": 33188,
      "new_path": "ui/src/frontend/trace_actions.ts"
    },
    {
      "type": "modify",
      "old_id": "5f5c9be4cf5a45b9e11df400ee8c005502dac4c9",
      "old_mode": 33188,
      "old_path": "ui/src/frontend/trace_converter.ts",
      "new_id": "bcfecfda6b4960c27a3a0020a77f4ab3d33ebc0d",
      "new_mode": 33188,
      "new_path": "ui/src/frontend/trace_converter.ts"
    },
    {
      "type": "modify",
      "old_id": "759fca838edc5aa6d6df75f94912be97848011f1",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/com.android.AvfVmCpuTimeline/index.ts",
      "new_id": "576afc4a159e2f00ec251872f2206fe00d08f71b",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/com.android.AvfVmCpuTimeline/index.ts"
    },
    {
      "type": "modify",
      "old_id": "b49fe682350478dd078c2943ac0bf1aebc834d20",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/com.android.HeapDumpExplorer/download.ts",
      "new_id": "ffaf844ee2d41204eb55635aaa58d17ef652fe3e",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/com.android.HeapDumpExplorer/download.ts"
    },
    {
      "type": "modify",
      "old_id": "5758cf39ff57c5a530ca39751cf701dc1dcc2a98",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/com.android.HeapDumpExplorer/queries.ts",
      "new_id": "32b3fbe8656615f159d42c51530ca64959c7ed94",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/com.android.HeapDumpExplorer/queries.ts"
    },
    {
      "type": "modify",
      "old_id": "58779215bffafbe63e39c9f59d736599aaadecd2",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/com.android.HeapDumpExplorer/types.ts",
      "new_id": "125ef5660e00c44403a0cd509fe2c2da12bcd18c",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/com.android.HeapDumpExplorer/types.ts"
    },
    {
      "type": "modify",
      "old_id": "95dd389feda099d6f321f2879b6ee508e8034d3b",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/dev.perfetto.Memscope/sessions/live_session.ts",
      "new_id": "3db554ce2f5680736d35697e064bc370aba6b356",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/dev.perfetto.Memscope/sessions/live_session.ts"
    },
    {
      "type": "modify",
      "old_id": "9f7a1176834226f73e854a918907b9b12d58060d",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/dev.perfetto.Memscope/sessions/profile_session.ts",
      "new_id": "461a6e494edcd4601c96b45e0a86a619bb160f2a",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/dev.perfetto.Memscope/sessions/profile_session.ts"
    },
    {
      "type": "modify",
      "old_id": "eaf3fbd0fa0835a16e03e1095e292e5904e7604f",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/dev.perfetto.RecordTraceV2/adb/adb_msg.ts",
      "new_id": "668e3ec20d4853b091df563d11913653f524bd97",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/dev.perfetto.RecordTraceV2/adb/adb_msg.ts"
    },
    {
      "type": "modify",
      "old_id": "4b636bde56f80ff0edf63a78a01b2878ed1f8445",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/dev.perfetto.RecordTraceV2/adb/webusb/adb_key.ts",
      "new_id": "ad375f7b8a0c2653d8ecb8d37f276e6c34400f15",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/dev.perfetto.RecordTraceV2/adb/webusb/adb_key.ts"
    },
    {
      "type": "modify",
      "old_id": "e1d4a9b65c04e0880b3033441cabb7701fdcfb61",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/dev.perfetto.RecordTraceV2/adb/webusb/adb_webusb_device.ts",
      "new_id": "5ae31a44fb4d974e431879b7934db41a155ddd01",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/dev.perfetto.RecordTraceV2/adb/webusb/adb_webusb_device.ts"
    },
    {
      "type": "modify",
      "old_id": "98be3fe9322d05d813afb1e8ef68b9b30ade156b",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/dev.perfetto.RecordTraceV2/adb/webusb/adb_webusb_stream.ts",
      "new_id": "e6baf55332250804a5317ac96e5ba9c3b29d2db1",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/dev.perfetto.RecordTraceV2/adb/webusb/adb_webusb_stream.ts"
    },
    {
      "type": "modify",
      "old_id": "cae3abf92dd2bbdcf199d9ac9d49958520ef4c26",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/dev.perfetto.RecordTraceV2/chrome/chrome_extension_tracing_session.ts",
      "new_id": "ea1abd7c88e90f9655cfa266d39be3f846a96502",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/dev.perfetto.RecordTraceV2/chrome/chrome_extension_tracing_session.ts"
    },
    {
      "type": "modify",
      "old_id": "3e68c7c2baaa4ab0971221df3b0a4a9da5269faa",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/dev.perfetto.RecordTraceV2/interfaces/tracing_session.ts",
      "new_id": "f89550502368a1d01e93d05c5efc3b0000f2c394",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/dev.perfetto.RecordTraceV2/interfaces/tracing_session.ts"
    },
    {
      "type": "modify",
      "old_id": "995a328c20e83d8b774f14a07fc1b2f71286ff10",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/dev.perfetto.RecordTraceV2/pages/target_selection_page.ts",
      "new_id": "f89a9b4547f6128509c23ea90aa54a8a8521b65a",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/dev.perfetto.RecordTraceV2/pages/target_selection_page.ts"
    },
    {
      "type": "modify",
      "old_id": "b8cfa485a5d3673319c4409c3ed11ee22825f25d",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/dev.perfetto.RecordTraceV2/recording_manager.ts",
      "new_id": "4e19f60490c69de86a2ffa94eb823ff5497856be",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/dev.perfetto.RecordTraceV2/recording_manager.ts"
    },
    {
      "type": "modify",
      "old_id": "04cf5fb29dfe90707b93255b2587b57ca68258b5",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/dev.perfetto.RecordTraceV2/tracing_protocol/consumer_ipc_tracing_session.ts",
      "new_id": "ee63f54cd9a0b8caf57a697fd45d1e63526e7fce",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/dev.perfetto.RecordTraceV2/tracing_protocol/consumer_ipc_tracing_session.ts"
    },
    {
      "type": "modify",
      "old_id": "fc2d1183dd9480104a01113932d2acf24b78bb2d",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/dev.perfetto.Sched/cpu_slice_by_process_selection_aggregator.ts",
      "new_id": "43ff4359dc20041889c102338268a4878dd97056",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/dev.perfetto.Sched/cpu_slice_by_process_selection_aggregator.ts"
    },
    {
      "type": "modify",
      "old_id": "20e534b7edf5d2d7dbf4cb310ac0785a66e62e31",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/dev.perfetto.Sched/cpu_slice_selection_aggregator.ts",
      "new_id": "15a26836ee1d3a272503265a4ea76cd699e44df9",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/dev.perfetto.Sched/cpu_slice_selection_aggregator.ts"
    },
    {
      "type": "modify",
      "old_id": "78906220273255540cb4855778b390a7bebc122c",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/dev.perfetto.Sched/thread_state_selection_aggregator.ts",
      "new_id": "836bad193ba5778d30f2ae64467b89bdf2abb1c8",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/dev.perfetto.Sched/thread_state_selection_aggregator.ts"
    },
    {
      "type": "modify",
      "old_id": "f140c2f1d9034f1231e4a55ee3b67a77a304cf35",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/dev.perfetto.TraceProcessorTrack/slice_selection_aggregator.ts",
      "new_id": "c7eedd2f66ad4bbc915b07ee86fcc49c5619f8f6",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/dev.perfetto.TraceProcessorTrack/slice_selection_aggregator.ts"
    },
    {
      "type": "modify",
      "old_id": "48b5a9d9b74a13819ea5edb68411710d01c80bdb",
      "old_mode": 33188,
      "old_path": "ui/src/trace_processor/query_result.ts",
      "new_id": "a4fe0c5d9a12f8c2ddded1000bd49451dbd8cd34",
      "new_mode": 33188,
      "new_path": "ui/src/trace_processor/query_result.ts"
    },
    {
      "type": "modify",
      "old_id": "7508d1276b224a4f58bd46c28b430be378efa8c6",
      "old_mode": 33188,
      "old_path": "ui/tsconfig.base.json",
      "new_id": "c8bb91c05c59486740a69b16c33636d5a3cb85c7",
      "new_mode": 33188,
      "new_path": "ui/tsconfig.base.json"
    },
    {
      "type": "modify",
      "old_id": "0c89cd66258fbb0694fa78d3ecb3601faf2df002",
      "old_mode": 33188,
      "old_path": "ui/tsconfig.json",
      "new_id": "449fb05512d546ac6889728b9e454d9f4dd12048",
      "new_mode": 33188,
      "new_path": "ui/tsconfig.json"
    }
  ]
}
