{"action":"created","comment":{"url":"https://api.github.com/repos/facebook/fbjs/pulls/comments/42714545","id":42714545,"diff_hunk":"@@ -7,34 +7,34 @@\n  * of patent rights can be found in the PATENTS file in the same directory.\n  */\n \n-var crypto = require('crypto');\n-var fs = require('fs');\n-var path = require('path');\n+ 'use strict';\n+\n+const crypto = require('crypto');\n+const fs = require('fs');\n+const path = require('path');\n \n function buildCacheKey(files, base) {\n-  return files.reduce(function(src, fileName) {\n-    return src + fs.readFileSync(fileName);\n-  }, base);\n+  return files.reduce(\n+    (src, fileName) => src + fs.readFileSync(fileName),\n+    base\n+  );\n }\n \n-var transformRoot = path.join(__dirname, '..');\n-var cacheKeyFiles = [\n+const transformRoot = path.join(__dirname, '..');","path":"scripts/jest/createCacheKeyFunction.js","position":25,"original_position":25,"commit_id":"068ef71925b3989319e8df414e68d2c42361628c","original_commit_id":"068ef71925b3989319e8df414e68d2c42361628c","user":{"login":"zpao","id":8445,"avatar_url":"https://avatars.githubusercontent.com/u/8445?v=3","gravatar_id":"","url":"https://api.github.com/users/zpao","html_url":"https://github.com/zpao","followers_url":"https://api.github.com/users/zpao/followers","following_url":"https://api.github.com/users/zpao/following{/other_user}","gists_url":"https://api.github.com/users/zpao/gists{/gist_id}","starred_url":"https://api.github.com/users/zpao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zpao/subscriptions","organizations_url":"https://api.github.com/users/zpao/orgs","repos_url":"https://api.github.com/users/zpao/repos","events_url":"https://api.github.com/users/zpao/events{/privacy}","received_events_url":"https://api.github.com/users/zpao/received_events","type":"User","site_admin":false},"body":"What version of node did `const` start working? I think it's fine but want to make sure I know what goes in our changelog if anything.","created_at":"2015-10-22T06:20:41Z","updated_at":"2015-10-22T06:20:41Z","html_url":"https://github.com/facebook/fbjs/pull/74#discussion_r42714545","pull_request_url":"https://api.github.com/repos/facebook/fbjs/pulls/74","_links":{"self":{"href":"https://api.github.com/repos/facebook/fbjs/pulls/comments/42714545"},"html":{"href":"https://github.com/facebook/fbjs/pull/74#discussion_r42714545"},"pull_request":{"href":"https://api.github.com/repos/facebook/fbjs/pulls/74"}}},"pull_request":{"url":"https://api.github.com/repos/facebook/fbjs/pulls/74","id":48404628,"html_url":"https://github.com/facebook/fbjs/pull/74","diff_url":"https://github.com/facebook/fbjs/pull/74.diff","patch_url":"https://github.com/facebook/fbjs/pull/74.patch","issue_url":"https://api.github.com/repos/facebook/fbjs/issues/74","number":74,"state":"open","locked":false,"title":"Update to jest 0.6.0","user":{"login":"cpojer","id":13352,"avatar_url":"https://avatars.githubusercontent.com/u/13352?v=3","gravatar_id":"","url":"https://api.github.com/users/cpojer","html_url":"https://github.com/cpojer","followers_url":"https://api.github.com/users/cpojer/followers","following_url":"https://api.github.com/users/cpojer/following{/other_user}","gists_url":"https://api.github.com/users/cpojer/gists{/gist_id}","starred_url":"https://api.github.com/users/cpojer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpojer/subscriptions","organizations_url":"https://api.github.com/users/cpojer/orgs","repos_url":"https://api.github.com/users/cpojer/repos","events_url":"https://api.github.com/users/cpojer/events{/privacy}","received_events_url":"https://api.github.com/users/cpojer/received_events","type":"User","site_admin":false},"body":"updated createCacheKeyFunction to use the correct config object for creating the hash; this was a breaking change in jest.","created_at":"2015-10-22T00:17:29Z","updated_at":"2015-10-22T06:20:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cd99aacb926a6def8dd9c4484c2e11ccdbe7ef96","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/facebook/fbjs/pulls/74/commits","review_comments_url":"https://api.github.com/repos/facebook/fbjs/pulls/74/comments","review_comment_url":"https://api.github.com/repos/facebook/fbjs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/fbjs/issues/74/comments","statuses_url":"https://api.github.com/repos/facebook/fbjs/statuses/068ef71925b3989319e8df414e68d2c42361628c","head":{"label":"cpojer:jest-update","ref":"jest-update","sha":"068ef71925b3989319e8df414e68d2c42361628c","user":{"login":"cpojer","id":13352,"avatar_url":"https://avatars.githubusercontent.com/u/13352?v=3","gravatar_id":"","url":"https://api.github.com/users/cpojer","html_url":"https://github.com/cpojer","followers_url":"https://api.github.com/users/cpojer/followers","following_url":"https://api.github.com/users/cpojer/following{/other_user}","gists_url":"https://api.github.com/users/cpojer/gists{/gist_id}","starred_url":"https://api.github.com/users/cpojer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpojer/subscriptions","organizations_url":"https://api.github.com/users/cpojer/orgs","repos_url":"https://api.github.com/users/cpojer/repos","events_url":"https://api.github.com/users/cpojer/events{/privacy}","received_events_url":"https://api.github.com/users/cpojer/received_events","type":"User","site_admin":false},"repo":{"id":41572365,"name":"fbjs","full_name":"cpojer/fbjs","owner":{"login":"cpojer","id":13352,"avatar_url":"https://avatars.githubusercontent.com/u/13352?v=3","gravatar_id":"","url":"https://api.github.com/users/cpojer","html_url":"https://github.com/cpojer","followers_url":"https://api.github.com/users/cpojer/followers","following_url":"https://api.github.com/users/cpojer/following{/other_user}","gists_url":"https://api.github.com/users/cpojer/gists{/gist_id}","starred_url":"https://api.github.com/users/cpojer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpojer/subscriptions","organizations_url":"https://api.github.com/users/cpojer/orgs","repos_url":"https://api.github.com/users/cpojer/repos","events_url":"https://api.github.com/users/cpojer/events{/privacy}","received_events_url":"https://api.github.com/users/cpojer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cpojer/fbjs","description":"A collection of utility libraries used by other Facebook JS projects.","fork":true,"url":"https://api.github.com/repos/cpojer/fbjs","forks_url":"https://api.github.com/repos/cpojer/fbjs/forks","keys_url":"https://api.github.com/repos/cpojer/fbjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cpojer/fbjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cpojer/fbjs/teams","hooks_url":"https://api.github.com/repos/cpojer/fbjs/hooks","issue_events_url":"https://api.github.com/repos/cpojer/fbjs/issues/events{/number}","events_url":"https://api.github.com/repos/cpojer/fbjs/events","assignees_url":"https://api.github.com/repos/cpojer/fbjs/assignees{/user}","branches_url":"https://api.github.com/repos/cpojer/fbjs/branches{/branch}","tags_url":"https://api.github.com/repos/cpojer/fbjs/tags","blobs_url":"https://api.github.com/repos/cpojer/fbjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cpojer/fbjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cpojer/fbjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/cpojer/fbjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cpojer/fbjs/statuses/{sha}","languages_url":"https://api.github.com/repos/cpojer/fbjs/languages","stargazers_url":"https://api.github.com/repos/cpojer/fbjs/stargazers","contributors_url":"https://api.github.com/repos/cpojer/fbjs/contributors","subscribers_url":"https://api.github.com/repos/cpojer/fbjs/subscribers","subscription_url":"https://api.github.com/repos/cpojer/fbjs/subscription","commits_url":"https://api.github.com/repos/cpojer/fbjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/cpojer/fbjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/cpojer/fbjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/cpojer/fbjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/cpojer/fbjs/contents/{+path}","compare_url":"https://api.github.com/repos/cpojer/fbjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cpojer/fbjs/merges","archive_url":"https://api.github.com/repos/cpojer/fbjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cpojer/fbjs/downloads","issues_url":"https://api.github.com/repos/cpojer/fbjs/issues{/number}","pulls_url":"https://api.github.com/repos/cpojer/fbjs/pulls{/number}","milestones_url":"https://api.github.com/repos/cpojer/fbjs/milestones{/number}","notifications_url":"https://api.github.com/repos/cpojer/fbjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cpojer/fbjs/labels{/name}","releases_url":"https://api.github.com/repos/cpojer/fbjs/releases{/id}","created_at":"2015-08-28T22:46:06Z","updated_at":"2015-08-28T22:46:06Z","pushed_at":"2015-10-22T00:16:35Z","git_url":"git://github.com/cpojer/fbjs.git","ssh_url":"git@github.com:cpojer/fbjs.git","clone_url":"https://github.com/cpojer/fbjs.git","svn_url":"https://github.com/cpojer/fbjs","homepage":null,"size":207,"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":"facebook:master","ref":"master","sha":"1c4808a76dad86670cc5acf6f59ef4b142d43184","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":36469177,"name":"fbjs","full_name":"facebook/fbjs","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/fbjs","description":"A collection of utility libraries used by other Facebook JS projects.","fork":false,"url":"https://api.github.com/repos/facebook/fbjs","forks_url":"https://api.github.com/repos/facebook/fbjs/forks","keys_url":"https://api.github.com/repos/facebook/fbjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/fbjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/fbjs/teams","hooks_url":"https://api.github.com/repos/facebook/fbjs/hooks","issue_events_url":"https://api.github.com/repos/facebook/fbjs/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/fbjs/events","assignees_url":"https://api.github.com/repos/facebook/fbjs/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/fbjs/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/fbjs/tags","blobs_url":"https://api.github.com/repos/facebook/fbjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/fbjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/fbjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/fbjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/fbjs/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/fbjs/languages","stargazers_url":"https://api.github.com/repos/facebook/fbjs/stargazers","contributors_url":"https://api.github.com/repos/facebook/fbjs/contributors","subscribers_url":"https://api.github.com/repos/facebook/fbjs/subscribers","subscription_url":"https://api.github.com/repos/facebook/fbjs/subscription","commits_url":"https://api.github.com/repos/facebook/fbjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/fbjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/fbjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/fbjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/fbjs/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/fbjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/fbjs/merges","archive_url":"https://api.github.com/repos/facebook/fbjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/fbjs/downloads","issues_url":"https://api.github.com/repos/facebook/fbjs/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/fbjs/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/fbjs/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/fbjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/fbjs/labels{/name}","releases_url":"https://api.github.com/repos/facebook/fbjs/releases{/id}","created_at":"2015-05-28T22:16:50Z","updated_at":"2015-10-20T12:03:13Z","pushed_at":"2015-10-22T00:17:29Z","git_url":"git://github.com/facebook/fbjs.git","ssh_url":"git@github.com:facebook/fbjs.git","clone_url":"https://github.com/facebook/fbjs.git","svn_url":"https://github.com/facebook/fbjs","homepage":null,"size":662,"stargazers_count":216,"watchers_count":216,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":9,"forks":27,"open_issues":9,"watchers":216,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/fbjs/pulls/74"},"html":{"href":"https://github.com/facebook/fbjs/pull/74"},"issue":{"href":"https://api.github.com/repos/facebook/fbjs/issues/74"},"comments":{"href":"https://api.github.com/repos/facebook/fbjs/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/fbjs/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/fbjs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/fbjs/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/fbjs/statuses/068ef71925b3989319e8df414e68d2c42361628c"}}}}