{"action":"created","comment":{"url":"https://api.github.com/repos/Financial-Times/n-myft-ui/pulls/comments/191687801","pull_request_review_id":124304151,"id":191687801,"diff_hunk":"@@ -1,6 +1,7 @@\n-import { json as fetchJson } from 'fetchres';\n-import { fragments as teaserFragments } from '@financial-times/n-teaser/main';\n-import slimQuery from './slim-query';\n+const { json: fetchJson } = require('fetchres');\n+const { cloneDeep } = require('lodash');\n+const { fragments: teaserFragments } = require('@financial-times/n-teaser/main');\n+const slimQuery = require('./slim-query');","path":"myft-notification/fetch-digest-data.js","position":7,"original_position":7,"commit_id":"f61a8135e821a58cee3905ef41188ae6cedcaa68","original_commit_id":"f61a8135e821a58cee3905ef41188ae6cedcaa68","user":{"login":"benbarnett","id":295469,"avatar_url":"https://avatars2.githubusercontent.com/u/295469?v=4","gravatar_id":"","url":"https://api.github.com/users/benbarnett","html_url":"https://github.com/benbarnett","followers_url":"https://api.github.com/users/benbarnett/followers","following_url":"https://api.github.com/users/benbarnett/following{/other_user}","gists_url":"https://api.github.com/users/benbarnett/gists{/gist_id}","starred_url":"https://api.github.com/users/benbarnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbarnett/subscriptions","organizations_url":"https://api.github.com/users/benbarnett/orgs","repos_url":"https://api.github.com/users/benbarnett/repos","events_url":"https://api.github.com/users/benbarnett/events{/privacy}","received_events_url":"https://api.github.com/users/benbarnett/received_events","type":"User","site_admin":false},"body":"How come no more ES modules? No likey?","created_at":"2018-05-30T08:46:54Z","updated_at":"2018-05-30T08:46:54Z","html_url":"https://github.com/Financial-Times/n-myft-ui/pull/151#discussion_r191687801","pull_request_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/pulls/151","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/n-myft-ui/pulls/comments/191687801"},"html":{"href":"https://github.com/Financial-Times/n-myft-ui/pull/151#discussion_r191687801"},"pull_request":{"href":"https://api.github.com/repos/Financial-Times/n-myft-ui/pulls/151"}}},"pull_request":{"url":"https://api.github.com/repos/Financial-Times/n-myft-ui/pulls/151","id":191199334,"html_url":"https://github.com/Financial-Times/n-myft-ui/pull/151","diff_url":"https://github.com/Financial-Times/n-myft-ui/pull/151.diff","patch_url":"https://github.com/Financial-Times/n-myft-ui/pull/151.patch","issue_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/issues/151","number":151,"state":"open","locked":false,"title":"fetchDigestData returns clone of data each time it is called","user":{"login":"dan-searle","id":2759279,"avatar_url":"https://avatars3.githubusercontent.com/u/2759279?v=4","gravatar_id":"","url":"https://api.github.com/users/dan-searle","html_url":"https://github.com/dan-searle","followers_url":"https://api.github.com/users/dan-searle/followers","following_url":"https://api.github.com/users/dan-searle/following{/other_user}","gists_url":"https://api.github.com/users/dan-searle/gists{/gist_id}","starred_url":"https://api.github.com/users/dan-searle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dan-searle/subscriptions","organizations_url":"https://api.github.com/users/dan-searle/orgs","repos_url":"https://api.github.com/users/dan-searle/repos","events_url":"https://api.github.com/users/dan-searle/events{/privacy}","received_events_url":"https://api.github.com/users/dan-searle/received_events","type":"User","site_admin":false},"body":" 🐿 v2.8.0","created_at":"2018-05-29T16:14:22Z","updated_at":"2018-05-30T08:46:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f1614ad57a47cbd42a152d20c0a59ce29931035d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/pulls/151/commits","review_comments_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/pulls/151/comments","review_comment_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/issues/151/comments","statuses_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/statuses/f61a8135e821a58cee3905ef41188ae6cedcaa68","head":{"label":"Financial-Times:fetch-digest-data-returns-new-object","ref":"fetch-digest-data-returns-new-object","sha":"f61a8135e821a58cee3905ef41188ae6cedcaa68","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars1.githubusercontent.com/u/3502508?v=4","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":83317556,"name":"n-myft-ui","full_name":"Financial-Times/n-myft-ui","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars1.githubusercontent.com/u/3502508?v=4","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/n-myft-ui","description":"Client side component for interaction with myft","fork":false,"url":"https://api.github.com/repos/Financial-Times/n-myft-ui","forks_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/forks","keys_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/teams","hooks_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/events","assignees_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/tags","blobs_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/subscription","commits_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/merges","archive_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/downloads","issues_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/deployments","created_at":"2017-02-27T14:12:50Z","updated_at":"2018-05-25T07:36:27Z","pushed_at":"2018-05-29T16:14:23Z","git_url":"git://github.com/Financial-Times/n-myft-ui.git","ssh_url":"git@github.com:Financial-Times/n-myft-ui.git","clone_url":"https://github.com/Financial-Times/n-myft-ui.git","svn_url":"https://github.com/Financial-Times/n-myft-ui","homepage":"https://financial-times.github.io/n-myft-ui/index.html","size":364,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"Financial-Times:master","ref":"master","sha":"0c03b940cb3a9661bc343295f99bd7362a629402","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars1.githubusercontent.com/u/3502508?v=4","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":83317556,"name":"n-myft-ui","full_name":"Financial-Times/n-myft-ui","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars1.githubusercontent.com/u/3502508?v=4","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/n-myft-ui","description":"Client side component for interaction with myft","fork":false,"url":"https://api.github.com/repos/Financial-Times/n-myft-ui","forks_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/forks","keys_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/teams","hooks_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/events","assignees_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/tags","blobs_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/subscription","commits_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/merges","archive_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/downloads","issues_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/n-myft-ui/deployments","created_at":"2017-02-27T14:12:50Z","updated_at":"2018-05-25T07:36:27Z","pushed_at":"2018-05-29T16:14:23Z","git_url":"git://github.com/Financial-Times/n-myft-ui.git","ssh_url":"git@github.com:Financial-Times/n-myft-ui.git","clone_url":"https://github.com/Financial-Times/n-myft-ui.git","svn_url":"https://github.com/Financial-Times/n-myft-ui","homepage":"https://financial-times.github.io/n-myft-ui/index.html","size":364,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/n-myft-ui/pulls/151"},"html":{"href":"https://github.com/Financial-Times/n-myft-ui/pull/151"},"issue":{"href":"https://api.github.com/repos/Financial-Times/n-myft-ui/issues/151"},"comments":{"href":"https://api.github.com/repos/Financial-Times/n-myft-ui/issues/151/comments"},"review_comments":{"href":"https://api.github.com/repos/Financial-Times/n-myft-ui/pulls/151/comments"},"review_comment":{"href":"https://api.github.com/repos/Financial-Times/n-myft-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Financial-Times/n-myft-ui/pulls/151/commits"},"statuses":{"href":"https://api.github.com/repos/Financial-Times/n-myft-ui/statuses/f61a8135e821a58cee3905ef41188ae6cedcaa68"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"benbarnett"}}