Comparing version 0.12.2 to 0.12.3
@@ -60,5 +60,5 @@ //Tree adapter for parse5 HTML-parser | ||
for (var i = 0; i < document.childNodes.length; i++) { | ||
if (document.childNodes[i].type === 'directive' && document.childNodes[i].name === '!doctype') { | ||
doctypeNode = document.childNodes[i]; | ||
for (var i = 0; i < document.children.length; i++) { | ||
if (document.children[i].type === 'directive' && document.children[i].name === '!doctype') { | ||
doctypeNode = document.children[i]; | ||
break; | ||
@@ -65,0 +65,0 @@ } |
@@ -13,3 +13,3 @@ { | ||
"keywords": ["htmlparser", "jquery", "selector", "scraper"], | ||
"version": "0.12.2", | ||
"version": "0.12.3", | ||
"repository": { | ||
@@ -25,3 +25,3 @@ "type": "git", | ||
"cheerio-select": "*", | ||
"parse5": "~0.5", | ||
"parse5": ">=0.5.2", | ||
"htmlparser2": "3.1.1", | ||
@@ -28,0 +28,0 @@ "underscore": "~1.4", |
Sorry, the diff of this file is not supported yet
265828
+ Addedparse5@7.2.1(transitive)
- Removedparse5@0.5.4(transitive)
Updatedparse5@>=0.5.2