{"action":"created","issue":{"url":"https://api.github.com/repos/bigcompany/hook.io/issues/204","repository_url":"https://api.github.com/repos/bigcompany/hook.io","labels_url":"https://api.github.com/repos/bigcompany/hook.io/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/bigcompany/hook.io/issues/204/comments","events_url":"https://api.github.com/repos/bigcompany/hook.io/issues/204/events","html_url":"https://github.com/bigcompany/hook.io/issues/204","id":138639758,"number":204,"title":"es6 support for required package","user":{"login":"moscartong","id":165961,"avatar_url":"https://avatars.githubusercontent.com/u/165961?v=3","gravatar_id":"","url":"https://api.github.com/users/moscartong","html_url":"https://github.com/moscartong","followers_url":"https://api.github.com/users/moscartong/followers","following_url":"https://api.github.com/users/moscartong/following{/other_user}","gists_url":"https://api.github.com/users/moscartong/gists{/gist_id}","starred_url":"https://api.github.com/users/moscartong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moscartong/subscriptions","organizations_url":"https://api.github.com/users/moscartong/orgs","repos_url":"https://api.github.com/users/moscartong/repos","events_url":"https://api.github.com/users/moscartong/events{/privacy}","received_events_url":"https://api.github.com/users/moscartong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-05T03:33:01Z","updated_at":"2016-03-07T00:56:06Z","closed_at":null,"body":"I choose ECMAScript7 as programming language and write a simple hook with es6 features, it works without any exception:\r\n\r\n```javascript\r\n'use strict';\r\n\r\nexport default async function (hook) {\r\n  let greeting = `Hello World`;\r\n  hook.res.end(greeting);\r\n}\r\n```\r\n\r\nHowever when I require another package `let pkg = require('some-package');`  which use those same es6 features and hit the \"Test Code\" button, the following error shows up:\r\n\r\n```\r\n/node_modules/some-package/index.js:4\r\nlet Args = require('args-js'),\r\n^^^\r\nUnexpected strict mode reserved word\r\n```"},"comment":{"url":"https://api.github.com/repos/bigcompany/hook.io/issues/comments/193027050","html_url":"https://github.com/bigcompany/hook.io/issues/204#issuecomment-193027050","issue_url":"https://api.github.com/repos/bigcompany/hook.io/issues/204","id":193027050,"user":{"login":"Marak","id":70011,"avatar_url":"https://avatars.githubusercontent.com/u/70011?v=3","gravatar_id":"","url":"https://api.github.com/users/Marak","html_url":"https://github.com/Marak","followers_url":"https://api.github.com/users/Marak/followers","following_url":"https://api.github.com/users/Marak/following{/other_user}","gists_url":"https://api.github.com/users/Marak/gists{/gist_id}","starred_url":"https://api.github.com/users/Marak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marak/subscriptions","organizations_url":"https://api.github.com/users/Marak/orgs","repos_url":"https://api.github.com/users/Marak/repos","events_url":"https://api.github.com/users/Marak/events{/privacy}","received_events_url":"https://api.github.com/users/Marak/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T00:56:06Z","updated_at":"2016-03-07T00:56:06Z","body":"@moscartong -\r\n\r\nI have updated `wps-htmlify` to latest version.\r\n\r\nhttp://hook.io/moscartong/htmlify-delete is now working?\r\n\r\n"}}