{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/source-map/issues/301","repository_url":"https://api.github.com/repos/mozilla/source-map","labels_url":"https://api.github.com/repos/mozilla/source-map/issues/301/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/source-map/issues/301/comments","events_url":"https://api.github.com/repos/mozilla/source-map/issues/301/events","html_url":"https://github.com/mozilla/source-map/issues/301","id":269914060,"number":301,"title":"throw new Error('Invalid mapping: ' + JSON.stringify({","user":{"login":"rossjcooper","id":3597958,"avatar_url":"https://avatars1.githubusercontent.com/u/3597958?v=4","gravatar_id":"","url":"https://api.github.com/users/rossjcooper","html_url":"https://github.com/rossjcooper","followers_url":"https://api.github.com/users/rossjcooper/followers","following_url":"https://api.github.com/users/rossjcooper/following{/other_user}","gists_url":"https://api.github.com/users/rossjcooper/gists{/gist_id}","starred_url":"https://api.github.com/users/rossjcooper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossjcooper/subscriptions","organizations_url":"https://api.github.com/users/rossjcooper/orgs","repos_url":"https://api.github.com/users/rossjcooper/repos","events_url":"https://api.github.com/users/rossjcooper/events{/privacy}","received_events_url":"https://api.github.com/users/rossjcooper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-31T10:51:06Z","updated_at":"2017-11-01T09:13:22Z","closed_at":null,"author_association":"NONE","body":"Getting this exception thrown now and again, the scss looks ok. \r\n\r\n```\r\n/project/node_modules/clean-css/node_modules/source-map/lib/source-map-generator.js:289\r\n      throw new Error('Invalid mapping: ' + JSON.stringify({\r\n      ^\r\n\r\nError: Invalid mapping: {\"generated\":{\"line\":1,\"column\":8309},\"source\":\"custom.scss\",\"original\":{\"line\":342,\"column\":-1},\"name\":null}\r\n    at SourceMapGenerator_validateMapping [as _validateMapping] (/project/node_modules/clean-css/node_modules/source-map/lib/source-map-generator.js:289:13)\r\n    at SourceMapGenerator_addMapping [as addMapping] (/project/node_modules/clean-css/node_modules/source-map/lib/source-map-generator.js:101:12)\r\n    at trackMapping (/project/node_modules/clean-css/lib/writer/source-maps.js:59:30)\r\n    at trackAllMappings (/project/node_modules/clean-css/lib/writer/source-maps.js:44:5)\r\n    at track (/project/node_modules/clean-css/lib/writer/source-maps.js:35:5)\r\n    at store (/project/node_modules/clean-css/lib/writer/source-maps.js:20:3)\r\n    at rules (/project/node_modules/clean-css/lib/writer/helpers.js:50:5)\r\n    at all (/project/node_modules/clean-css/lib/writer/helpers.js:210:9)\r\n    at serializeStylesAndSourceMap (/project/node_modules/clean-css/lib/writer/source-maps.js:94:3)\r\n    at /project/node_modules/clean-css/lib/clean.js:105:29\r\n```\r\n\r\n## Versions\r\nnpm = v5.5.1\r\nnode = v8.5.0\r\nsource-map = v0.4.4\r\n"},"comment":{"url":"https://api.github.com/repos/mozilla/source-map/issues/comments/341045911","html_url":"https://github.com/mozilla/source-map/issues/301#issuecomment-341045911","issue_url":"https://api.github.com/repos/mozilla/source-map/issues/301","id":341045911,"user":{"login":"rossjcooper","id":3597958,"avatar_url":"https://avatars1.githubusercontent.com/u/3597958?v=4","gravatar_id":"","url":"https://api.github.com/users/rossjcooper","html_url":"https://github.com/rossjcooper","followers_url":"https://api.github.com/users/rossjcooper/followers","following_url":"https://api.github.com/users/rossjcooper/following{/other_user}","gists_url":"https://api.github.com/users/rossjcooper/gists{/gist_id}","starred_url":"https://api.github.com/users/rossjcooper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossjcooper/subscriptions","organizations_url":"https://api.github.com/users/rossjcooper/orgs","repos_url":"https://api.github.com/users/rossjcooper/repos","events_url":"https://api.github.com/users/rossjcooper/events{/privacy}","received_events_url":"https://api.github.com/users/rossjcooper/received_events","type":"User","site_admin":false},"created_at":"2017-11-01T09:13:22Z","updated_at":"2017-11-01T09:13:22Z","author_association":"NONE","body":"This is the chunk of scss it appears to be complaining about, line 342 is the `&:hover`. I have other `&` selectors in use that don't seem to cause an issue in code above this, and if I remove the `& :hover` from the code below it compiles fine.\r\n\r\n```\r\nbutton, input[type=\"button\"], input[type=\"submit\"], input[type=\"reset\"] {\r\n  transition: all ease .2s;\r\n  &:hover{\r\n    background-color: #28A956;\r\n  }\r\n}\r\n```"}}
{"actor":{"display_login":"rossjcooper"}}