{"action":"closed","number":26,"pull_request":{"url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/pulls/26","id":51827778,"html_url":"https://github.com/demerzel3/karma-sourcemap-loader/pull/26","diff_url":"https://github.com/demerzel3/karma-sourcemap-loader/pull/26.diff","patch_url":"https://github.com/demerzel3/karma-sourcemap-loader/pull/26.patch","issue_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/issues/26","number":26,"state":"closed","locked":false,"title":"Use graceful-fs to avoid `EMFILE: too many open files` errors","user":{"login":"mlaval","id":2316643,"avatar_url":"https://avatars.githubusercontent.com/u/2316643?v=3","gravatar_id":"","url":"https://api.github.com/users/mlaval","html_url":"https://github.com/mlaval","followers_url":"https://api.github.com/users/mlaval/followers","following_url":"https://api.github.com/users/mlaval/following{/other_user}","gists_url":"https://api.github.com/users/mlaval/gists{/gist_id}","starred_url":"https://api.github.com/users/mlaval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlaval/subscriptions","organizations_url":"https://api.github.com/users/mlaval/orgs","repos_url":"https://api.github.com/users/mlaval/repos","events_url":"https://api.github.com/users/mlaval/events{/privacy}","received_events_url":"https://api.github.com/users/mlaval/received_events","type":"User","site_admin":false},"body":"In some cases like this one https://github.com/angular/angular/issues/5471, using karma-sourcemap-loader may lead to file access errors.\r\nSwitching from fs to https://github.com/isaacs/node-graceful-fs solves the issue.","created_at":"2015-11-25T18:03:34Z","updated_at":"2016-01-13T22:19:57Z","closed_at":"2016-01-13T22:19:57Z","merged_at":null,"merge_commit_sha":"5ac5436a98a9f272b238339ad82a7ee7e265901b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/pulls/26/commits","review_comments_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/pulls/26/comments","review_comment_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/pulls/comments{/number}","comments_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/issues/26/comments","statuses_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/statuses/8e4cb9f3dedd1959753d0149591d087535ba3c80","head":{"label":"mlaval:graceful-fs","ref":"graceful-fs","sha":"8e4cb9f3dedd1959753d0149591d087535ba3c80","user":{"login":"mlaval","id":2316643,"avatar_url":"https://avatars.githubusercontent.com/u/2316643?v=3","gravatar_id":"","url":"https://api.github.com/users/mlaval","html_url":"https://github.com/mlaval","followers_url":"https://api.github.com/users/mlaval/followers","following_url":"https://api.github.com/users/mlaval/following{/other_user}","gists_url":"https://api.github.com/users/mlaval/gists{/gist_id}","starred_url":"https://api.github.com/users/mlaval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlaval/subscriptions","organizations_url":"https://api.github.com/users/mlaval/orgs","repos_url":"https://api.github.com/users/mlaval/repos","events_url":"https://api.github.com/users/mlaval/events{/privacy}","received_events_url":"https://api.github.com/users/mlaval/received_events","type":"User","site_admin":false},"repo":{"id":46877721,"name":"karma-sourcemap-loader","full_name":"mlaval/karma-sourcemap-loader","owner":{"login":"mlaval","id":2316643,"avatar_url":"https://avatars.githubusercontent.com/u/2316643?v=3","gravatar_id":"","url":"https://api.github.com/users/mlaval","html_url":"https://github.com/mlaval","followers_url":"https://api.github.com/users/mlaval/followers","following_url":"https://api.github.com/users/mlaval/following{/other_user}","gists_url":"https://api.github.com/users/mlaval/gists{/gist_id}","starred_url":"https://api.github.com/users/mlaval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlaval/subscriptions","organizations_url":"https://api.github.com/users/mlaval/orgs","repos_url":"https://api.github.com/users/mlaval/repos","events_url":"https://api.github.com/users/mlaval/events{/privacy}","received_events_url":"https://api.github.com/users/mlaval/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mlaval/karma-sourcemap-loader","description":"Karma plugin that locates and loads existing javascript source map files.","fork":true,"url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader","forks_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/forks","keys_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/teams","hooks_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/hooks","issue_events_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/issues/events{/number}","events_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/events","assignees_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/assignees{/user}","branches_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/branches{/branch}","tags_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/tags","blobs_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/git/refs{/sha}","trees_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/statuses/{sha}","languages_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/languages","stargazers_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/stargazers","contributors_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/contributors","subscribers_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/subscribers","subscription_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/subscription","commits_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/commits{/sha}","git_commits_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/git/commits{/sha}","comments_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/comments{/number}","issue_comment_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/issues/comments{/number}","contents_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/contents/{+path}","compare_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/merges","archive_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/downloads","issues_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/issues{/number}","pulls_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/pulls{/number}","milestones_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/milestones{/number}","notifications_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/labels{/name}","releases_url":"https://api.github.com/repos/mlaval/karma-sourcemap-loader/releases{/id}","created_at":"2015-11-25T17:53:02Z","updated_at":"2015-11-25T17:53:03Z","pushed_at":"2015-11-25T18:00:08Z","git_url":"git://github.com/mlaval/karma-sourcemap-loader.git","ssh_url":"git@github.com:mlaval/karma-sourcemap-loader.git","clone_url":"https://github.com/mlaval/karma-sourcemap-loader.git","svn_url":"https://github.com/mlaval/karma-sourcemap-loader","homepage":null,"size":16,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"demerzel3:master","ref":"master","sha":"5e91bf0d97a6b3cc886f49e15b43cb16f54a192a","user":{"login":"demerzel3","id":442835,"avatar_url":"https://avatars.githubusercontent.com/u/442835?v=3","gravatar_id":"","url":"https://api.github.com/users/demerzel3","html_url":"https://github.com/demerzel3","followers_url":"https://api.github.com/users/demerzel3/followers","following_url":"https://api.github.com/users/demerzel3/following{/other_user}","gists_url":"https://api.github.com/users/demerzel3/gists{/gist_id}","starred_url":"https://api.github.com/users/demerzel3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demerzel3/subscriptions","organizations_url":"https://api.github.com/users/demerzel3/orgs","repos_url":"https://api.github.com/users/demerzel3/repos","events_url":"https://api.github.com/users/demerzel3/events{/privacy}","received_events_url":"https://api.github.com/users/demerzel3/received_events","type":"User","site_admin":false},"repo":{"id":16962246,"name":"karma-sourcemap-loader","full_name":"demerzel3/karma-sourcemap-loader","owner":{"login":"demerzel3","id":442835,"avatar_url":"https://avatars.githubusercontent.com/u/442835?v=3","gravatar_id":"","url":"https://api.github.com/users/demerzel3","html_url":"https://github.com/demerzel3","followers_url":"https://api.github.com/users/demerzel3/followers","following_url":"https://api.github.com/users/demerzel3/following{/other_user}","gists_url":"https://api.github.com/users/demerzel3/gists{/gist_id}","starred_url":"https://api.github.com/users/demerzel3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demerzel3/subscriptions","organizations_url":"https://api.github.com/users/demerzel3/orgs","repos_url":"https://api.github.com/users/demerzel3/repos","events_url":"https://api.github.com/users/demerzel3/events{/privacy}","received_events_url":"https://api.github.com/users/demerzel3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/demerzel3/karma-sourcemap-loader","description":"Karma plugin that locates and loads existing javascript source map files.","fork":false,"url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader","forks_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/forks","keys_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/teams","hooks_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/hooks","issue_events_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/issues/events{/number}","events_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/events","assignees_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/assignees{/user}","branches_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/branches{/branch}","tags_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/tags","blobs_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/git/refs{/sha}","trees_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/statuses/{sha}","languages_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/languages","stargazers_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/stargazers","contributors_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/contributors","subscribers_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/subscribers","subscription_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/subscription","commits_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/commits{/sha}","git_commits_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/git/commits{/sha}","comments_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/comments{/number}","issue_comment_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/issues/comments{/number}","contents_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/contents/{+path}","compare_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/merges","archive_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/downloads","issues_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/issues{/number}","pulls_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/pulls{/number}","milestones_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/milestones{/number}","notifications_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/labels{/name}","releases_url":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/releases{/id}","created_at":"2014-02-18T20:14:47Z","updated_at":"2016-01-13T22:08:52Z","pushed_at":"2016-01-13T22:13:39Z","git_url":"git://github.com/demerzel3/karma-sourcemap-loader.git","ssh_url":"git@github.com:demerzel3/karma-sourcemap-loader.git","clone_url":"https://github.com/demerzel3/karma-sourcemap-loader.git","svn_url":"https://github.com/demerzel3/karma-sourcemap-loader","homepage":null,"size":23,"stargazers_count":27,"watchers_count":27,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":5,"forks":17,"open_issues":5,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/pulls/26"},"html":{"href":"https://github.com/demerzel3/karma-sourcemap-loader/pull/26"},"issue":{"href":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/issues/26"},"comments":{"href":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/demerzel3/karma-sourcemap-loader/statuses/8e4cb9f3dedd1959753d0149591d087535ba3c80"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":5,"deletions":2,"changed_files":2}}