Comparing version 0.12.8 to 0.12.9
@@ -5,3 +5,3 @@ /* | ||
var htmlparser = require('htmlparser2'), | ||
parse5 = require('parse5'), | ||
Parser = require('parse5').Parser, | ||
_ = require('underscore'), | ||
@@ -14,2 +14,4 @@ treeAdapter = require('./tree_adapter'), | ||
*/ | ||
var parser = new Parser(treeAdapter); | ||
exports = module.exports = function (content, options) { | ||
@@ -35,3 +37,3 @@ var dom = evaluate(content, options); | ||
exports.parseDocument = function (content, options) { | ||
var root = parse5.parse(content, treeAdapter); | ||
var root = parser.parse(content); | ||
@@ -38,0 +40,0 @@ mapAttributes(root.children); |
@@ -13,3 +13,3 @@ { | ||
"keywords": ["htmlparser", "jquery", "selector", "scraper"], | ||
"version": "0.12.8", | ||
"version": "0.12.9", | ||
"repository": { | ||
@@ -25,3 +25,3 @@ "type": "git", | ||
"cheerio-select": "*", | ||
"parse5": "0.5.4", | ||
"parse5": "0.6.1", | ||
"htmlparser2": "3.1.1", | ||
@@ -28,0 +28,0 @@ "underscore": "~1.4", |
Sorry, the diff of this file is not supported yet
2485
155574
+ Addedparse5@0.6.1(transitive)
- Removedparse5@0.5.4(transitive)
Updatedparse5@0.6.1