)]}'
{
  "commit": "1a2b61179b14dbe1ecd7d444515d96910b775d60",
  "tree": "3fc96135c0a0fa38ed97f6f7f68906893be2f029",
  "parents": [
    "94f896d15d71d35d3dea7beac372cf88eb3bf3a6"
  ],
  "author": {
    "name": "alexeagle",
    "email": "alexeagle@google.com",
    "time": "Fri Aug 09 17:09:30 2019 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Fri Aug 09 17:09:54 2019 -0700"
  },
  "message": "Name AMD module `foo` rather than `foo/module_root/index`\n\nWe already had logic to name it foo rather than foo/index, introduced in https://github.com/bazelbuild/rules_typescript/commit/c7b6880767eaae44d8777a7a1b137de92b8fd4d9\n\nIf the module_root is specified as a directory on the ts_library, it means that the index file is in that subdirectory of the package. We already handled this case correctly in type-checking, but at runtime the module identifiers don\u0027t match so the require(\u0027foo/module_root/index\u0027) fails.\n\nFixes bazelbuild/rules_nodejs#973\n\nPiperOrigin-RevId: 262663195\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9008a087e82521564f24c378561ba678db00d2d5",
      "old_mode": 33188,
      "old_path": "internal/tsc_wrapped/compiler_host.ts",
      "new_id": "9cae0182436313ee13a785fc2c878f908e2a0bcd",
      "new_mode": 33188,
      "new_path": "internal/tsc_wrapped/compiler_host.ts"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "eaa0ac4a2719eedb080581982ca8b112e93837ee",
      "new_mode": 33188,
      "new_path": "internal/tsc_wrapped/compiler_host_test.ts"
    }
  ]
}
