{"action":"created","comment":{"url":"https://api.github.com/repos/reddit/reddit-mobile/pulls/comments/52393289","id":52393289,"diff_hunk":"@@ -18,7 +18,15 @@\n     \"node\": \">= 4.1.0\"\n   },\n   \"dependencies\": {\n-    \"babel\": \"5.8.34\",\n+    \"babel\": \"^6.5.1\",","path":"package.json","position":5,"original_position":5,"commit_id":"9a246a143816470b60b210dda46b37363a73127a","original_commit_id":"9a246a143816470b60b210dda46b37363a73127a","user":{"login":"ajacksified","id":175515,"avatar_url":"https://avatars.githubusercontent.com/u/175515?v=3","gravatar_id":"","url":"https://api.github.com/users/ajacksified","html_url":"https://github.com/ajacksified","followers_url":"https://api.github.com/users/ajacksified/followers","following_url":"https://api.github.com/users/ajacksified/following{/other_user}","gists_url":"https://api.github.com/users/ajacksified/gists{/gist_id}","starred_url":"https://api.github.com/users/ajacksified/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajacksified/subscriptions","organizations_url":"https://api.github.com/users/ajacksified/orgs","repos_url":"https://api.github.com/users/ajacksified/repos","events_url":"https://api.github.com/users/ajacksified/events{/privacy}","received_events_url":"https://api.github.com/users/ajacksified/received_events","type":"User","site_admin":false},"body":"kill all the `^`s, this has burned us several times :(","created_at":"2016-02-09T23:35:24Z","updated_at":"2016-02-09T23:35:24Z","html_url":"https://github.com/reddit/reddit-mobile/pull/484#discussion_r52393289","pull_request_url":"https://api.github.com/repos/reddit/reddit-mobile/pulls/484","_links":{"self":{"href":"https://api.github.com/repos/reddit/reddit-mobile/pulls/comments/52393289"},"html":{"href":"https://github.com/reddit/reddit-mobile/pull/484#discussion_r52393289"},"pull_request":{"href":"https://api.github.com/repos/reddit/reddit-mobile/pulls/484"}}},"pull_request":{"url":"https://api.github.com/repos/reddit/reddit-mobile/pulls/484","id":58825124,"html_url":"https://github.com/reddit/reddit-mobile/pull/484","diff_url":"https://github.com/reddit/reddit-mobile/pull/484.diff","patch_url":"https://github.com/reddit/reddit-mobile/pull/484.patch","issue_url":"https://api.github.com/repos/reddit/reddit-mobile/issues/484","number":484,"state":"open","locked":false,"title":"Upgrade from Babel 5 to Babel 6","user":{"login":"nramadas","id":1679892,"avatar_url":"https://avatars.githubusercontent.com/u/1679892?v=3","gravatar_id":"","url":"https://api.github.com/users/nramadas","html_url":"https://github.com/nramadas","followers_url":"https://api.github.com/users/nramadas/followers","following_url":"https://api.github.com/users/nramadas/following{/other_user}","gists_url":"https://api.github.com/users/nramadas/gists{/gist_id}","starred_url":"https://api.github.com/users/nramadas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nramadas/subscriptions","organizations_url":"https://api.github.com/users/nramadas/orgs","repos_url":"https://api.github.com/users/nramadas/repos","events_url":"https://api.github.com/users/nramadas/events{/privacy}","received_events_url":"https://api.github.com/users/nramadas/received_events","type":"User","site_admin":false},"body":"Upgrades our babel from 5 to 6.\r\n\r\nThis is a WIP. Cannot ship until:\r\n1) fix two lines in `snoode` w/r/t static properties\r\n2) figure out how to include the optimizations we had before `['optimisation.react.inlineElements', 'optimisation.react.constantElements']`\r\n\r\nA few things to keep in mind:\r\n1) Babel 6 requires that we include specific rule sets for what we want transpiled, hence all the extra node modules. We define which ones are applicable in a `.babelrc` file.\r\n2) Babel 5 had a 'compatibility-mode' of sorts with `require` statements where if a file would `export default`, a normal `require` would behave as expected. Babel 6 removes this functionality. So, now anything that is exported with `export default` has to be required with `require(<thing>).default`.\r\n3) Babel 5 would auto-include the polyfill (I think). Babel 6 does not, so we need to explicitly include it in various places.","created_at":"2016-02-09T23:19:01Z","updated_at":"2016-02-09T23:35:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ace18787f4b750ddfd75331932b895ce29bdc474","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/reddit/reddit-mobile/pulls/484/commits","review_comments_url":"https://api.github.com/repos/reddit/reddit-mobile/pulls/484/comments","review_comment_url":"https://api.github.com/repos/reddit/reddit-mobile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/reddit/reddit-mobile/issues/484/comments","statuses_url":"https://api.github.com/repos/reddit/reddit-mobile/statuses/9a246a143816470b60b210dda46b37363a73127a","head":{"label":"nramadas:babel6","ref":"babel6","sha":"9a246a143816470b60b210dda46b37363a73127a","user":{"login":"nramadas","id":1679892,"avatar_url":"https://avatars.githubusercontent.com/u/1679892?v=3","gravatar_id":"","url":"https://api.github.com/users/nramadas","html_url":"https://github.com/nramadas","followers_url":"https://api.github.com/users/nramadas/followers","following_url":"https://api.github.com/users/nramadas/following{/other_user}","gists_url":"https://api.github.com/users/nramadas/gists{/gist_id}","starred_url":"https://api.github.com/users/nramadas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nramadas/subscriptions","organizations_url":"https://api.github.com/users/nramadas/orgs","repos_url":"https://api.github.com/users/nramadas/repos","events_url":"https://api.github.com/users/nramadas/events{/privacy}","received_events_url":"https://api.github.com/users/nramadas/received_events","type":"User","site_admin":false},"repo":{"id":49025435,"name":"reddit-mobile","full_name":"nramadas/reddit-mobile","owner":{"login":"nramadas","id":1679892,"avatar_url":"https://avatars.githubusercontent.com/u/1679892?v=3","gravatar_id":"","url":"https://api.github.com/users/nramadas","html_url":"https://github.com/nramadas","followers_url":"https://api.github.com/users/nramadas/followers","following_url":"https://api.github.com/users/nramadas/following{/other_user}","gists_url":"https://api.github.com/users/nramadas/gists{/gist_id}","starred_url":"https://api.github.com/users/nramadas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nramadas/subscriptions","organizations_url":"https://api.github.com/users/nramadas/orgs","repos_url":"https://api.github.com/users/nramadas/repos","events_url":"https://api.github.com/users/nramadas/events{/privacy}","received_events_url":"https://api.github.com/users/nramadas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nramadas/reddit-mobile","description":"","fork":true,"url":"https://api.github.com/repos/nramadas/reddit-mobile","forks_url":"https://api.github.com/repos/nramadas/reddit-mobile/forks","keys_url":"https://api.github.com/repos/nramadas/reddit-mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nramadas/reddit-mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nramadas/reddit-mobile/teams","hooks_url":"https://api.github.com/repos/nramadas/reddit-mobile/hooks","issue_events_url":"https://api.github.com/repos/nramadas/reddit-mobile/issues/events{/number}","events_url":"https://api.github.com/repos/nramadas/reddit-mobile/events","assignees_url":"https://api.github.com/repos/nramadas/reddit-mobile/assignees{/user}","branches_url":"https://api.github.com/repos/nramadas/reddit-mobile/branches{/branch}","tags_url":"https://api.github.com/repos/nramadas/reddit-mobile/tags","blobs_url":"https://api.github.com/repos/nramadas/reddit-mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nramadas/reddit-mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nramadas/reddit-mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/nramadas/reddit-mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nramadas/reddit-mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/nramadas/reddit-mobile/languages","stargazers_url":"https://api.github.com/repos/nramadas/reddit-mobile/stargazers","contributors_url":"https://api.github.com/repos/nramadas/reddit-mobile/contributors","subscribers_url":"https://api.github.com/repos/nramadas/reddit-mobile/subscribers","subscription_url":"https://api.github.com/repos/nramadas/reddit-mobile/subscription","commits_url":"https://api.github.com/repos/nramadas/reddit-mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/nramadas/reddit-mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/nramadas/reddit-mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/nramadas/reddit-mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/nramadas/reddit-mobile/contents/{+path}","compare_url":"https://api.github.com/repos/nramadas/reddit-mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nramadas/reddit-mobile/merges","archive_url":"https://api.github.com/repos/nramadas/reddit-mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nramadas/reddit-mobile/downloads","issues_url":"https://api.github.com/repos/nramadas/reddit-mobile/issues{/number}","pulls_url":"https://api.github.com/repos/nramadas/reddit-mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/nramadas/reddit-mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/nramadas/reddit-mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nramadas/reddit-mobile/labels{/name}","releases_url":"https://api.github.com/repos/nramadas/reddit-mobile/releases{/id}","deployments_url":"https://api.github.com/repos/nramadas/reddit-mobile/deployments","created_at":"2016-01-04T21:52:12Z","updated_at":"2016-02-01T19:07:44Z","pushed_at":"2016-02-09T23:25:27Z","git_url":"git://github.com/nramadas/reddit-mobile.git","ssh_url":"git@github.com:nramadas/reddit-mobile.git","clone_url":"https://github.com/nramadas/reddit-mobile.git","svn_url":"https://github.com/nramadas/reddit-mobile","homepage":null,"size":3020,"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":"reddit:master","ref":"master","sha":"df0eb51bb205c0b9b1a00c528f808c74e7d7bd0f","user":{"login":"reddit","id":14248,"avatar_url":"https://avatars.githubusercontent.com/u/14248?v=3","gravatar_id":"","url":"https://api.github.com/users/reddit","html_url":"https://github.com/reddit","followers_url":"https://api.github.com/users/reddit/followers","following_url":"https://api.github.com/users/reddit/following{/other_user}","gists_url":"https://api.github.com/users/reddit/gists{/gist_id}","starred_url":"https://api.github.com/users/reddit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reddit/subscriptions","organizations_url":"https://api.github.com/users/reddit/orgs","repos_url":"https://api.github.com/users/reddit/repos","events_url":"https://api.github.com/users/reddit/events{/privacy}","received_events_url":"https://api.github.com/users/reddit/received_events","type":"Organization","site_admin":false},"repo":{"id":23087554,"name":"reddit-mobile","full_name":"reddit/reddit-mobile","owner":{"login":"reddit","id":14248,"avatar_url":"https://avatars.githubusercontent.com/u/14248?v=3","gravatar_id":"","url":"https://api.github.com/users/reddit","html_url":"https://github.com/reddit","followers_url":"https://api.github.com/users/reddit/followers","following_url":"https://api.github.com/users/reddit/following{/other_user}","gists_url":"https://api.github.com/users/reddit/gists{/gist_id}","starred_url":"https://api.github.com/users/reddit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reddit/subscriptions","organizations_url":"https://api.github.com/users/reddit/orgs","repos_url":"https://api.github.com/users/reddit/repos","events_url":"https://api.github.com/users/reddit/events{/privacy}","received_events_url":"https://api.github.com/users/reddit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/reddit/reddit-mobile","description":"","fork":false,"url":"https://api.github.com/repos/reddit/reddit-mobile","forks_url":"https://api.github.com/repos/reddit/reddit-mobile/forks","keys_url":"https://api.github.com/repos/reddit/reddit-mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reddit/reddit-mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reddit/reddit-mobile/teams","hooks_url":"https://api.github.com/repos/reddit/reddit-mobile/hooks","issue_events_url":"https://api.github.com/repos/reddit/reddit-mobile/issues/events{/number}","events_url":"https://api.github.com/repos/reddit/reddit-mobile/events","assignees_url":"https://api.github.com/repos/reddit/reddit-mobile/assignees{/user}","branches_url":"https://api.github.com/repos/reddit/reddit-mobile/branches{/branch}","tags_url":"https://api.github.com/repos/reddit/reddit-mobile/tags","blobs_url":"https://api.github.com/repos/reddit/reddit-mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reddit/reddit-mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reddit/reddit-mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/reddit/reddit-mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reddit/reddit-mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/reddit/reddit-mobile/languages","stargazers_url":"https://api.github.com/repos/reddit/reddit-mobile/stargazers","contributors_url":"https://api.github.com/repos/reddit/reddit-mobile/contributors","subscribers_url":"https://api.github.com/repos/reddit/reddit-mobile/subscribers","subscription_url":"https://api.github.com/repos/reddit/reddit-mobile/subscription","commits_url":"https://api.github.com/repos/reddit/reddit-mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/reddit/reddit-mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/reddit/reddit-mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/reddit/reddit-mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/reddit/reddit-mobile/contents/{+path}","compare_url":"https://api.github.com/repos/reddit/reddit-mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reddit/reddit-mobile/merges","archive_url":"https://api.github.com/repos/reddit/reddit-mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reddit/reddit-mobile/downloads","issues_url":"https://api.github.com/repos/reddit/reddit-mobile/issues{/number}","pulls_url":"https://api.github.com/repos/reddit/reddit-mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/reddit/reddit-mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/reddit/reddit-mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reddit/reddit-mobile/labels{/name}","releases_url":"https://api.github.com/repos/reddit/reddit-mobile/releases{/id}","deployments_url":"https://api.github.com/repos/reddit/reddit-mobile/deployments","created_at":"2014-08-18T21:42:05Z","updated_at":"2016-02-07T08:54:35Z","pushed_at":"2016-02-09T23:25:28Z","git_url":"git://github.com/reddit/reddit-mobile.git","ssh_url":"git@github.com:reddit/reddit-mobile.git","clone_url":"https://github.com/reddit/reddit-mobile.git","svn_url":"https://github.com/reddit/reddit-mobile","homepage":null,"size":6475,"stargazers_count":685,"watchers_count":685,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":103,"mirror_url":null,"open_issues_count":12,"forks":103,"open_issues":12,"watchers":685,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/reddit/reddit-mobile/pulls/484"},"html":{"href":"https://github.com/reddit/reddit-mobile/pull/484"},"issue":{"href":"https://api.github.com/repos/reddit/reddit-mobile/issues/484"},"comments":{"href":"https://api.github.com/repos/reddit/reddit-mobile/issues/484/comments"},"review_comments":{"href":"https://api.github.com/repos/reddit/reddit-mobile/pulls/484/comments"},"review_comment":{"href":"https://api.github.com/repos/reddit/reddit-mobile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/reddit/reddit-mobile/pulls/484/commits"},"statuses":{"href":"https://api.github.com/repos/reddit/reddit-mobile/statuses/9a246a143816470b60b210dda46b37363a73127a"}}}}