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.5 to 0.12.6

10

lib/tree_adapter.js

@@ -13,3 +13,3 @@ //Tree adapter for parse5 HTML-parser

exports.createElement = function (tagName, attrs, namespaceURI) {
exports.createElement = function (tagName, namespaceURI, attrs) {
return {

@@ -81,2 +81,10 @@ type: tagName === 'script' || tagName === 'style' ? tagName : 'tag',

exports.setQuirksMode = function (document) {
document.quirksMode = true;
};
exports.isQuirksMode = function (document) {
return document.quirksMode;
};
var appendChild = exports.appendChild = function (parentNode, newNode) {

@@ -83,0 +91,0 @@ var prev = parentNode.children[parentNode.children.length];

4

package.json

@@ -13,3 +13,3 @@ {

"keywords": ["htmlparser", "jquery", "selector", "scraper"],
"version": "0.12.5",
"version": "0.12.6",
"repository": {

@@ -25,3 +25,3 @@ "type": "git",

"cheerio-select": "*",
"parse5": ">=0.5.2",
"parse5": ">=0.5.4",
"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