{"action":"created","issue":{"url":"https://api.github.com/repos/alexmingoia/jsx-transform/issues/40","repository_url":"https://api.github.com/repos/alexmingoia/jsx-transform","labels_url":"https://api.github.com/repos/alexmingoia/jsx-transform/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/alexmingoia/jsx-transform/issues/40/comments","events_url":"https://api.github.com/repos/alexmingoia/jsx-transform/issues/40/events","html_url":"https://github.com/alexmingoia/jsx-transform/issues/40","id":138321655,"number":40,"title":"esprima-fb error when using default parameter value and destructuring","user":{"login":"cedriceberhardt","id":3330814,"avatar_url":"https://avatars.githubusercontent.com/u/3330814?v=3","gravatar_id":"","url":"https://api.github.com/users/cedriceberhardt","html_url":"https://github.com/cedriceberhardt","followers_url":"https://api.github.com/users/cedriceberhardt/followers","following_url":"https://api.github.com/users/cedriceberhardt/following{/other_user}","gists_url":"https://api.github.com/users/cedriceberhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/cedriceberhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedriceberhardt/subscriptions","organizations_url":"https://api.github.com/users/cedriceberhardt/orgs","repos_url":"https://api.github.com/users/cedriceberhardt/repos","events_url":"https://api.github.com/users/cedriceberhardt/events{/privacy}","received_events_url":"https://api.github.com/users/cedriceberhardt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-03T22:52:30Z","updated_at":"2016-03-03T23:00:48Z","closed_at":null,"body":"Hi. If you do:\r\n```js\r\nfunction main ( { x = 5, y = 3 } = {} ) {\r\n    ..\r\n}\r\n```\r\nand compile it thanks to Babel and browserify you've got the error\r\n`Unexpected token = while parsing file`\r\n\r\nIt works well without jsx-transform. As esprima-fb is not maintained, does it exist a solution to replace it? (Esprima looks like to support JSX now)\r\nThanks."},"comment":{"url":"https://api.github.com/repos/alexmingoia/jsx-transform/issues/comments/192007824","html_url":"https://github.com/alexmingoia/jsx-transform/issues/40#issuecomment-192007824","issue_url":"https://api.github.com/repos/alexmingoia/jsx-transform/issues/40","id":192007824,"user":{"login":"cedriceberhardt","id":3330814,"avatar_url":"https://avatars.githubusercontent.com/u/3330814?v=3","gravatar_id":"","url":"https://api.github.com/users/cedriceberhardt","html_url":"https://github.com/cedriceberhardt","followers_url":"https://api.github.com/users/cedriceberhardt/followers","following_url":"https://api.github.com/users/cedriceberhardt/following{/other_user}","gists_url":"https://api.github.com/users/cedriceberhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/cedriceberhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedriceberhardt/subscriptions","organizations_url":"https://api.github.com/users/cedriceberhardt/orgs","repos_url":"https://api.github.com/users/cedriceberhardt/repos","events_url":"https://api.github.com/users/cedriceberhardt/events{/privacy}","received_events_url":"https://api.github.com/users/cedriceberhardt/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T23:00:48Z","updated_at":"2016-03-03T23:00:48Z","body":"More infos #https://github.com/jquery/esprima/issues/1467"}}