{"action":"created","issue":{"url":"https://api.github.com/repos/jspm/nodelibs-fs/issues/4","repository_url":"https://api.github.com/repos/jspm/nodelibs-fs","labels_url":"https://api.github.com/repos/jspm/nodelibs-fs/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/jspm/nodelibs-fs/issues/4/comments","events_url":"https://api.github.com/repos/jspm/nodelibs-fs/issues/4/events","html_url":"https://github.com/jspm/nodelibs-fs/pull/4","id":136560222,"number":4,"title":"Change error to responseURL","user":{"login":"MeoMix","id":1380995,"avatar_url":"https://avatars.githubusercontent.com/u/1380995?v=3","gravatar_id":"","url":"https://api.github.com/users/MeoMix","html_url":"https://github.com/MeoMix","followers_url":"https://api.github.com/users/MeoMix/followers","following_url":"https://api.github.com/users/MeoMix/following{/other_user}","gists_url":"https://api.github.com/users/MeoMix/gists{/gist_id}","starred_url":"https://api.github.com/users/MeoMix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MeoMix/subscriptions","organizations_url":"https://api.github.com/users/MeoMix/orgs","repos_url":"https://api.github.com/users/MeoMix/repos","events_url":"https://api.github.com/users/MeoMix/events{/privacy}","received_events_url":"https://api.github.com/users/MeoMix/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-26T00:51:04Z","updated_at":"2016-02-29T17:32:46Z","closed_at":"2016-02-28T17:48:31Z","pull_request":{"url":"https://api.github.com/repos/jspm/nodelibs-fs/pulls/4","html_url":"https://github.com/jspm/nodelibs-fs/pull/4","diff_url":"https://github.com/jspm/nodelibs-fs/pull/4.diff","patch_url":"https://github.com/jspm/nodelibs-fs/pull/4.patch"},"body":"When calling readFileSync with a relative path (i.e. /jspm/jspm_packages/npm/svgo@0.6.1/lib/svgo/../../.svgo.yml) it's a little weird to see the error message reference a relative URL. It gives the impression that the URL wasn't properly decoded.\r\n\r\nInstead, consider using responseURL which accurately represents what was requested."},"comment":{"url":"https://api.github.com/repos/jspm/nodelibs-fs/issues/comments/190303054","html_url":"https://github.com/jspm/nodelibs-fs/pull/4#issuecomment-190303054","issue_url":"https://api.github.com/repos/jspm/nodelibs-fs/issues/4","id":190303054,"user":{"login":"MeoMix","id":1380995,"avatar_url":"https://avatars.githubusercontent.com/u/1380995?v=3","gravatar_id":"","url":"https://api.github.com/users/MeoMix","html_url":"https://github.com/MeoMix","followers_url":"https://api.github.com/users/MeoMix/followers","following_url":"https://api.github.com/users/MeoMix/following{/other_user}","gists_url":"https://api.github.com/users/MeoMix/gists{/gist_id}","starred_url":"https://api.github.com/users/MeoMix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MeoMix/subscriptions","organizations_url":"https://api.github.com/users/MeoMix/orgs","repos_url":"https://api.github.com/users/MeoMix/repos","events_url":"https://api.github.com/users/MeoMix/events{/privacy}","received_events_url":"https://api.github.com/users/MeoMix/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T17:32:46Z","updated_at":"2016-02-29T17:32:46Z","body":"Ew. Okay, noted. That svgo plugin only works currently because of this function, though. The plugin instantiates itself (apparently?) due to declaring it as a npm dependency with the css plugin. Even though I'm not instantiating the plugin unless is node it gets imported in both situations.\r\n\r\nI suppose this is the reason for using deferred-import w/ CleanCSS? I didn't care much for forcing the end user to install a plugin rather than having it come pre-packaged, but if that's the only way to not import the plugin in browser then perhaps it's best."}}