anchor.diff:    var completer = new Completer<String>();
     promptPassword().then((pw) {
       var client = new HttpClient();
  -
  -    client.addCredentials(Uri.parse("https://api.github.com/authorizations"), "realm", new HttpClientBasicCredentials(gituser, pw));
  -
  -    Future<HttpClientRequest> connection = client.openUrl("POST", Uri.parse("https://api.github.com/authorizations"));
  +    var githubAuthorizationUri = Uri.parse("https://api.github.com/authorizations");
  +
  +    client.addCredentials(githubAuthorizationUri, "realm", new HttpClientBasicCredentials(gituser, pw));
  +
  +    Future<HttpClientRequest> connection = client.openUrl("POST", githubAuthorizationUri);
       
       connection
         .then((request){
  -        var data = JSON.stringify({"scopes":["repo"],"note":"API Client Generator"});
  +        var data = JSON.stringify({"scopes": ["repo"], "note": "API Client Generator"});
           request.headers.set(HttpHeaders.CONTENT_TYPE, "application/json");
           request.headers.set(HttpHeaders.CONTENT_LENGTH, "${data.length}");
           
  
positive.code:   Process.start("pub", arguments, options)
    ..then((p) {
      StringBuffer stderrBuffer = new StringBuffer();
      
      // @damondouglas replacing 298 p.stderr.onData:
      p.stderr.listen((data){
        
        // @damondouglas replacing 299 var s = new String.fromCharCodes(p.stderr.read()):
        var s = new String.fromCharCodes(data);
        
        // @damondouglas replacing 300 stderrBuffer.add(s):
        stderrBuffer.write(s);
        
        if (pubVerbose) {
          print(s);
        }
        
      });
      
      StringBuffer stdoutBuffer = new StringBuffer();
      
      // @damondouglas replacing 307 p.stdout.onData:
      p.stdout.listen((data){
        
        // @damondouglas replacing 308 var s = new String.fromCharCodes(p.stdout.read()):
        var s = new String.fromCharCodes(data);
        
        stdoutBuffer.write(s);
        
        if (pubVerbose) {
  
negative.code:       }
        
        if (stdoutBuffer.toString().contains(r"Are you ready to upload your package")) {
          p.stdin.write('y\n');
          
        } else if (stdoutBuffer.toString().contains(r"warnings. Upload anyway")) {
          p.stdin.write('y\n');
        }
        
      });
      
      p.exitCode.then((code){
        if (pubVerbose) {
          print("onExit: pub publish");
  