node-html-parser
Advanced tools
Comparing version 1.2.18 to 1.2.19
@@ -908,3 +908,3 @@ var __extends = (this && this.__extends) || (function () { | ||
var val = JSON.stringify(attrs[name]); | ||
if (val === undefined || val === 'null') { | ||
if (val === 'null' || val === '""') { | ||
return name; | ||
@@ -933,3 +933,3 @@ } | ||
var val = attributes[name]; | ||
if (val === undefined || val === null) { | ||
if (val === 'null' || val === '""') { | ||
return name; | ||
@@ -936,0 +936,0 @@ } |
@@ -540,3 +540,3 @@ "use strict"; | ||
var val = JSON.stringify(attrs[name]); | ||
if (val === undefined || val === 'null') { | ||
if (val === 'null' || val === '""') { | ||
return name; | ||
@@ -565,3 +565,3 @@ } | ||
var val = attributes[name]; | ||
if (val === undefined || val === null) { | ||
if (val === 'null' || val === '""') { | ||
return name; | ||
@@ -568,0 +568,0 @@ } |
{ | ||
"name": "node-html-parser", | ||
"version": "1.2.18", | ||
"version": "1.2.19", | ||
"description": "A very fast HTML parser, generating a simplified DOM, with basic element query support.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
186387
24