Socket
Socket
Sign inDemoInstall

node-html-parser

Package Overview
Dependencies
Maintainers
1
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-html-parser - npm Package Compare versions

Comparing version 3.1.2 to 3.1.3

2

dist/nodes/html.js

@@ -305,3 +305,3 @@ "use strict";

// const is_void = void_tags.has(tag);
var is_void = /area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr/i.test(tag);
var is_void = /^(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr)$/i.test(tag);
var attrs = this.rawAttrs ? " " + this.rawAttrs : '';

@@ -308,0 +308,0 @@ if (is_void) {

{
"name": "node-html-parser",
"version": "3.1.2",
"version": "3.1.3",
"description": "A very fast HTML parser, generating a simplified DOM, with basic element query support.",

@@ -17,3 +17,4 @@ "main": "dist/index.js",

"dev": "tsc -w & mocha -w ./test/*.js",
"pretest": "tsc -m commonjs"
"pretest": "tsc -m commonjs",
"release": "np"
},

@@ -31,2 +32,5 @@ "keywords": [

"license": "MIT",
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"dependencies": {

@@ -54,2 +58,3 @@ "css-select": "^3.1.2",

"mocha": "latest",
"np": "latest",
"parse5": "^6.0.1",

@@ -56,0 +61,0 @@ "should": "latest",

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