{"action":"created","issue":{"url":"https://api.github.com/repos/knightli/qiniu-uploader/issues/6","repository_url":"https://api.github.com/repos/knightli/qiniu-uploader","labels_url":"https://api.github.com/repos/knightli/qiniu-uploader/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/knightli/qiniu-uploader/issues/6/comments","events_url":"https://api.github.com/repos/knightli/qiniu-uploader/issues/6/events","html_url":"https://github.com/knightli/qiniu-uploader/issues/6","id":190498614,"number":6,"title":"Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an al...","user":{"login":"91wangmeng","id":13831315,"avatar_url":"https://avatars2.githubusercontent.com/u/13831315?v=3","gravatar_id":"","url":"https://api.github.com/users/91wangmeng","html_url":"https://github.com/91wangmeng","followers_url":"https://api.github.com/users/91wangmeng/followers","following_url":"https://api.github.com/users/91wangmeng/following{/other_user}","gists_url":"https://api.github.com/users/91wangmeng/gists{/gist_id}","starred_url":"https://api.github.com/users/91wangmeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/91wangmeng/subscriptions","organizations_url":"https://api.github.com/users/91wangmeng/orgs","repos_url":"https://api.github.com/users/91wangmeng/repos","events_url":"https://api.github.com/users/91wangmeng/events{/privacy}","received_events_url":"https://api.github.com/users/91wangmeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-11-19T14:18:03Z","updated_at":"2017-04-30T13:51:14Z","closed_at":null,"body":"[Enter steps to reproduce below:]\r\n\r\n1. ...\r\n2. ...\r\n\r\n**Atom Version**: 1.12.4\r\n**Electron Version**: 1.3.9\r\n**System**: Mac OS X 10.10.5\r\n**Thrown From**: [qiniu-uploader](https://github.com/knightli/qiniu-uploader) package, v0.0.3\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught 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\r\n```\r\nAt /Users/wmm/.atom/packages/qiniu-uploader/node_modules/sync-request/index.js:10\r\n\r\nEvalError: 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 Object.<anonymous> (/Users/wmm/.atom/packages/qiniu-uploader/node_modules/sync-request/index.js:10:1)\r\n    at Module._compile (/Users/wmm/Downloads/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)\r\n    at Object.value [as .js] (/Users/wmm/Downloads/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:201:21)\r\n    at Module.load (module.js:473:32)\r\n    at tryModuleLoad (module.js:432:12)\r\n    at Function.Module._load (module.js:424:3)\r\n    at Module.require (module.js:483:17)\r\n    at require (/Users/wmm/Downloads/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)\r\n    at Object.<anonymous> (/Users/wmm/.atom/packages/qiniu-uploader/node_modules/qiniu/qiniu/zone.js:1:94)\r\n    at Module._compile (/Users/wmm/Downloads/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)\r\n    at Object.value [as .js] (/Users/wmm/Downloads/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:201:21)\r\n    at Module.load (module.js:473:32)\r\n    at tryModuleLoad (module.js:432:12)\r\n    at Function.Module._load (module.js:424:3)\r\n    at Module.require (module.js:483:17)\r\n    at require (/Users/wmm/Downloads/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)\r\n    at Object.<anonymous> (/Users/wmm/.atom/packages/qiniu-uploader/node_modules/qiniu/qiniu/io.js:11:12)\r\n    at Module._compile (/Users/wmm/Downloads/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)\r\n    at Object.value [as .js] (/Users/wmm/Downloads/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:201:21)\r\n    at Module.load (module.js:473:32)\r\n    at tryModuleLoad (module.js:432:12)\r\n    at Function.Module._load (module.js:424:3)\r\n    at Module.require (module.js:483:17)\r\n    at require (/Users/wmm/Downloads/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)\r\n    at Object.<anonymous> (/Users/wmm/.atom/packages/qiniu-uploader/node_modules/qiniu/index.js:8:7)\r\n    at Module._compile (/Users/wmm/Downloads/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)\r\n    at Object.value [as .js] (/Users/wmm/Downloads/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:201:21)\r\n    at Module.load (module.js:473:32)\r\n    at tryModuleLoad (module.js:432:12)\r\n    at Function.Module._load (module.js:424:3)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -0:00.0 core:paste (atom-text-editor.editor.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"telemetryConsent\": \"no\"\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nactivate-power-mode, v1.1.0 (active)\r\ncolor-picker, v2.2.3 (active)\r\nmarkdown-assistant, v0.2.0 (active)\r\nqiniu-uploader, v0.0.3 (inactive)\r\natom-dark-syntax, v0.27.0 (inactive)\r\natom-dark-ui, v0.52.0 (inactive)\r\natom-light-syntax, v0.28.0 (inactive)\r\natom-light-ui, v0.45.0 (inactive)\r\nbase16-tomorrow-dark-theme, v1.3.0 (inactive)\r\nbase16-tomorrow-light-theme, v1.3.0 (inactive)\r\none-dark-ui, v1.6.2 (active)\r\none-light-ui, v1.6.2 (inactive)\r\none-dark-syntax, v1.5.0 (active)\r\none-light-syntax, v1.5.0 (inactive)\r\nsolarized-dark-syntax, v1.0.5 (inactive)\r\nsolarized-light-syntax, v1.0.5 (inactive)\r\nabout, v1.7.0 (active)\r\narchive-view, v0.62.0 (active)\r\nautocomplete-atom-api, v0.10.0 (active)\r\nautocomplete-css, v0.13.1 (active)\r\nautocomplete-html, v0.7.2 (active)\r\nautocomplete-plus, v2.31.4 (active)\r\nautocomplete-snippets, v1.11.0 (active)\r\nautoflow, v0.27.0 (inactive)\r\nautosave, v0.23.1 (active)\r\nbackground-tips, v0.26.1 (active)\r\nbookmarks, v0.42.0 (active)\r\nbracket-matcher, v0.82.2 (active)\r\ncommand-palette, v0.39.0 (inactive)\r\ndeprecation-cop, v0.54.1 (active)\r\ndev-live-reload, v0.47.0 (active)\r\nencoding-selector, v0.22.0 (active)\r\nexception-reporting, v0.40.0 (active)\r\nfind-and-replace, v0.202.2 (inactive)\r\nfuzzy-finder, v1.4.0 (active)\r\ngit-diff, v1.1.0 (active)\r\ngo-to-line, v0.31.0 (inactive)\r\ngrammar-selector, v0.48.2 (active)\r\nimage-view, v0.60.0 (active)\r\nincompatible-packages, v0.26.1 (active)\r\nkeybinding-resolver, v0.35.0 (active)\r\nline-ending-selector, v0.5.0 (active)\r\nlink, v0.31.2 (inactive)\r\nmarkdown-preview, v0.158.8 (active)\r\nmetrics, v1.1.2 (active)\r\nnotifications, v0.65.1 (active)\r\nopen-on-github, v1.2.1 (inactive)\r\npackage-generator, v1.0.1 (inactive)\r\nsettings-view, v0.243.1 (active)\r\nsnippets, v1.0.4 (active)\r\nspell-check, v0.68.4 (active)\r\nstatus-bar, v1.4.1 (active)\r\nstyleguide, v0.47.2 (active)\r\nsymbols-view, v0.113.1 (inactive)\r\ntabs, v0.103.0 (active)\r\ntimecop, v0.33.2 (active)\r\ntree-view, v0.210.0 (active)\r\nupdate-package-dependencies, v0.10.0 (active)\r\nwelcome, v0.35.1 (active)\r\nwhitespace, v0.35.0 (active)\r\nwrap-guide, v0.38.2 (active)\r\nlanguage-c, v0.54.0 (active)\r\nlanguage-clojure, v0.22.1 (active)\r\nlanguage-coffee-script, v0.48.0 (active)\r\nlanguage-csharp, v0.13.0 (active)\r\nlanguage-css, v0.40.1 (active)\r\nlanguage-gfm, v0.88.0 (active)\r\nlanguage-git, v0.15.0 (active)\r\nlanguage-go, v0.43.0 (active)\r\nlanguage-html, v0.46.1 (active)\r\nlanguage-hyperlink, v0.16.1 (active)\r\nlanguage-java, v0.24.0 (active)\r\nlanguage-javascript, v0.122.0 (active)\r\nlanguage-json, v0.18.3 (active)\r\nlanguage-less, v0.29.6 (active)\r\nlanguage-make, v0.22.2 (active)\r\nlanguage-mustache, v0.13.0 (active)\r\nlanguage-objective-c, v0.15.1 (active)\r\nlanguage-perl, v0.37.0 (active)\r\nlanguage-php, v0.37.3 (active)\r\nlanguage-property-list, v0.8.0 (active)\r\nlanguage-python, v0.45.1 (active)\r\nlanguage-ruby, v0.70.2 (active)\r\nlanguage-ruby-on-rails, v0.25.1 (active)\r\nlanguage-sass, v0.57.0 (active)\r\nlanguage-shellscript, v0.23.0 (active)\r\nlanguage-source, v0.9.0 (active)\r\nlanguage-sql, v0.25.0 (active)\r\nlanguage-text, v0.7.1 (active)\r\nlanguage-todo, v0.29.1 (active)\r\nlanguage-toml, v0.18.1 (active)\r\nlanguage-xml, v0.34.12 (active)\r\nlanguage-yaml, v0.27.1 (active)\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/knightli/qiniu-uploader/issues/comments/298233574","html_url":"https://github.com/knightli/qiniu-uploader/issues/6#issuecomment-298233574","issue_url":"https://api.github.com/repos/knightli/qiniu-uploader/issues/6","id":298233574,"user":{"login":"DRPrincess","id":16207639,"avatar_url":"https://avatars2.githubusercontent.com/u/16207639?v=3","gravatar_id":"","url":"https://api.github.com/users/DRPrincess","html_url":"https://github.com/DRPrincess","followers_url":"https://api.github.com/users/DRPrincess/followers","following_url":"https://api.github.com/users/DRPrincess/following{/other_user}","gists_url":"https://api.github.com/users/DRPrincess/gists{/gist_id}","starred_url":"https://api.github.com/users/DRPrincess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DRPrincess/subscriptions","organizations_url":"https://api.github.com/users/DRPrincess/orgs","repos_url":"https://api.github.com/users/DRPrincess/repos","events_url":"https://api.github.com/users/DRPrincess/events{/privacy}","received_events_url":"https://api.github.com/users/DRPrincess/received_events","type":"User","site_admin":false},"created_at":"2017-04-30T13:51:14Z","updated_at":"2017-04-30T13:51:14Z","body":"@jingchen2222 谢谢分享，我的按照到第一种方法成功了"}}
{"actor":{"display_login":"DRPrincess"}}