{"action":"created","comment":{"url":"https://api.github.com/repos/jspm/jspm-cli/pulls/comments/25997602","id":25997602,"diff_hunk":"@@ -68,18 +69,9 @@ exports.hasProperties = function(obj) {\n \n exports.readJSON = function(file) {\n   return asp(fs.readFile)(file)\n-  .then(function(pjson) {\n-    pjson = pjson.toString();\n-    // remove any byte order mark\n-    if (pjson.startsWith('\\uFEFF')) // TODO: https://www.npmjs.com/package/strip-bom\n-      pjson = pjson.substr(1);","path":"lib/common.js","position":16,"original_position":16,"commit_id":"6c8949b8ba44cca7663a2a06299757d7109a8916","original_commit_id":"da2da98f8682ee8ed28a43f40226e48c92dc79d7","user":{"login":"floatdrop","id":365089,"avatar_url":"https://avatars.githubusercontent.com/u/365089?v=3","gravatar_id":"","url":"https://api.github.com/users/floatdrop","html_url":"https://github.com/floatdrop","followers_url":"https://api.github.com/users/floatdrop/followers","following_url":"https://api.github.com/users/floatdrop/following{/other_user}","gists_url":"https://api.github.com/users/floatdrop/gists{/gist_id}","starred_url":"https://api.github.com/users/floatdrop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floatdrop/subscriptions","organizations_url":"https://api.github.com/users/floatdrop/orgs","repos_url":"https://api.github.com/users/floatdrop/repos","events_url":"https://api.github.com/users/floatdrop/events{/privacy}","received_events_url":"https://api.github.com/users/floatdrop/received_events","type":"User","site_admin":false},"body":"In some cases this is fair point, but ofter modules with large feature set have huge number of submodules. Besides this extra dependency is loaded once (and it is tiny), when jspm is installed and not affecting bundled package. But this is just my thoughts.","created_at":"2015-03-07T17:18:31Z","updated_at":"2015-03-07T17:18:31Z","html_url":"https://github.com/jspm/jspm-cli/pull/572#discussion_r25997602","pull_request_url":"https://api.github.com/repos/jspm/jspm-cli/pulls/572","_links":{"self":{"href":"https://api.github.com/repos/jspm/jspm-cli/pulls/comments/25997602"},"html":{"href":"https://github.com/jspm/jspm-cli/pull/572#discussion_r25997602"},"pull_request":{"href":"https://api.github.com/repos/jspm/jspm-cli/pulls/572"}}},"pull_request":{"url":"https://api.github.com/repos/jspm/jspm-cli/pulls/572","id":30705325,"html_url":"https://github.com/jspm/jspm-cli/pull/572","diff_url":"https://github.com/jspm/jspm-cli/pull/572.diff","patch_url":"https://github.com/jspm/jspm-cli/pull/572.patch","issue_url":"https://api.github.com/repos/jspm/jspm-cli/issues/572","number":572,"state":"open","locked":false,"title":"Use strip-bom for removing byte order mark","user":{"login":"floatdrop","id":365089,"avatar_url":"https://avatars.githubusercontent.com/u/365089?v=3","gravatar_id":"","url":"https://api.github.com/users/floatdrop","html_url":"https://github.com/floatdrop","followers_url":"https://api.github.com/users/floatdrop/followers","following_url":"https://api.github.com/users/floatdrop/following{/other_user}","gists_url":"https://api.github.com/users/floatdrop/gists{/gist_id}","starred_url":"https://api.github.com/users/floatdrop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floatdrop/subscriptions","organizations_url":"https://api.github.com/users/floatdrop/orgs","repos_url":"https://api.github.com/users/floatdrop/repos","events_url":"https://api.github.com/users/floatdrop/events{/privacy}","received_events_url":"https://api.github.com/users/floatdrop/received_events","type":"User","site_admin":false},"body":"Clean up code a little with [strip-bom](https://www.npmjs.com/package/strip-bom).","created_at":"2015-03-07T16:42:08Z","updated_at":"2015-03-07T17:18:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2c0058d25ce06a19e8e910bc94a47cece5d5da84","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jspm/jspm-cli/pulls/572/commits","review_comments_url":"https://api.github.com/repos/jspm/jspm-cli/pulls/572/comments","review_comment_url":"https://api.github.com/repos/jspm/jspm-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jspm/jspm-cli/issues/572/comments","statuses_url":"https://api.github.com/repos/jspm/jspm-cli/statuses/6c8949b8ba44cca7663a2a06299757d7109a8916","head":{"label":"floatdrop:strip-bom","ref":"strip-bom","sha":"6c8949b8ba44cca7663a2a06299757d7109a8916","user":{"login":"floatdrop","id":365089,"avatar_url":"https://avatars.githubusercontent.com/u/365089?v=3","gravatar_id":"","url":"https://api.github.com/users/floatdrop","html_url":"https://github.com/floatdrop","followers_url":"https://api.github.com/users/floatdrop/followers","following_url":"https://api.github.com/users/floatdrop/following{/other_user}","gists_url":"https://api.github.com/users/floatdrop/gists{/gist_id}","starred_url":"https://api.github.com/users/floatdrop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floatdrop/subscriptions","organizations_url":"https://api.github.com/users/floatdrop/orgs","repos_url":"https://api.github.com/users/floatdrop/repos","events_url":"https://api.github.com/users/floatdrop/events{/privacy}","received_events_url":"https://api.github.com/users/floatdrop/received_events","type":"User","site_admin":false},"repo":{"id":31455077,"name":"jspm-cli","full_name":"floatdrop/jspm-cli","owner":{"login":"floatdrop","id":365089,"avatar_url":"https://avatars.githubusercontent.com/u/365089?v=3","gravatar_id":"","url":"https://api.github.com/users/floatdrop","html_url":"https://github.com/floatdrop","followers_url":"https://api.github.com/users/floatdrop/followers","following_url":"https://api.github.com/users/floatdrop/following{/other_user}","gists_url":"https://api.github.com/users/floatdrop/gists{/gist_id}","starred_url":"https://api.github.com/users/floatdrop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floatdrop/subscriptions","organizations_url":"https://api.github.com/users/floatdrop/orgs","repos_url":"https://api.github.com/users/floatdrop/repos","events_url":"https://api.github.com/users/floatdrop/events{/privacy}","received_events_url":"https://api.github.com/users/floatdrop/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/floatdrop/jspm-cli","description":"Package management CLI","fork":true,"url":"https://api.github.com/repos/floatdrop/jspm-cli","forks_url":"https://api.github.com/repos/floatdrop/jspm-cli/forks","keys_url":"https://api.github.com/repos/floatdrop/jspm-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/floatdrop/jspm-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/floatdrop/jspm-cli/teams","hooks_url":"https://api.github.com/repos/floatdrop/jspm-cli/hooks","issue_events_url":"https://api.github.com/repos/floatdrop/jspm-cli/issues/events{/number}","events_url":"https://api.github.com/repos/floatdrop/jspm-cli/events","assignees_url":"https://api.github.com/repos/floatdrop/jspm-cli/assignees{/user}","branches_url":"https://api.github.com/repos/floatdrop/jspm-cli/branches{/branch}","tags_url":"https://api.github.com/repos/floatdrop/jspm-cli/tags","blobs_url":"https://api.github.com/repos/floatdrop/jspm-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/floatdrop/jspm-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/floatdrop/jspm-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/floatdrop/jspm-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/floatdrop/jspm-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/floatdrop/jspm-cli/languages","stargazers_url":"https://api.github.com/repos/floatdrop/jspm-cli/stargazers","contributors_url":"https://api.github.com/repos/floatdrop/jspm-cli/contributors","subscribers_url":"https://api.github.com/repos/floatdrop/jspm-cli/subscribers","subscription_url":"https://api.github.com/repos/floatdrop/jspm-cli/subscription","commits_url":"https://api.github.com/repos/floatdrop/jspm-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/floatdrop/jspm-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/floatdrop/jspm-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/floatdrop/jspm-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/floatdrop/jspm-cli/contents/{+path}","compare_url":"https://api.github.com/repos/floatdrop/jspm-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/floatdrop/jspm-cli/merges","archive_url":"https://api.github.com/repos/floatdrop/jspm-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/floatdrop/jspm-cli/downloads","issues_url":"https://api.github.com/repos/floatdrop/jspm-cli/issues{/number}","pulls_url":"https://api.github.com/repos/floatdrop/jspm-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/floatdrop/jspm-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/floatdrop/jspm-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/floatdrop/jspm-cli/labels{/name}","releases_url":"https://api.github.com/repos/floatdrop/jspm-cli/releases{/id}","created_at":"2015-02-28T07:33:41Z","updated_at":"2015-03-07T16:34:54Z","pushed_at":"2015-03-07T16:55:03Z","git_url":"git://github.com/floatdrop/jspm-cli.git","ssh_url":"git@github.com:floatdrop/jspm-cli.git","clone_url":"https://github.com/floatdrop/jspm-cli.git","svn_url":"https://github.com/floatdrop/jspm-cli","homepage":"https://jspm.io","size":1113,"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":"jspm:master","ref":"master","sha":"b2b0b997dd0d124a88b07f48b7b0a545d88d77c4","user":{"login":"jspm","id":3802108,"avatar_url":"https://avatars.githubusercontent.com/u/3802108?v=3","gravatar_id":"","url":"https://api.github.com/users/jspm","html_url":"https://github.com/jspm","followers_url":"https://api.github.com/users/jspm/followers","following_url":"https://api.github.com/users/jspm/following{/other_user}","gists_url":"https://api.github.com/users/jspm/gists{/gist_id}","starred_url":"https://api.github.com/users/jspm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jspm/subscriptions","organizations_url":"https://api.github.com/users/jspm/orgs","repos_url":"https://api.github.com/users/jspm/repos","events_url":"https://api.github.com/users/jspm/events{/privacy}","received_events_url":"https://api.github.com/users/jspm/received_events","type":"Organization","site_admin":false},"repo":{"id":8962829,"name":"jspm-cli","full_name":"jspm/jspm-cli","owner":{"login":"jspm","id":3802108,"avatar_url":"https://avatars.githubusercontent.com/u/3802108?v=3","gravatar_id":"","url":"https://api.github.com/users/jspm","html_url":"https://github.com/jspm","followers_url":"https://api.github.com/users/jspm/followers","following_url":"https://api.github.com/users/jspm/following{/other_user}","gists_url":"https://api.github.com/users/jspm/gists{/gist_id}","starred_url":"https://api.github.com/users/jspm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jspm/subscriptions","organizations_url":"https://api.github.com/users/jspm/orgs","repos_url":"https://api.github.com/users/jspm/repos","events_url":"https://api.github.com/users/jspm/events{/privacy}","received_events_url":"https://api.github.com/users/jspm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jspm/jspm-cli","description":"Package management CLI","fork":false,"url":"https://api.github.com/repos/jspm/jspm-cli","forks_url":"https://api.github.com/repos/jspm/jspm-cli/forks","keys_url":"https://api.github.com/repos/jspm/jspm-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jspm/jspm-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jspm/jspm-cli/teams","hooks_url":"https://api.github.com/repos/jspm/jspm-cli/hooks","issue_events_url":"https://api.github.com/repos/jspm/jspm-cli/issues/events{/number}","events_url":"https://api.github.com/repos/jspm/jspm-cli/events","assignees_url":"https://api.github.com/repos/jspm/jspm-cli/assignees{/user}","branches_url":"https://api.github.com/repos/jspm/jspm-cli/branches{/branch}","tags_url":"https://api.github.com/repos/jspm/jspm-cli/tags","blobs_url":"https://api.github.com/repos/jspm/jspm-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jspm/jspm-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jspm/jspm-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/jspm/jspm-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jspm/jspm-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/jspm/jspm-cli/languages","stargazers_url":"https://api.github.com/repos/jspm/jspm-cli/stargazers","contributors_url":"https://api.github.com/repos/jspm/jspm-cli/contributors","subscribers_url":"https://api.github.com/repos/jspm/jspm-cli/subscribers","subscription_url":"https://api.github.com/repos/jspm/jspm-cli/subscription","commits_url":"https://api.github.com/repos/jspm/jspm-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/jspm/jspm-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/jspm/jspm-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/jspm/jspm-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/jspm/jspm-cli/contents/{+path}","compare_url":"https://api.github.com/repos/jspm/jspm-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jspm/jspm-cli/merges","archive_url":"https://api.github.com/repos/jspm/jspm-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jspm/jspm-cli/downloads","issues_url":"https://api.github.com/repos/jspm/jspm-cli/issues{/number}","pulls_url":"https://api.github.com/repos/jspm/jspm-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/jspm/jspm-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/jspm/jspm-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jspm/jspm-cli/labels{/name}","releases_url":"https://api.github.com/repos/jspm/jspm-cli/releases{/id}","created_at":"2013-03-22T23:20:12Z","updated_at":"2015-03-07T01:24:28Z","pushed_at":"2015-03-06T19:39:42Z","git_url":"git://github.com/jspm/jspm-cli.git","ssh_url":"git@github.com:jspm/jspm-cli.git","clone_url":"https://github.com/jspm/jspm-cli.git","svn_url":"https://github.com/jspm/jspm-cli","homepage":"https://jspm.io","size":4788,"stargazers_count":996,"watchers_count":996,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":55,"mirror_url":null,"open_issues_count":47,"forks":55,"open_issues":47,"watchers":996,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jspm/jspm-cli/pulls/572"},"html":{"href":"https://github.com/jspm/jspm-cli/pull/572"},"issue":{"href":"https://api.github.com/repos/jspm/jspm-cli/issues/572"},"comments":{"href":"https://api.github.com/repos/jspm/jspm-cli/issues/572/comments"},"review_comments":{"href":"https://api.github.com/repos/jspm/jspm-cli/pulls/572/comments"},"review_comment":{"href":"https://api.github.com/repos/jspm/jspm-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jspm/jspm-cli/pulls/572/commits"},"statuses":{"href":"https://api.github.com/repos/jspm/jspm-cli/statuses/6c8949b8ba44cca7663a2a06299757d7109a8916"}}}}