{"action":"created","issue":{"url":"https://api.github.com/repos/browserify/module-deps/issues/144","repository_url":"https://api.github.com/repos/browserify/module-deps","labels_url":"https://api.github.com/repos/browserify/module-deps/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/browserify/module-deps/issues/144/comments","events_url":"https://api.github.com/repos/browserify/module-deps/issues/144/events","html_url":"https://github.com/browserify/module-deps/issues/144","id":308658666,"number":144,"title":"Recent Commit is Crashing Build","user":{"login":"mattdesl","id":1383811,"avatar_url":"https://avatars1.githubusercontent.com/u/1383811?v=4","gravatar_id":"","url":"https://api.github.com/users/mattdesl","html_url":"https://github.com/mattdesl","followers_url":"https://api.github.com/users/mattdesl/followers","following_url":"https://api.github.com/users/mattdesl/following{/other_user}","gists_url":"https://api.github.com/users/mattdesl/gists{/gist_id}","starred_url":"https://api.github.com/users/mattdesl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattdesl/subscriptions","organizations_url":"https://api.github.com/users/mattdesl/orgs","repos_url":"https://api.github.com/users/mattdesl/repos","events_url":"https://api.github.com/users/mattdesl/events{/privacy}","received_events_url":"https://api.github.com/users/mattdesl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-26T17:07:52Z","updated_at":"2018-03-27T13:13:43Z","closed_at":null,"author_association":"NONE","body":"To reproduce, install latest browserify (16.1.1) and run it on the following:\r\n\r\n```js\r\n// --> need a require(), or a commented out require() somewhere\r\n// require('foo-bar');\r\nvar foo = 1;\r\nconst foo = 2;\r\n```\r\n\r\n```\r\nbrowserify index.js\r\n```\r\n\r\nResulting error comes from `module-deps`:\r\n\r\n```\r\nError: Parsing file /Users/matt/Desktop/foobar/index.js: Identifier 'foo' has already been declared (4:6)\r\n    at Deps.parseDeps (/Users/matt/Desktop/foobar/node_modules/module-deps/index.js:506:28)\r\n    at getDeps (/Users/matt/Desktop/foobar/node_modules/module-deps/index.js:436:44)\r\n    at /Users/matt/Desktop/foobar/node_modules/module-deps/index.js:420:32\r\n    at ConcatStream.<anonymous> (/Users/matt/Desktop/foobar/node_modules/concat-stream/index.js:37:43)\r\n    at emitNone (events.js:111:20)\r\n    at ConcatStream.emit (events.js:208:7)\r\n    at finishMaybe (/Users/matt/Desktop/foobar/node_modules/readable-stream/lib/_stream_writable.js:620:14)\r\n    at endWritable (/Users/matt/Desktop/foobar/node_modules/readable-stream/lib/_stream_writable.js:628:3)\r\n    at ConcatStream.Writable.end (/Users/matt/Desktop/foobar/node_modules/readable-stream/lib/_stream_writable.js:584:41)\r\n    at DuplexWrapper.onend (/Users/matt/Desktop/foobar/node_modules/readable-stream/lib/_stream_readable.js:577:10)\r\n```"},"comment":{"url":"https://api.github.com/repos/browserify/module-deps/issues/comments/376519904","html_url":"https://github.com/browserify/module-deps/issues/144#issuecomment-376519904","issue_url":"https://api.github.com/repos/browserify/module-deps/issues/144","id":376519904,"user":{"login":"substack","id":12631,"avatar_url":"https://avatars0.githubusercontent.com/u/12631?v=4","gravatar_id":"","url":"https://api.github.com/users/substack","html_url":"https://github.com/substack","followers_url":"https://api.github.com/users/substack/followers","following_url":"https://api.github.com/users/substack/following{/other_user}","gists_url":"https://api.github.com/users/substack/gists{/gist_id}","starred_url":"https://api.github.com/users/substack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/substack/subscriptions","organizations_url":"https://api.github.com/users/substack/orgs","repos_url":"https://api.github.com/users/substack/repos","events_url":"https://api.github.com/users/substack/events{/privacy}","received_events_url":"https://api.github.com/users/substack/received_events","type":"User","site_admin":false},"created_at":"2018-03-27T13:13:43Z","updated_at":"2018-03-27T13:13:43Z","author_association":"COLLABORATOR","body":"I think maybe this is still an issue. After a syntax error budo isn't resuming watching for files changes."}}
{"actor":{"display_login":"substack"}}