{"action":"created","comment":{"url":"https://api.github.com/repos/LiskHQ/lisky/pulls/comments/167188629","pull_request_review_id":95372084,"id":167188629,"diff_hunk":"@@ -18,9 +18,20 @@ import 'babel-polyfill';\n import fs from 'fs';\n import path from 'path';\n import vorpal from 'vorpal';\n-import { version } from '../package.json';\n+import semver from 'semver';\n+import { version, engines } from '../package.json';\n import config from './utils/config';\n \n+const nodeVersionError = (required, actual) =>\n+\tchalk.red(`\n+Error: Wanted node version ${required} but has ${actual}","path":"src/index.js","position":11,"original_position":11,"commit_id":"97e8237206ec45b77da4ece57c74e830598221b7","original_commit_id":"97e8237206ec45b77da4ece57c74e830598221b7","user":{"login":"shuse2","id":2367565,"avatar_url":"https://avatars0.githubusercontent.com/u/2367565?v=4","gravatar_id":"","url":"https://api.github.com/users/shuse2","html_url":"https://github.com/shuse2","followers_url":"https://api.github.com/users/shuse2/followers","following_url":"https://api.github.com/users/shuse2/following{/other_user}","gists_url":"https://api.github.com/users/shuse2/gists{/gist_id}","starred_url":"https://api.github.com/users/shuse2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuse2/subscriptions","organizations_url":"https://api.github.com/users/shuse2/orgs","repos_url":"https://api.github.com/users/shuse2/repos","events_url":"https://api.github.com/users/shuse2/events{/privacy}","received_events_url":"https://api.github.com/users/shuse2/received_events","type":"User","site_admin":false},"body":"I like this!","created_at":"2018-02-09T10:17:04Z","updated_at":"2018-02-09T10:17:04Z","html_url":"https://github.com/LiskHQ/lisky/pull/432#discussion_r167188629","pull_request_url":"https://api.github.com/repos/LiskHQ/lisky/pulls/432","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/LiskHQ/lisky/pulls/comments/167188629"},"html":{"href":"https://github.com/LiskHQ/lisky/pull/432#discussion_r167188629"},"pull_request":{"href":"https://api.github.com/repos/LiskHQ/lisky/pulls/432"}},"in_reply_to_id":167184595},"pull_request":{"url":"https://api.github.com/repos/LiskHQ/lisky/pulls/432","id":168004344,"html_url":"https://github.com/LiskHQ/lisky/pull/432","diff_url":"https://github.com/LiskHQ/lisky/pull/432.diff","patch_url":"https://github.com/LiskHQ/lisky/pull/432.patch","issue_url":"https://api.github.com/repos/LiskHQ/lisky/issues/432","number":432,"state":"open","locked":false,"title":"Added check for node version supported - Closes #431","user":{"login":"shuse2","id":2367565,"avatar_url":"https://avatars0.githubusercontent.com/u/2367565?v=4","gravatar_id":"","url":"https://api.github.com/users/shuse2","html_url":"https://github.com/shuse2","followers_url":"https://api.github.com/users/shuse2/followers","following_url":"https://api.github.com/users/shuse2/following{/other_user}","gists_url":"https://api.github.com/users/shuse2/gists{/gist_id}","starred_url":"https://api.github.com/users/shuse2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuse2/subscriptions","organizations_url":"https://api.github.com/users/shuse2/orgs","repos_url":"https://api.github.com/users/shuse2/repos","events_url":"https://api.github.com/users/shuse2/events{/privacy}","received_events_url":"https://api.github.com/users/shuse2/received_events","type":"User","site_admin":false},"body":"Closes #431 \r\nAdded engine field on `package.json`\r\nThis should prohibit users installing from npm using wrong version.\r\n\r\nAlso, added check before running script.","created_at":"2018-02-08T15:31:01Z","updated_at":"2018-02-09T10:17:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"19feb56696026da11acabc9cbac39510f290cda6","assignee":{"login":"shuse2","id":2367565,"avatar_url":"https://avatars0.githubusercontent.com/u/2367565?v=4","gravatar_id":"","url":"https://api.github.com/users/shuse2","html_url":"https://github.com/shuse2","followers_url":"https://api.github.com/users/shuse2/followers","following_url":"https://api.github.com/users/shuse2/following{/other_user}","gists_url":"https://api.github.com/users/shuse2/gists{/gist_id}","starred_url":"https://api.github.com/users/shuse2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuse2/subscriptions","organizations_url":"https://api.github.com/users/shuse2/orgs","repos_url":"https://api.github.com/users/shuse2/repos","events_url":"https://api.github.com/users/shuse2/events{/privacy}","received_events_url":"https://api.github.com/users/shuse2/received_events","type":"User","site_admin":false},"assignees":[{"login":"shuse2","id":2367565,"avatar_url":"https://avatars0.githubusercontent.com/u/2367565?v=4","gravatar_id":"","url":"https://api.github.com/users/shuse2","html_url":"https://github.com/shuse2","followers_url":"https://api.github.com/users/shuse2/followers","following_url":"https://api.github.com/users/shuse2/following{/other_user}","gists_url":"https://api.github.com/users/shuse2/gists{/gist_id}","starred_url":"https://api.github.com/users/shuse2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuse2/subscriptions","organizations_url":"https://api.github.com/users/shuse2/orgs","repos_url":"https://api.github.com/users/shuse2/repos","events_url":"https://api.github.com/users/shuse2/events{/privacy}","received_events_url":"https://api.github.com/users/shuse2/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"Tosch110","id":8368497,"avatar_url":"https://avatars1.githubusercontent.com/u/8368497?v=4","gravatar_id":"","url":"https://api.github.com/users/Tosch110","html_url":"https://github.com/Tosch110","followers_url":"https://api.github.com/users/Tosch110/followers","following_url":"https://api.github.com/users/Tosch110/following{/other_user}","gists_url":"https://api.github.com/users/Tosch110/gists{/gist_id}","starred_url":"https://api.github.com/users/Tosch110/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tosch110/subscriptions","organizations_url":"https://api.github.com/users/Tosch110/orgs","repos_url":"https://api.github.com/users/Tosch110/repos","events_url":"https://api.github.com/users/Tosch110/events{/privacy}","received_events_url":"https://api.github.com/users/Tosch110/received_events","type":"User","site_admin":false}],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/LiskHQ/lisky/pulls/432/commits","review_comments_url":"https://api.github.com/repos/LiskHQ/lisky/pulls/432/comments","review_comment_url":"https://api.github.com/repos/LiskHQ/lisky/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LiskHQ/lisky/issues/432/comments","statuses_url":"https://api.github.com/repos/LiskHQ/lisky/statuses/97e8237206ec45b77da4ece57c74e830598221b7","head":{"label":"LiskHQ:431-add-node-version-check","ref":"431-add-node-version-check","sha":"97e8237206ec45b77da4ece57c74e830598221b7","user":{"login":"LiskHQ","id":16600915,"avatar_url":"https://avatars1.githubusercontent.com/u/16600915?v=4","gravatar_id":"","url":"https://api.github.com/users/LiskHQ","html_url":"https://github.com/LiskHQ","followers_url":"https://api.github.com/users/LiskHQ/followers","following_url":"https://api.github.com/users/LiskHQ/following{/other_user}","gists_url":"https://api.github.com/users/LiskHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/LiskHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiskHQ/subscriptions","organizations_url":"https://api.github.com/users/LiskHQ/orgs","repos_url":"https://api.github.com/users/LiskHQ/repos","events_url":"https://api.github.com/users/LiskHQ/events{/privacy}","received_events_url":"https://api.github.com/users/LiskHQ/received_events","type":"Organization","site_admin":false},"repo":{"id":90610986,"name":"lisky","full_name":"LiskHQ/lisky","owner":{"login":"LiskHQ","id":16600915,"avatar_url":"https://avatars1.githubusercontent.com/u/16600915?v=4","gravatar_id":"","url":"https://api.github.com/users/LiskHQ","html_url":"https://github.com/LiskHQ","followers_url":"https://api.github.com/users/LiskHQ/followers","following_url":"https://api.github.com/users/LiskHQ/following{/other_user}","gists_url":"https://api.github.com/users/LiskHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/LiskHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiskHQ/subscriptions","organizations_url":"https://api.github.com/users/LiskHQ/orgs","repos_url":"https://api.github.com/users/LiskHQ/repos","events_url":"https://api.github.com/users/LiskHQ/events{/privacy}","received_events_url":"https://api.github.com/users/LiskHQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LiskHQ/lisky","description":":cat: A command line interface for Lisk","fork":false,"url":"https://api.github.com/repos/LiskHQ/lisky","forks_url":"https://api.github.com/repos/LiskHQ/lisky/forks","keys_url":"https://api.github.com/repos/LiskHQ/lisky/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LiskHQ/lisky/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LiskHQ/lisky/teams","hooks_url":"https://api.github.com/repos/LiskHQ/lisky/hooks","issue_events_url":"https://api.github.com/repos/LiskHQ/lisky/issues/events{/number}","events_url":"https://api.github.com/repos/LiskHQ/lisky/events","assignees_url":"https://api.github.com/repos/LiskHQ/lisky/assignees{/user}","branches_url":"https://api.github.com/repos/LiskHQ/lisky/branches{/branch}","tags_url":"https://api.github.com/repos/LiskHQ/lisky/tags","blobs_url":"https://api.github.com/repos/LiskHQ/lisky/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LiskHQ/lisky/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LiskHQ/lisky/git/refs{/sha}","trees_url":"https://api.github.com/repos/LiskHQ/lisky/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LiskHQ/lisky/statuses/{sha}","languages_url":"https://api.github.com/repos/LiskHQ/lisky/languages","stargazers_url":"https://api.github.com/repos/LiskHQ/lisky/stargazers","contributors_url":"https://api.github.com/repos/LiskHQ/lisky/contributors","subscribers_url":"https://api.github.com/repos/LiskHQ/lisky/subscribers","subscription_url":"https://api.github.com/repos/LiskHQ/lisky/subscription","commits_url":"https://api.github.com/repos/LiskHQ/lisky/commits{/sha}","git_commits_url":"https://api.github.com/repos/LiskHQ/lisky/git/commits{/sha}","comments_url":"https://api.github.com/repos/LiskHQ/lisky/comments{/number}","issue_comment_url":"https://api.github.com/repos/LiskHQ/lisky/issues/comments{/number}","contents_url":"https://api.github.com/repos/LiskHQ/lisky/contents/{+path}","compare_url":"https://api.github.com/repos/LiskHQ/lisky/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LiskHQ/lisky/merges","archive_url":"https://api.github.com/repos/LiskHQ/lisky/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LiskHQ/lisky/downloads","issues_url":"https://api.github.com/repos/LiskHQ/lisky/issues{/number}","pulls_url":"https://api.github.com/repos/LiskHQ/lisky/pulls{/number}","milestones_url":"https://api.github.com/repos/LiskHQ/lisky/milestones{/number}","notifications_url":"https://api.github.com/repos/LiskHQ/lisky/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LiskHQ/lisky/labels{/name}","releases_url":"https://api.github.com/repos/LiskHQ/lisky/releases{/id}","deployments_url":"https://api.github.com/repos/LiskHQ/lisky/deployments","created_at":"2017-05-08T09:34:56Z","updated_at":"2018-02-08T05:10:27Z","pushed_at":"2018-02-08T15:31:02Z","git_url":"git://github.com/LiskHQ/lisky.git","ssh_url":"git@github.com:LiskHQ/lisky.git","clone_url":"https://github.com/LiskHQ/lisky.git","svn_url":"https://github.com/LiskHQ/lisky","homepage":"","size":1792,"stargazers_count":82,"watchers_count":82,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":20,"mirror_url":null,"archived":false,"open_issues_count":36,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":20,"open_issues":36,"watchers":82,"default_branch":"master"}},"base":{"label":"LiskHQ:1.0.0","ref":"1.0.0","sha":"24b657da225f9ca9bc7eb22fbee44547d9377c08","user":{"login":"LiskHQ","id":16600915,"avatar_url":"https://avatars1.githubusercontent.com/u/16600915?v=4","gravatar_id":"","url":"https://api.github.com/users/LiskHQ","html_url":"https://github.com/LiskHQ","followers_url":"https://api.github.com/users/LiskHQ/followers","following_url":"https://api.github.com/users/LiskHQ/following{/other_user}","gists_url":"https://api.github.com/users/LiskHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/LiskHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiskHQ/subscriptions","organizations_url":"https://api.github.com/users/LiskHQ/orgs","repos_url":"https://api.github.com/users/LiskHQ/repos","events_url":"https://api.github.com/users/LiskHQ/events{/privacy}","received_events_url":"https://api.github.com/users/LiskHQ/received_events","type":"Organization","site_admin":false},"repo":{"id":90610986,"name":"lisky","full_name":"LiskHQ/lisky","owner":{"login":"LiskHQ","id":16600915,"avatar_url":"https://avatars1.githubusercontent.com/u/16600915?v=4","gravatar_id":"","url":"https://api.github.com/users/LiskHQ","html_url":"https://github.com/LiskHQ","followers_url":"https://api.github.com/users/LiskHQ/followers","following_url":"https://api.github.com/users/LiskHQ/following{/other_user}","gists_url":"https://api.github.com/users/LiskHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/LiskHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiskHQ/subscriptions","organizations_url":"https://api.github.com/users/LiskHQ/orgs","repos_url":"https://api.github.com/users/LiskHQ/repos","events_url":"https://api.github.com/users/LiskHQ/events{/privacy}","received_events_url":"https://api.github.com/users/LiskHQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LiskHQ/lisky","description":":cat: A command line interface for Lisk","fork":false,"url":"https://api.github.com/repos/LiskHQ/lisky","forks_url":"https://api.github.com/repos/LiskHQ/lisky/forks","keys_url":"https://api.github.com/repos/LiskHQ/lisky/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LiskHQ/lisky/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LiskHQ/lisky/teams","hooks_url":"https://api.github.com/repos/LiskHQ/lisky/hooks","issue_events_url":"https://api.github.com/repos/LiskHQ/lisky/issues/events{/number}","events_url":"https://api.github.com/repos/LiskHQ/lisky/events","assignees_url":"https://api.github.com/repos/LiskHQ/lisky/assignees{/user}","branches_url":"https://api.github.com/repos/LiskHQ/lisky/branches{/branch}","tags_url":"https://api.github.com/repos/LiskHQ/lisky/tags","blobs_url":"https://api.github.com/repos/LiskHQ/lisky/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LiskHQ/lisky/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LiskHQ/lisky/git/refs{/sha}","trees_url":"https://api.github.com/repos/LiskHQ/lisky/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LiskHQ/lisky/statuses/{sha}","languages_url":"https://api.github.com/repos/LiskHQ/lisky/languages","stargazers_url":"https://api.github.com/repos/LiskHQ/lisky/stargazers","contributors_url":"https://api.github.com/repos/LiskHQ/lisky/contributors","subscribers_url":"https://api.github.com/repos/LiskHQ/lisky/subscribers","subscription_url":"https://api.github.com/repos/LiskHQ/lisky/subscription","commits_url":"https://api.github.com/repos/LiskHQ/lisky/commits{/sha}","git_commits_url":"https://api.github.com/repos/LiskHQ/lisky/git/commits{/sha}","comments_url":"https://api.github.com/repos/LiskHQ/lisky/comments{/number}","issue_comment_url":"https://api.github.com/repos/LiskHQ/lisky/issues/comments{/number}","contents_url":"https://api.github.com/repos/LiskHQ/lisky/contents/{+path}","compare_url":"https://api.github.com/repos/LiskHQ/lisky/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LiskHQ/lisky/merges","archive_url":"https://api.github.com/repos/LiskHQ/lisky/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LiskHQ/lisky/downloads","issues_url":"https://api.github.com/repos/LiskHQ/lisky/issues{/number}","pulls_url":"https://api.github.com/repos/LiskHQ/lisky/pulls{/number}","milestones_url":"https://api.github.com/repos/LiskHQ/lisky/milestones{/number}","notifications_url":"https://api.github.com/repos/LiskHQ/lisky/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LiskHQ/lisky/labels{/name}","releases_url":"https://api.github.com/repos/LiskHQ/lisky/releases{/id}","deployments_url":"https://api.github.com/repos/LiskHQ/lisky/deployments","created_at":"2017-05-08T09:34:56Z","updated_at":"2018-02-08T05:10:27Z","pushed_at":"2018-02-08T15:31:02Z","git_url":"git://github.com/LiskHQ/lisky.git","ssh_url":"git@github.com:LiskHQ/lisky.git","clone_url":"https://github.com/LiskHQ/lisky.git","svn_url":"https://github.com/LiskHQ/lisky","homepage":"","size":1792,"stargazers_count":82,"watchers_count":82,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":20,"mirror_url":null,"archived":false,"open_issues_count":36,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":20,"open_issues":36,"watchers":82,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LiskHQ/lisky/pulls/432"},"html":{"href":"https://github.com/LiskHQ/lisky/pull/432"},"issue":{"href":"https://api.github.com/repos/LiskHQ/lisky/issues/432"},"comments":{"href":"https://api.github.com/repos/LiskHQ/lisky/issues/432/comments"},"review_comments":{"href":"https://api.github.com/repos/LiskHQ/lisky/pulls/432/comments"},"review_comment":{"href":"https://api.github.com/repos/LiskHQ/lisky/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LiskHQ/lisky/pulls/432/commits"},"statuses":{"href":"https://api.github.com/repos/LiskHQ/lisky/statuses/97e8237206ec45b77da4ece57c74e830598221b7"}},"author_association":"NONE"}}
{"actor":{"display_login":"shuse2"}}