{"action":"opened","number":86,"pull_request":{"url":"https://api.github.com/repos/evanw/node-source-map-support/pulls/86","id":39133597,"html_url":"https://github.com/evanw/node-source-map-support/pull/86","diff_url":"https://github.com/evanw/node-source-map-support/pull/86.diff","patch_url":"https://github.com/evanw/node-source-map-support/pull/86.patch","issue_url":"https://api.github.com/repos/evanw/node-source-map-support/issues/86","number":86,"state":"open","locked":false,"title":"Fix RangeError on large files","user":{"login":"jscheid","id":3514,"avatar_url":"https://avatars.githubusercontent.com/u/3514?v=3","gravatar_id":"","url":"https://api.github.com/users/jscheid","html_url":"https://github.com/jscheid","followers_url":"https://api.github.com/users/jscheid/followers","following_url":"https://api.github.com/users/jscheid/following{/other_user}","gists_url":"https://api.github.com/users/jscheid/gists{/gist_id}","starred_url":"https://api.github.com/users/jscheid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jscheid/subscriptions","organizations_url":"https://api.github.com/users/jscheid/orgs","repos_url":"https://api.github.com/users/jscheid/repos","events_url":"https://api.github.com/users/jscheid/events{/privacy}","received_events_url":"https://api.github.com/users/jscheid/received_events","type":"User","site_admin":false},"body":"When the source file and/or the source map URL is sufficiently large (think several MB) the regexp search to find the URL can run into this issue: https://code.google.com/p/v8/issues/detail?id=3878\r\n\r\nChange the regexp to look just for the prefix and extract the URL using substring, which scales better.\r\n\r\nThis now doesn't pay attention to single and double quotes anymore, reading the spec there seems to be no need for it. Do you know of quoted source map URLs in the wild?\r\n\r\nFWIW we've run into the RangeError with a large webpack development bundle on Chrome Version 43.0.2357.130 (64-bit).","created_at":"2015-07-02T22:57:23Z","updated_at":"2015-07-02T22:57:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"55185c1c1460fb37550af2acdd0f4244f174586b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/evanw/node-source-map-support/pulls/86/commits","review_comments_url":"https://api.github.com/repos/evanw/node-source-map-support/pulls/86/comments","review_comment_url":"https://api.github.com/repos/evanw/node-source-map-support/pulls/comments{/number}","comments_url":"https://api.github.com/repos/evanw/node-source-map-support/issues/86/comments","statuses_url":"https://api.github.com/repos/evanw/node-source-map-support/statuses/347a36758926f139419fe7391c177bd4d093e8c2","head":{"label":"waysact:waysact/large-file-range-error","ref":"waysact/large-file-range-error","sha":"347a36758926f139419fe7391c177bd4d093e8c2","user":{"login":"waysact","id":990273,"avatar_url":"https://avatars.githubusercontent.com/u/990273?v=3","gravatar_id":"","url":"https://api.github.com/users/waysact","html_url":"https://github.com/waysact","followers_url":"https://api.github.com/users/waysact/followers","following_url":"https://api.github.com/users/waysact/following{/other_user}","gists_url":"https://api.github.com/users/waysact/gists{/gist_id}","starred_url":"https://api.github.com/users/waysact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waysact/subscriptions","organizations_url":"https://api.github.com/users/waysact/orgs","repos_url":"https://api.github.com/users/waysact/repos","events_url":"https://api.github.com/users/waysact/events{/privacy}","received_events_url":"https://api.github.com/users/waysact/received_events","type":"Organization","site_admin":false},"repo":{"id":38459343,"name":"node-source-map-support","full_name":"waysact/node-source-map-support","owner":{"login":"waysact","id":990273,"avatar_url":"https://avatars.githubusercontent.com/u/990273?v=3","gravatar_id":"","url":"https://api.github.com/users/waysact","html_url":"https://github.com/waysact","followers_url":"https://api.github.com/users/waysact/followers","following_url":"https://api.github.com/users/waysact/following{/other_user}","gists_url":"https://api.github.com/users/waysact/gists{/gist_id}","starred_url":"https://api.github.com/users/waysact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waysact/subscriptions","organizations_url":"https://api.github.com/users/waysact/orgs","repos_url":"https://api.github.com/users/waysact/repos","events_url":"https://api.github.com/users/waysact/events{/privacy}","received_events_url":"https://api.github.com/users/waysact/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/waysact/node-source-map-support","description":"Adds source map support to node.js (for stack traces)","fork":true,"url":"https://api.github.com/repos/waysact/node-source-map-support","forks_url":"https://api.github.com/repos/waysact/node-source-map-support/forks","keys_url":"https://api.github.com/repos/waysact/node-source-map-support/keys{/key_id}","collaborators_url":"https://api.github.com/repos/waysact/node-source-map-support/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/waysact/node-source-map-support/teams","hooks_url":"https://api.github.com/repos/waysact/node-source-map-support/hooks","issue_events_url":"https://api.github.com/repos/waysact/node-source-map-support/issues/events{/number}","events_url":"https://api.github.com/repos/waysact/node-source-map-support/events","assignees_url":"https://api.github.com/repos/waysact/node-source-map-support/assignees{/user}","branches_url":"https://api.github.com/repos/waysact/node-source-map-support/branches{/branch}","tags_url":"https://api.github.com/repos/waysact/node-source-map-support/tags","blobs_url":"https://api.github.com/repos/waysact/node-source-map-support/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/waysact/node-source-map-support/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/waysact/node-source-map-support/git/refs{/sha}","trees_url":"https://api.github.com/repos/waysact/node-source-map-support/git/trees{/sha}","statuses_url":"https://api.github.com/repos/waysact/node-source-map-support/statuses/{sha}","languages_url":"https://api.github.com/repos/waysact/node-source-map-support/languages","stargazers_url":"https://api.github.com/repos/waysact/node-source-map-support/stargazers","contributors_url":"https://api.github.com/repos/waysact/node-source-map-support/contributors","subscribers_url":"https://api.github.com/repos/waysact/node-source-map-support/subscribers","subscription_url":"https://api.github.com/repos/waysact/node-source-map-support/subscription","commits_url":"https://api.github.com/repos/waysact/node-source-map-support/commits{/sha}","git_commits_url":"https://api.github.com/repos/waysact/node-source-map-support/git/commits{/sha}","comments_url":"https://api.github.com/repos/waysact/node-source-map-support/comments{/number}","issue_comment_url":"https://api.github.com/repos/waysact/node-source-map-support/issues/comments{/number}","contents_url":"https://api.github.com/repos/waysact/node-source-map-support/contents/{+path}","compare_url":"https://api.github.com/repos/waysact/node-source-map-support/compare/{base}...{head}","merges_url":"https://api.github.com/repos/waysact/node-source-map-support/merges","archive_url":"https://api.github.com/repos/waysact/node-source-map-support/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/waysact/node-source-map-support/downloads","issues_url":"https://api.github.com/repos/waysact/node-source-map-support/issues{/number}","pulls_url":"https://api.github.com/repos/waysact/node-source-map-support/pulls{/number}","milestones_url":"https://api.github.com/repos/waysact/node-source-map-support/milestones{/number}","notifications_url":"https://api.github.com/repos/waysact/node-source-map-support/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/waysact/node-source-map-support/labels{/name}","releases_url":"https://api.github.com/repos/waysact/node-source-map-support/releases{/id}","created_at":"2015-07-02T22:09:31Z","updated_at":"2015-07-02T22:09:32Z","pushed_at":"2015-07-02T22:53:57Z","git_url":"git://github.com/waysact/node-source-map-support.git","ssh_url":"git@github.com:waysact/node-source-map-support.git","clone_url":"https://github.com/waysact/node-source-map-support.git","svn_url":"https://github.com/waysact/node-source-map-support","homepage":null,"size":889,"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":"evanw:master","ref":"master","sha":"61e1237d159d48a7129e745d2bce5f5a3c7eaf16","user":{"login":"evanw","id":406394,"avatar_url":"https://avatars.githubusercontent.com/u/406394?v=3","gravatar_id":"","url":"https://api.github.com/users/evanw","html_url":"https://github.com/evanw","followers_url":"https://api.github.com/users/evanw/followers","following_url":"https://api.github.com/users/evanw/following{/other_user}","gists_url":"https://api.github.com/users/evanw/gists{/gist_id}","starred_url":"https://api.github.com/users/evanw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanw/subscriptions","organizations_url":"https://api.github.com/users/evanw/orgs","repos_url":"https://api.github.com/users/evanw/repos","events_url":"https://api.github.com/users/evanw/events{/privacy}","received_events_url":"https://api.github.com/users/evanw/received_events","type":"User","site_admin":false},"repo":{"id":7682781,"name":"node-source-map-support","full_name":"evanw/node-source-map-support","owner":{"login":"evanw","id":406394,"avatar_url":"https://avatars.githubusercontent.com/u/406394?v=3","gravatar_id":"","url":"https://api.github.com/users/evanw","html_url":"https://github.com/evanw","followers_url":"https://api.github.com/users/evanw/followers","following_url":"https://api.github.com/users/evanw/following{/other_user}","gists_url":"https://api.github.com/users/evanw/gists{/gist_id}","starred_url":"https://api.github.com/users/evanw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanw/subscriptions","organizations_url":"https://api.github.com/users/evanw/orgs","repos_url":"https://api.github.com/users/evanw/repos","events_url":"https://api.github.com/users/evanw/events{/privacy}","received_events_url":"https://api.github.com/users/evanw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/evanw/node-source-map-support","description":"Adds source map support to node.js (for stack traces)","fork":false,"url":"https://api.github.com/repos/evanw/node-source-map-support","forks_url":"https://api.github.com/repos/evanw/node-source-map-support/forks","keys_url":"https://api.github.com/repos/evanw/node-source-map-support/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evanw/node-source-map-support/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evanw/node-source-map-support/teams","hooks_url":"https://api.github.com/repos/evanw/node-source-map-support/hooks","issue_events_url":"https://api.github.com/repos/evanw/node-source-map-support/issues/events{/number}","events_url":"https://api.github.com/repos/evanw/node-source-map-support/events","assignees_url":"https://api.github.com/repos/evanw/node-source-map-support/assignees{/user}","branches_url":"https://api.github.com/repos/evanw/node-source-map-support/branches{/branch}","tags_url":"https://api.github.com/repos/evanw/node-source-map-support/tags","blobs_url":"https://api.github.com/repos/evanw/node-source-map-support/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evanw/node-source-map-support/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evanw/node-source-map-support/git/refs{/sha}","trees_url":"https://api.github.com/repos/evanw/node-source-map-support/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evanw/node-source-map-support/statuses/{sha}","languages_url":"https://api.github.com/repos/evanw/node-source-map-support/languages","stargazers_url":"https://api.github.com/repos/evanw/node-source-map-support/stargazers","contributors_url":"https://api.github.com/repos/evanw/node-source-map-support/contributors","subscribers_url":"https://api.github.com/repos/evanw/node-source-map-support/subscribers","subscription_url":"https://api.github.com/repos/evanw/node-source-map-support/subscription","commits_url":"https://api.github.com/repos/evanw/node-source-map-support/commits{/sha}","git_commits_url":"https://api.github.com/repos/evanw/node-source-map-support/git/commits{/sha}","comments_url":"https://api.github.com/repos/evanw/node-source-map-support/comments{/number}","issue_comment_url":"https://api.github.com/repos/evanw/node-source-map-support/issues/comments{/number}","contents_url":"https://api.github.com/repos/evanw/node-source-map-support/contents/{+path}","compare_url":"https://api.github.com/repos/evanw/node-source-map-support/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evanw/node-source-map-support/merges","archive_url":"https://api.github.com/repos/evanw/node-source-map-support/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evanw/node-source-map-support/downloads","issues_url":"https://api.github.com/repos/evanw/node-source-map-support/issues{/number}","pulls_url":"https://api.github.com/repos/evanw/node-source-map-support/pulls{/number}","milestones_url":"https://api.github.com/repos/evanw/node-source-map-support/milestones{/number}","notifications_url":"https://api.github.com/repos/evanw/node-source-map-support/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evanw/node-source-map-support/labels{/name}","releases_url":"https://api.github.com/repos/evanw/node-source-map-support/releases{/id}","created_at":"2013-01-18T07:59:12Z","updated_at":"2015-07-02T17:24:52Z","pushed_at":"2015-07-02T22:57:24Z","git_url":"git://github.com/evanw/node-source-map-support.git","ssh_url":"git@github.com:evanw/node-source-map-support.git","clone_url":"https://github.com/evanw/node-source-map-support.git","svn_url":"https://github.com/evanw/node-source-map-support","homepage":null,"size":889,"stargazers_count":319,"watchers_count":319,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":14,"forks":48,"open_issues":14,"watchers":319,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/evanw/node-source-map-support/pulls/86"},"html":{"href":"https://github.com/evanw/node-source-map-support/pull/86"},"issue":{"href":"https://api.github.com/repos/evanw/node-source-map-support/issues/86"},"comments":{"href":"https://api.github.com/repos/evanw/node-source-map-support/issues/86/comments"},"review_comments":{"href":"https://api.github.com/repos/evanw/node-source-map-support/pulls/86/comments"},"review_comment":{"href":"https://api.github.com/repos/evanw/node-source-map-support/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/evanw/node-source-map-support/pulls/86/commits"},"statuses":{"href":"https://api.github.com/repos/evanw/node-source-map-support/statuses/347a36758926f139419fe7391c177bd4d093e8c2"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":2,"changed_files":1}}