)]}' { "commit": "84d76a431953f7da4f70abf237fc80b9eee9ad0a", "tree": "ee324d19438bc95830e6ddb9dc45d5a3de0198bb", "parents": [ "f03ff4fe8892fe6592446a7c8d8e2f19ac4b137f" ], "author": { "name": "Nate Bosch", "email": "nbosch1@gmail.com", "time": "Fri Feb 22 10:27:31 2019 -0800" }, "committer": { "name": "GitHub", "email": "noreply@github.com", "time": "Fri Feb 22 10:27:31 2019 -0800" }, "message": "Use conditional imports for `dart:isolate` (#21)\n\nThis is specified as not existing on the web platforms, although in\r\npractice it can be imported an at least one API works on DDC but not\r\ndart2js. Since this may become more strict, use conditional imports with\r\nan explicitly non-working fallback when `dart:isolate` is not available.\r\n\r\n- Make `CurrentIsolateResolver` private and add a top level method\r\n instead since it is easier to stub.\r\n- Rename `util_stub.dart` to `util_io_sub.dart` to avoid confusion\r\n against the new `util_isolate_stub.dart`.", "tree_diff": [ { "type": "modify", "old_id": "2707d2044ff4ae286567fb1dca529a7f1713e654", "old_mode": 33188, "old_path": "CHANGELOG.md", "new_id": "c3dd17991fcce3054b2a3d227589dd997cb3e192", "new_mode": 33188, "new_path": "CHANGELOG.md" }, { "type": "modify", "old_id": "22d9fbfa84fdb334e79ef4881a5f6226fd1171ea", "old_mode": 33188, "old_path": "lib/src/current_isolate_resolver.dart", "new_id": "63bf71674821021b6a655d3814414ba986c7569c", "new_mode": 33188, "new_path": "lib/src/current_isolate_resolver.dart" }, { "type": "add", "old_id": "0000000000000000000000000000000000000000", "old_mode": 0, "old_path": "/dev/null", "new_id": "110701dd01dc837df65a957027119996b827293e", "new_mode": 33188, "new_path": "lib/src/current_isolate_resolver_stub.dart" }, { "type": "modify", "old_id": "c72fc9de0d6dcd8a8b12dc850be8969cc835f492", "old_mode": 33188, "old_path": "lib/src/package_resolver.dart", "new_id": "35097a2d58e290829bd0ea3dc44f2c62d995bf00", "new_mode": 33188, "new_path": "lib/src/package_resolver.dart" }, { "type": "modify", "old_id": "5e4b411178ff38b8174c85cd44cb03fb960e63d3", "old_mode": 33188, "old_path": "lib/src/utils.dart", "new_id": "2becf228518d4881c8f03f1cc8feaeeefc9875e2", "new_mode": 33188, "new_path": "lib/src/utils.dart" }, { "type": "add", "old_id": "0000000000000000000000000000000000000000", "old_mode": 0, "old_path": "/dev/null", "new_id": "cefa0976fa756ea960c13ee2f165f3c706e3a2bd", "new_mode": 33188, "new_path": "lib/src/utils_io_stub.dart" }, { "type": "add", "old_id": "0000000000000000000000000000000000000000", "old_mode": 0, "old_path": "/dev/null", "new_id": "a58c4db76c0f7900568c0e51860611722a6671f0", "new_mode": 33188, "new_path": "lib/src/utils_isolate.dart" }, { "type": "add", "old_id": "0000000000000000000000000000000000000000", "old_mode": 0, "old_path": "/dev/null", "new_id": "4639b97a48dea5e70f6125ca7059457770c465e7", "new_mode": 33188, "new_path": "lib/src/utils_isolate_stub.dart" }, { "type": "modify", "old_id": "35d42c60a81c7913468e5826883c20fc5c716f12", "old_mode": 33188, "old_path": "pubspec.yaml", "new_id": "ebf36e70ccf81480fa5b24eb1dcedcd767e4a280", "new_mode": 33188, "new_path": "pubspec.yaml" } ] }