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

htmlparser2

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

htmlparser2 - npm Package Compare versions

Comparing version 2.2.8 to 2.2.9

5

lib/DomUtils.js

@@ -88,2 +88,7 @@ var ElementType = require("./ElementType.js"),

if(name === "*") return filter(function(elem){
var type = elem.type;
return type === ElementType.Tag || type === ElementType.Script || type === ElementType.Style;
});
return filter(function(elem){

@@ -90,0 +95,0 @@ var type = elem.type;

3

lib/Parser.js

@@ -282,4 +282,5 @@ var ElementType = require("./ElementType.js");

//many browsers (eg. Safari, Chrome) convert </br> to <br>
else if(name === "br" && !this._options.xmlMode)
else if(name === "br" && !this._options.xmlMode){
this._processOpenTag(name + "/");
}
};

@@ -286,0 +287,0 @@

{
"name": "htmlparser2",
"description": "Performance-optimized forgiving HTML/XML/RSS parser",
"version": "2.2.8",
"version": "2.2.9",
"author": "Felix Boehm <me@feedic.com>",

@@ -6,0 +6,0 @@ "keywords": ["html", "parser", "streams", "xml", "dom", "rss", "feed", "atom"],

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