{"action":"opened","issue":{"url":"https://api.github.com/repos/gotwarlost/istanbul/issues/705","repository_url":"https://api.github.com/repos/gotwarlost/istanbul","labels_url":"https://api.github.com/repos/gotwarlost/istanbul/issues/705/labels{/name}","comments_url":"https://api.github.com/repos/gotwarlost/istanbul/issues/705/comments","events_url":"https://api.github.com/repos/gotwarlost/istanbul/issues/705/events","html_url":"https://github.com/gotwarlost/istanbul/issues/705","id":181349873,"number":705,"title":"Instrumenter uses eval","user":{"login":"chge","id":400840,"avatar_url":"https://avatars.githubusercontent.com/u/400840?v=3","gravatar_id":"","url":"https://api.github.com/users/chge","html_url":"https://github.com/chge","followers_url":"https://api.github.com/users/chge/followers","following_url":"https://api.github.com/users/chge/following{/other_user}","gists_url":"https://api.github.com/users/chge/gists{/gist_id}","starred_url":"https://api.github.com/users/chge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chge/subscriptions","organizations_url":"https://api.github.com/users/chge/orgs","repos_url":"https://api.github.com/users/chge/repos","events_url":"https://api.github.com/users/chge/events{/privacy}","received_events_url":"https://api.github.com/users/chge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-06T08:11:50Z","updated_at":"2016-10-06T08:11:50Z","closed_at":null,"body":"Instrumenter currently [uses eval](https://github.com/gotwarlost/istanbul/blob/master/lib/instrumenter.js#L692) to get top-level scope. If you use both Strict mode and Content-Security-Policy, you have to hack your server to add a `script-src 'unsafe-eval'` directive to allow execution of instrumented code.\r\n\r\nIs there a way for instrumenter to track top-level scope without eval? Maybe a temporary field inside `__coverage__` object?"}}
{"actor":{"display_login":"chge"}}