{"action":"created","issue":{"url":"https://api.github.com/repos/nolanlawson/optimize-js/issues/3","repository_url":"https://api.github.com/repos/nolanlawson/optimize-js","labels_url":"https://api.github.com/repos/nolanlawson/optimize-js/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/nolanlawson/optimize-js/issues/3/comments","events_url":"https://api.github.com/repos/nolanlawson/optimize-js/issues/3/events","html_url":"https://github.com/nolanlawson/optimize-js/issues/3","id":177773963,"number":3,"title":"walk.js aborts with error if input contains ES6 code","user":{"login":"sergejmueller","id":108992,"avatar_url":"https://avatars0.githubusercontent.com/u/108992?v=3","gravatar_id":"","url":"https://api.github.com/users/sergejmueller","html_url":"https://github.com/sergejmueller","followers_url":"https://api.github.com/users/sergejmueller/followers","following_url":"https://api.github.com/users/sergejmueller/following{/other_user}","gists_url":"https://api.github.com/users/sergejmueller/gists{/gist_id}","starred_url":"https://api.github.com/users/sergejmueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergejmueller/subscriptions","organizations_url":"https://api.github.com/users/sergejmueller/orgs","repos_url":"https://api.github.com/users/sergejmueller/repos","events_url":"https://api.github.com/users/sergejmueller/events{/privacy}","received_events_url":"https://api.github.com/users/sergejmueller/received_events","type":"User","site_admin":false},"labels":[{"id":444406937,"url":"https://api.github.com/repos/nolanlawson/optimize-js/labels/bug","name":"bug","color":"ee0701","default":true},{"id":444406940,"url":"https://api.github.com/repos/nolanlawson/optimize-js/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-09-19T12:41:11Z","updated_at":"2017-04-30T20:57:59Z","closed_at":null,"body":"Perhaps because `walk.js` does not support ES6?\n\nExample: [start.js.txt](https://github.com/nolanlawson/optimize-js/files/479966/start.js.txt)\n\n``` bash\nTypeError: types[type] is not a function\n    at walk (/usr/local/lib/node_modules/optimize-js/node_modules/walk-ast/lib/walk.js:17:16)\n    at Object.skip (/usr/local/lib/node_modules/optimize-js/node_modules/walk-ast/lib/types.js:293:3)\n    at walk (/usr/local/lib/node_modules/optimize-js/node_modules/walk-ast/lib/walk.js:17:16)\n    at Object.exports.BinaryExpression.exports.LogicalExpression.exports.AssignmentExpression (/usr/local/lib/node_modules/optimize-js/node_modules/walk-ast/lib/types.js:243:3)\n    at walk (/usr/local/lib/node_modules/optimize-js/node_modules/walk-ast/lib/walk.js:17:16)\n    at Object.skip (/usr/local/lib/node_modules/optimize-js/node_modules/walk-ast/lib/types.js:293:3)\n    at walk (/usr/local/lib/node_modules/optimize-js/node_modules/walk-ast/lib/walk.js:17:16)\n    at Object.exports.ExpressionStatement (/usr/local/lib/node_modules/optimize-js/node_modules/walk-ast/lib/types.js:32:3)\n    at walk (/usr/local/lib/node_modules/optimize-js/node_modules/walk-ast/lib/walk.js:17:16)\n    at Object.skip (/usr/local/lib/node_modules/optimize-js/node_modules/walk-ast/lib/types.js:293:3)\n```\n"},"comment":{"url":"https://api.github.com/repos/nolanlawson/optimize-js/issues/comments/298256643","html_url":"https://github.com/nolanlawson/optimize-js/issues/3#issuecomment-298256643","issue_url":"https://api.github.com/repos/nolanlawson/optimize-js/issues/3","id":298256643,"user":{"login":"benderTheCrime","id":7144031,"avatar_url":"https://avatars1.githubusercontent.com/u/7144031?v=3","gravatar_id":"","url":"https://api.github.com/users/benderTheCrime","html_url":"https://github.com/benderTheCrime","followers_url":"https://api.github.com/users/benderTheCrime/followers","following_url":"https://api.github.com/users/benderTheCrime/following{/other_user}","gists_url":"https://api.github.com/users/benderTheCrime/gists{/gist_id}","starred_url":"https://api.github.com/users/benderTheCrime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benderTheCrime/subscriptions","organizations_url":"https://api.github.com/users/benderTheCrime/orgs","repos_url":"https://api.github.com/users/benderTheCrime/repos","events_url":"https://api.github.com/users/benderTheCrime/events{/privacy}","received_events_url":"https://api.github.com/users/benderTheCrime/received_events","type":"User","site_admin":false},"created_at":"2017-04-30T20:57:59Z","updated_at":"2017-04-30T20:57:59Z","body":"Question: wouldn't it just be possible to give acorn different options?"}}
{"actor":{"display_login":"benderTheCrime"}}