node-html-parser
Advanced tools
Comparing version 3.1.2 to 3.1.3
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
165453
23