)]}'
{
  "commit": "fc5bc14e609116513f5dc458d16225910c74e2be",
  "tree": "1b50ab6656e59d5d4e578df4c3d284db96b53018",
  "parents": [
    "8aa03626e179d03be0636b790dda126dc0ffabf4"
  ],
  "author": {
    "name": "auto-submit[bot]",
    "email": "98614782+auto-submit[bot]@users.noreply.github.com",
    "time": "Mon Jul 01 23:19:48 2024 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Jul 01 23:19:48 2024 +0000"
  },
  "message": "Reverts \"Output .js files as ES6 modules. (#52023)\" (#53674)\n\nReverts: flutter/engine#52023\nInitiated by: eyebrowsoffire\nReason for reverting: Causing issues in engine -\u003e framework roll https://github.com/flutter/flutter/pull/151139\nOriginal PR Author: eyebrowsoffire\n\nReviewed By: {ditman}\n\nThis change reverts the following previous change:\nThis changes CanvasKit and Skwasm to be compiled and loaded as ES6 modules instead of as vanilla script tags. Currently, the emscripten JS files try to register themselves with require.js or AMD module loading systems. We suspect this is causing issues (https://github.com/flutter/flutter/issues/149565) with DDC\u0027s module loading system, which itself uses require.js.\r\n\r\nThis is probably also the fix for https://github.com/flutter/flutter/issues/147731",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "21a61f85249c2a21bad850fac3fb844fb56eb24a",
      "old_mode": 33188,
      "old_path": "DEPS",
      "new_id": "3e8f6e46636f29b12b0381802f93bb3b45c745b6",
      "new_mode": 33188,
      "new_path": "DEPS"
    },
    {
      "type": "modify",
      "old_id": "4c8e91c7bc17520217fcaa6896672280dbb9cd97",
      "old_mode": 33188,
      "old_path": "lib/web_ui/flutter_js/src/canvaskit_loader.js",
      "new_id": "64dc6734ec2738b63435a53b4a4d118bc1ff61e2",
      "new_mode": 33188,
      "new_path": "lib/web_ui/flutter_js/src/canvaskit_loader.js"
    },
    {
      "type": "modify",
      "old_id": "01b4fe3cb23758c310bf0e2e6f71253d4b6d039d",
      "old_mode": 33188,
      "old_path": "lib/web_ui/flutter_js/src/skwasm_loader.js",
      "new_id": "241f4e8c81e0218394df4d9805bb43b8eedb74f4",
      "new_mode": 33188,
      "new_path": "lib/web_ui/flutter_js/src/skwasm_loader.js"
    },
    {
      "type": "modify",
      "old_id": "2e6e8dfc62a6ee34e0a167246915ff005f7043fd",
      "old_mode": 33188,
      "old_path": "lib/web_ui/lib/src/engine/canvaskit/canvaskit_api.dart",
      "new_id": "c41da41b36aacbc39d4ca82ace7c8e5cf023cf65",
      "new_mode": 33188,
      "new_path": "lib/web_ui/lib/src/engine/canvaskit/canvaskit_api.dart"
    },
    {
      "type": "modify",
      "old_id": "14bde5e5def705edc1de1ad0616e3a5b4dfa746a",
      "old_mode": 33188,
      "old_path": "lib/web_ui/lib/src/engine/dom.dart",
      "new_id": "32d100df8f1141ccbb49d0bda44121bbc572055b",
      "new_mode": 33188,
      "new_path": "lib/web_ui/lib/src/engine/dom.dart"
    },
    {
      "type": "modify",
      "old_id": "96e0c8a6d14d5d253b62dd1a96ba8a3076340860",
      "old_mode": 33188,
      "old_path": "lib/web_ui/test/canvaskit/initialization/does_not_mock_module_exports_test.dart",
      "new_id": "b6676f2af4fcf8861792407f53378f9be6317fe9",
      "new_mode": 33188,
      "new_path": "lib/web_ui/test/canvaskit/initialization/does_not_mock_module_exports_test.dart"
    }
  ]
}
