)]}'
{
  "commit": "d278def486af63c43686408f190c6faf82fd0439",
  "tree": "ceec99ce8beeca32cbfbe39c1c16a99dd383f7aa",
  "parents": [
    "3c83ba0887fb64424d3336338da393e4f0eecbf4"
  ],
  "author": {
    "name": "mnito",
    "email": "mpnitowski@gmail.com",
    "time": "Sat Apr 09 17:28:40 2022 -0400"
  },
  "committer": {
    "name": "mnito",
    "email": "mpnitowski@gmail.com",
    "time": "Sat Apr 09 17:48:38 2022 -0400"
  },
  "message": "Enable including libraries with a preamble via the HTML script tag\n\nMutating the self variable with Object.create on the window global\nmakes objects included on js.context within Dart unavailable in the\nbrowser environment. Fix this issue by only preventing encapsulation\nvia Object.create when necessary and not in the browser.\n\nAdditionally, browsers tend to not have CommonJS globals available. To\nprevent ReferenceErrors when running in the browser, check if these\nglobals are available before setting them on self.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fdae6bbf5754b167e4625f96158e884e631ef769",
      "old_mode": 33188,
      "old_path": "lib/preamble.dart",
      "new_id": "f3c45c14903cdd68d16f365fef8356593a4d71fd",
      "new_mode": 33188,
      "new_path": "lib/preamble.dart"
    },
    {
      "type": "modify",
      "old_id": "f55d60d29ffac0bbfb26f9f55c5f4e407848e303",
      "old_mode": 33188,
      "old_path": "lib/preamble.js",
      "new_id": "fe8431d21cf18200f20d20dadf5abb316b291e9a",
      "new_mode": 33188,
      "new_path": "lib/preamble.js"
    },
    {
      "type": "modify",
      "old_id": "c6677e1b6fcf6de6850bf63fdd0049b390fa293b",
      "old_mode": 33188,
      "old_path": "lib/preamble.min.js",
      "new_id": "d0835a379f66c6af2c07426b6f270cdf6466b839",
      "new_mode": 33188,
      "new_path": "lib/preamble.min.js"
    }
  ]
}
