{"action":"created","comment":{"url":"https://api.github.com/repos/webhintio/hint/pulls/comments/221755635","pull_request_review_id":160484091,"id":221755635,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMTc1NTYzNQ==","diff_hunk":"@@ -0,0 +1,41 @@\n+/* eslint-disable */\n+(function(){\n+'use strict';var aa=new Set(\"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph\".split(\" \"));function g(b){var a=aa.has(b);b=/^[a-z][.0-9_a-z]*-[\\-.0-9_a-z]*$/.test(b);return!a&&b}function l(b){var a=b.isConnected;if(void 0!==a)return a;for(;b&&!(b.__CE_isImportDocument||b instanceof Document);)b=b.parentNode||(window.ShadowRoot&&b instanceof ShadowRoot?b.host:void 0);return!(!b||!(b.__CE_isImportDocument||b instanceof Document))}\n+function p(b,a){for(;a&&a!==b&&!a.nextSibling;)a=a.parentNode;return a&&a!==b?a.nextSibling:null}\n+function q(b,a,d){d=void 0===d?new Set:d;for(var c=b;c;){if(c.nodeType===Node.ELEMENT_NODE){var e=c;a(e);var f=e.localName;if(\"link\"===f&&\"import\"===e.getAttribute(\"rel\")){c=e.import;if(c instanceof Node&&!d.has(c))for(d.add(c),c=c.firstChild;c;c=c.nextSibling)q(c,a,d);c=p(b,e);continue}else if(\"template\"===f){c=p(b,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)q(e,a,d)}c=c.firstChild?c.firstChild:p(b,c)}}function t(b,a,d){b[a]=d};function u(){this.a=new Map;this.f=new Map;this.c=[];this.b=!1}function ba(b,a,d){b.a.set(a,d);b.f.set(d.constructorFunction,d)}function v(b,a){b.b=!0;b.c.push(a)}function w(b,a){b.b&&q(a,function(a){return x(b,a)})}function x(b,a){if(b.b&&!a.__CE_patched){a.__CE_patched=!0;for(var d=0;d<b.c.length;d++)b.c[d](a)}}function y(b,a){var d=[];q(a,function(a){return d.push(a)});for(a=0;a<d.length;a++){var c=d[a];1===c.__CE_state?b.connectedCallback(c):z(b,c)}}\n+function A(b,a){var d=[];q(a,function(a){return d.push(a)});for(a=0;a<d.length;a++){var c=d[a];1===c.__CE_state&&b.disconnectedCallback(c)}}\n+function B(b,a,d){d=void 0===d?{}:d;var c=d.u||new Set,e=d.h||function(a){return z(b,a)},f=[];q(a,function(a){if(\"link\"===a.localName&&\"import\"===a.getAttribute(\"rel\")){var d=a.import;d instanceof Node&&(d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0);d&&\"complete\"===d.readyState?d.__CE_documentLoadHandled=!0:a.addEventListener(\"load\",function(){var d=a.import;if(!d.__CE_documentLoadHandled){d.__CE_documentLoadHandled=!0;var f=new Set(c);f.delete(d);B(b,d,{u:f,h:e})}})}else f.push(a)},c);if(b.b)for(a=\n+0;a<f.length;a++)x(b,f[a]);for(a=0;a<f.length;a++)e(f[a])}\n+function z(b,a){if(void 0===a.__CE_state){var d=a.ownerDocument;if(d.defaultView||d.__CE_isImportDocument&&d.__CE_hasRegistry)if(d=b.a.get(a.localName)){d.constructionStack.push(a);var c=d.constructorFunction;try{try{if(new c!==a)throw Error(\"The custom element constructor did not produce the element being upgraded.\");}finally{d.constructionStack.pop()}}catch(m){throw a.__CE_state=2,m;}a.__CE_state=1;a.__CE_definition=d;if(d.attributeChangedCallback)for(d=d.observedAttributes,c=0;c<d.length;c++){var e=\n+d[c],f=a.getAttribute(e);null!==f&&b.attributeChangedCallback(a,e,null,f,null)}l(a)&&b.connectedCallback(a)}}}u.prototype.connectedCallback=function(b){var a=b.__CE_definition;a.connectedCallback&&a.connectedCallback.call(b)};u.prototype.disconnectedCallback=function(b){var a=b.__CE_definition;a.disconnectedCallback&&a.disconnectedCallback.call(b)};\n+u.prototype.attributeChangedCallback=function(b,a,d,c,e){var f=b.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(a)&&f.attributeChangedCallback.call(b,a,d,c,e)};function C(b){var a=document;this.c=b;this.a=a;this.b=void 0;B(this.c,this.a);\"loading\"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function D(b){b.b&&b.b.disconnect()}C.prototype.f=function(b){var a=this.a.readyState;\"interactive\"!==a&&\"complete\"!==a||D(this);for(a=0;a<b.length;a++)for(var d=b[a].addedNodes,c=0;c<d.length;c++)B(this.c,d[c])};function ca(){var b=this;this.b=this.a=void 0;this.c=new Promise(function(a){b.b=a;b.a&&a(b.a)})}function E(b){if(b.a)throw Error(\"Already resolved.\");b.a=void 0;b.b&&b.b(void 0)};function F(b){this.c=!1;this.a=b;this.j=new Map;this.f=function(a){return a()};this.b=!1;this.i=[];this.o=new C(b)}\n+F.prototype.l=function(b,a){var d=this;if(!(a instanceof Function))throw new TypeError(\"Custom element constructors must be functions.\");if(!g(b))throw new SyntaxError(\"The element name '\"+b+\"' is not valid.\");if(this.a.a.get(b))throw Error(\"A custom element with name '\"+b+\"' has already been defined.\");if(this.c)throw Error(\"A custom element is already being defined.\");this.c=!0;try{var c=function(a){var b=e[a];if(void 0!==b&&!(b instanceof Function))throw Error(\"The '\"+a+\"' callback must be a function.\");\n+return b},e=a.prototype;if(!(e instanceof Object))throw new TypeError(\"The custom element constructor's prototype is not an object.\");var f=c(\"connectedCallback\");var m=c(\"disconnectedCallback\");var k=c(\"adoptedCallback\");var h=c(\"attributeChangedCallback\");var n=a.observedAttributes||[]}catch(r){return}finally{this.c=!1}a={localName:b,constructorFunction:a,connectedCallback:f,disconnectedCallback:m,adoptedCallback:k,attributeChangedCallback:h,observedAttributes:n,constructionStack:[]};ba(this.a,\n+b,a);this.i.push(a);this.b||(this.b=!0,this.f(function(){return da(d)}))};F.prototype.h=function(b){B(this.a,b)};\n+function da(b){if(!1!==b.b){b.b=!1;for(var a=b.i,d=[],c=new Map,e=0;e<a.length;e++)c.set(a[e].localName,[]);B(b.a,document,{h:function(a){if(void 0===a.__CE_state){var e=a.localName,f=c.get(e);f?f.push(a):b.a.a.get(e)&&d.push(a)}}});for(e=0;e<d.length;e++)z(b.a,d[e]);for(;0<a.length;){var f=a.shift();e=f.localName;f=c.get(f.localName);for(var m=0;m<f.length;m++)z(b.a,f[m]);(e=b.j.get(e))&&E(e)}}}F.prototype.get=function(b){if(b=this.a.a.get(b))return b.constructorFunction};\n+F.prototype.m=function(b){if(!g(b))return Promise.reject(new SyntaxError(\"'\"+b+\"' is not a valid custom element name.\"));var a=this.j.get(b);if(a)return a.c;a=new ca;this.j.set(b,a);this.a.a.get(b)&&!this.i.some(function(a){return a.localName===b})&&E(a);return a.c};F.prototype.s=function(b){D(this.o);var a=this.f;this.f=function(d){return b(function(){return a(d)})}};window.CustomElementRegistry=F;F.prototype.define=F.prototype.l;F.prototype.upgrade=F.prototype.h;F.prototype.get=F.prototype.get;\n+F.prototype.whenDefined=F.prototype.m;F.prototype.polyfillWrapFlushCallback=F.prototype.s;var G=window.Document.prototype.createElement,H=window.Document.prototype.createElementNS,ea=window.Document.prototype.importNode,fa=window.Document.prototype.prepend,ha=window.Document.prototype.append,ia=window.DocumentFragment.prototype.prepend,ja=window.DocumentFragment.prototype.append,I=window.Node.prototype.cloneNode,J=window.Node.prototype.appendChild,K=window.Node.prototype.insertBefore,L=window.Node.prototype.removeChild,M=window.Node.prototype.replaceChild,N=Object.getOwnPropertyDescriptor(window.Node.prototype,\n+\"textContent\"),O=window.Element.prototype.attachShadow,P=Object.getOwnPropertyDescriptor(window.Element.prototype,\"innerHTML\"),Q=window.Element.prototype.getAttribute,R=window.Element.prototype.setAttribute,S=window.Element.prototype.removeAttribute,T=window.Element.prototype.getAttributeNS,U=window.Element.prototype.setAttributeNS,ka=window.Element.prototype.removeAttributeNS,la=window.Element.prototype.insertAdjacentElement,ma=window.Element.prototype.insertAdjacentHTML,na=window.Element.prototype.prepend,\n+oa=window.Element.prototype.append,V=window.Element.prototype.before,pa=window.Element.prototype.after,qa=window.Element.prototype.replaceWith,ra=window.Element.prototype.remove,sa=window.HTMLElement,W=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,\"innerHTML\"),ta=window.HTMLElement.prototype.insertAdjacentElement,ua=window.HTMLElement.prototype.insertAdjacentHTML;var va=new function(){};function wa(){var b=X;window.HTMLElement=function(){function a(){var a=this.constructor,c=b.f.get(a);if(!c)throw Error(\"The custom element being constructed was not registered with `customElements`.\");var e=c.constructionStack;if(0===e.length)return e=G.call(document,c.localName),Object.setPrototypeOf(e,a.prototype),e.__CE_state=1,e.__CE_definition=c,x(b,e),e;c=e.length-1;var f=e[c];if(f===va)throw Error(\"The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.\");\n+e[c]=va;Object.setPrototypeOf(f,a.prototype);x(b,f);return f}a.prototype=sa.prototype;Object.defineProperty(a.prototype,\"constructor\",{writable:!0,configurable:!0,enumerable:!1,value:a});return a}()};function Y(b,a,d){function c(a){return function(d){for(var e=[],c=0;c<arguments.length;++c)e[c]=arguments[c];c=[];for(var f=[],n=0;n<e.length;n++){var r=e[n];r instanceof Element&&l(r)&&f.push(r);if(r instanceof DocumentFragment)for(r=r.firstChild;r;r=r.nextSibling)c.push(r);else c.push(r)}a.apply(this,e);for(e=0;e<f.length;e++)A(b,f[e]);if(l(this))for(e=0;e<c.length;e++)f=c[e],f instanceof Element&&y(b,f)}}void 0!==d.g&&(a.prepend=c(d.g));void 0!==d.append&&(a.append=c(d.append))};function xa(){var b=X;t(Document.prototype,\"createElement\",function(a){if(this.__CE_hasRegistry){var d=b.a.get(a);if(d)return new d.constructorFunction}a=G.call(this,a);x(b,a);return a});t(Document.prototype,\"importNode\",function(a,d){a=ea.call(this,a,!!d);this.__CE_hasRegistry?B(b,a):w(b,a);return a});t(Document.prototype,\"createElementNS\",function(a,d){if(this.__CE_hasRegistry&&(null===a||\"http://www.w3.org/1999/xhtml\"===a)){var c=b.a.get(d);if(c)return new c.constructorFunction}a=H.call(this,a,\n+d);x(b,a);return a});Y(b,Document.prototype,{g:fa,append:ha})};function ya(){function b(b,c){Object.defineProperty(b,\"textContent\",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(b){if(this.nodeType===Node.TEXT_NODE)c.set.call(this,b);else{var d=void 0;if(this.firstChild){var e=this.childNodes,k=e.length;if(0<k&&l(this)){d=Array(k);for(var h=0;h<k;h++)d[h]=e[h]}}c.set.call(this,b);if(d)for(b=0;b<d.length;b++)A(a,d[b])}}})}var a=X;t(Node.prototype,\"insertBefore\",function(b,c){if(b instanceof DocumentFragment){var e=Array.prototype.slice.apply(b.childNodes);\n+b=K.call(this,b,c);if(l(this))for(c=0;c<e.length;c++)y(a,e[c]);return b}e=l(b);c=K.call(this,b,c);e&&A(a,b);l(this)&&y(a,b);return c});t(Node.prototype,\"appendChild\",function(b){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=J.call(this,b);if(l(this))for(var e=0;e<c.length;e++)y(a,c[e]);return b}c=l(b);e=J.call(this,b);c&&A(a,b);l(this)&&y(a,b);return e});t(Node.prototype,\"cloneNode\",function(b){b=I.call(this,!!b);this.ownerDocument.__CE_hasRegistry?B(a,b):w(a,\n+b);return b});t(Node.prototype,\"removeChild\",function(b){var c=l(b),e=L.call(this,b);c&&A(a,b);return e});t(Node.prototype,\"replaceChild\",function(b,c){if(b instanceof DocumentFragment){var e=Array.prototype.slice.apply(b.childNodes);b=M.call(this,b,c);if(l(this))for(A(a,c),c=0;c<e.length;c++)y(a,e[c]);return b}e=l(b);var f=M.call(this,b,c),d=l(this);d&&A(a,c);e&&A(a,b);d&&y(a,b);return f});N&&N.get?b(Node.prototype,N):v(a,function(a){b(a,{enumerable:!0,configurable:!0,get:function(){for(var b=[],\n+a=0;a<this.childNodes.length;a++)b.push(this.childNodes[a].textContent);return b.join(\"\")},set:function(b){for(;this.firstChild;)L.call(this,this.firstChild);J.call(this,document.createTextNode(b))}})})};function za(b){function a(a){return function(e){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];d=[];for(var k=[],h=0;h<c.length;h++){var n=c[h];n instanceof Element&&l(n)&&k.push(n);if(n instanceof DocumentFragment)for(n=n.firstChild;n;n=n.nextSibling)d.push(n);else d.push(n)}a.apply(this,c);for(c=0;c<k.length;c++)A(b,k[c]);if(l(this))for(c=0;c<d.length;c++)k=d[c],k instanceof Element&&y(b,k)}}var d=Element.prototype;void 0!==V&&(d.before=a(V));void 0!==V&&(d.after=a(pa));void 0!==qa&&\n+t(d,\"replaceWith\",function(a){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];d=[];for(var m=[],k=0;k<c.length;k++){var h=c[k];h instanceof Element&&l(h)&&m.push(h);if(h instanceof DocumentFragment)for(h=h.firstChild;h;h=h.nextSibling)d.push(h);else d.push(h)}k=l(this);qa.apply(this,c);for(c=0;c<m.length;c++)A(b,m[c]);if(k)for(A(b,this),c=0;c<d.length;c++)m=d[c],m instanceof Element&&y(b,m)});void 0!==ra&&t(d,\"remove\",function(){var a=l(this);ra.call(this);a&&A(b,this)})};function Aa(){function b(a,b){Object.defineProperty(a,\"innerHTML\",{enumerable:b.enumerable,configurable:!0,get:b.get,set:function(a){var d=this,e=void 0;l(this)&&(e=[],q(this,function(a){a!==d&&e.push(a)}));b.set.call(this,a);if(e)for(var f=0;f<e.length;f++){var m=e[f];1===m.__CE_state&&c.disconnectedCallback(m)}this.ownerDocument.__CE_hasRegistry?B(c,this):w(c,this);return a}})}function a(a,b){t(a,\"insertAdjacentElement\",function(a,d){var e=l(d);a=b.call(this,a,d);e&&A(c,d);l(a)&&y(c,d);return a})}\n+function d(a,b){function d(a,b){for(var d=[];a!==b;a=a.nextSibling)d.push(a);for(b=0;b<d.length;b++)B(c,d[b])}t(a,\"insertAdjacentHTML\",function(a,c){a=a.toLowerCase();if(\"beforebegin\"===a){var e=this.previousSibling;b.call(this,a,c);d(e||this.parentNode.firstChild,this)}else if(\"afterbegin\"===a)e=this.firstChild,b.call(this,a,c),d(this.firstChild,e);else if(\"beforeend\"===a)e=this.lastChild,b.call(this,a,c),d(e||this.firstChild,null);else if(\"afterend\"===a)e=this.nextSibling,b.call(this,a,c),d(this.nextSibling,\n+e);else throw new SyntaxError(\"The value provided (\"+String(a)+\") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.\");})}var c=X;O&&t(Element.prototype,\"attachShadow\",function(a){return this.__CE_shadowRoot=a=O.call(this,a)});P&&P.get?b(Element.prototype,P):W&&W.get?b(HTMLElement.prototype,W):v(c,function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return I.call(this,!0).innerHTML},set:function(a){var b=\"template\"===this.localName,c=b?this.content:this,d=H.call(document,\n+this.namespaceURI,this.localName);for(d.innerHTML=a;0<c.childNodes.length;)L.call(c,c.childNodes[0]);for(a=b?d.content:d;0<a.childNodes.length;)J.call(c,a.childNodes[0])}})});t(Element.prototype,\"setAttribute\",function(a,b){if(1!==this.__CE_state)return R.call(this,a,b);var d=Q.call(this,a);R.call(this,a,b);b=Q.call(this,a);c.attributeChangedCallback(this,a,d,b,null)});t(Element.prototype,\"setAttributeNS\",function(a,b,d){if(1!==this.__CE_state)return U.call(this,a,b,d);var e=T.call(this,a,b);U.call(this,\n+a,b,d);d=T.call(this,a,b);c.attributeChangedCallback(this,b,e,d,a)});t(Element.prototype,\"removeAttribute\",function(a){if(1!==this.__CE_state)return S.call(this,a);var b=Q.call(this,a);S.call(this,a);null!==b&&c.attributeChangedCallback(this,a,b,null,null)});t(Element.prototype,\"removeAttributeNS\",function(a,b){if(1!==this.__CE_state)return ka.call(this,a,b);var d=T.call(this,a,b);ka.call(this,a,b);var e=T.call(this,a,b);d!==e&&c.attributeChangedCallback(this,b,d,e,a)});ta?a(HTMLElement.prototype,\n+ta):la?a(Element.prototype,la):console.warn(\"Custom Elements: `Element#insertAdjacentElement` was not patched.\");ua?d(HTMLElement.prototype,ua):ma?d(Element.prototype,ma):console.warn(\"Custom Elements: `Element#insertAdjacentHTML` was not patched.\");Y(c,Element.prototype,{g:na,append:oa});za(c)};/*\n+\n+ Copyright (c) 2016 The Polymer Project Authors. All rights reserved.\n+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\n+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\n+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\n+ Code distributed by Google as part of the polymer project is also\n+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\n+*/\n+var Z=window.customElements;if(!Z||Z.forcePolyfill||\"function\"!=typeof Z.define||\"function\"!=typeof Z.get){var X=new u;wa();xa();Y(X,DocumentFragment.prototype,{g:ia,append:ja});ya();Aa();document.__CE_hasRegistry=!0;var customElements=new F(X);Object.defineProperty(window,\"customElements\",{configurable:!0,enumerable:!0,value:customElements})};\n+}).call(self);\n+//# sourceMappingURL=custom-elements.min.js.map","path":"packages/connector-jsdom/src/polyfills/custom-elements.min.js","position":41,"original_position":41,"commit_id":"65d9554b3950ee0317bbb4d3888814971c4e5f8b","original_commit_id":"65d9554b3950ee0317bbb4d3888814971c4e5f8b","user":{"login":"alrra","id":1223565,"node_id":"MDQ6VXNlcjEyMjM1NjU=","avatar_url":"https://avatars1.githubusercontent.com/u/1223565?v=4","gravatar_id":"","url":"https://api.github.com/users/alrra","html_url":"https://github.com/alrra","followers_url":"https://api.github.com/users/alrra/followers","following_url":"https://api.github.com/users/alrra/following{/other_user}","gists_url":"https://api.github.com/users/alrra/gists{/gist_id}","starred_url":"https://api.github.com/users/alrra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alrra/subscriptions","organizations_url":"https://api.github.com/users/alrra/orgs","repos_url":"https://api.github.com/users/alrra/repos","events_url":"https://api.github.com/users/alrra/events{/privacy}","received_events_url":"https://api.github.com/users/alrra/received_events","type":"User","site_admin":false},"body":"If we don't have the source map, maybe we should remove this line?","created_at":"2018-10-01T21:02:04Z","updated_at":"2018-10-01T21:02:44Z","html_url":"https://github.com/webhintio/hint/pull/1357#discussion_r221755635","pull_request_url":"https://api.github.com/repos/webhintio/hint/pulls/1357","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/webhintio/hint/pulls/comments/221755635"},"html":{"href":"https://github.com/webhintio/hint/pull/1357#discussion_r221755635"},"pull_request":{"href":"https://api.github.com/repos/webhintio/hint/pulls/1357"}}},"pull_request":{"url":"https://api.github.com/repos/webhintio/hint/pulls/1357","id":219510461,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5NTEwNDYx","html_url":"https://github.com/webhintio/hint/pull/1357","diff_url":"https://github.com/webhintio/hint/pull/1357.diff","patch_url":"https://github.com/webhintio/hint/pull/1357.patch","issue_url":"https://api.github.com/repos/webhintio/hint/issues/1357","number":1357,"state":"open","locked":false,"title":"Fix: Update `jsdom` to `v12.1.0`","user":{"login":"molant","id":606594,"node_id":"MDQ6VXNlcjYwNjU5NA==","avatar_url":"https://avatars0.githubusercontent.com/u/606594?v=4","gravatar_id":"","url":"https://api.github.com/users/molant","html_url":"https://github.com/molant","followers_url":"https://api.github.com/users/molant/followers","following_url":"https://api.github.com/users/molant/following{/other_user}","gists_url":"https://api.github.com/users/molant/gists{/gist_id}","starred_url":"https://api.github.com/users/molant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/molant/subscriptions","organizations_url":"https://api.github.com/users/molant/orgs","repos_url":"https://api.github.com/users/molant/repos","events_url":"https://api.github.com/users/molant/events{/privacy}","received_events_url":"https://api.github.com/users/molant/received_events","type":"User","site_admin":false},"body":"<!--\r\n\r\nRead our pull request guide:\r\nhttps://webhint.io/docs/contributor-guide/getting-started/pull-requests/\r\n\r\nFor the following items put an \"x\" between the square brackets\r\n(i.e. [x]) if you completed the associated item.\r\n\r\n-->\r\n\r\n## Pull request checklist\r\n\r\nMake sure you:\r\n\r\n- [x] Signed the [Contributor License Agreement](https://cla.js.foundation/webhintio/hint)\r\n- [x] Followed the [commit message guidelines](https://webhint.io/docs/contributor-guide/getting-started/pull-requests/#commit-messages)\r\n\r\nFor non-trivial changes, please make sure you also:\r\n\r\n- [ ] Added/Updated related documentation.\r\n- [ ] Added/Updated related tests.\r\n\r\n## Short description of the change(s)\r\n\r\n* Update to latest `jsdom` version.\r\n* Remove `@types/jsdom` to avoid TypeScript problems.\r\n* Enable `includeNodeLocations` to jsdom.\r\n* Add polyfills to increase compatibility.\r\n\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - -\r\n\r\nFix #163\r\nFix #1289\r\nFix #1223\r\n\r\n**This is #1274 with the commits squashed and rebased**\r\n\r\n\r\n<!--\r\n\r\nIf this is a non-trivial change, include information such as what\r\nbenefits this change brings as well as possible drawbacks.\r\n\r\nIf this fixes an existing issue, include the relevant issue number(s).\r\n\r\nThank you for taking the time to open this PR!\r\n\r\n-->\r\n","created_at":"2018-10-01T20:46:49Z","updated_at":"2018-10-01T21:02:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9bc979615db93bee1f61e3d45680eea75a33c866","assignee":null,"assignees":[],"requested_reviewers":[{"login":"sarvaje","id":1581288,"node_id":"MDQ6VXNlcjE1ODEyODg=","avatar_url":"https://avatars0.githubusercontent.com/u/1581288?v=4","gravatar_id":"","url":"https://api.github.com/users/sarvaje","html_url":"https://github.com/sarvaje","followers_url":"https://api.github.com/users/sarvaje/followers","following_url":"https://api.github.com/users/sarvaje/following{/other_user}","gists_url":"https://api.github.com/users/sarvaje/gists{/gist_id}","starred_url":"https://api.github.com/users/sarvaje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarvaje/subscriptions","organizations_url":"https://api.github.com/users/sarvaje/orgs","repos_url":"https://api.github.com/users/sarvaje/repos","events_url":"https://api.github.com/users/sarvaje/events{/privacy}","received_events_url":"https://api.github.com/users/sarvaje/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/webhintio/hint/pulls/1357/commits","review_comments_url":"https://api.github.com/repos/webhintio/hint/pulls/1357/comments","review_comment_url":"https://api.github.com/repos/webhintio/hint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/webhintio/hint/issues/1357/comments","statuses_url":"https://api.github.com/repos/webhintio/hint/statuses/65d9554b3950ee0317bbb4d3888814971c4e5f8b","head":{"label":"molant:jsdom-update-v12","ref":"jsdom-update-v12","sha":"65d9554b3950ee0317bbb4d3888814971c4e5f8b","user":{"login":"molant","id":606594,"node_id":"MDQ6VXNlcjYwNjU5NA==","avatar_url":"https://avatars0.githubusercontent.com/u/606594?v=4","gravatar_id":"","url":"https://api.github.com/users/molant","html_url":"https://github.com/molant","followers_url":"https://api.github.com/users/molant/followers","following_url":"https://api.github.com/users/molant/following{/other_user}","gists_url":"https://api.github.com/users/molant/gists{/gist_id}","starred_url":"https://api.github.com/users/molant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/molant/subscriptions","organizations_url":"https://api.github.com/users/molant/orgs","repos_url":"https://api.github.com/users/molant/repos","events_url":"https://api.github.com/users/molant/events{/privacy}","received_events_url":"https://api.github.com/users/molant/received_events","type":"User","site_admin":false},"repo":{"id":94958400,"node_id":"MDEwOlJlcG9zaXRvcnk5NDk1ODQwMA==","name":"hint","full_name":"molant/hint","private":false,"owner":{"login":"molant","id":606594,"node_id":"MDQ6VXNlcjYwNjU5NA==","avatar_url":"https://avatars0.githubusercontent.com/u/606594?v=4","gravatar_id":"","url":"https://api.github.com/users/molant","html_url":"https://github.com/molant","followers_url":"https://api.github.com/users/molant/followers","following_url":"https://api.github.com/users/molant/following{/other_user}","gists_url":"https://api.github.com/users/molant/gists{/gist_id}","starred_url":"https://api.github.com/users/molant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/molant/subscriptions","organizations_url":"https://api.github.com/users/molant/orgs","repos_url":"https://api.github.com/users/molant/repos","events_url":"https://api.github.com/users/molant/events{/privacy}","received_events_url":"https://api.github.com/users/molant/received_events","type":"User","site_admin":false},"html_url":"https://github.com/molant/hint","description":null,"fork":true,"url":"https://api.github.com/repos/molant/hint","forks_url":"https://api.github.com/repos/molant/hint/forks","keys_url":"https://api.github.com/repos/molant/hint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/molant/hint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/molant/hint/teams","hooks_url":"https://api.github.com/repos/molant/hint/hooks","issue_events_url":"https://api.github.com/repos/molant/hint/issues/events{/number}","events_url":"https://api.github.com/repos/molant/hint/events","assignees_url":"https://api.github.com/repos/molant/hint/assignees{/user}","branches_url":"https://api.github.com/repos/molant/hint/branches{/branch}","tags_url":"https://api.github.com/repos/molant/hint/tags","blobs_url":"https://api.github.com/repos/molant/hint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/molant/hint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/molant/hint/git/refs{/sha}","trees_url":"https://api.github.com/repos/molant/hint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/molant/hint/statuses/{sha}","languages_url":"https://api.github.com/repos/molant/hint/languages","stargazers_url":"https://api.github.com/repos/molant/hint/stargazers","contributors_url":"https://api.github.com/repos/molant/hint/contributors","subscribers_url":"https://api.github.com/repos/molant/hint/subscribers","subscription_url":"https://api.github.com/repos/molant/hint/subscription","commits_url":"https://api.github.com/repos/molant/hint/commits{/sha}","git_commits_url":"https://api.github.com/repos/molant/hint/git/commits{/sha}","comments_url":"https://api.github.com/repos/molant/hint/comments{/number}","issue_comment_url":"https://api.github.com/repos/molant/hint/issues/comments{/number}","contents_url":"https://api.github.com/repos/molant/hint/contents/{+path}","compare_url":"https://api.github.com/repos/molant/hint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/molant/hint/merges","archive_url":"https://api.github.com/repos/molant/hint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/molant/hint/downloads","issues_url":"https://api.github.com/repos/molant/hint/issues{/number}","pulls_url":"https://api.github.com/repos/molant/hint/pulls{/number}","milestones_url":"https://api.github.com/repos/molant/hint/milestones{/number}","notifications_url":"https://api.github.com/repos/molant/hint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/molant/hint/labels{/name}","releases_url":"https://api.github.com/repos/molant/hint/releases{/id}","deployments_url":"https://api.github.com/repos/molant/hint/deployments","created_at":"2017-06-21T03:20:07Z","updated_at":"2018-09-26T03:28:52Z","pushed_at":"2018-10-01T20:45:35Z","git_url":"git://github.com/molant/hint.git","ssh_url":"git@github.com:molant/hint.git","clone_url":"https://github.com/molant/hint.git","svn_url":"https://github.com/molant/hint","homepage":"https://webhint.io","size":11860,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":14,"watchers":0,"default_branch":"master"}},"base":{"label":"webhintio:master","ref":"master","sha":"1b099c3089a49a14dca48f2873bdb66896398274","user":{"login":"webhintio","id":25042266,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MDQyMjY2","avatar_url":"https://avatars0.githubusercontent.com/u/25042266?v=4","gravatar_id":"","url":"https://api.github.com/users/webhintio","html_url":"https://github.com/webhintio","followers_url":"https://api.github.com/users/webhintio/followers","following_url":"https://api.github.com/users/webhintio/following{/other_user}","gists_url":"https://api.github.com/users/webhintio/gists{/gist_id}","starred_url":"https://api.github.com/users/webhintio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webhintio/subscriptions","organizations_url":"https://api.github.com/users/webhintio/orgs","repos_url":"https://api.github.com/users/webhintio/repos","events_url":"https://api.github.com/users/webhintio/events{/privacy}","received_events_url":"https://api.github.com/users/webhintio/received_events","type":"Organization","site_admin":false},"repo":{"id":82211360,"node_id":"MDEwOlJlcG9zaXRvcnk4MjIxMTM2MA==","name":"hint","full_name":"webhintio/hint","private":false,"owner":{"login":"webhintio","id":25042266,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MDQyMjY2","avatar_url":"https://avatars0.githubusercontent.com/u/25042266?v=4","gravatar_id":"","url":"https://api.github.com/users/webhintio","html_url":"https://github.com/webhintio","followers_url":"https://api.github.com/users/webhintio/followers","following_url":"https://api.github.com/users/webhintio/following{/other_user}","gists_url":"https://api.github.com/users/webhintio/gists{/gist_id}","starred_url":"https://api.github.com/users/webhintio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webhintio/subscriptions","organizations_url":"https://api.github.com/users/webhintio/orgs","repos_url":"https://api.github.com/users/webhintio/repos","events_url":"https://api.github.com/users/webhintio/events{/privacy}","received_events_url":"https://api.github.com/users/webhintio/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/webhintio/hint","description":"💡 A hinting engine for the web","fork":false,"url":"https://api.github.com/repos/webhintio/hint","forks_url":"https://api.github.com/repos/webhintio/hint/forks","keys_url":"https://api.github.com/repos/webhintio/hint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/webhintio/hint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/webhintio/hint/teams","hooks_url":"https://api.github.com/repos/webhintio/hint/hooks","issue_events_url":"https://api.github.com/repos/webhintio/hint/issues/events{/number}","events_url":"https://api.github.com/repos/webhintio/hint/events","assignees_url":"https://api.github.com/repos/webhintio/hint/assignees{/user}","branches_url":"https://api.github.com/repos/webhintio/hint/branches{/branch}","tags_url":"https://api.github.com/repos/webhintio/hint/tags","blobs_url":"https://api.github.com/repos/webhintio/hint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/webhintio/hint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/webhintio/hint/git/refs{/sha}","trees_url":"https://api.github.com/repos/webhintio/hint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/webhintio/hint/statuses/{sha}","languages_url":"https://api.github.com/repos/webhintio/hint/languages","stargazers_url":"https://api.github.com/repos/webhintio/hint/stargazers","contributors_url":"https://api.github.com/repos/webhintio/hint/contributors","subscribers_url":"https://api.github.com/repos/webhintio/hint/subscribers","subscription_url":"https://api.github.com/repos/webhintio/hint/subscription","commits_url":"https://api.github.com/repos/webhintio/hint/commits{/sha}","git_commits_url":"https://api.github.com/repos/webhintio/hint/git/commits{/sha}","comments_url":"https://api.github.com/repos/webhintio/hint/comments{/number}","issue_comment_url":"https://api.github.com/repos/webhintio/hint/issues/comments{/number}","contents_url":"https://api.github.com/repos/webhintio/hint/contents/{+path}","compare_url":"https://api.github.com/repos/webhintio/hint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/webhintio/hint/merges","archive_url":"https://api.github.com/repos/webhintio/hint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/webhintio/hint/downloads","issues_url":"https://api.github.com/repos/webhintio/hint/issues{/number}","pulls_url":"https://api.github.com/repos/webhintio/hint/pulls{/number}","milestones_url":"https://api.github.com/repos/webhintio/hint/milestones{/number}","notifications_url":"https://api.github.com/repos/webhintio/hint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/webhintio/hint/labels{/name}","releases_url":"https://api.github.com/repos/webhintio/hint/releases{/id}","deployments_url":"https://api.github.com/repos/webhintio/hint/deployments","created_at":"2017-02-16T18:15:31Z","updated_at":"2018-10-01T17:55:43Z","pushed_at":"2018-10-01T20:46:50Z","git_url":"git://github.com/webhintio/hint.git","ssh_url":"git@github.com:webhintio/hint.git","clone_url":"https://github.com/webhintio/hint.git","svn_url":"https://github.com/webhintio/hint","homepage":"https://webhint.io/","size":11778,"stargazers_count":1900,"watchers_count":1900,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":116,"mirror_url":null,"archived":false,"open_issues_count":56,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":116,"open_issues":56,"watchers":1900,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/webhintio/hint/pulls/1357"},"html":{"href":"https://github.com/webhintio/hint/pull/1357"},"issue":{"href":"https://api.github.com/repos/webhintio/hint/issues/1357"},"comments":{"href":"https://api.github.com/repos/webhintio/hint/issues/1357/comments"},"review_comments":{"href":"https://api.github.com/repos/webhintio/hint/pulls/1357/comments"},"review_comment":{"href":"https://api.github.com/repos/webhintio/hint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/webhintio/hint/pulls/1357/commits"},"statuses":{"href":"https://api.github.com/repos/webhintio/hint/statuses/65d9554b3950ee0317bbb4d3888814971c4e5f8b"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"alrra"}}