{"action":"closed","issue":{"url":"https://api.github.com/repos/fb55/css-select/issues/71","repository_url":"https://api.github.com/repos/fb55/css-select","labels_url":"https://api.github.com/repos/fb55/css-select/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/fb55/css-select/issues/71/comments","events_url":"https://api.github.com/repos/fb55/css-select/issues/71/events","html_url":"https://github.com/fb55/css-select/issues/71","id":190177532,"number":71,"title":"Allow swapping of domutils","user":{"login":"strarsis","id":9271436,"avatar_url":"https://avatars.githubusercontent.com/u/9271436?v=3","gravatar_id":"","url":"https://api.github.com/users/strarsis","html_url":"https://github.com/strarsis","followers_url":"https://api.github.com/users/strarsis/followers","following_url":"https://api.github.com/users/strarsis/following{/other_user}","gists_url":"https://api.github.com/users/strarsis/gists{/gist_id}","starred_url":"https://api.github.com/users/strarsis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strarsis/subscriptions","organizations_url":"https://api.github.com/users/strarsis/orgs","repos_url":"https://api.github.com/users/strarsis/repos","events_url":"https://api.github.com/users/strarsis/events{/privacy}","received_events_url":"https://api.github.com/users/strarsis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-17T22:03:41Z","updated_at":"2016-11-18T13:35:48Z","closed_at":"2016-11-18T13:35:48Z","body":"To be able to use css-select against an AST that is different than the one from htmlparser2, \r\nthe internally used domutils should be swappable for a different module (but with same API).\r\n\r\nCurrently I have to use mocking for replacing it:\r\n```js\r\n[...]\r\nvar mock        = require('mock-require'),\r\n    domutilsAlt = require('../domutils-alt');\r\nmock('domutils', domutilsAlt);\r\nvar cssSelect   = require('css-select');\r\n[...]\r\n````"}}
{"actor":{"display_login":"fb55"}}