{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/7818","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/7818/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/7818/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/7818/events","html_url":"https://github.com/meteor/meteor/pull/7818","id":179047292,"number":7818,"title":"CoffeeScript now supports ES2015 modules","user":{"login":"GeoffreyBooth","id":456802,"avatar_url":"https://avatars.githubusercontent.com/u/456802?v=3","gravatar_id":"","url":"https://api.github.com/users/GeoffreyBooth","html_url":"https://github.com/GeoffreyBooth","followers_url":"https://api.github.com/users/GeoffreyBooth/followers","following_url":"https://api.github.com/users/GeoffreyBooth/following{/other_user}","gists_url":"https://api.github.com/users/GeoffreyBooth/gists{/gist_id}","starred_url":"https://api.github.com/users/GeoffreyBooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeoffreyBooth/subscriptions","organizations_url":"https://api.github.com/users/GeoffreyBooth/orgs","repos_url":"https://api.github.com/users/GeoffreyBooth/repos","events_url":"https://api.github.com/users/GeoffreyBooth/events{/privacy}","received_events_url":"https://api.github.com/users/GeoffreyBooth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-24T19:25:14Z","updated_at":"2016-09-26T20:24:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/meteor/meteor/pulls/7818","html_url":"https://github.com/meteor/meteor/pull/7818","diff_url":"https://github.com/meteor/meteor/pull/7818.diff","patch_url":"https://github.com/meteor/meteor/pull/7818.patch"},"body":"CoffeeScript 1.11.0 is out, and this release adds [native support for `import` and `export` statements](http://coffeescript.org/#modules). There’s no need to wrap such statements in backticks anymore.\r\n\r\nThis pull request updates Meteor’s `coffeescript` package as follows:\r\n- The version of CoffeeScript is bumped to 1.11.0.\r\n- Previously, any CoffeeScript file that contained at least one backtick was passed to the `ecmascript` package for further compilation by Babel. Now CoffeeScript files that contain backticks or the substrings `import`, `export` or `function*` are passed to `ecmascript`.\r\n- New tests are added to check that the native `import` and `export` statements work.\r\n\r\nRegarding when to pass to `ecmascript`, technically CoffeeScript currently has two features that are output as ES2015 rather than ES5: modules, and [generator functions](http://coffeescript.org/#fat-arrow). It was a bug in the previous version of the package that generators were passed through to the runtime, rather than getting further processing by `ecmascript`/Babel. We might want to consider eliminating this check and simply pass everything output by CoffeeScript to `ecmascript`, rather than continuing to expand this list as CoffeeScript adds more features that it outputs in ESNext syntax. For now I’ve left it, since it should improve performance and the list of ESNext syntax features is still fairly short."},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/249686401","html_url":"https://github.com/meteor/meteor/pull/7818#issuecomment-249686401","issue_url":"https://api.github.com/repos/meteor/meteor/issues/7818","id":249686401,"user":{"login":"GeoffreyBooth","id":456802,"avatar_url":"https://avatars.githubusercontent.com/u/456802?v=3","gravatar_id":"","url":"https://api.github.com/users/GeoffreyBooth","html_url":"https://github.com/GeoffreyBooth","followers_url":"https://api.github.com/users/GeoffreyBooth/followers","following_url":"https://api.github.com/users/GeoffreyBooth/following{/other_user}","gists_url":"https://api.github.com/users/GeoffreyBooth/gists{/gist_id}","starred_url":"https://api.github.com/users/GeoffreyBooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeoffreyBooth/subscriptions","organizations_url":"https://api.github.com/users/GeoffreyBooth/orgs","repos_url":"https://api.github.com/users/GeoffreyBooth/repos","events_url":"https://api.github.com/users/GeoffreyBooth/events{/privacy}","received_events_url":"https://api.github.com/users/GeoffreyBooth/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T20:24:01Z","updated_at":"2016-09-26T20:24:01Z","body":"@abernix I think we should be good. I don’t know why the CI tests sometimes pass and sometimes fail."}}
{"actor":{"display_login":"GeoffreyBooth"}}