{"action":"created","comment":{"url":"https://api.github.com/repos/babel/babel-preset-env/pulls/comments/77114270","id":77114270,"diff_hunk":"@@ -0,0 +1,131 @@\n+export default {\n+  // es2015\n+  \"transform-es2015-arrow-functions\": {\n+    edge: 13,\n+    firefox: 45,\n+    chrome: 49,\n+    opera: 36,\n+  },\n+  \"transform-es2015-block-scoped-functions\": {\n+    edge: 11,\n+    firefox: 46,\n+    chrome: 41,\n+    opera: 28,\n+  },\n+  \"transform-es2015-block-scoping\": {\n+    edge: 11,\n+    firefox: 36,\n+    chrome: 49,\n+    opera: 36,\n+  },\n+  \"transform-es2015-classes\": {\n+    edge: 13,\n+    firefox: 45,\n+    chrome: 49,\n+    opera: 36,\n+  },\n+  \"transform-es2015-computed-properties\": {\n+    edge: 12,\n+    firefox: 34,\n+    chrome: 44,\n+    opera: 31\n+  },\n+  \"check-es2015-constants\": {\n+    edge: 11,\n+    firefox: 36,\n+    chrome: 49,\n+    opera: 36,\n+  },\n+  \"transform-es2015-destructuring\": {\n+    edge: 14,\n+    firefox: Number.NEGATIVE_INFINITY,\n+    chrome: 52,\n+    opera: 39,\n+  },\n+  \"transform-es2015-for-of\": {\n+    edge: Number.NEGATIVE_INFINITY,\n+    firefox: Number.NEGATIVE_INFINITY,\n+    chrome: 51,\n+    opera: 38,\n+  },\n+  \"transform-es2015-function-name\": {\n+    edge: Number.NEGATIVE_INFINITY,\n+    firefox: Number.NEGATIVE_INFINITY,\n+    chrome: 52,\n+    opera: 39,\n+  },\n+  \"transform-es2015-literals\": {\n+    edge: 12,\n+    firefox: 36,\n+    chrome: 41,\n+    opera: 28\n+  },\n+  \"transform-es2015-object-super\": {\n+    edge: 13,\n+    firefox: 45,\n+    chrome: 49,\n+    opera: 36,\n+  },\n+  \"transform-es2015-parameters\": {\n+    edge: 14,\n+    firefox: Number.NEGATIVE_INFINITY,\n+    chrome: 49,\n+    opera: 36,\n+  },\n+  \"transform-es2015-shorthand-properties\": {\n+    edge: 12,\n+    firefox: 33,\n+    chrome: 43,\n+    opera: 30\n+  },\n+  \"transform-es2015-spread\": {","path":"src/plugins.js","position":81,"original_position":81,"commit_id":"aa01bb3cff2711bdd500215b0cbbab98e96d0aa7","original_commit_id":"aa01bb3cff2711bdd500215b0cbbab98e96d0aa7","user":{"login":"Kovensky","id":73085,"avatar_url":"https://avatars.githubusercontent.com/u/73085?v=3","gravatar_id":"","url":"https://api.github.com/users/Kovensky","html_url":"https://github.com/Kovensky","followers_url":"https://api.github.com/users/Kovensky/followers","following_url":"https://api.github.com/users/Kovensky/following{/other_user}","gists_url":"https://api.github.com/users/Kovensky/gists{/gist_id}","starred_url":"https://api.github.com/users/Kovensky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kovensky/subscriptions","organizations_url":"https://api.github.com/users/Kovensky/orgs","repos_url":"https://api.github.com/users/Kovensky/repos","events_url":"https://api.github.com/users/Kovensky/events{/privacy}","received_events_url":"https://api.github.com/users/Kovensky/received_events","type":"User","site_admin":false},"body":"Both this and destructuring are needed if core-js needs to polyfill `Symbol` (array rest/spread actually uses iterators). This is probably not a problem in practice, though; or at least any engines would have needed a working `Symbol` before implementing this.","created_at":"2016-09-01T05:02:49Z","updated_at":"2016-09-01T05:02:49Z","html_url":"https://github.com/babel/babel-preset-env/pull/3#discussion_r77114270","pull_request_url":"https://api.github.com/repos/babel/babel-preset-env/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/babel/babel-preset-env/pulls/comments/77114270"},"html":{"href":"https://github.com/babel/babel-preset-env/pull/3#discussion_r77114270"},"pull_request":{"href":"https://api.github.com/repos/babel/babel-preset-env/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/babel/babel-preset-env/pulls/3","id":83561005,"html_url":"https://github.com/babel/babel-preset-env/pull/3","diff_url":"https://github.com/babel/babel-preset-env/pull/3.diff","patch_url":"https://github.com/babel/babel-preset-env/pull/3.patch","issue_url":"https://api.github.com/repos/babel/babel-preset-env/issues/3","number":3,"state":"open","locked":false,"title":"Implement very basic (but working) functionality","user":{"login":"baer","id":940667,"avatar_url":"https://avatars.githubusercontent.com/u/940667?v=3","gravatar_id":"","url":"https://api.github.com/users/baer","html_url":"https://github.com/baer","followers_url":"https://api.github.com/users/baer/followers","following_url":"https://api.github.com/users/baer/following{/other_user}","gists_url":"https://api.github.com/users/baer/gists{/gist_id}","starred_url":"https://api.github.com/users/baer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baer/subscriptions","organizations_url":"https://api.github.com/users/baer/orgs","repos_url":"https://api.github.com/users/baer/repos","events_url":"https://api.github.com/users/baer/events{/privacy}","received_events_url":"https://api.github.com/users/baer/received_events","type":"User","site_admin":false},"body":"This is a VERY basic first pass at getting this plugin working. This plugin should more or less work for the following cases:\r\n\r\n* If no options are provided, all plugins will be applied\r\n* If options are provided they must be provided as numbers. E.g `chrome: 55`\r\n* If loose-mode is specified, the name must match what is in the plugin file\r\n* If modules are specified, they must be an Array of module types.\r\n\r\nObviously there is plenty to do to make this robust and working for all cases especially around getting all of the data idiosyncrasies right. I didn't want to go much further than this though without a PR since big PRs are not only hard to review but I wanted a 👍 on the direction I'm headed.\r\n\r\nIn addition to the functionality, the following changes were made\r\n\r\n* Plugins are defined in a separate file\r\n* Mocha was added for some very simple testing\r\n* Plugins where environments had features that had been implemented from the beginning were changed from positive infinity to negative infinity to make the comparison easier.","created_at":"2016-09-01T02:31:32Z","updated_at":"2016-09-01T05:02:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e09029755468d755165d09a6d8e706e6d076edd","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/babel/babel-preset-env/pulls/3/commits","review_comments_url":"https://api.github.com/repos/babel/babel-preset-env/pulls/3/comments","review_comment_url":"https://api.github.com/repos/babel/babel-preset-env/pulls/comments{/number}","comments_url":"https://api.github.com/repos/babel/babel-preset-env/issues/3/comments","statuses_url":"https://api.github.com/repos/babel/babel-preset-env/statuses/aa01bb3cff2711bdd500215b0cbbab98e96d0aa7","head":{"label":"baer:feature/first-pass","ref":"feature/first-pass","sha":"aa01bb3cff2711bdd500215b0cbbab98e96d0aa7","user":{"login":"baer","id":940667,"avatar_url":"https://avatars.githubusercontent.com/u/940667?v=3","gravatar_id":"","url":"https://api.github.com/users/baer","html_url":"https://github.com/baer","followers_url":"https://api.github.com/users/baer/followers","following_url":"https://api.github.com/users/baer/following{/other_user}","gists_url":"https://api.github.com/users/baer/gists{/gist_id}","starred_url":"https://api.github.com/users/baer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baer/subscriptions","organizations_url":"https://api.github.com/users/baer/orgs","repos_url":"https://api.github.com/users/baer/repos","events_url":"https://api.github.com/users/baer/events{/privacy}","received_events_url":"https://api.github.com/users/baer/received_events","type":"User","site_admin":false},"repo":{"id":66981513,"name":"babel-preset-env","full_name":"baer/babel-preset-env","owner":{"login":"baer","id":940667,"avatar_url":"https://avatars.githubusercontent.com/u/940667?v=3","gravatar_id":"","url":"https://api.github.com/users/baer","html_url":"https://github.com/baer","followers_url":"https://api.github.com/users/baer/followers","following_url":"https://api.github.com/users/baer/following{/other_user}","gists_url":"https://api.github.com/users/baer/gists{/gist_id}","starred_url":"https://api.github.com/users/baer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baer/subscriptions","organizations_url":"https://api.github.com/users/baer/orgs","repos_url":"https://api.github.com/users/baer/repos","events_url":"https://api.github.com/users/baer/events{/privacy}","received_events_url":"https://api.github.com/users/baer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/baer/babel-preset-env","description":"Preset that targets the the environments that are passed in as options (autoprefixer)","fork":true,"url":"https://api.github.com/repos/baer/babel-preset-env","forks_url":"https://api.github.com/repos/baer/babel-preset-env/forks","keys_url":"https://api.github.com/repos/baer/babel-preset-env/keys{/key_id}","collaborators_url":"https://api.github.com/repos/baer/babel-preset-env/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/baer/babel-preset-env/teams","hooks_url":"https://api.github.com/repos/baer/babel-preset-env/hooks","issue_events_url":"https://api.github.com/repos/baer/babel-preset-env/issues/events{/number}","events_url":"https://api.github.com/repos/baer/babel-preset-env/events","assignees_url":"https://api.github.com/repos/baer/babel-preset-env/assignees{/user}","branches_url":"https://api.github.com/repos/baer/babel-preset-env/branches{/branch}","tags_url":"https://api.github.com/repos/baer/babel-preset-env/tags","blobs_url":"https://api.github.com/repos/baer/babel-preset-env/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/baer/babel-preset-env/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/baer/babel-preset-env/git/refs{/sha}","trees_url":"https://api.github.com/repos/baer/babel-preset-env/git/trees{/sha}","statuses_url":"https://api.github.com/repos/baer/babel-preset-env/statuses/{sha}","languages_url":"https://api.github.com/repos/baer/babel-preset-env/languages","stargazers_url":"https://api.github.com/repos/baer/babel-preset-env/stargazers","contributors_url":"https://api.github.com/repos/baer/babel-preset-env/contributors","subscribers_url":"https://api.github.com/repos/baer/babel-preset-env/subscribers","subscription_url":"https://api.github.com/repos/baer/babel-preset-env/subscription","commits_url":"https://api.github.com/repos/baer/babel-preset-env/commits{/sha}","git_commits_url":"https://api.github.com/repos/baer/babel-preset-env/git/commits{/sha}","comments_url":"https://api.github.com/repos/baer/babel-preset-env/comments{/number}","issue_comment_url":"https://api.github.com/repos/baer/babel-preset-env/issues/comments{/number}","contents_url":"https://api.github.com/repos/baer/babel-preset-env/contents/{+path}","compare_url":"https://api.github.com/repos/baer/babel-preset-env/compare/{base}...{head}","merges_url":"https://api.github.com/repos/baer/babel-preset-env/merges","archive_url":"https://api.github.com/repos/baer/babel-preset-env/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/baer/babel-preset-env/downloads","issues_url":"https://api.github.com/repos/baer/babel-preset-env/issues{/number}","pulls_url":"https://api.github.com/repos/baer/babel-preset-env/pulls{/number}","milestones_url":"https://api.github.com/repos/baer/babel-preset-env/milestones{/number}","notifications_url":"https://api.github.com/repos/baer/babel-preset-env/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/baer/babel-preset-env/labels{/name}","releases_url":"https://api.github.com/repos/baer/babel-preset-env/releases{/id}","deployments_url":"https://api.github.com/repos/baer/babel-preset-env/deployments","created_at":"2016-08-30T22:12:15Z","updated_at":"2016-08-30T22:12:16Z","pushed_at":"2016-09-01T04:15:13Z","git_url":"git://github.com/baer/babel-preset-env.git","ssh_url":"git@github.com:baer/babel-preset-env.git","clone_url":"https://github.com/baer/babel-preset-env.git","svn_url":"https://github.com/baer/babel-preset-env","homepage":"https://github.com/babel/babel/pull/3476","size":6,"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":"babel:master","ref":"master","sha":"5a4b10c58bfcc3182feee9dac706b40f8f350910","user":{"login":"babel","id":9637642,"avatar_url":"https://avatars.githubusercontent.com/u/9637642?v=3","gravatar_id":"","url":"https://api.github.com/users/babel","html_url":"https://github.com/babel","followers_url":"https://api.github.com/users/babel/followers","following_url":"https://api.github.com/users/babel/following{/other_user}","gists_url":"https://api.github.com/users/babel/gists{/gist_id}","starred_url":"https://api.github.com/users/babel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babel/subscriptions","organizations_url":"https://api.github.com/users/babel/orgs","repos_url":"https://api.github.com/users/babel/repos","events_url":"https://api.github.com/users/babel/events{/privacy}","received_events_url":"https://api.github.com/users/babel/received_events","type":"Organization","site_admin":false},"repo":{"id":65648767,"name":"babel-preset-env","full_name":"babel/babel-preset-env","owner":{"login":"babel","id":9637642,"avatar_url":"https://avatars.githubusercontent.com/u/9637642?v=3","gravatar_id":"","url":"https://api.github.com/users/babel","html_url":"https://github.com/babel","followers_url":"https://api.github.com/users/babel/followers","following_url":"https://api.github.com/users/babel/following{/other_user}","gists_url":"https://api.github.com/users/babel/gists{/gist_id}","starred_url":"https://api.github.com/users/babel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babel/subscriptions","organizations_url":"https://api.github.com/users/babel/orgs","repos_url":"https://api.github.com/users/babel/repos","events_url":"https://api.github.com/users/babel/events{/privacy}","received_events_url":"https://api.github.com/users/babel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/babel/babel-preset-env","description":"Autoprefixer for Babel: target specific environments (browser, node, etc)","fork":false,"url":"https://api.github.com/repos/babel/babel-preset-env","forks_url":"https://api.github.com/repos/babel/babel-preset-env/forks","keys_url":"https://api.github.com/repos/babel/babel-preset-env/keys{/key_id}","collaborators_url":"https://api.github.com/repos/babel/babel-preset-env/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/babel/babel-preset-env/teams","hooks_url":"https://api.github.com/repos/babel/babel-preset-env/hooks","issue_events_url":"https://api.github.com/repos/babel/babel-preset-env/issues/events{/number}","events_url":"https://api.github.com/repos/babel/babel-preset-env/events","assignees_url":"https://api.github.com/repos/babel/babel-preset-env/assignees{/user}","branches_url":"https://api.github.com/repos/babel/babel-preset-env/branches{/branch}","tags_url":"https://api.github.com/repos/babel/babel-preset-env/tags","blobs_url":"https://api.github.com/repos/babel/babel-preset-env/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/babel/babel-preset-env/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/babel/babel-preset-env/git/refs{/sha}","trees_url":"https://api.github.com/repos/babel/babel-preset-env/git/trees{/sha}","statuses_url":"https://api.github.com/repos/babel/babel-preset-env/statuses/{sha}","languages_url":"https://api.github.com/repos/babel/babel-preset-env/languages","stargazers_url":"https://api.github.com/repos/babel/babel-preset-env/stargazers","contributors_url":"https://api.github.com/repos/babel/babel-preset-env/contributors","subscribers_url":"https://api.github.com/repos/babel/babel-preset-env/subscribers","subscription_url":"https://api.github.com/repos/babel/babel-preset-env/subscription","commits_url":"https://api.github.com/repos/babel/babel-preset-env/commits{/sha}","git_commits_url":"https://api.github.com/repos/babel/babel-preset-env/git/commits{/sha}","comments_url":"https://api.github.com/repos/babel/babel-preset-env/comments{/number}","issue_comment_url":"https://api.github.com/repos/babel/babel-preset-env/issues/comments{/number}","contents_url":"https://api.github.com/repos/babel/babel-preset-env/contents/{+path}","compare_url":"https://api.github.com/repos/babel/babel-preset-env/compare/{base}...{head}","merges_url":"https://api.github.com/repos/babel/babel-preset-env/merges","archive_url":"https://api.github.com/repos/babel/babel-preset-env/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/babel/babel-preset-env/downloads","issues_url":"https://api.github.com/repos/babel/babel-preset-env/issues{/number}","pulls_url":"https://api.github.com/repos/babel/babel-preset-env/pulls{/number}","milestones_url":"https://api.github.com/repos/babel/babel-preset-env/milestones{/number}","notifications_url":"https://api.github.com/repos/babel/babel-preset-env/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/babel/babel-preset-env/labels{/name}","releases_url":"https://api.github.com/repos/babel/babel-preset-env/releases{/id}","deployments_url":"https://api.github.com/repos/babel/babel-preset-env/deployments","created_at":"2016-08-14T03:48:33Z","updated_at":"2016-09-01T03:20:43Z","pushed_at":"2016-09-01T04:15:13Z","git_url":"git://github.com/babel/babel-preset-env.git","ssh_url":"git@github.com:babel/babel-preset-env.git","clone_url":"https://github.com/babel/babel-preset-env.git","svn_url":"https://github.com/babel/babel-preset-env","homepage":"https://github.com/babel/babel/pull/3476","size":4,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/babel/babel-preset-env/pulls/3"},"html":{"href":"https://github.com/babel/babel-preset-env/pull/3"},"issue":{"href":"https://api.github.com/repos/babel/babel-preset-env/issues/3"},"comments":{"href":"https://api.github.com/repos/babel/babel-preset-env/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/babel/babel-preset-env/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/babel/babel-preset-env/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/babel/babel-preset-env/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/babel/babel-preset-env/statuses/aa01bb3cff2711bdd500215b0cbbab98e96d0aa7"}}}}
{"actor":{"display_login":"Kovensky"}}