{"action":"created","issue":{"url":"https://api.github.com/repos/crucialfelix/atom-supercollider/issues/32","labels_url":"https://api.github.com/repos/crucialfelix/atom-supercollider/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/crucialfelix/atom-supercollider/issues/32/comments","events_url":"https://api.github.com/repos/crucialfelix/atom-supercollider/issues/32/events","html_url":"https://github.com/crucialfelix/atom-supercollider/issues/32","id":58738133,"number":32,"title":"6to5 (babel) is blocking atom-supercollider from being activated","user":{"login":"crucialfelix","id":218738,"avatar_url":"https://avatars.githubusercontent.com/u/218738?v=3","gravatar_id":"","url":"https://api.github.com/users/crucialfelix","html_url":"https://github.com/crucialfelix","followers_url":"https://api.github.com/users/crucialfelix/followers","following_url":"https://api.github.com/users/crucialfelix/following{/other_user}","gists_url":"https://api.github.com/users/crucialfelix/gists{/gist_id}","starred_url":"https://api.github.com/users/crucialfelix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crucialfelix/subscriptions","organizations_url":"https://api.github.com/users/crucialfelix/orgs","repos_url":"https://api.github.com/users/crucialfelix/repos","events_url":"https://api.github.com/users/crucialfelix/events{/privacy}","received_events_url":"https://api.github.com/users/crucialfelix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-24T13:30:14Z","updated_at":"2015-02-26T16:04:24Z","closed_at":null,"body":"6to5 is run on all source files to transpile ES 6 to ES 5\r\n\r\nSomething inside of express is causing an error with unsafe javascript eval. \r\nBut atom-supercollider does not even use that functionality from supercolliderjs at all.\r\n\r\nMaybe I have to factor out the server stuff into a separate package, or maybe I just need to add some flags somewhere.\r\n\r\n```\r\n/Users/spasmo/.atom/packages/supercollider/node_modules/supercolliderjs/node_modules/express/node_m…:414 wrapfunction/Users/spasmo/.atom/packages/supercollider/node_modules/supercolliderjs/node_modules/express/node_m…:156 (anonymous function)module.js:475 Module._compile/Volumes/Coochie/jdownloader/Atom-2.app/Contents/Resources/app/src/6to5.js:138 loadFilemodule.js:370 Module.loadmodule.js:325 Module._loadmodule.js:380 Module.requiremodule.js:399 require/Users/spasmo/.atom/packages/supercollider/node_modules/supercolliderjs/node_modules/express/lib/ut…:16 (anonymous function)module.js:475 Module._compile/Volumes/Coochie/jdownloader/Atom-2.app/Contents/Resources/app/src/6to5.js:138 loadFilemodule.js:370 Module.loadmodule.js:325 Module._loadmodule.js:380 Module.requiremodule.js:399 require/Users/spasmo/.atom/packages/supercollider/node_modules/supercolliderjs/node_modules/express/lib/ap…:15 (anonymous function)module.js:475 Module._compile/Volumes/Coochie/jdownloader/Atom-2.app/Contents/Resources/app/src/6to5.js:138 loadFilemodule.js:370 Module.loadmodule.js:325 Module._loadmodule.js:380 Module.requiremodule.js:399 require/Users/spasmo/.atom/packages/supercollider/node_modules/supercolliderjs/node_modules/express/lib/ex…:7 (anonymous function)module.js:475 Module._compile/Volumes/Coochie/jdownloader/Atom-2.app/Contents/Resources/app/src/6to5.js:138 loadFilemodule.js:370 Module.loadmodule.js:325 Module._loadmodule.js:380 Module.requiremodule.js:399 require/Users/spasmo/.atom/packages/supercollider/node_modules/supercolliderjs/node_modules/express/index.…:2 (anonymous function)module.js:475 Module._compile/Volumes/Coochie/jdownloader/Atom-2.app/Contents/Resources/app/src/6to5.js:138 loadFilemodule.js:370 Module.loadmodule.js:325 Module._loadmodule.js:380 Module.requiremodule.js:399 require/Users/spasmo/.atom/packages/supercollider/node_modules/supercolliderjs/lib/nodejs/bridge.js:39 (anonymous function)module.js:475 Module._compile/Volumes/Coochie/jdownloader/Atom-2.app/Contents/Resources/app/src/6to5.js:138 loadFilemodule.js:370 Module.loadmodule.js:325 Module._loadmodule.js:380 Module.requiremodule.js:399 require/Users/spasmo/.atom/packages/supercollider/node_modules/supercolliderjs/index.js:6 (anonymous function)module.js:475 Module._compile/Volumes/Coochie/jdownloader/Atom-2.app/Contents/Resources/app/src/6to5.js:138 loadFilemodule.js:370 Module.loadmodule.js:325 Module._loadmodule.js:380 Module.requiremodule.js:399 require/Users/spasmo/.atom/packages/supercollider/lib/repl.coffee:14 (anonymous function)/Users/spasmo/.atom/packages/supercollider/lib/repl.coffee:271 (anonymous function)module.js:475 Module._compile/Volumes/Coochie/jdownloader/Atom-2.app/Contents/Resources/app/node_modules/coffee-cash/lib/coffee-…:67 requireCoffeeScriptmodule.js:370 Module.loadmodule.js:325 Module._loadmodule.js:380 Module.requiremodule.js:399 require/Users/spasmo/.atom/packages/supercollider/lib/controller.coffee:7 (anonymous function)/Users/spasmo/.atom/packages/supercollider/lib/controller.coffee:395 (anonymous function)module.js:475 Module._compile/Volumes/Coochie/jdownloader/Atom-2.app/Contents/Resources/app/node_modules/coffee-cash/lib/coffee-…:67 requireCoffeeScriptmodule.js:370 Module.loadmodule.js:325 Module._loadmodule.js:380 Module.requiremodule.js:399 requiresupercollider.coffee:3 (anonymous function)supercollider.coffee:3 (anonymous function)module.js:475 Module._compile/Volumes/Coochie/jdownloader/Atom-2.app/Contents/Resources/app/node_modules/coffee-cash/lib/coffee-…:67 requireCoffeeScriptmodule.js:370 Module.loadmodule.js:325 Module._loadmodule.js:380 Module.requiremodule.js:399 require/Volumes/Coochie/jdownloader/Atom-2.app/Contents/Resources/app/src/package.js:651 module.exports.Package.requireMainModule/Volumes/Coochie/jdownloader/Atom-2.app/Contents/Resources/app/src/package.js:251 module.exports.Package.activateConfig/Volumes/Coochie/jdownloader/Atom-2.app/Contents/Resources/app/src/package.js:232 module.exports.Package.activateNow/Volumes/Coochie/jdownloader/Atom-2.app/Contents/Resources/app/src/package.js:710 (anonymous function)/Volumes/Coochie/jdownloader/Atom-2.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:82 module.exports.Emitter.emit/Volumes/Coochie/jdownloader/Atom-2.app/Contents/Resources/app/src/command-registry.js:224 module.exports.CommandRegistry.handleCommandEvent/Volumes/Coochie/jdownloader/Atom-2.app/Contents/Resources/app/src/command-registry.js:3 (anonymous function)/Volumes/Coochie/jdownloader/Atom-2.app/Contents/Resources/app/src/command-registry.js:156 module.exports.CommandRegistry.dispatch/Volumes/Coochie/jdownloader/Atom-2.app/Contents/Resources/app/src/window-event-handler.js:69 (anonymous function)events.js:116 emit\r\n/Volumes/Coochie/jdownloader/Atom-2.app/Contents/Resources/app/src/package.js:241 Failed to activate package named 'supercollider' EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: \"script-src 'self'\".\r\n\r\n    at Function.wrapfunction (/Users/spasmo/.atom/packages/supercollider/node_modules/supercolliderjs/node_modules/express/node_modules/depd/index.js:414:5)\r\n    at Object.<anonymous> (/Users/spasmo/.atom/packages/supercollider/node_modules/supercolliderjs/node_modules/express/node_modules/send/index.js:156:47)\r\n    at Module._compile (module.js:475:26)\r\n    at Object.loadFile [as .js] (/Volumes/Coochie/jdownloader/Atom-2.app/Contents/Resources/app/src/6to5.js:138:21)\r\n    at Module.load (module.js:370:32)\r\n    at Function.Module._load (module.js:325:12)\r\n    at Module.require (module.js:380:17)\r\n    at require (module.js:399:17)\r\n    at Object.<anonymous> (/Users/spasmo/.atom/packages/supercollider/node_modules/supercolliderjs/node_modules/express/lib/utils.js:16:12)\r\n    at Module._compile (module.js:475:26)\r\n```"},"comment":{"url":"https://api.github.com/repos/crucialfelix/atom-supercollider/issues/comments/76204723","html_url":"https://github.com/crucialfelix/atom-supercollider/issues/32#issuecomment-76204723","issue_url":"https://api.github.com/repos/crucialfelix/atom-supercollider/issues/32","id":76204723,"user":{"login":"crucialfelix","id":218738,"avatar_url":"https://avatars.githubusercontent.com/u/218738?v=3","gravatar_id":"","url":"https://api.github.com/users/crucialfelix","html_url":"https://github.com/crucialfelix","followers_url":"https://api.github.com/users/crucialfelix/followers","following_url":"https://api.github.com/users/crucialfelix/following{/other_user}","gists_url":"https://api.github.com/users/crucialfelix/gists{/gist_id}","starred_url":"https://api.github.com/users/crucialfelix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crucialfelix/subscriptions","organizations_url":"https://api.github.com/users/crucialfelix/orgs","repos_url":"https://api.github.com/users/crucialfelix/repos","events_url":"https://api.github.com/users/crucialfelix/events{/privacy}","received_events_url":"https://api.github.com/users/crucialfelix/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T16:04:24Z","updated_at":"2015-02-26T16:04:24Z","body":"fixed. supercolliderjs no longer contains express\r\n\r\nit could've just used node's own http but its better to keep it simple"}}