Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

whacko

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

whacko - npm Package Compare versions

Comparing version 0.12.8 to 0.12.9

6

lib/parse.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc