{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/css-loader/issues/284","repository_url":"https://api.github.com/repos/webpack/css-loader","labels_url":"https://api.github.com/repos/webpack/css-loader/issues/284/labels{/name}","comments_url":"https://api.github.com/repos/webpack/css-loader/issues/284/comments","events_url":"https://api.github.com/repos/webpack/css-loader/issues/284/events","html_url":"https://github.com/webpack/css-loader/pull/284","id":158915446,"number":284,"title":"Avoid name collision","user":{"login":"themouette","id":245501,"avatar_url":"https://avatars.githubusercontent.com/u/245501?v=3","gravatar_id":"","url":"https://api.github.com/users/themouette","html_url":"https://github.com/themouette","followers_url":"https://api.github.com/users/themouette/followers","following_url":"https://api.github.com/users/themouette/following{/other_user}","gists_url":"https://api.github.com/users/themouette/gists{/gist_id}","starred_url":"https://api.github.com/users/themouette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/themouette/subscriptions","organizations_url":"https://api.github.com/users/themouette/orgs","repos_url":"https://api.github.com/users/themouette/repos","events_url":"https://api.github.com/users/themouette/events{/privacy}","received_events_url":"https://api.github.com/users/themouette/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-07T12:53:43Z","updated_at":"2016-06-07T13:44:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/webpack/css-loader/pulls/284","html_url":"https://github.com/webpack/css-loader/pull/284","diff_url":"https://github.com/webpack/css-loader/pull/284.diff","patch_url":"https://github.com/webpack/css-loader/pull/284.patch"},"body":"When 2 files from different projects share the same relative file path AND\r\nselector, the generated hash is the same.\r\n\r\nThis should not happen, as css-modules are designed to avoid collision.\r\n\r\nThis pull request add the file content to the hash generation seed, it seems to be the simplest way to do it."},"comment":{"url":"https://api.github.com/repos/webpack/css-loader/issues/comments/224284447","html_url":"https://github.com/webpack/css-loader/pull/284#issuecomment-224284447","issue_url":"https://api.github.com/repos/webpack/css-loader/issues/284","id":224284447,"user":{"login":"themouette","id":245501,"avatar_url":"https://avatars.githubusercontent.com/u/245501?v=3","gravatar_id":"","url":"https://api.github.com/users/themouette","html_url":"https://github.com/themouette","followers_url":"https://api.github.com/users/themouette/followers","following_url":"https://api.github.com/users/themouette/following{/other_user}","gists_url":"https://api.github.com/users/themouette/gists{/gist_id}","starred_url":"https://api.github.com/users/themouette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/themouette/subscriptions","organizations_url":"https://api.github.com/users/themouette/orgs","repos_url":"https://api.github.com/users/themouette/repos","events_url":"https://api.github.com/users/themouette/events{/privacy}","received_events_url":"https://api.github.com/users/themouette/received_events","type":"User","site_admin":false},"created_at":"2016-06-07T13:44:10Z","updated_at":"2016-06-07T13:44:10Z","body":"I rewrote the commits as I used spaces instead of tabs."}}
{"actor":{"display_login":"themouette"}}