{"action":"closed","number":78,"pull_request":{"url":"https://api.github.com/repos/kpdecker/jsdiff/pulls/78","id":46240488,"html_url":"https://github.com/kpdecker/jsdiff/pull/78","diff_url":"https://github.com/kpdecker/jsdiff/pull/78.diff","patch_url":"https://github.com/kpdecker/jsdiff/pull/78.patch","issue_url":"https://api.github.com/repos/kpdecker/jsdiff/issues/78","number":78,"state":"closed","locked":false,"title":"fix: error throwing when apply patch to empty string","user":{"login":"21paradox","id":6622122,"avatar_url":"https://avatars.githubusercontent.com/u/6622122?v=3","gravatar_id":"","url":"https://api.github.com/users/21paradox","html_url":"https://github.com/21paradox","followers_url":"https://api.github.com/users/21paradox/followers","following_url":"https://api.github.com/users/21paradox/following{/other_user}","gists_url":"https://api.github.com/users/21paradox/gists{/gist_id}","starred_url":"https://api.github.com/users/21paradox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/21paradox/subscriptions","organizations_url":"https://api.github.com/users/21paradox/orgs","repos_url":"https://api.github.com/users/21paradox/repos","events_url":"https://api.github.com/users/21paradox/events{/privacy}","received_events_url":"https://api.github.com/users/21paradox/received_events","type":"User","site_admin":false},"body":"This is related to issue https://github.com/kpdecker/jsdiff/issues/77\r\n\r\nif previsousOperation doesn't exists, just continue.\r\n\r\nalso add two more test about this.","created_at":"2015-09-29T06:24:47Z","updated_at":"2015-09-30T05:11:48Z","closed_at":"2015-09-30T05:11:48Z","merged_at":"2015-09-30T05:11:48Z","merge_commit_sha":"5e7332f8c464f56b4ab31666363c563bd0b60ea5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kpdecker/jsdiff/pulls/78/commits","review_comments_url":"https://api.github.com/repos/kpdecker/jsdiff/pulls/78/comments","review_comment_url":"https://api.github.com/repos/kpdecker/jsdiff/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kpdecker/jsdiff/issues/78/comments","statuses_url":"https://api.github.com/repos/kpdecker/jsdiff/statuses/35a761db482a154f8a0ccbcb8535a59b523453cd","head":{"label":"21paradox:master","ref":"master","sha":"35a761db482a154f8a0ccbcb8535a59b523453cd","user":{"login":"21paradox","id":6622122,"avatar_url":"https://avatars.githubusercontent.com/u/6622122?v=3","gravatar_id":"","url":"https://api.github.com/users/21paradox","html_url":"https://github.com/21paradox","followers_url":"https://api.github.com/users/21paradox/followers","following_url":"https://api.github.com/users/21paradox/following{/other_user}","gists_url":"https://api.github.com/users/21paradox/gists{/gist_id}","starred_url":"https://api.github.com/users/21paradox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/21paradox/subscriptions","organizations_url":"https://api.github.com/users/21paradox/orgs","repos_url":"https://api.github.com/users/21paradox/repos","events_url":"https://api.github.com/users/21paradox/events{/privacy}","received_events_url":"https://api.github.com/users/21paradox/received_events","type":"User","site_admin":false},"repo":{"id":43344089,"name":"jsdiff","full_name":"21paradox/jsdiff","owner":{"login":"21paradox","id":6622122,"avatar_url":"https://avatars.githubusercontent.com/u/6622122?v=3","gravatar_id":"","url":"https://api.github.com/users/21paradox","html_url":"https://github.com/21paradox","followers_url":"https://api.github.com/users/21paradox/followers","following_url":"https://api.github.com/users/21paradox/following{/other_user}","gists_url":"https://api.github.com/users/21paradox/gists{/gist_id}","starred_url":"https://api.github.com/users/21paradox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/21paradox/subscriptions","organizations_url":"https://api.github.com/users/21paradox/orgs","repos_url":"https://api.github.com/users/21paradox/repos","events_url":"https://api.github.com/users/21paradox/events{/privacy}","received_events_url":"https://api.github.com/users/21paradox/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/21paradox/jsdiff","description":"A javascript text differencing implementation.","fork":true,"url":"https://api.github.com/repos/21paradox/jsdiff","forks_url":"https://api.github.com/repos/21paradox/jsdiff/forks","keys_url":"https://api.github.com/repos/21paradox/jsdiff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/21paradox/jsdiff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/21paradox/jsdiff/teams","hooks_url":"https://api.github.com/repos/21paradox/jsdiff/hooks","issue_events_url":"https://api.github.com/repos/21paradox/jsdiff/issues/events{/number}","events_url":"https://api.github.com/repos/21paradox/jsdiff/events","assignees_url":"https://api.github.com/repos/21paradox/jsdiff/assignees{/user}","branches_url":"https://api.github.com/repos/21paradox/jsdiff/branches{/branch}","tags_url":"https://api.github.com/repos/21paradox/jsdiff/tags","blobs_url":"https://api.github.com/repos/21paradox/jsdiff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/21paradox/jsdiff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/21paradox/jsdiff/git/refs{/sha}","trees_url":"https://api.github.com/repos/21paradox/jsdiff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/21paradox/jsdiff/statuses/{sha}","languages_url":"https://api.github.com/repos/21paradox/jsdiff/languages","stargazers_url":"https://api.github.com/repos/21paradox/jsdiff/stargazers","contributors_url":"https://api.github.com/repos/21paradox/jsdiff/contributors","subscribers_url":"https://api.github.com/repos/21paradox/jsdiff/subscribers","subscription_url":"https://api.github.com/repos/21paradox/jsdiff/subscription","commits_url":"https://api.github.com/repos/21paradox/jsdiff/commits{/sha}","git_commits_url":"https://api.github.com/repos/21paradox/jsdiff/git/commits{/sha}","comments_url":"https://api.github.com/repos/21paradox/jsdiff/comments{/number}","issue_comment_url":"https://api.github.com/repos/21paradox/jsdiff/issues/comments{/number}","contents_url":"https://api.github.com/repos/21paradox/jsdiff/contents/{+path}","compare_url":"https://api.github.com/repos/21paradox/jsdiff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/21paradox/jsdiff/merges","archive_url":"https://api.github.com/repos/21paradox/jsdiff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/21paradox/jsdiff/downloads","issues_url":"https://api.github.com/repos/21paradox/jsdiff/issues{/number}","pulls_url":"https://api.github.com/repos/21paradox/jsdiff/pulls{/number}","milestones_url":"https://api.github.com/repos/21paradox/jsdiff/milestones{/number}","notifications_url":"https://api.github.com/repos/21paradox/jsdiff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/21paradox/jsdiff/labels{/name}","releases_url":"https://api.github.com/repos/21paradox/jsdiff/releases{/id}","created_at":"2015-09-29T04:08:07Z","updated_at":"2015-09-29T04:08:09Z","pushed_at":"2015-09-29T06:21:52Z","git_url":"git://github.com/21paradox/jsdiff.git","ssh_url":"git@github.com:21paradox/jsdiff.git","clone_url":"https://github.com/21paradox/jsdiff.git","svn_url":"https://github.com/21paradox/jsdiff","homepage":"","size":702,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kpdecker:master","ref":"master","sha":"f1caf8724e81fb063836feb989af13724ffbc11d","user":{"login":"kpdecker","id":196390,"avatar_url":"https://avatars.githubusercontent.com/u/196390?v=3","gravatar_id":"","url":"https://api.github.com/users/kpdecker","html_url":"https://github.com/kpdecker","followers_url":"https://api.github.com/users/kpdecker/followers","following_url":"https://api.github.com/users/kpdecker/following{/other_user}","gists_url":"https://api.github.com/users/kpdecker/gists{/gist_id}","starred_url":"https://api.github.com/users/kpdecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpdecker/subscriptions","organizations_url":"https://api.github.com/users/kpdecker/orgs","repos_url":"https://api.github.com/users/kpdecker/repos","events_url":"https://api.github.com/users/kpdecker/events{/privacy}","received_events_url":"https://api.github.com/users/kpdecker/received_events","type":"User","site_admin":false},"repo":{"id":1542219,"name":"jsdiff","full_name":"kpdecker/jsdiff","owner":{"login":"kpdecker","id":196390,"avatar_url":"https://avatars.githubusercontent.com/u/196390?v=3","gravatar_id":"","url":"https://api.github.com/users/kpdecker","html_url":"https://github.com/kpdecker","followers_url":"https://api.github.com/users/kpdecker/followers","following_url":"https://api.github.com/users/kpdecker/following{/other_user}","gists_url":"https://api.github.com/users/kpdecker/gists{/gist_id}","starred_url":"https://api.github.com/users/kpdecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpdecker/subscriptions","organizations_url":"https://api.github.com/users/kpdecker/orgs","repos_url":"https://api.github.com/users/kpdecker/repos","events_url":"https://api.github.com/users/kpdecker/events{/privacy}","received_events_url":"https://api.github.com/users/kpdecker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kpdecker/jsdiff","description":"A javascript text differencing implementation.","fork":false,"url":"https://api.github.com/repos/kpdecker/jsdiff","forks_url":"https://api.github.com/repos/kpdecker/jsdiff/forks","keys_url":"https://api.github.com/repos/kpdecker/jsdiff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kpdecker/jsdiff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kpdecker/jsdiff/teams","hooks_url":"https://api.github.com/repos/kpdecker/jsdiff/hooks","issue_events_url":"https://api.github.com/repos/kpdecker/jsdiff/issues/events{/number}","events_url":"https://api.github.com/repos/kpdecker/jsdiff/events","assignees_url":"https://api.github.com/repos/kpdecker/jsdiff/assignees{/user}","branches_url":"https://api.github.com/repos/kpdecker/jsdiff/branches{/branch}","tags_url":"https://api.github.com/repos/kpdecker/jsdiff/tags","blobs_url":"https://api.github.com/repos/kpdecker/jsdiff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kpdecker/jsdiff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kpdecker/jsdiff/git/refs{/sha}","trees_url":"https://api.github.com/repos/kpdecker/jsdiff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kpdecker/jsdiff/statuses/{sha}","languages_url":"https://api.github.com/repos/kpdecker/jsdiff/languages","stargazers_url":"https://api.github.com/repos/kpdecker/jsdiff/stargazers","contributors_url":"https://api.github.com/repos/kpdecker/jsdiff/contributors","subscribers_url":"https://api.github.com/repos/kpdecker/jsdiff/subscribers","subscription_url":"https://api.github.com/repos/kpdecker/jsdiff/subscription","commits_url":"https://api.github.com/repos/kpdecker/jsdiff/commits{/sha}","git_commits_url":"https://api.github.com/repos/kpdecker/jsdiff/git/commits{/sha}","comments_url":"https://api.github.com/repos/kpdecker/jsdiff/comments{/number}","issue_comment_url":"https://api.github.com/repos/kpdecker/jsdiff/issues/comments{/number}","contents_url":"https://api.github.com/repos/kpdecker/jsdiff/contents/{+path}","compare_url":"https://api.github.com/repos/kpdecker/jsdiff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kpdecker/jsdiff/merges","archive_url":"https://api.github.com/repos/kpdecker/jsdiff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kpdecker/jsdiff/downloads","issues_url":"https://api.github.com/repos/kpdecker/jsdiff/issues{/number}","pulls_url":"https://api.github.com/repos/kpdecker/jsdiff/pulls{/number}","milestones_url":"https://api.github.com/repos/kpdecker/jsdiff/milestones{/number}","notifications_url":"https://api.github.com/repos/kpdecker/jsdiff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kpdecker/jsdiff/labels{/name}","releases_url":"https://api.github.com/repos/kpdecker/jsdiff/releases{/id}","created_at":"2011-03-29T16:25:28Z","updated_at":"2015-09-28T23:14:53Z","pushed_at":"2015-09-30T05:11:48Z","git_url":"git://github.com/kpdecker/jsdiff.git","ssh_url":"git@github.com:kpdecker/jsdiff.git","clone_url":"https://github.com/kpdecker/jsdiff.git","svn_url":"https://github.com/kpdecker/jsdiff","homepage":"","size":702,"stargazers_count":987,"watchers_count":987,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":70,"mirror_url":null,"open_issues_count":3,"forks":70,"open_issues":3,"watchers":987,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kpdecker/jsdiff/pulls/78"},"html":{"href":"https://github.com/kpdecker/jsdiff/pull/78"},"issue":{"href":"https://api.github.com/repos/kpdecker/jsdiff/issues/78"},"comments":{"href":"https://api.github.com/repos/kpdecker/jsdiff/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/kpdecker/jsdiff/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/kpdecker/jsdiff/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kpdecker/jsdiff/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/kpdecker/jsdiff/statuses/35a761db482a154f8a0ccbcb8535a59b523453cd"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"kpdecker","id":196390,"avatar_url":"https://avatars.githubusercontent.com/u/196390?v=3","gravatar_id":"","url":"https://api.github.com/users/kpdecker","html_url":"https://github.com/kpdecker","followers_url":"https://api.github.com/users/kpdecker/followers","following_url":"https://api.github.com/users/kpdecker/following{/other_user}","gists_url":"https://api.github.com/users/kpdecker/gists{/gist_id}","starred_url":"https://api.github.com/users/kpdecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpdecker/subscriptions","organizations_url":"https://api.github.com/users/kpdecker/orgs","repos_url":"https://api.github.com/users/kpdecker/repos","events_url":"https://api.github.com/users/kpdecker/events{/privacy}","received_events_url":"https://api.github.com/users/kpdecker/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":18,"deletions":1,"changed_files":2}}